Fix UNPREDICATABLE use of writeback in LDM/STM instructions.
authorNick Clifton <nickc@redhat.com>
Sat, 21 Sep 2002 07:27:43 +0000 (07:27 +0000)
committerNick Clifton <nickc@redhat.com>
Sat, 21 Sep 2002 07:27:43 +0000 (07:27 +0000)
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/inst.d
gas/testsuite/gas/arm/inst.s

index 5707887f49470603b64bc9a7b614e6bcdfa7666e..467605e96d46592c9e9b104bc341cd9006ee6b68 100644 (file)
@@ -1,3 +1,9 @@
+2002-09-21  Nick Clifton  <nickc@redhat.com>
+
+       * gas/arm/inst.s: Fix UNPREDICATABLE use of writeback in LDM/STM
+       instructions.
+       * gas/arm/inst.d: Update expected results.
+
 2002-09-19  Jakub Jelinek  <jakub@redhat.com>
 
        * gas/i386/tlspic.s: Add tests.
index 1495d8978b649d1a40b86de3547b8c01c79d2482..00d532367f50b7d2d96b3915f65862606538241e 100644 (file)
@@ -148,15 +148,15 @@ Disassembly of section .text:
 0+228 <[^>]*> e99100f7 ?       ldmib   r1, {r0, r1, r2, r4, r5, r6, r7}
 0+22c <[^>]*> e89201f8 ?       ldmia   r2, {r3, r4, r5, r6, r7, r8}
 0+230 <[^>]*> e9130003 ?       ldmdb   r3, {r0, r1}
-0+234 <[^>]*> e8740300 ?       ldmda   r4!, {r8, r9}\^
+0+234 <[^>]*> e8540300 ?       ldmda   r4, {r8, r9}\^
 0+238 <[^>]*> e8800002 ?       stmia   r0, {r1}
 0+23c <[^>]*> 09820038 ?       stmeqib r2, {r3, r4, r5}
 0+240 <[^>]*> e843ffff ?       stmda   r3, {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, fp, ip, sp, lr, pc}\^
-0+244 <[^>]*> e92a05ff ?       stmdb   sl!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, sl}
+0+244 <[^>]*> e92b05ff ?       stmdb   fp!, {r0, r1, r2, r3, r4, r5, r6, r7, r8, sl}
 0+248 <[^>]*> e8010007 ?       stmda   r1, {r0, r1, r2}
 0+24c <[^>]*> e9020018 ?       stmdb   r2, {r3, r4}
 0+250 <[^>]*> e8830003 ?       stmia   r3, {r0, r1}
-0+254 <[^>]*> e9e40300 ?       stmib   r4!, {r8, r9}\^
+0+254 <[^>]*> e9c40300 ?       stmib   r4, {r8, r9}\^
 0+258 <[^>]*> ef123456 ?       swi     0x00123456
 0+25c <[^>]*> 2f000033 ?       swics   0x00000033
 0+260 <[^>]*> ebfffffe ?       bl      0+0 <[^>]*>
index b162cfceca0d2b90df56ca6486c3953f210148db..ef5f7a79a51d59ab846cfd0c5e4bc9ddfe0a1003 100644 (file)
@@ -169,16 +169,16 @@ bar:
        ldmed   r1, {r0, r1, r2}|0xf0
        ldmfd   r2, {r3, r4}+{r5, r6, r7, r8}
        ldmea   r3, 3
-       ldmfa   r4!, {r8, r9}^
+       ldmfa   r4, {r8, r9}^
        
        stmia   r0, {r1}
        stmeqib r2, {r3, r4, r5}
        stmalda r3, {r0-r15}^
-       stmdb   r10!, {r0-r8, r10}
+       stmdb   r11!, {r0-r8, r10}
        stmed   r1, {r0, r1, r2}
        stmfd   r2, {r3, r4}
        stmea   r3, 3
-       stmfa   r4!, {r8, r9}^
+       stmfa   r4, {r8, r9}^
 
        swi     0x123456
        swihs   0x33