1 # RUN: llvm-mc -triple=thumbv8 -disassemble -show-encoding < %s | FileCheck %s 2 3 0xd4 0xe8 0xcf 0x3f 4 0xd5 0xe8 0xdf 0x2f 5 0xd7 0xe8 0xef 0x1f 6 0xd8 0xe8 0xff 0x67 7 # CHECK: ldaexb r3, [r4] @ encoding: [0xd4,0xe8,0xcf,0x3f] 8 # CHECK: ldaexh r2, [r5] @ encoding: [0xd5,0xe8,0xdf,0x2f] 9 # CHECK: ldaex r1, [r7] @ encoding: [0xd7,0xe8,0xef,0x1f] 10 # CHECK: ldaexd r6, r7, [r8] @ encoding: [0xd8,0xe8,0xff,0x67] 11 12 0xc4 0xe8 0xc1 0x3f 13 0xc5 0xe8 0xd4 0x2f 14 0xc7 0xe8 0xe2 0x1f 15 0xc8 0xe8 0xf6 0x23 16 # CHECK: stlexb r1, r3, [r4] @ encoding: [0xc4,0xe8,0xc1,0x3f] 17 # CHECK: stlexh r4, r2, [r5] @ encoding: [0xc5,0xe8,0xd4,0x2f] 18 # CHECK: stlex r2, r1, [r7] @ encoding: [0xc7,0xe8,0xe2,0x1f] 19 # CHECK: stlexd r6, r2, r3, [r8] @ encoding: [0xc8,0xe8,0xf6,0x23] 20 21 0xd6 0xe8 0xaf 0x5f 22 0xd6 0xe8 0x8f 0x5f 23 0xd9 0xe8 0x9f 0xcf 24 # CHECK: lda r5, [r6] @ encoding: [0xd6,0xe8,0xaf,0x5f] 25 # CHECK: ldab r5, [r6] @ encoding: [0xd6,0xe8,0x8f,0x5f] 26 # CHECK: ldah r12, [r9] @ encoding: [0xd9,0xe8,0x9f,0xcf] 27 28 0xc0 0xe8 0xaf 0x3f 29 0xc1 0xe8 0x8f 0x2f 30 0xc3 0xe8 0x9f 0x2f 31 # CHECK: stl r3, [r0] @ encoding: [0xc0,0xe8,0xaf,0x3f] 32 # CHECK: stlb r2, [r1] @ encoding: [0xc1,0xe8,0x8f,0x2f] 33 # CHECK: stlh r2, [r3] @ encoding: [0xc3,0xe8,0x9f,0x2f] 34