aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-09-21 07:27:43 +0000
committerNick Clifton <nickc@redhat.com>2002-09-21 07:27:43 +0000
commit96ea7171296a44988b723f27364558c41c979396 (patch)
tree26de1535108ea3ff8e58ffd30bf53ef5cbabcc05 /gas/testsuite
parenta0eb71c5703de28eb269ff34c03608ba70c506c5 (diff)
downloadgdb-96ea7171296a44988b723f27364558c41c979396.zip
gdb-96ea7171296a44988b723f27364558c41c979396.tar.gz
gdb-96ea7171296a44988b723f27364558c41c979396.tar.bz2
Fix UNPREDICATABLE use of writeback in LDM/STM instructions.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/arm/inst.d6
-rw-r--r--gas/testsuite/gas/arm/inst.s6
3 files changed, 12 insertions, 6 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 5707887..467605e 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -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.
diff --git a/gas/testsuite/gas/arm/inst.d b/gas/testsuite/gas/arm/inst.d
index 1495d89..00d5323 100644
--- a/gas/testsuite/gas/arm/inst.d
+++ b/gas/testsuite/gas/arm/inst.d
@@ -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 <[^>]*>
diff --git a/gas/testsuite/gas/arm/inst.s b/gas/testsuite/gas/arm/inst.s
index b162cfc..ef5f7a7 100644
--- a/gas/testsuite/gas/arm/inst.s
+++ b/gas/testsuite/gas/arm/inst.s
@@ -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