aboutsummaryrefslogtreecommitdiff
path: root/test/insns-arm.S
diff options
context:
space:
mode:
authorcomex2015-01-17 22:24:13 -0500
committercomex2015-01-17 22:24:13 -0500
commitd281e5233f304dab603d638a623ae54af8117ce7 (patch)
tree6605309de4f0e0728f7d9171528f376906af00f0 /test/insns-arm.S
parentmisc. objc trimmings (diff)
downloadsubstitute-d281e5233f304dab603d638a623ae54af8117ce7.tar.gz
improve test; thumb2 fixes
Diffstat (limited to 'test/insns-arm.S')
-rw-r--r--test/insns-arm.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/insns-arm.S b/test/insns-arm.S
index 62b4b48..b5a2cce 100644
--- a/test/insns-arm.S
+++ b/test/insns-arm.S
@@ -17,7 +17,7 @@ add r0, pc, #123
mcr p15,0,pc,c14,c3,0
str r3, [pc, #5]
str pc, [pc, #5]
-#ifdef THUMB2 // it shouldn't be, though
+#ifdef THUMB2 /* it shouldn't be, though */
strht r0, [r3]
#endif
ldr r0, [pc]
@@ -35,13 +35,13 @@ ldrsb r1, [pc]
ldrh r1, [pc]
ldrsh r1, [pc]
ldr r1, [pc]
-ldrd r1, r2, [pc]
+ldrd r0, r1, [pc]
str r1, [pc]
-strd r1, r2, [pc]
+strd r0, r1, [pc]
push {r0-r3, pc}
push {r0-r3, lr}
-pop {r0-r3, pc}
+/* pop {r0-r3, pc} */
1:
.long 0xdeadbeef