[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / AArch64 / armv8.4a-actmon.s
blob07735db7140fc8f2dc8489cbc2f4718a7d842882
1 // RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.4a < %s 2> %t | FileCheck %s --check-prefix=CHECK
2 // RUN: FileCheck --check-prefix=CHECK-RO < %t %s
3 // RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=-v8.4a < %s 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR
5 //------------------------------------------------------------------------------
6 // ARMV8.4-A Activity Monitors
7 //------------------------------------------------------------------------------
9 msr AMCR_EL0, x0
10 msr AMCFGR_EL0, x0
11 msr AMCGCR_EL0, x0
12 msr AMUSERENR_EL0, x0
13 msr AMCNTENCLR0_EL0, x0
14 msr AMCNTENSET0_EL0, x0
15 msr AMEVCNTR00_EL0, x0
16 msr AMEVCNTR01_EL0, x0
17 msr AMEVCNTR02_EL0, x0
18 msr AMEVCNTR03_EL0, x0
19 msr AMEVTYPER00_EL0, x0
20 msr AMEVTYPER01_EL0, x0
21 msr AMEVTYPER02_EL0, x0
22 msr AMEVTYPER03_EL0, x0
23 msr AMCNTENCLR1_EL0, x0
24 msr AMCNTENSET1_EL0, x0
25 msr AMEVCNTR10_EL0, x0
26 msr AMEVCNTR11_EL0, x0
27 msr AMEVCNTR12_EL0, x0
28 msr AMEVCNTR13_EL0, x0
29 msr AMEVCNTR14_EL0, x0
30 msr AMEVCNTR15_EL0, x0
31 msr AMEVCNTR16_EL0, x0
32 msr AMEVCNTR17_EL0, x0
33 msr AMEVCNTR18_EL0, x0
34 msr AMEVCNTR19_EL0, x0
35 msr AMEVCNTR110_EL0, x0
36 msr AMEVCNTR111_EL0, x0
37 msr AMEVCNTR112_EL0, x0
38 msr AMEVCNTR113_EL0, x0
39 msr AMEVCNTR114_EL0, x0
40 msr AMEVCNTR115_EL0, x0
41 msr AMEVTYPER10_EL0, x0
42 msr AMEVTYPER11_EL0, x0
43 msr AMEVTYPER12_EL0, x0
44 msr AMEVTYPER13_EL0, x0
45 msr AMEVTYPER14_EL0, x0
46 msr AMEVTYPER15_EL0, x0
47 msr AMEVTYPER16_EL0, x0
48 msr AMEVTYPER17_EL0, x0
49 msr AMEVTYPER18_EL0, x0
50 msr AMEVTYPER19_EL0, x0
51 msr AMEVTYPER110_EL0, x0
52 msr AMEVTYPER111_EL0, x0
53 msr AMEVTYPER112_EL0, x0
54 msr AMEVTYPER113_EL0, x0
55 msr AMEVTYPER114_EL0, x0
56 msr AMEVTYPER115_EL0, x0
58 mrs x0, AMCR_EL0
59 mrs x0, AMCFGR_EL0
60 mrs x0, AMCGCR_EL0
61 mrs x0, AMUSERENR_EL0
62 mrs x0, AMCNTENCLR0_EL0
63 mrs x0, AMCNTENSET0_EL0
64 mrs x0, AMEVCNTR00_EL0
65 mrs x0, AMEVCNTR01_EL0
66 mrs x0, AMEVCNTR02_EL0
67 mrs x0, AMEVCNTR03_EL0
68 mrs x0, AMEVTYPER00_EL0
69 mrs x0, AMEVTYPER01_EL0
70 mrs x0, AMEVTYPER02_EL0
71 mrs x0, AMEVTYPER03_EL0
72 mrs x0, AMCNTENCLR1_EL0
73 mrs x0, AMCNTENSET1_EL0
74 mrs x0, AMEVCNTR10_EL0
75 mrs x0, AMEVCNTR11_EL0
76 mrs x0, AMEVCNTR12_EL0
77 mrs x0, AMEVCNTR13_EL0
78 mrs x0, AMEVCNTR14_EL0
79 mrs x0, AMEVCNTR15_EL0
80 mrs x0, AMEVCNTR16_EL0
81 mrs x0, AMEVCNTR17_EL0
82 mrs x0, AMEVCNTR18_EL0
83 mrs x0, AMEVCNTR19_EL0
84 mrs x0, AMEVCNTR110_EL0
85 mrs x0, AMEVCNTR111_EL0
86 mrs x0, AMEVCNTR112_EL0
87 mrs x0, AMEVCNTR113_EL0
88 mrs x0, AMEVCNTR114_EL0
89 mrs x0, AMEVCNTR115_EL0
90 mrs x0, AMEVTYPER10_EL0
91 mrs x0, AMEVTYPER11_EL0
92 mrs x0, AMEVTYPER12_EL0
93 mrs x0, AMEVTYPER13_EL0
94 mrs x0, AMEVTYPER14_EL0
95 mrs x0, AMEVTYPER15_EL0
96 mrs x0, AMEVTYPER16_EL0
97 mrs x0, AMEVTYPER17_EL0
98 mrs x0, AMEVTYPER18_EL0
99 mrs x0, AMEVTYPER19_EL0
100 mrs x0, AMEVTYPER110_EL0
101 mrs x0, AMEVTYPER111_EL0
102 mrs x0, AMEVTYPER112_EL0
103 mrs x0, AMEVTYPER113_EL0
104 mrs x0, AMEVTYPER114_EL0
105 mrs x0, AMEVTYPER115_EL0
108 //CHECK-RO: error: expected writable system register or pstate
109 //CHECK-RO: msr AMCFGR_EL0, x0
110 //CHECK-RO: ^
111 //CHECK-RO: error: expected writable system register or pstate
112 //CHECK-RO: msr AMCGCR_EL0, x0
113 //CHECK-RO: ^
114 //CHECK-RO: error: expected writable system register or pstate
115 //CHECK-RO: msr AMEVTYPER00_EL0, x0
116 //CHECK-RO: ^
117 //CHECK-RO: error: expected writable system register or pstate
118 //CHECK-RO: msr AMEVTYPER01_EL0, x0
119 //CHECK-RO: ^
120 //CHECK-RO: error: expected writable system register or pstate
121 //CHECK-RO: msr AMEVTYPER02_EL0, x0
122 //CHECK-RO: ^
123 //CHECK-RO: error: expected writable system register or pstate
124 //CHECK-RO: msr AMEVTYPER03_EL0, x0
125 //CHECK-RO: ^
128 //CHECK: msr AMCR_EL0, x0 // encoding: [0x00,0xd2,0x1b,0xd5]
129 //CHECK: msr AMUSERENR_EL0, x0 // encoding: [0x60,0xd2,0x1b,0xd5]
130 //CHECK: msr AMCNTENCLR0_EL0, x0 // encoding: [0x80,0xd2,0x1b,0xd5]
131 //CHECK: msr AMCNTENSET0_EL0, x0 // encoding: [0xa0,0xd2,0x1b,0xd5]
132 //CHECK: msr AMEVCNTR00_EL0, x0 // encoding: [0x00,0xd4,0x1b,0xd5]
133 //CHECK: msr AMEVCNTR01_EL0, x0 // encoding: [0x20,0xd4,0x1b,0xd5]
134 //CHECK: msr AMEVCNTR02_EL0, x0 // encoding: [0x40,0xd4,0x1b,0xd5]
135 //CHECK: msr AMEVCNTR03_EL0, x0 // encoding: [0x60,0xd4,0x1b,0xd5]
136 //CHECK: msr AMCNTENCLR1_EL0, x0 // encoding: [0x00,0xd3,0x1b,0xd5]
137 //CHECK: msr AMCNTENSET1_EL0, x0 // encoding: [0x20,0xd3,0x1b,0xd5]
138 //CHECK: msr AMEVCNTR10_EL0, x0 // encoding: [0x00,0xdc,0x1b,0xd5]
139 //CHECK: msr AMEVCNTR11_EL0, x0 // encoding: [0x20,0xdc,0x1b,0xd5]
140 //CHECK: msr AMEVCNTR12_EL0, x0 // encoding: [0x40,0xdc,0x1b,0xd5]
141 //CHECK: msr AMEVCNTR13_EL0, x0 // encoding: [0x60,0xdc,0x1b,0xd5]
142 //CHECK: msr AMEVCNTR14_EL0, x0 // encoding: [0x80,0xdc,0x1b,0xd5]
143 //CHECK: msr AMEVCNTR15_EL0, x0 // encoding: [0xa0,0xdc,0x1b,0xd5]
144 //CHECK: msr AMEVCNTR16_EL0, x0 // encoding: [0xc0,0xdc,0x1b,0xd5]
145 //CHECK: msr AMEVCNTR17_EL0, x0 // encoding: [0xe0,0xdc,0x1b,0xd5]
146 //CHECK: msr AMEVCNTR18_EL0, x0 // encoding: [0x00,0xdd,0x1b,0xd5]
147 //CHECK: msr AMEVCNTR19_EL0, x0 // encoding: [0x20,0xdd,0x1b,0xd5]
148 //CHECK: msr AMEVCNTR110_EL0, x0 // encoding: [0x40,0xdd,0x1b,0xd5]
149 //CHECK: msr AMEVCNTR111_EL0, x0 // encoding: [0x60,0xdd,0x1b,0xd5]
150 //CHECK: msr AMEVCNTR112_EL0, x0 // encoding: [0x80,0xdd,0x1b,0xd5]
151 //CHECK: msr AMEVCNTR113_EL0, x0 // encoding: [0xa0,0xdd,0x1b,0xd5]
152 //CHECK: msr AMEVCNTR114_EL0, x0 // encoding: [0xc0,0xdd,0x1b,0xd5]
153 //CHECK: msr AMEVCNTR115_EL0, x0 // encoding: [0xe0,0xdd,0x1b,0xd5]
154 //CHECK: msr AMEVTYPER10_EL0, x0 // encoding: [0x00,0xde,0x1b,0xd5]
155 //CHECK: msr AMEVTYPER11_EL0, x0 // encoding: [0x20,0xde,0x1b,0xd5]
156 //CHECK: msr AMEVTYPER12_EL0, x0 // encoding: [0x40,0xde,0x1b,0xd5]
157 //CHECK: msr AMEVTYPER13_EL0, x0 // encoding: [0x60,0xde,0x1b,0xd5]
158 //CHECK: msr AMEVTYPER14_EL0, x0 // encoding: [0x80,0xde,0x1b,0xd5]
159 //CHECK: msr AMEVTYPER15_EL0, x0 // encoding: [0xa0,0xde,0x1b,0xd5]
160 //CHECK: msr AMEVTYPER16_EL0, x0 // encoding: [0xc0,0xde,0x1b,0xd5]
161 //CHECK: msr AMEVTYPER17_EL0, x0 // encoding: [0xe0,0xde,0x1b,0xd5]
162 //CHECK: msr AMEVTYPER18_EL0, x0 // encoding: [0x00,0xdf,0x1b,0xd5]
163 //CHECK: msr AMEVTYPER19_EL0, x0 // encoding: [0x20,0xdf,0x1b,0xd5]
164 //CHECK: msr AMEVTYPER110_EL0, x0 // encoding: [0x40,0xdf,0x1b,0xd5]
165 //CHECK: msr AMEVTYPER111_EL0, x0 // encoding: [0x60,0xdf,0x1b,0xd5]
166 //CHECK: msr AMEVTYPER112_EL0, x0 // encoding: [0x80,0xdf,0x1b,0xd5]
167 //CHECK: msr AMEVTYPER113_EL0, x0 // encoding: [0xa0,0xdf,0x1b,0xd5]
168 //CHECK: msr AMEVTYPER114_EL0, x0 // encoding: [0xc0,0xdf,0x1b,0xd5]
169 //CHECK: msr AMEVTYPER115_EL0, x0 // encoding: [0xe0,0xdf,0x1b,0xd5]
171 //CHECK: mrs x0, AMCR_EL0 // encoding: [0x00,0xd2,0x3b,0xd5]
172 //CHECK: mrs x0, AMCFGR_EL0 // encoding: [0x20,0xd2,0x3b,0xd5]
173 //CHECK: mrs x0, AMCGCR_EL0 // encoding: [0x40,0xd2,0x3b,0xd5]
174 //CHECK: mrs x0, AMUSERENR_EL0 // encoding: [0x60,0xd2,0x3b,0xd5]
175 //CHECK: mrs x0, AMCNTENCLR0_EL0 // encoding: [0x80,0xd2,0x3b,0xd5]
176 //CHECK: mrs x0, AMCNTENSET0_EL0 // encoding: [0xa0,0xd2,0x3b,0xd5]
177 //CHECK: mrs x0, AMEVCNTR00_EL0 // encoding: [0x00,0xd4,0x3b,0xd5]
178 //CHECK: mrs x0, AMEVCNTR01_EL0 // encoding: [0x20,0xd4,0x3b,0xd5]
179 //CHECK: mrs x0, AMEVCNTR02_EL0 // encoding: [0x40,0xd4,0x3b,0xd5]
180 //CHECK: mrs x0, AMEVCNTR03_EL0 // encoding: [0x60,0xd4,0x3b,0xd5]
181 //CHECK: mrs x0, AMEVTYPER00_EL0 // encoding: [0x00,0xd6,0x3b,0xd5]
182 //CHECK: mrs x0, AMEVTYPER01_EL0 // encoding: [0x20,0xd6,0x3b,0xd5]
183 //CHECK: mrs x0, AMEVTYPER02_EL0 // encoding: [0x40,0xd6,0x3b,0xd5]
184 //CHECK: mrs x0, AMEVTYPER03_EL0 // encoding: [0x60,0xd6,0x3b,0xd5]
185 //CHECK: mrs x0, AMCNTENCLR1_EL0 // encoding: [0x00,0xd3,0x3b,0xd5]
186 //CHECK: mrs x0, AMCNTENSET1_EL0 // encoding: [0x20,0xd3,0x3b,0xd5]
187 //CHECK: mrs x0, AMEVCNTR10_EL0 // encoding: [0x00,0xdc,0x3b,0xd5]
188 //CHECK: mrs x0, AMEVCNTR11_EL0 // encoding: [0x20,0xdc,0x3b,0xd5]
189 //CHECK: mrs x0, AMEVCNTR12_EL0 // encoding: [0x40,0xdc,0x3b,0xd5]
190 //CHECK: mrs x0, AMEVCNTR13_EL0 // encoding: [0x60,0xdc,0x3b,0xd5]
191 //CHECK: mrs x0, AMEVCNTR14_EL0 // encoding: [0x80,0xdc,0x3b,0xd5]
192 //CHECK: mrs x0, AMEVCNTR15_EL0 // encoding: [0xa0,0xdc,0x3b,0xd5]
193 //CHECK: mrs x0, AMEVCNTR16_EL0 // encoding: [0xc0,0xdc,0x3b,0xd5]
194 //CHECK: mrs x0, AMEVCNTR17_EL0 // encoding: [0xe0,0xdc,0x3b,0xd5]
195 //CHECK: mrs x0, AMEVCNTR18_EL0 // encoding: [0x00,0xdd,0x3b,0xd5]
196 //CHECK: mrs x0, AMEVCNTR19_EL0 // encoding: [0x20,0xdd,0x3b,0xd5]
197 //CHECK: mrs x0, AMEVCNTR110_EL0 // encoding: [0x40,0xdd,0x3b,0xd5]
198 //CHECK: mrs x0, AMEVCNTR111_EL0 // encoding: [0x60,0xdd,0x3b,0xd5]
199 //CHECK: mrs x0, AMEVCNTR112_EL0 // encoding: [0x80,0xdd,0x3b,0xd5]
200 //CHECK: mrs x0, AMEVCNTR113_EL0 // encoding: [0xa0,0xdd,0x3b,0xd5]
201 //CHECK: mrs x0, AMEVCNTR114_EL0 // encoding: [0xc0,0xdd,0x3b,0xd5]
202 //CHECK: mrs x0, AMEVCNTR115_EL0 // encoding: [0xe0,0xdd,0x3b,0xd5]
203 //CHECK: mrs x0, AMEVTYPER10_EL0 // encoding: [0x00,0xde,0x3b,0xd5]
204 //CHECK: mrs x0, AMEVTYPER11_EL0 // encoding: [0x20,0xde,0x3b,0xd5]
205 //CHECK: mrs x0, AMEVTYPER12_EL0 // encoding: [0x40,0xde,0x3b,0xd5]
206 //CHECK: mrs x0, AMEVTYPER13_EL0 // encoding: [0x60,0xde,0x3b,0xd5]
207 //CHECK: mrs x0, AMEVTYPER14_EL0 // encoding: [0x80,0xde,0x3b,0xd5]
208 //CHECK: mrs x0, AMEVTYPER15_EL0 // encoding: [0xa0,0xde,0x3b,0xd5]
209 //CHECK: mrs x0, AMEVTYPER16_EL0 // encoding: [0xc0,0xde,0x3b,0xd5]
210 //CHECK: mrs x0, AMEVTYPER17_EL0 // encoding: [0xe0,0xde,0x3b,0xd5]
211 //CHECK: mrs x0, AMEVTYPER18_EL0 // encoding: [0x00,0xdf,0x3b,0xd5]
212 //CHECK: mrs x0, AMEVTYPER19_EL0 // encoding: [0x20,0xdf,0x3b,0xd5]
213 //CHECK: mrs x0, AMEVTYPER110_EL0 // encoding: [0x40,0xdf,0x3b,0xd5]
214 //CHECK: mrs x0, AMEVTYPER111_EL0 // encoding: [0x60,0xdf,0x3b,0xd5]
215 //CHECK: mrs x0, AMEVTYPER112_EL0 // encoding: [0x80,0xdf,0x3b,0xd5]
216 //CHECK: mrs x0, AMEVTYPER113_EL0 // encoding: [0xa0,0xdf,0x3b,0xd5]
217 //CHECK: mrs x0, AMEVTYPER114_EL0 // encoding: [0xc0,0xdf,0x3b,0xd5]
218 //CHECK: mrs x0, AMEVTYPER115_EL0 // encoding: [0xe0,0xdf,0x3b,0xd5]
221 //CHECK-ERROR: error: expected writable system register or pstate
222 //CHECK-ERROR: msr AMCR_EL0, x0
223 //CHECK-ERROR: ^
224 //CHECK-ERROR: error: expected writable system register or pstate
225 //CHECK-ERROR: msr AMCFGR_EL0, x0
226 //CHECK-ERROR: ^
227 //CHECK-ERROR: error: expected writable system register or pstate
228 //CHECK-ERROR: msr AMCGCR_EL0, x0
229 //CHECK-ERROR: ^
230 //CHECK-ERROR: error: expected writable system register or pstate
231 //CHECK-ERROR: msr AMUSERENR_EL0, x0
232 //CHECK-ERROR: ^
233 //CHECK-ERROR: error: expected writable system register or pstate
234 //CHECK-ERROR: msr AMCNTENCLR0_EL0, x0
235 //CHECK-ERROR: ^
236 //CHECK-ERROR: error: expected writable system register or pstate
237 //CHECK-ERROR: msr AMCNTENSET0_EL0, x0
238 //CHECK-ERROR: ^
239 //CHECK-ERROR: error: expected writable system register or pstate
240 //CHECK-ERROR: msr AMEVCNTR00_EL0, x0
241 //CHECK-ERROR: ^
242 //CHECK-ERROR: error: expected writable system register or pstate
243 //CHECK-ERROR: msr AMEVCNTR01_EL0, x0
244 //CHECK-ERROR: ^
245 //CHECK-ERROR: error: expected writable system register or pstate
246 //CHECK-ERROR: msr AMEVCNTR02_EL0, x0
247 //CHECK-ERROR: ^
248 //CHECK-ERROR: error: expected writable system register or pstate
249 //CHECK-ERROR: msr AMEVCNTR03_EL0, x0
250 //CHECK-ERROR: ^
251 //CHECK-ERROR: error: expected writable system register or pstate
252 //CHECK-ERROR: msr AMEVTYPER00_EL0, x0
253 //CHECK-ERROR: ^
254 //CHECK-ERROR: error: expected writable system register or pstate
255 //CHECK-ERROR: msr AMEVTYPER01_EL0, x0
256 //CHECK-ERROR: ^
257 //CHECK-ERROR: error: expected writable system register or pstate
258 //CHECK-ERROR: msr AMEVTYPER02_EL0, x0
259 //CHECK-ERROR: ^
260 //CHECK-ERROR: error: expected writable system register or pstate
261 //CHECK-ERROR: msr AMEVTYPER03_EL0, x0
262 //CHECK-ERROR: ^
263 //CHECK-ERROR: error: expected writable system register or pstate
264 //CHECK-ERROR: msr AMCNTENCLR1_EL0, x0
265 //CHECK-ERROR: ^
266 //CHECK-ERROR: error: expected writable system register or pstate
267 //CHECK-ERROR: msr AMCNTENSET1_EL0, x0
268 //CHECK-ERROR: ^
269 //CHECK-ERROR: error: expected writable system register or pstate
270 //CHECK-ERROR: msr AMEVCNTR10_EL0, x0
271 //CHECK-ERROR: ^
272 //CHECK-ERROR: error: expected writable system register or pstate
273 //CHECK-ERROR: msr AMEVCNTR11_EL0, x0
274 //CHECK-ERROR: ^
275 //CHECK-ERROR: error: expected writable system register or pstate
276 //CHECK-ERROR: msr AMEVCNTR12_EL0, x0
277 //CHECK-ERROR: ^
278 //CHECK-ERROR: error: expected writable system register or pstate
279 //CHECK-ERROR: msr AMEVCNTR13_EL0, x0
280 //CHECK-ERROR: ^
281 //CHECK-ERROR: error: expected writable system register or pstate
282 //CHECK-ERROR: msr AMEVCNTR14_EL0, x0
283 //CHECK-ERROR: ^
284 //CHECK-ERROR: error: expected writable system register or pstate
285 //CHECK-ERROR: msr AMEVCNTR15_EL0, x0
286 //CHECK-ERROR: ^
287 //CHECK-ERROR: error: expected writable system register or pstate
288 //CHECK-ERROR: msr AMEVCNTR16_EL0, x0
289 //CHECK-ERROR: ^
290 //CHECK-ERROR: error: expected writable system register or pstate
291 //CHECK-ERROR: msr AMEVCNTR17_EL0, x0
292 //CHECK-ERROR: ^
293 //CHECK-ERROR: error: expected writable system register or pstate
294 //CHECK-ERROR: msr AMEVCNTR18_EL0, x0
295 //CHECK-ERROR: ^
296 //CHECK-ERROR: error: expected writable system register or pstate
297 //CHECK-ERROR: msr AMEVCNTR19_EL0, x0
298 //CHECK-ERROR: ^
299 //CHECK-ERROR: error: expected writable system register or pstate
300 //CHECK-ERROR: msr AMEVCNTR110_EL0, x0
301 //CHECK-ERROR: ^
302 //CHECK-ERROR: error: expected writable system register or pstate
303 //CHECK-ERROR: msr AMEVCNTR111_EL0, x0
304 //CHECK-ERROR: ^
305 //CHECK-ERROR: error: expected writable system register or pstate
306 //CHECK-ERROR: msr AMEVCNTR112_EL0, x0
307 //CHECK-ERROR: ^
308 //CHECK-ERROR: error: expected writable system register or pstate
309 //CHECK-ERROR: msr AMEVCNTR113_EL0, x0
310 //CHECK-ERROR: ^
311 //CHECK-ERROR: error: expected writable system register or pstate
312 //CHECK-ERROR: msr AMEVCNTR114_EL0, x0
313 //CHECK-ERROR: ^
314 //CHECK-ERROR: error: expected writable system register or pstate
315 //CHECK-ERROR: msr AMEVCNTR115_EL0, x0
316 //CHECK-ERROR: ^
317 //CHECK-ERROR: error: expected writable system register or pstate
318 //CHECK-ERROR: msr AMEVTYPER10_EL0, x0
319 //CHECK-ERROR: ^
320 //CHECK-ERROR: error: expected writable system register or pstate
321 //CHECK-ERROR: msr AMEVTYPER11_EL0, x0
322 //CHECK-ERROR: ^
323 //CHECK-ERROR: error: expected writable system register or pstate
324 //CHECK-ERROR: msr AMEVTYPER12_EL0, x0
325 //CHECK-ERROR: ^
326 //CHECK-ERROR: error: expected writable system register or pstate
327 //CHECK-ERROR: msr AMEVTYPER13_EL0, x0
328 //CHECK-ERROR: ^
329 //CHECK-ERROR: error: expected writable system register or pstate
330 //CHECK-ERROR: msr AMEVTYPER14_EL0, x0
331 //CHECK-ERROR: ^
332 //CHECK-ERROR: error: expected writable system register or pstate
333 //CHECK-ERROR: msr AMEVTYPER15_EL0, x0
334 //CHECK-ERROR: ^
335 //CHECK-ERROR: error: expected writable system register or pstate
336 //CHECK-ERROR: msr AMEVTYPER16_EL0, x0
337 //CHECK-ERROR: ^
338 //CHECK-ERROR: error: expected writable system register or pstate
339 //CHECK-ERROR: msr AMEVTYPER17_EL0, x0
340 //CHECK-ERROR: ^
341 //CHECK-ERROR: error: expected writable system register or pstate
342 //CHECK-ERROR: msr AMEVTYPER18_EL0, x0
343 //CHECK-ERROR: ^
344 //CHECK-ERROR: error: expected writable system register or pstate
345 //CHECK-ERROR: msr AMEVTYPER19_EL0, x0
346 //CHECK-ERROR: ^
347 //CHECK-ERROR: error: expected writable system register or pstate
348 //CHECK-ERROR: msr AMEVTYPER110_EL0, x0
349 //CHECK-ERROR: ^
350 //CHECK-ERROR: error: expected writable system register or pstate
351 //CHECK-ERROR: msr AMEVTYPER111_EL0, x0
352 //CHECK-ERROR: ^
353 //CHECK-ERROR: error: expected writable system register or pstate
354 //CHECK-ERROR: msr AMEVTYPER112_EL0, x0
355 //CHECK-ERROR: ^
356 //CHECK-ERROR: error: expected writable system register or pstate
357 //CHECK-ERROR: msr AMEVTYPER113_EL0, x0
358 //CHECK-ERROR: ^
359 //CHECK-ERROR: error: expected writable system register or pstate
360 //CHECK-ERROR: msr AMEVTYPER114_EL0, x0
361 //CHECK-ERROR: ^
362 //CHECK-ERROR: error: expected writable system register or pstate
363 //CHECK-ERROR: msr AMEVTYPER115_EL0, x0
364 //CHECK-ERROR: ^
366 //CHECK-ERROR: error: expected readable system register
367 //CHECK-ERROR: mrs x0, AMCR_EL0
368 //CHECK-ERROR: ^
369 //CHECK-ERROR: error: expected readable system register
370 //CHECK-ERROR: mrs x0, AMCFGR_EL0
371 //CHECK-ERROR: ^
372 //CHECK-ERROR: error: expected readable system register
373 //CHECK-ERROR: mrs x0, AMCGCR_EL0
374 //CHECK-ERROR: ^
375 //CHECK-ERROR: error: expected readable system register
376 //CHECK-ERROR: mrs x0, AMUSERENR_EL0
377 //CHECK-ERROR: ^
378 //CHECK-ERROR: error: expected readable system register
379 //CHECK-ERROR: mrs x0, AMCNTENCLR0_EL0
380 //CHECK-ERROR: ^
381 //CHECK-ERROR: error: expected readable system register
382 //CHECK-ERROR: mrs x0, AMCNTENSET0_EL0
383 //CHECK-ERROR: ^
384 //CHECK-ERROR: error: expected readable system register
385 //CHECK-ERROR: mrs x0, AMEVCNTR00_EL0
386 //CHECK-ERROR: ^
387 //CHECK-ERROR: error: expected readable system register
388 //CHECK-ERROR: mrs x0, AMEVCNTR01_EL0
389 //CHECK-ERROR: ^
390 //CHECK-ERROR: error: expected readable system register
391 //CHECK-ERROR: mrs x0, AMEVCNTR02_EL0
392 //CHECK-ERROR: ^
393 //CHECK-ERROR: error: expected readable system register
394 //CHECK-ERROR: mrs x0, AMEVCNTR03_EL0
395 //CHECK-ERROR: ^
396 //CHECK-ERROR: error: expected readable system register
397 //CHECK-ERROR: mrs x0, AMEVTYPER00_EL0
398 //CHECK-ERROR: ^
399 //CHECK-ERROR: error: expected readable system register
400 //CHECK-ERROR: mrs x0, AMEVTYPER01_EL0
401 //CHECK-ERROR: ^
402 //CHECK-ERROR: error: expected readable system register
403 //CHECK-ERROR: mrs x0, AMEVTYPER02_EL0
404 //CHECK-ERROR: ^
405 //CHECK-ERROR: error: expected readable system register
406 //CHECK-ERROR: mrs x0, AMEVTYPER03_EL0
407 //CHECK-ERROR: ^
408 //CHECK-ERROR: error: expected readable system register
409 //CHECK-ERROR: mrs x0, AMCNTENCLR1_EL0
410 //CHECK-ERROR: ^
411 //CHECK-ERROR: error: expected readable system register
412 //CHECK-ERROR: mrs x0, AMCNTENSET1_EL0
413 //CHECK-ERROR: ^
414 //CHECK-ERROR: error: expected readable system register
415 //CHECK-ERROR: mrs x0, AMEVCNTR10_EL0
416 //CHECK-ERROR: ^
417 //CHECK-ERROR: error: expected readable system register
418 //CHECK-ERROR: mrs x0, AMEVCNTR11_EL0
419 //CHECK-ERROR: ^
420 //CHECK-ERROR: error: expected readable system register
421 //CHECK-ERROR: mrs x0, AMEVCNTR12_EL0
422 //CHECK-ERROR: ^
423 //CHECK-ERROR: error: expected readable system register
424 //CHECK-ERROR: mrs x0, AMEVCNTR13_EL0
425 //CHECK-ERROR: ^
426 //CHECK-ERROR: error: expected readable system register
427 //CHECK-ERROR: mrs x0, AMEVCNTR14_EL0
428 //CHECK-ERROR: ^
429 //CHECK-ERROR: error: expected readable system register
430 //CHECK-ERROR: mrs x0, AMEVCNTR15_EL0
431 //CHECK-ERROR: ^
432 //CHECK-ERROR: error: expected readable system register
433 //CHECK-ERROR: mrs x0, AMEVCNTR16_EL0
434 //CHECK-ERROR: ^
435 //CHECK-ERROR: error: expected readable system register
436 //CHECK-ERROR: mrs x0, AMEVCNTR17_EL0
437 //CHECK-ERROR: ^
438 //CHECK-ERROR: error: expected readable system register
439 //CHECK-ERROR: mrs x0, AMEVCNTR18_EL0
440 //CHECK-ERROR: ^
441 //CHECK-ERROR: error: expected readable system register
442 //CHECK-ERROR: mrs x0, AMEVCNTR19_EL0
443 //CHECK-ERROR: ^
444 //CHECK-ERROR: error: expected readable system register
445 //CHECK-ERROR: mrs x0, AMEVCNTR110_EL0
446 //CHECK-ERROR: ^
447 //CHECK-ERROR: error: expected readable system register
448 //CHECK-ERROR: mrs x0, AMEVCNTR111_EL0
449 //CHECK-ERROR: ^
450 //CHECK-ERROR: error: expected readable system register
451 //CHECK-ERROR: mrs x0, AMEVCNTR112_EL0
452 //CHECK-ERROR: ^
453 //CHECK-ERROR: error: expected readable system register
454 //CHECK-ERROR: mrs x0, AMEVCNTR113_EL0
455 //CHECK-ERROR: ^
456 //CHECK-ERROR: error: expected readable system register
457 //CHECK-ERROR: mrs x0, AMEVCNTR114_EL0
458 //CHECK-ERROR: ^
459 //CHECK-ERROR: error: expected readable system register
460 //CHECK-ERROR: mrs x0, AMEVCNTR115_EL0
461 //CHECK-ERROR: ^
462 //CHECK-ERROR: error: expected readable system register
463 //CHECK-ERROR: mrs x0, AMEVTYPER10_EL0
464 //CHECK-ERROR: ^
465 //CHECK-ERROR: error: expected readable system register
466 //CHECK-ERROR: mrs x0, AMEVTYPER11_EL0
467 //CHECK-ERROR: ^
468 //CHECK-ERROR: error: expected readable system register
469 //CHECK-ERROR: mrs x0, AMEVTYPER12_EL0
470 //CHECK-ERROR: ^
471 //CHECK-ERROR: error: expected readable system register
472 //CHECK-ERROR: mrs x0, AMEVTYPER13_EL0
473 //CHECK-ERROR: ^
474 //CHECK-ERROR: error: expected readable system register
475 //CHECK-ERROR: mrs x0, AMEVTYPER14_EL0
476 //CHECK-ERROR: ^
477 //CHECK-ERROR: error: expected readable system register
478 //CHECK-ERROR: mrs x0, AMEVTYPER15_EL0
479 //CHECK-ERROR: ^
480 //CHECK-ERROR: error: expected readable system register
481 //CHECK-ERROR: mrs x0, AMEVTYPER16_EL0
482 //CHECK-ERROR: ^
483 //CHECK-ERROR: error: expected readable system register
484 //CHECK-ERROR: mrs x0, AMEVTYPER17_EL0
485 //CHECK-ERROR: ^
486 //CHECK-ERROR: error: expected readable system register
487 //CHECK-ERROR: mrs x0, AMEVTYPER18_EL0
488 //CHECK-ERROR: ^
489 //CHECK-ERROR: error: expected readable system register
490 //CHECK-ERROR: mrs x0, AMEVTYPER19_EL0
491 //CHECK-ERROR: ^
492 //CHECK-ERROR: error: expected readable system register
493 //CHECK-ERROR: mrs x0, AMEVTYPER110_EL0
494 //CHECK-ERROR: ^
495 //CHECK-ERROR: error: expected readable system register
496 //CHECK-ERROR: mrs x0, AMEVTYPER111_EL0
497 //CHECK-ERROR: ^
498 //CHECK-ERROR: error: expected readable system register
499 //CHECK-ERROR: mrs x0, AMEVTYPER112_EL0
500 //CHECK-ERROR: ^
501 //CHECK-ERROR: error: expected readable system register
502 //CHECK-ERROR: mrs x0, AMEVTYPER113_EL0
503 //CHECK-ERROR: ^
504 //CHECK-ERROR: error: expected readable system register
505 //CHECK-ERROR: mrs x0, AMEVTYPER114_EL0
506 //CHECK-ERROR: ^
507 //CHECK-ERROR: error: expected readable system register
508 //CHECK-ERROR: mrs x0, AMEVTYPER115_EL0
509 //CHECK-ERROR: ^