* config/tc-arm.c (do_iwmmxt_wldstbh): Don't multiply offset by 4
[binutils-gdb.git] / gas / testsuite / gas / arm / iwmmxt.s
index ba599c1046f5a3e847dfb86335e5b97dcb800a89..0ebbad5cd3c7d8b3db47a15db748bf3a4272519e 100644 (file)
@@ -164,8 +164,8 @@ iwmmxt:
        wsrlwgmi        wr1, wr5, wcgr0
        wsrldg          wr1, wr5, wcgr1
 
-       wstrb           wr1, [r1, #4]
-       wstrh           wr1, [r1, #4]!
+       wstrb           wr1, [r1, #0xFF]
+       wstrh           wr1, [r1, #-0xFF]!
        wstrw           wr1, [r1], #4
        wstrd           wr1, [r1, #0x3FC]
        wstrw           wcasf, [r1], #300