From d281e5233f304dab603d638a623ae54af8117ce7 Mon Sep 17 00:00:00 2001 From: comex Date: Sat, 17 Jan 2015 22:24:13 -0500 Subject: improve test; thumb2 fixes --- test/insns-arm.S | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/insns-arm.S') 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 -- cgit v1.2.3