Subject: [rohc] Sigcomp Torture Test draft - LOAD and MULTILOAD

From: Srinivasan Krishnamoorthy <[email-masked]>
Date: Fri, 5 Dec 2003 14:07:28 -0500 (EST)

Hi,
   Have a question on the Load and MULTILOAD test case 2.5
   from 'draft-price-rohc-sigcomp-torture-tests-02.txt' draft. 

   The listed expected output '0x0084 0084 0086 0086 002a 0080 002a 002a'
   for test case 2.5 (LOAD and MULTILOAD) doesn't seem to be correct.

   If the input is '0x00' then the assembly, translates to

   LOAD(128,132),  0084
   LOAD(130,132)   0084
   LOAD(132,134)   0086
   LOAD(134,134)   0086
   OUTPUT(128, 8)       --> outputs 0084 0084 0086 0086

   INPUT_BYTES() ... 
   MULTIPLY ...
   ADD      ...
   MULTILOAD(60, 3, ...)   [$start == 128.]

  From this point on location_a and location_b are not changed
  at all.. so the second multiload and the following output look like:-

    MULTILOAD(128, 4, 42, 128, $loc_a=132, $loc_b=134)
    OUTPUT(128,8) --> should output 002a 0080 0084 0086
 
  The last 4 bytes are not (002a 002a). instead: they should be
  (0084 0086) right?
    
  Could some one help me clear this up ? thanks very much.

-Srini

The assembly code from the draft for this:

   at (64)      
   :start                          pad (1)
   :start_lsb                      pad (1)
   at (128)
   set (location_a, 128)
   set (location_b, 132)
   
   LOAD (128, 132)
   LOAD (130, $location_a)
   LOAD ($location_a, 134)
   LOAD ($location_b, $location_b)
   OUTPUT (128, 8)

   INPUT-BYTES (1, start_lsb, !)
   MULTIPLY ($start, 2)
   ADD ($start, 60)
   MULTILOAD ($start, 3, overlap_start, overlap_end, 128)
   :position
   set (overlap_start, (position - 7))      
   MULTILOAD ($start, 4, 42, 128, $location_a, $location_b)      
   :end
   set (overlap_end, (end - 1))
   OUTPUT (128, 8)

_______________________________________________
Rohc mailing list
[email-masked]
https://www1.ietf.org/mailman/listinfo/rohc