@ RUN: llvm-mc -mcpu=cortex-a8 -triple arm-unknown-unknown -show-encoding %s | FileCheck %s
@ Post-indexed
@ CHECK: ldrt r1, [r0], r2 @ encoding: [0x02,0x10,0xb0,0xe6]
@ CHECK: ldrt r1, [r0], r2, lsr @ CHECK: ldrt r1, [r0], @ CHECK: ldrt r1, [r0], @ CHECK: ldrbt r1, [r0], r2 @ encoding: [0x02,0x10,0xf0,0xe6]
@ CHECK: ldrbt r1, [r0], r2, lsr @ CHECK: ldrbt r1, [r0], @ CHECK: ldrbt r1, [r0], @ CHECK: strt r1, [r0], r2 @ encoding: [0x02,0x10,0xa0,0xe6]
@ CHECK: strt r1, [r0], r2, lsr @ CHECK: strt r1, [r0], @ CHECK: strt r1, [r0], @ CHECK: strbt r1, [r0], r2 @ encoding: [0x02,0x10,0xe0,0xe6]
@ CHECK: strbt r1, [r0], r2, lsr @ CHECK: strbt r1, [r0], @ CHECK: strbt r1, [r0], ldrt r1, [r0], r2
ldrt r1, [r0], r2, lsr ldrt r1, [r0], ldrt r1, [r0]
ldrbt r1, [r0], r2
ldrbt r1, [r0], r2, lsr ldrbt r1, [r0], ldrbt r1, [r0]
strt r1, [r0], r2
strt r1, [r0], r2, lsr strt r1, [r0], strt r1, [r0]
strbt r1, [r0], r2
strbt r1, [r0], r2, lsr strbt r1, [r0], strbt r1, [r0]
@ Pre-indexed
@ CHECK: ldr r1, [r0, r2, lsr @ CHECK: ldrb r1, [r0, r2, lsr ldr r1, [r0, r2, lsr ldrb r1, [r0, r2, lsr