1# RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.3a --disassemble < %s | FileCheck %s
2
3# CHECK: paciasp
4# CHECK: autiasp
5# CHECK: paciaz
6# CHECK: autiaz
7# CHECK: pacia1716
8# CHECK: autia1716
9# CHECK: pacibsp
10# CHECK: autibsp
11# CHECK: pacibz
12# CHECK: autibz
13# CHECK: pacib1716
14# CHECK: autib1716
15# CHECK: xpaclri
16[0x3f,0x23,0x03,0xd5]
17[0xbf,0x23,0x03,0xd5]
18[0x1f,0x23,0x03,0xd5]
19[0x9f,0x23,0x03,0xd5]
20[0x1f,0x21,0x03,0xd5]
21[0x9f,0x21,0x03,0xd5]
22[0x7f,0x23,0x03,0xd5]
23[0xff,0x23,0x03,0xd5]
24[0x5f,0x23,0x03,0xd5]
25[0xdf,0x23,0x03,0xd5]
26[0x5f,0x21,0x03,0xd5]
27[0xdf,0x21,0x03,0xd5]
28[0xff,0x20,0x03,0xd5]
29
30# CHECK: pacia x0, x1
31# CHECK: autia x0, x1
32# CHECK: pacda x0, x1
33# CHECK: autda x0, x1
34# CHECK: pacib x0, x1
35# CHECK: autib x0, x1
36# CHECK: pacdb x0, x1
37# CHECK: autdb x0, x1
38# CHECK: pacga x0, x1, x2
39# CHECK: paciza x0
40# CHECK: autiza x0
41# CHECK: pacdza x0
42# CHECK: autdza x0
43# CHECK: pacizb x0
44# CHECK: autizb x0
45# CHECK: pacdzb x0
46# CHECK: autdzb x0
47# CHECK: xpaci x0
48# CHECK: xpacd x0
49[0x20,0x00,0xc1,0xda]
50[0x20,0x10,0xc1,0xda]
51[0x20,0x08,0xc1,0xda]
52[0x20,0x18,0xc1,0xda]
53[0x20,0x04,0xc1,0xda]
54[0x20,0x14,0xc1,0xda]
55[0x20,0x0c,0xc1,0xda]
56[0x20,0x1c,0xc1,0xda]
57[0x20,0x30,0xc2,0x9a]
58[0xe0,0x23,0xc1,0xda]
59[0xe0,0x33,0xc1,0xda]
60[0xe0,0x2b,0xc1,0xda]
61[0xe0,0x3b,0xc1,0xda]
62[0xe0,0x27,0xc1,0xda]
63[0xe0,0x37,0xc1,0xda]
64[0xe0,0x2f,0xc1,0xda]
65[0xe0,0x3f,0xc1,0xda]
66[0xe0,0x43,0xc1,0xda]
67[0xe0,0x47,0xc1,0xda]
68
69# CHECK: braa x0, x1
70# CHECK: brab x0, x1
71# CHECK: blraa x0, x1
72# CHECK: blrab x0, x1
73[0x01,0x08,0x1f,0xd7]
74[0x01,0x0c,0x1f,0xd7]
75[0x01,0x08,0x3f,0xd7]
76[0x01,0x0c,0x3f,0xd7]
77
78# CHECK: braaz x0
79# CHECK: brabz x0
80# CHECK: blraaz x0
81# CHECK: blrabz x0
82# CHECK: retaa
83# CHECK: retab
84# CHECK: eretaa
85# CHECK: eretab
86# CHECK: ldraa x0, [x1, #4088]
87# CHECK: ldraa x0, [x1, #-4096]
88# CHECK: ldrab x0, [x1, #4088]
89# CHECK: ldrab x0, [x1, #-4096]
90# CHECK: ldraa x0, [x1, #4088]!
91# CHECK: ldraa x0, [x1, #-4096]!
92# CHECK: ldrab x0, [x1, #4088]!
93# CHECK: ldrab x0, [x1, #-4096]!
94[0x1f,0x08,0x1f,0xd6]
95[0x1f,0x0c,0x1f,0xd6]
96[0x1f,0x08,0x3f,0xd6]
97[0x1f,0x0c,0x3f,0xd6]
98[0xff,0x0b,0x5f,0xd6]
99[0xff,0x0f,0x5f,0xd6]
100[0xff,0x0b,0x9f,0xd6]
101[0xff,0x0f,0x9f,0xd6]
102[0x20,0xf4,0x3f,0xf8]
103[0x20,0x04,0x60,0xf8]
104[0x20,0xf4,0xbf,0xf8]
105[0x20,0x04,0xe0,0xf8]
106[0x20,0xfc,0x3f,0xf8]
107[0x20,0x0c,0x60,0xf8]
108[0x20,0xfc,0xbf,0xf8]
109[0x20,0x0c,0xe0,0xf8]
110
111# CHECK: ldraa x0, [x1]
112# CHECK: ldrab x0, [x1]
113[0x20,0x04,0x20,0xf8]
114[0x20,0x04,0xa0,0xf8]
115