diff options
Diffstat (limited to 'test/MC/ARM/thumb2.s')
-rw-r--r-- | test/MC/ARM/thumb2.s | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/MC/ARM/thumb2.s b/test/MC/ARM/thumb2.s index cd09311..5342b90 100644 --- a/test/MC/ARM/thumb2.s +++ b/test/MC/ARM/thumb2.s @@ -284,3 +284,19 @@ @ CHECK: msr cpsr_fsxc, r0 @ encoding: [0x80,0xf3,0x00,0x8f] msr cpsr_fsxc, r0 +@ CHECK: strexb r0, r1, [r2] @ encoding: [0xc2,0xe8,0x40,0x1f] + strexb r0, r1, [r2] +@ CHECK: strexh r0, r1, [r2] @ encoding: [0xc2,0xe8,0x50,0x1f] + strexh r0, r1, [r2] +@ CHECK: strex r0, r1, [r2] @ encoding: [0x42,0xe8,0x00,0x10] + strex r0, r1, [r2] +@ CHECK: strexd r0, r2, r3, [r1] @ encoding: [0xc1,0xe8,0x70,0x23] + strexd r0, r2, r3, [r1] +@ CHECK: ldrexb r0, [r0] @ encoding: [0xd0,0xe8,0x4f,0x0f] + ldrexb r0, [r0] +@ CHECK: ldrexh r0, [r0] @ encoding: [0xd0,0xe8,0x5f,0x0f] + ldrexh r0, [r0] +@ CHECK: ldrex r0, [r0] @ encoding: [0x50,0xe8,0x00,0x0f] + ldrex r0, [r0] +@ CHECK: ldrexd r0, r1, [r0] @ encoding: [0xd0,0xe8,0x7f,0x01] + ldrexd r0, r1, [r0] |