[ARM] PATCH: Fix offset range for WLDRD/WSTRD instruction

Khem Raj kraj@mvista.com
Wed Aug 3 00:00:00 GMT 2005


Hi

Assembling a compiler output file for iwmmxt target I stumbled over this 
error.
Error: co-processor offset out of range

Which turned out to be a problem in assembler. WLDRD instruction can 
have offsets ranging from -1023 to +1023
It was using a check between -255 to +255

I also modified the test case to include this case in the testsuite.

Is it ok?

Thanks

Khem


gas

2005-08-02  Khem Raj  <kraj@mvista.com>

    * config/tc-arm.c (do_iwmmxt_wldstd): Correct the offset range
    for WLDRD/WSTRD instruction.

gas/testsuite

2005-08-02  Khem Raj  <kraj@mvista.com>

    * gas/arm/iwmmxt.s: Change the offset value of WLDRD instruction
          to be larger than +/-255.
    * gas/arm/iwmmxt.d: Fix the expected results for WLDRD instruction


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20050803/b393740d/attachment.ksh>


More information about the Binutils mailing list