diff options
Diffstat (limited to 'test/MC/ARM/basic-thumb-instructions.s')
-rw-r--r-- | test/MC/ARM/basic-thumb-instructions.s | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/test/MC/ARM/basic-thumb-instructions.s b/test/MC/ARM/basic-thumb-instructions.s index b48db9a..dec7f5b 100644 --- a/test/MC/ARM/basic-thumb-instructions.s +++ b/test/MC/ARM/basic-thumb-instructions.s @@ -128,7 +128,7 @@ _func: beq _bar b #1838 b #-420 - beq #336 + beq #-256 beq #160 @ CHECK: b _baz @ encoding: [A,0xe0'A'] @@ -137,7 +137,7 @@ _func: @ fixup A - offset: 0, value: _bar, kind: fixup_arm_thumb_bcc @ CHECK: b #1838 @ encoding: [0x97,0xe3] @ CHECK: b #-420 @ encoding: [0x2e,0xe7] -@ CHECK: beq #336 @ encoding: [0xa8,0xd0] +@ CHECK: beq #-256 @ encoding: [0x80,0xd0] @ CHECK: beq #160 @ encoding: [0x50,0xd0] @------------------------------------------------------------------------------ @@ -216,6 +216,16 @@ _func: @ CHECK: cmp r8, r1 @ encoding: [0x88,0x45] @------------------------------------------------------------------------------ +@ CPS +@------------------------------------------------------------------------------ + + cpsie f + cpsid a + +@ CHECK: cpsie f @ encoding: [0x61,0xb6] +@ CHECK: cpsid a @ encoding: [0x74,0xb6] + +@------------------------------------------------------------------------------ @ EOR @------------------------------------------------------------------------------ eors r4, r5 |