[rohc] Incorrect cycle count in Sigcomp torture test document

"Vishal Sudan" <vishal@sonimtech.com> Fri, 24 March 2006 07:40 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1FMguf-0006tp-KH; Fri, 24 Mar 2006 02:40:49 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1FMgue-0006tk-Q6 for rohc@ietf.org; Fri, 24 Mar 2006 02:40:48 -0500
Received: from [203.101.112.21] (helo=mail2.sonimtech.com) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FMgua-000202-7h for rohc@ietf.org; Fri, 24 Mar 2006 02:40:48 -0500
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
x-mimeole: Produced By Microsoft Exchange V6.0.6249.0
Date: Fri, 24 Mar 2006 13:10:41 +0530
Message-ID: <E7F5A43EEB6E7C42A08C041BDEB90A53021716@mail2.sonimtech.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [rohc] "returned feedback item" in NACK
Thread-Index: AcZOBJ4Ts01ft6bCTnq9xM3k94GpsgBDWMcg
From: Vishal Sudan <vishal@sonimtech.com>
To: rohc@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 0ddefe323dd869ab027dbfff7eff0465
Subject: [rohc] Incorrect cycle count in Sigcomp torture test document
X-BeenThere: rohc@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Robust Header Compression <rohc.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rohc>, <mailto:rohc-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:rohc@ietf.org>
List-Help: <mailto:rohc-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rohc>, <mailto:rohc-request@ietf.org?subject=subscribe>
Errors-To: rohc-bounces@ietf.org

Hi,

For the torture test given in Section 2.16 ( STATE-ACCESS ) in 
http://www.ietf.org/internet-drafts/draft-ietf-rohc-sigcomp-torture-tests-03.txt I see results
different than stated.

It has 5 sub-tests, each identified with a different input - 0x00,0x01,0x02,0x03 and 0x04 resp.

A possible erroneous test is for input 0x00.

The test document states 

*   If the compressed message is 0x00 then the output of the code is
*   0x7465 7374 and a total of 21 UDVM cycles are be used.

The cycle count comes out to 26

opcode	           cycles

INPUT-BYTES      1 + 1     =      2  
COMPARE	     1         =      1
STATE-ACCESS     1 + 16	   =	    17 	
OUTPUT   	     1 + 4     =      5
END-MESSAGE      1 + 0     =      1 

Total					   26

Here the length of state accessed is taken to be 16 - which seems to be the case cause
the state is created by the code 

*   END-MESSAGE (0, 0, state_length, state_start, 0, 20, 0)
*   :state_start
*   byte (34, 162, 12,4, 35, 0, 0, 0, 0, 0, 0, 0, 116, 101, 115, 116)
*   :state_end 

which has 16 bytes.

(The output is as it should  be - 0x7465 7374.)

If I am incorrect on any count I'd be glad to know of that.

As a side note I was going to report two possible errors but then saw an error on 
my part while composing this post and testing concurrently.

Cheers,
Vishal Sudan

_______________________________________________
Rohc mailing list
Rohc@ietf.org
https://www1.ietf.org/mailman/listinfo/rohc