1# RUN: llvm-mc -triple=armv8 -disassemble -show-encoding < %s | FileCheck %s
20x9f 0x0e 0xd8 0xe1
30x9f 0x1e 0xfc 0xe1
40x9f 0x1e 0x90 0xe1
50x9f 0x8e 0xbd 0xe1
6# CHECK: ldaexb r0, [r8]       @ encoding: [0x9f,0x0e,0xd8,0xe1]
7# CHECK: ldaexh r1, [r12]      @ encoding: [0x9f,0x1e,0xfc,0xe1]
8# CHECK: ldaex  r1, [r0]       @ encoding: [0x9f,0x1e,0x90,0xe1]
9# CHECK: ldaexd r8, r9, [sp]   @ encoding: [0x9f,0x8e,0xbd,0xe1]
10
110x93 0x1e 0xc4 0xe1
120x92 0x4e 0xe5 0xe1
130x91 0x2e 0x87 0xe1
140x92 0x6e 0xa8 0xe1
15# CHECK: stlexb r1, r3, [r4]            @ encoding: [0x93,0x1e,0xc4,0xe1]
16# CHECK: stlexh r4, r2, [r5]            @ encoding: [0x92,0x4e,0xe5,0xe1]
17# CHECK: stlex r2, r1, [r7]            @ encoding: [0x91,0x2e,0x87,0xe1]
18# CHECK: stlexd r6, r2, r3, [r8]        @ encoding: [0x92,0x6e,0xa8,0xe1]
19
200x9f 0x5c 0x96 0xe1
210x9f 0x5c 0xd6 0xe1
220x9f 0xcc 0xf9 0xe1
23# CHECK: lda r5, [r6]          @ encoding: [0x9f,0x5c,0x96,0xe1]
24# CHECK: ldab r5, [r6]         @ encoding: [0x9f,0x5c,0xd6,0xe1]
25# CHECK: ldah r12, [r9]        @ encoding: [0x9f,0xcc,0xf9,0xe1]
26
270x93 0xfc 0x80 0xe1
280x92 0xfc 0xc1 0xe1
290x92 0xfc 0xe3 0xe1
30# CHECK: stl r3, [r0]                   @ encoding: [0x93,0xfc,0x80,0xe1]
31# CHECK: stlb r2, [r1]                  @ encoding: [0x92,0xfc,0xc1,0xe1]
32# CHECK: stlh r2, [r3]                  @ encoding: [0x92,0xfc,0xe3,0xe1]
33