xref: /llvm-project/llvm/test/MC/ARM/arm_addrmode3.s (revision d359571120f6a581b67a2afdc1da29c8f35bd789)
1bda3632bSBruno Cardoso Lopes@ RUN: llvm-mc -mcpu=cortex-a8 -triple arm-unknown-unknown -show-encoding %s | FileCheck %s
2bda3632bSBruno Cardoso Lopes
3*d3595711SJim Grosbach@ CHECK: ldrsbt  r1, [r0], r2 @ encoding: [0xd2,0x10,0xb0,0xe0]
4bda3632bSBruno Cardoso Lopes@ CHECK: ldrsbt  r1, [r0], #4 @ encoding: [0xd4,0x10,0xf0,0xe0]
5*d3595711SJim Grosbach@ CHECK: ldrsht  r1, [r0], r2 @ encoding: [0xf2,0x10,0xb0,0xe0]
6bda3632bSBruno Cardoso Lopes@ CHECK: ldrsht  r1, [r0], #4 @ encoding: [0xf4,0x10,0xf0,0xe0]
7*d3595711SJim Grosbach@ CHECK: ldrht  r1, [r0], r2 @ encoding: [0xb2,0x10,0xb0,0xe0]
8bda3632bSBruno Cardoso Lopes@ CHECK: ldrht  r1, [r0], #4 @ encoding: [0xb4,0x10,0xf0,0xe0]
9*d3595711SJim Grosbach@ CHECK: strht  r1, [r0], r2 @ encoding: [0xb2,0x10,0xa0,0xe0]
10bda3632bSBruno Cardoso Lopes@ CHECK: strht  r1, [r0], #4 @ encoding: [0xb4,0x10,0xe0,0xe0]
11bda3632bSBruno Cardoso Lopes        ldrsbt  r1, [r0], r2
12bda3632bSBruno Cardoso Lopes        ldrsbt  r1, [r0], #4
13bda3632bSBruno Cardoso Lopes        ldrsht  r1, [r0], r2
14bda3632bSBruno Cardoso Lopes        ldrsht  r1, [r0], #4
15bda3632bSBruno Cardoso Lopes        ldrht  r1, [r0], r2
16bda3632bSBruno Cardoso Lopes        ldrht  r1, [r0], #4
17bda3632bSBruno Cardoso Lopes        strht  r1, [r0], r2
18bda3632bSBruno Cardoso Lopes        strht  r1, [r0], #4
19