• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.4a --disassemble < %s | FileCheck %s
2# RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=-v8.4a --disassemble < %s 2>&1 | FileCheck %s --check-prefix=CHECK-NO-V84
3
4[0x00,0xd2,0x1b,0xd5]
5[0x60,0xd2,0x1b,0xd5]
6[0x80,0xd2,0x1b,0xd5]
7[0xa0,0xd2,0x1b,0xd5]
8[0x00,0xd4,0x1b,0xd5]
9[0x20,0xd4,0x1b,0xd5]
10[0x40,0xd4,0x1b,0xd5]
11[0x60,0xd4,0x1b,0xd5]
12[0x00,0xd3,0x1b,0xd5]
13[0x20,0xd3,0x1b,0xd5]
14[0x00,0xdc,0x1b,0xd5]
15[0x20,0xdc,0x1b,0xd5]
16[0x40,0xdc,0x1b,0xd5]
17[0x60,0xdc,0x1b,0xd5]
18[0x80,0xdc,0x1b,0xd5]
19[0xa0,0xdc,0x1b,0xd5]
20[0xc0,0xdc,0x1b,0xd5]
21[0xe0,0xdc,0x1b,0xd5]
22[0x00,0xdd,0x1b,0xd5]
23[0x20,0xdd,0x1b,0xd5]
24[0x40,0xdd,0x1b,0xd5]
25[0x60,0xdd,0x1b,0xd5]
26[0x80,0xdd,0x1b,0xd5]
27[0xa0,0xdd,0x1b,0xd5]
28[0xc0,0xdd,0x1b,0xd5]
29[0xe0,0xdd,0x1b,0xd5]
30[0x00,0xde,0x1b,0xd5]
31[0x20,0xde,0x1b,0xd5]
32[0x40,0xde,0x1b,0xd5]
33[0x60,0xde,0x1b,0xd5]
34[0x80,0xde,0x1b,0xd5]
35[0xa0,0xde,0x1b,0xd5]
36[0xc0,0xde,0x1b,0xd5]
37[0xe0,0xde,0x1b,0xd5]
38[0x00,0xdf,0x1b,0xd5]
39[0x20,0xdf,0x1b,0xd5]
40[0x40,0xdf,0x1b,0xd5]
41[0x60,0xdf,0x1b,0xd5]
42[0x80,0xdf,0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xd5]
90[0x60,0xdf,0x3b,0xd5]
91[0x80,0xdf,0x3b,0xd5]
92[0xa0,0xdf,0x3b,0xd5]
93[0xc0,0xdf,0x3b,0xd5]
94[0xe0,0xdf,0x3b,0xd5]
95
96#CHECK:  msr AMCR_EL0, x0
97#CHECK:  msr AMUSERENR_EL0, x0
98#CHECK:  msr AMCNTENCLR0_EL0, x0
99#CHECK:  msr AMCNTENSET0_EL0, x0
100#CHECK:  msr AMEVCNTR00_EL0, x0
101#CHECK:  msr AMEVCNTR01_EL0, x0
102#CHECK:  msr AMEVCNTR02_EL0, x0
103#CHECK:  msr AMEVCNTR03_EL0, x0
104#CHECK:  msr AMCNTENCLR1_EL0, x0
105#CHECK:  msr AMCNTENSET1_EL0, x0
106#CHECK:  msr AMEVCNTR10_EL0, x0
107#CHECK:  msr AMEVCNTR11_EL0, x0
108#CHECK:  msr AMEVCNTR12_EL0, x0
109#CHECK:  msr AMEVCNTR13_EL0, x0
110#CHECK:  msr AMEVCNTR14_EL0, x0
111#CHECK:  msr AMEVCNTR15_EL0, x0
112#CHECK:  msr AMEVCNTR16_EL0, x0
113#CHECK:  msr AMEVCNTR17_EL0, x0
114#CHECK:  msr AMEVCNTR18_EL0, x0
115#CHECK:  msr AMEVCNTR19_EL0, x0
116#CHECK:  msr AMEVCNTR110_EL0, x0
117#CHECK:  msr AMEVCNTR111_EL0, x0
118#CHECK:  msr AMEVCNTR112_EL0, x0
119#CHECK:  msr AMEVCNTR113_EL0, x0
120#CHECK:  msr AMEVCNTR114_EL0, x0
121#CHECK:  msr AMEVCNTR115_EL0, x0
122#CHECK:  msr AMEVTYPER10_EL0, x0
123#CHECK:  msr AMEVTYPER11_EL0, x0
124#CHECK:  msr AMEVTYPER12_EL0, x0
125#CHECK:  msr AMEVTYPER13_EL0, x0
126#CHECK:  msr AMEVTYPER14_EL0, x0
127#CHECK:  msr AMEVTYPER15_EL0, x0
128#CHECK:  msr AMEVTYPER16_EL0, x0
129#CHECK:  msr AMEVTYPER17_EL0, x0
130#CHECK:  msr AMEVTYPER18_EL0, x0
131#CHECK:  msr AMEVTYPER19_EL0, x0
132#CHECK:  msr AMEVTYPER110_EL0, x0
133#CHECK:  msr AMEVTYPER111_EL0, x0
134#CHECK:  msr AMEVTYPER112_EL0, x0
135#CHECK:  msr AMEVTYPER113_EL0, x0
136#CHECK:  msr AMEVTYPER114_EL0, x0
137#CHECK:  msr AMEVTYPER115_EL0, x0
138
139#CHECK:  mrs x0, AMCR_EL0
140#CHECK:  mrs x0, AMCFGR_EL0
141#CHECK:  mrs x0, AMCGCR_EL0
142#CHECK:  mrs x0, AMUSERENR_EL0
143#CHECK:  mrs x0, AMCNTENCLR0_EL0
144#CHECK:  mrs x0, AMCNTENSET0_EL0
145#CHECK:  mrs x0, AMEVCNTR00_EL0
146#CHECK:  mrs x0, AMEVCNTR01_EL0
147#CHECK:  mrs x0, AMEVCNTR02_EL0
148#CHECK:  mrs x0, AMEVCNTR03_EL0
149#CHECK:  mrs x0, AMEVTYPER00_EL0
150#CHECK:  mrs x0, AMEVTYPER01_EL0
151#CHECK:  mrs x0, AMEVTYPER02_EL0
152#CHECK:  mrs x0, AMEVTYPER03_EL0
153#CHECK:  mrs x0, AMCNTENCLR1_EL0
154#CHECK:  mrs x0, AMCNTENSET1_EL0
155#CHECK:  mrs x0, AMEVCNTR10_EL0
156#CHECK:  mrs x0, AMEVCNTR11_EL0
157#CHECK:  mrs x0, AMEVCNTR12_EL0
158#CHECK:  mrs x0, AMEVCNTR13_EL0
159#CHECK:  mrs x0, AMEVCNTR14_EL0
160#CHECK:  mrs x0, AMEVCNTR15_EL0
161#CHECK:  mrs x0, AMEVCNTR16_EL0
162#CHECK:  mrs x0, AMEVCNTR17_EL0
163#CHECK:  mrs x0, AMEVCNTR18_EL0
164#CHECK:  mrs x0, AMEVCNTR19_EL0
165#CHECK:  mrs x0, AMEVCNTR110_EL0
166#CHECK:  mrs x0, AMEVCNTR111_EL0
167#CHECK:  mrs x0, AMEVCNTR112_EL0
168#CHECK:  mrs x0, AMEVCNTR113_EL0
169#CHECK:  mrs x0, AMEVCNTR114_EL0
170#CHECK:  mrs x0, AMEVCNTR115_EL0
171#CHECK:  mrs x0, AMEVTYPER10_EL0
172#CHECK:  mrs x0, AMEVTYPER11_EL0
173#CHECK:  mrs x0, AMEVTYPER12_EL0
174#CHECK:  mrs x0, AMEVTYPER13_EL0
175#CHECK:  mrs x0, AMEVTYPER14_EL0
176#CHECK:  mrs x0, AMEVTYPER15_EL0
177#CHECK:  mrs x0, AMEVTYPER16_EL0
178#CHECK:  mrs x0, AMEVTYPER17_EL0
179#CHECK:  mrs x0, AMEVTYPER18_EL0
180#CHECK:  mrs x0, AMEVTYPER19_EL0
181#CHECK:  mrs x0, AMEVTYPER110_EL0
182#CHECK:  mrs x0, AMEVTYPER111_EL0
183#CHECK:  mrs x0, AMEVTYPER112_EL0
184#CHECK:  mrs x0, AMEVTYPER113_EL0
185#CHECK:  mrs x0, AMEVTYPER114_EL0
186#CHECK:  mrs x0, AMEVTYPER115_EL0
187
188#CHECK-NO-V84:  msr S3_3_C13_C2_0, x0
189#CHECK-NO-V84:  msr S3_3_C13_C2_3, x0
190#CHECK-NO-V84:  msr S3_3_C13_C2_4, x0
191#CHECK-NO-V84:  msr S3_3_C13_C2_5, x0
192#CHECK-NO-V84:  msr S3_3_C13_C4_0, x0
193#CHECK-NO-V84:  msr S3_3_C13_C4_1, x0
194#CHECK-NO-V84:  msr S3_3_C13_C4_2, x0
195#CHECK-NO-V84:  msr S3_3_C13_C4_3, x0
196#CHECK-NO-V84:  msr S3_3_C13_C3_0, x0
197#CHECK-NO-V84:  msr S3_3_C13_C3_1, x0
198#CHECK-NO-V84:  msr S3_3_C13_C12_0, x0
199#CHECK-NO-V84:  msr S3_3_C13_C12_1, x0
200#CHECK-NO-V84:  msr S3_3_C13_C12_2, x0
201#CHECK-NO-V84:  msr S3_3_C13_C12_3, x0
202#CHECK-NO-V84:  msr S3_3_C13_C12_4, x0
203#CHECK-NO-V84:  msr S3_3_C13_C12_5, x0
204#CHECK-NO-V84:  msr S3_3_C13_C12_6, x0
205#CHECK-NO-V84:  msr S3_3_C13_C12_7, x0
206#CHECK-NO-V84:  msr S3_3_C13_C13_0, x0
207#CHECK-NO-V84:  msr S3_3_C13_C13_1, x0
208#CHECK-NO-V84:  msr S3_3_C13_C13_2, x0
209#CHECK-NO-V84:  msr S3_3_C13_C13_3, x0
210#CHECK-NO-V84:  msr S3_3_C13_C13_4, x0
211#CHECK-NO-V84:  msr S3_3_C13_C13_5, x0
212#CHECK-NO-V84:  msr S3_3_C13_C13_6, x0
213#CHECK-NO-V84:  msr S3_3_C13_C13_7, x0
214#CHECK-NO-V84:  msr S3_3_C13_C14_0, x0
215#CHECK-NO-V84:  msr S3_3_C13_C14_1, x0
216#CHECK-NO-V84:  msr S3_3_C13_C14_2, x0
217#CHECK-NO-V84:  msr S3_3_C13_C14_3, x0
218#CHECK-NO-V84:  msr S3_3_C13_C14_4, x0
219#CHECK-NO-V84:  msr S3_3_C13_C14_5, x0
220#CHECK-NO-V84:  msr S3_3_C13_C14_6, x0
221#CHECK-NO-V84:  msr S3_3_C13_C14_7, x0
222#CHECK-NO-V84:  msr S3_3_C13_C15_0, x0
223#CHECK-NO-V84:  msr S3_3_C13_C15_1, x0
224#CHECK-NO-V84:  msr S3_3_C13_C15_2, x0
225#CHECK-NO-V84:  msr S3_3_C13_C15_3, x0
226#CHECK-NO-V84:  msr S3_3_C13_C15_4, x0
227#CHECK-NO-V84:  msr S3_3_C13_C15_5, x0
228#CHECK-NO-V84:  msr S3_3_C13_C15_6, x0
229#CHECK-NO-V84:  msr S3_3_C13_C15_7, x0
230#CHECK-NO-V84:  mrs x0, S3_3_C13_C2_0
231#CHECK-NO-V84:  mrs x0, S3_3_C13_C2_1
232#CHECK-NO-V84:  mrs x0, S3_3_C13_C2_2
233#CHECK-NO-V84:  mrs x0, S3_3_C13_C2_3
234#CHECK-NO-V84:  mrs x0, S3_3_C13_C2_4
235#CHECK-NO-V84:  mrs x0, S3_3_C13_C2_5
236#CHECK-NO-V84:  mrs x0, S3_3_C13_C4_0
237#CHECK-NO-V84:  mrs x0, S3_3_C13_C4_1
238#CHECK-NO-V84:  mrs x0, S3_3_C13_C4_2
239#CHECK-NO-V84:  mrs x0, S3_3_C13_C4_3
240#CHECK-NO-V84:  mrs x0, S3_3_C13_C6_0
241#CHECK-NO-V84:  mrs x0, S3_3_C13_C6_1
242#CHECK-NO-V84:  mrs x0, S3_3_C13_C6_2
243#CHECK-NO-V84:  mrs x0, S3_3_C13_C6_3
244#CHECK-NO-V84:  mrs x0, S3_3_C13_C3_0
245#CHECK-NO-V84:  mrs x0, S3_3_C13_C3_1
246#CHECK-NO-V84:  mrs x0, S3_3_C13_C12_0
247#CHECK-NO-V84:  mrs x0, S3_3_C13_C12_1
248#CHECK-NO-V84:  mrs x0, S3_3_C13_C12_2
249#CHECK-NO-V84:  mrs x0, S3_3_C13_C12_3
250#CHECK-NO-V84:  mrs x0, S3_3_C13_C12_4
251#CHECK-NO-V84:  mrs x0, S3_3_C13_C12_5
252#CHECK-NO-V84:  mrs x0, S3_3_C13_C12_6
253#CHECK-NO-V84:  mrs x0, S3_3_C13_C12_7
254#CHECK-NO-V84:  mrs x0, S3_3_C13_C13_0
255#CHECK-NO-V84:  mrs x0, S3_3_C13_C13_1
256#CHECK-NO-V84:  mrs x0, S3_3_C13_C13_2
257#CHECK-NO-V84:  mrs x0, S3_3_C13_C13_3
258#CHECK-NO-V84:  mrs x0, S3_3_C13_C13_4
259#CHECK-NO-V84:  mrs x0, S3_3_C13_C13_5
260#CHECK-NO-V84:  mrs x0, S3_3_C13_C13_6
261#CHECK-NO-V84:  mrs x0, S3_3_C13_C13_7
262#CHECK-NO-V84:  mrs x0, S3_3_C13_C14_0
263#CHECK-NO-V84:  mrs x0, S3_3_C13_C14_1
264#CHECK-NO-V84:  mrs x0, S3_3_C13_C14_2
265#CHECK-NO-V84:  mrs x0, S3_3_C13_C14_3
266#CHECK-NO-V84:  mrs x0, S3_3_C13_C14_4
267#CHECK-NO-V84:  mrs x0, S3_3_C13_C14_5
268#CHECK-NO-V84:  mrs x0, S3_3_C13_C14_6
269#CHECK-NO-V84:  mrs x0, S3_3_C13_C14_7
270#CHECK-NO-V84:  mrs x0, S3_3_C13_C15_0
271#CHECK-NO-V84:  mrs x0, S3_3_C13_C15_1
272#CHECK-NO-V84:  mrs x0, S3_3_C13_C15_2
273#CHECK-NO-V84:  mrs x0, S3_3_C13_C15_3
274#CHECK-NO-V84:  mrs x0, S3_3_C13_C15_4
275#CHECK-NO-V84:  mrs x0, S3_3_C13_C15_5
276#CHECK-NO-V84:  mrs x0, S3_3_C13_C15_6
277#CHECK-NO-V84:  mrs x0, S3_3_C13_C15_7
278