arm-LDREXD-reencoding.txt 550 Bytes
# RUN: llvm-mc -triple armv7 -show-encoding -disassemble < %s | FileCheck %s

0x9f 0x0f 0xb0 0xe1
0x9f 0xcf 0xb1 0xe1
0x9f 0xcf 0xb3 0xe1
0x9f 0x8f 0xbd 0xe1
0x9f 0xcf 0xbe 0xe1

# CHECK: ldrexd	r0, r1, [r0]            @ encoding: [0x9f,0x0f,0xb0,0xe1]
# CHECK: ldrexd	r12, sp, [r1]           @ encoding: [0x9f,0xcf,0xb1,0xe1]
# CHECK: ldrexd	r12, sp, [r3]           @ encoding: [0x9f,0xcf,0xb3,0xe1]
# CHECK: ldrexd	r8, r9, [sp]            @ encoding: [0x9f,0x8f,0xbd,0xe1]
# CHECK: ldrexd	r12, sp, [lr]           @ encoding: [0x9f,0xcf,0xbe,0xe1]