• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN:     llvm-mc -triple aarch64 -show-encoding -mattr=+amvs -o - %s  | FileCheck %s
2// RUN:     llvm-mc -triple aarch64 -show-encoding -mattr=+v8.6a -o - %s | FileCheck %s
3// RUN: not llvm-mc -triple aarch64 -show-encoding -o - %p/armv8.6a-amvs.s 2>&1  | FileCheck %s --check-prefix=CHECK-ERROR
4msr AMEVCNTVOFF00_EL2, x0
5msr AMEVCNTVOFF01_EL2, x0
6msr AMEVCNTVOFF02_EL2, x0
7msr AMEVCNTVOFF03_EL2, x0
8msr AMEVCNTVOFF04_EL2, x0
9msr AMEVCNTVOFF05_EL2, x0
10msr AMEVCNTVOFF06_EL2, x0
11msr AMEVCNTVOFF07_EL2, x0
12msr AMEVCNTVOFF08_EL2, x0
13msr AMEVCNTVOFF09_EL2, x0
14msr AMEVCNTVOFF010_EL2, x0
15msr AMEVCNTVOFF011_EL2, x0
16msr AMEVCNTVOFF012_EL2, x0
17msr AMEVCNTVOFF013_EL2, x0
18msr AMEVCNTVOFF014_EL2, x0
19msr AMEVCNTVOFF015_EL2, x0
20mrs x0, AMEVCNTVOFF00_EL2
21mrs x0, AMEVCNTVOFF01_EL2
22mrs x0, AMEVCNTVOFF02_EL2
23mrs x0, AMEVCNTVOFF03_EL2
24mrs x0, AMEVCNTVOFF04_EL2
25mrs x0, AMEVCNTVOFF05_EL2
26mrs x0, AMEVCNTVOFF06_EL2
27mrs x0, AMEVCNTVOFF07_EL2
28mrs x0, AMEVCNTVOFF08_EL2
29mrs x0, AMEVCNTVOFF09_EL2
30mrs x0, AMEVCNTVOFF010_EL2
31mrs x0, AMEVCNTVOFF011_EL2
32mrs x0, AMEVCNTVOFF012_EL2
33mrs x0, AMEVCNTVOFF013_EL2
34mrs x0, AMEVCNTVOFF014_EL2
35mrs x0, AMEVCNTVOFF015_EL2
36msr AMEVCNTVOFF10_EL2, x0
37msr AMEVCNTVOFF11_EL2, x0
38msr AMEVCNTVOFF12_EL2, x0
39msr AMEVCNTVOFF13_EL2, x0
40msr AMEVCNTVOFF14_EL2, x0
41msr AMEVCNTVOFF15_EL2, x0
42msr AMEVCNTVOFF16_EL2, x0
43msr AMEVCNTVOFF17_EL2, x0
44msr AMEVCNTVOFF18_EL2, x0
45msr AMEVCNTVOFF19_EL2, x0
46msr AMEVCNTVOFF110_EL2, x0
47msr AMEVCNTVOFF111_EL2, x0
48msr AMEVCNTVOFF112_EL2, x0
49msr AMEVCNTVOFF113_EL2, x0
50msr AMEVCNTVOFF114_EL2, x0
51msr AMEVCNTVOFF115_EL2, x0
52mrs x0, AMEVCNTVOFF10_EL2
53mrs x0, AMEVCNTVOFF11_EL2
54mrs x0, AMEVCNTVOFF12_EL2
55mrs x0, AMEVCNTVOFF13_EL2
56mrs x0, AMEVCNTVOFF14_EL2
57mrs x0, AMEVCNTVOFF15_EL2
58mrs x0, AMEVCNTVOFF16_EL2
59mrs x0, AMEVCNTVOFF17_EL2
60mrs x0, AMEVCNTVOFF18_EL2
61mrs x0, AMEVCNTVOFF19_EL2
62mrs x0, AMEVCNTVOFF110_EL2
63mrs x0, AMEVCNTVOFF111_EL2
64mrs x0, AMEVCNTVOFF112_EL2
65mrs x0, AMEVCNTVOFF113_EL2
66mrs x0, AMEVCNTVOFF114_EL2
67mrs x0, AMEVCNTVOFF115_EL2
68
69// CHECK:  .text
70// CHECK-NEXT:  msr     AMEVCNTVOFF00_EL2, x0   // encoding: [0x00,0xd8,0x1c,0xd5]
71// CHECK-NEXT:  msr     AMEVCNTVOFF01_EL2, x0   // encoding: [0x20,0xd8,0x1c,0xd5]
72// CHECK-NEXT:  msr     AMEVCNTVOFF02_EL2, x0   // encoding: [0x40,0xd8,0x1c,0xd5]
73// CHECK-NEXT:  msr     AMEVCNTVOFF03_EL2, x0   // encoding: [0x60,0xd8,0x1c,0xd5]
74// CHECK-NEXT:  msr     AMEVCNTVOFF04_EL2, x0   // encoding: [0x80,0xd8,0x1c,0xd5]
75// CHECK-NEXT:  msr     AMEVCNTVOFF05_EL2, x0   // encoding: [0xa0,0xd8,0x1c,0xd5]
76// CHECK-NEXT:  msr     AMEVCNTVOFF06_EL2, x0   // encoding: [0xc0,0xd8,0x1c,0xd5]
77// CHECK-NEXT:  msr     AMEVCNTVOFF07_EL2, x0   // encoding: [0xe0,0xd8,0x1c,0xd5]
78// CHECK-NEXT:  msr     AMEVCNTVOFF08_EL2, x0   // encoding: [0x00,0xd9,0x1c,0xd5]
79// CHECK-NEXT:  msr     AMEVCNTVOFF09_EL2, x0   // encoding: [0x20,0xd9,0x1c,0xd5]
80// CHECK-NEXT:  msr     AMEVCNTVOFF010_EL2, x0  // encoding: [0x40,0xd9,0x1c,0xd5]
81// CHECK-NEXT:  msr     AMEVCNTVOFF011_EL2, x0  // encoding: [0x60,0xd9,0x1c,0xd5]
82// CHECK-NEXT:  msr     AMEVCNTVOFF012_EL2, x0  // encoding: [0x80,0xd9,0x1c,0xd5]
83// CHECK-NEXT:  msr     AMEVCNTVOFF013_EL2, x0  // encoding: [0xa0,0xd9,0x1c,0xd5]
84// CHECK-NEXT:  msr     AMEVCNTVOFF014_EL2, x0  // encoding: [0xc0,0xd9,0x1c,0xd5]
85// CHECK-NEXT:  msr     AMEVCNTVOFF015_EL2, x0  // encoding: [0xe0,0xd9,0x1c,0xd5]
86// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF00_EL2   // encoding: [0x00,0xd8,0x3c,0xd5]
87// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF01_EL2   // encoding: [0x20,0xd8,0x3c,0xd5]
88// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF02_EL2   // encoding: [0x40,0xd8,0x3c,0xd5]
89// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF03_EL2   // encoding: [0x60,0xd8,0x3c,0xd5]
90// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF04_EL2   // encoding: [0x80,0xd8,0x3c,0xd5]
91// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF05_EL2   // encoding: [0xa0,0xd8,0x3c,0xd5]
92// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF06_EL2   // encoding: [0xc0,0xd8,0x3c,0xd5]
93// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF07_EL2   // encoding: [0xe0,0xd8,0x3c,0xd5]
94// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF08_EL2   // encoding: [0x00,0xd9,0x3c,0xd5]
95// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF09_EL2   // encoding: [0x20,0xd9,0x3c,0xd5]
96// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF010_EL2  // encoding: [0x40,0xd9,0x3c,0xd5]
97// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF011_EL2  // encoding: [0x60,0xd9,0x3c,0xd5]
98// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF012_EL2  // encoding: [0x80,0xd9,0x3c,0xd5]
99// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF013_EL2  // encoding: [0xa0,0xd9,0x3c,0xd5]
100// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF014_EL2  // encoding: [0xc0,0xd9,0x3c,0xd5]
101// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF015_EL2  // encoding: [0xe0,0xd9,0x3c,0xd5]
102// CHECK-NEXT:  msr     AMEVCNTVOFF10_EL2, x0   // encoding: [0x00,0xda,0x1c,0xd5]
103// CHECK-NEXT:  msr     AMEVCNTVOFF11_EL2, x0   // encoding: [0x20,0xda,0x1c,0xd5]
104// CHECK-NEXT:  msr     AMEVCNTVOFF12_EL2, x0   // encoding: [0x40,0xda,0x1c,0xd5]
105// CHECK-NEXT:  msr     AMEVCNTVOFF13_EL2, x0   // encoding: [0x60,0xda,0x1c,0xd5]
106// CHECK-NEXT:  msr     AMEVCNTVOFF14_EL2, x0   // encoding: [0x80,0xda,0x1c,0xd5]
107// CHECK-NEXT:  msr     AMEVCNTVOFF15_EL2, x0   // encoding: [0xa0,0xda,0x1c,0xd5]
108// CHECK-NEXT:  msr     AMEVCNTVOFF16_EL2, x0   // encoding: [0xc0,0xda,0x1c,0xd5]
109// CHECK-NEXT:  msr     AMEVCNTVOFF17_EL2, x0   // encoding: [0xe0,0xda,0x1c,0xd5]
110// CHECK-NEXT:  msr     AMEVCNTVOFF18_EL2, x0   // encoding: [0x00,0xdb,0x1c,0xd5]
111// CHECK-NEXT:  msr     AMEVCNTVOFF19_EL2, x0   // encoding: [0x20,0xdb,0x1c,0xd5]
112// CHECK-NEXT:  msr     AMEVCNTVOFF110_EL2, x0  // encoding: [0x40,0xdb,0x1c,0xd5]
113// CHECK-NEXT:  msr     AMEVCNTVOFF111_EL2, x0  // encoding: [0x60,0xdb,0x1c,0xd5]
114// CHECK-NEXT:  msr     AMEVCNTVOFF112_EL2, x0  // encoding: [0x80,0xdb,0x1c,0xd5]
115// CHECK-NEXT:  msr     AMEVCNTVOFF113_EL2, x0  // encoding: [0xa0,0xdb,0x1c,0xd5]
116// CHECK-NEXT:  msr     AMEVCNTVOFF114_EL2, x0  // encoding: [0xc0,0xdb,0x1c,0xd5]
117// CHECK-NEXT:  msr     AMEVCNTVOFF115_EL2, x0  // encoding: [0xe0,0xdb,0x1c,0xd5]
118// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF10_EL2   // encoding: [0x00,0xda,0x3c,0xd5]
119// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF11_EL2   // encoding: [0x20,0xda,0x3c,0xd5]
120// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF12_EL2   // encoding: [0x40,0xda,0x3c,0xd5]
121// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF13_EL2   // encoding: [0x60,0xda,0x3c,0xd5]
122// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF14_EL2   // encoding: [0x80,0xda,0x3c,0xd5]
123// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF15_EL2   // encoding: [0xa0,0xda,0x3c,0xd5]
124// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF16_EL2   // encoding: [0xc0,0xda,0x3c,0xd5]
125// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF17_EL2   // encoding: [0xe0,0xda,0x3c,0xd5]
126// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF18_EL2   // encoding: [0x00,0xdb,0x3c,0xd5]
127// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF19_EL2   // encoding: [0x20,0xdb,0x3c,0xd5]
128// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF110_EL2  // encoding: [0x40,0xdb,0x3c,0xd5]
129// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF111_EL2  // encoding: [0x60,0xdb,0x3c,0xd5]
130// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF112_EL2  // encoding: [0x80,0xdb,0x3c,0xd5]
131// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF113_EL2  // encoding: [0xa0,0xdb,0x3c,0xd5]
132// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF114_EL2  // encoding: [0xc0,0xdb,0x3c,0xd5]
133// CHECK-NEXT:  mrs     x0, AMEVCNTVOFF115_EL2  // encoding: [0xe0,0xdb,0x3c,0xd5]
134
135
136// CHECK-ERROR: error: expected writable system register or pstate
137// CHECK-ERROR-NEXT: msr AMEVCNTVOFF00_EL2, x0
138// CHECK-ERROR-NEXT:     ^
139// CHECK-ERROR-NEXT: error: expected writable system register or pstate
140// CHECK-ERROR-NEXT: msr AMEVCNTVOFF01_EL2, x0
141// CHECK-ERROR-NEXT:     ^
142// CHECK-ERROR-NEXT: error: expected writable system register or pstate
143// CHECK-ERROR-NEXT: msr AMEVCNTVOFF02_EL2, x0
144// CHECK-ERROR-NEXT:     ^
145// CHECK-ERROR-NEXT: error: expected writable system register or pstate
146// CHECK-ERROR-NEXT: msr AMEVCNTVOFF03_EL2, x0
147// CHECK-ERROR-NEXT:     ^
148// CHECK-ERROR-NEXT: error: expected writable system register or pstate
149// CHECK-ERROR-NEXT: msr AMEVCNTVOFF04_EL2, x0
150// CHECK-ERROR-NEXT:     ^
151// CHECK-ERROR-NEXT: error: expected writable system register or pstate
152// CHECK-ERROR-NEXT: msr AMEVCNTVOFF05_EL2, x0
153// CHECK-ERROR-NEXT:     ^
154// CHECK-ERROR-NEXT: error: expected writable system register or pstate
155// CHECK-ERROR-NEXT: msr AMEVCNTVOFF06_EL2, x0
156// CHECK-ERROR-NEXT:     ^
157// CHECK-ERROR-NEXT: error: expected writable system register or pstate
158// CHECK-ERROR-NEXT: msr AMEVCNTVOFF07_EL2, x0
159// CHECK-ERROR-NEXT:     ^
160// CHECK-ERROR-NEXT: error: expected writable system register or pstate
161// CHECK-ERROR-NEXT: msr AMEVCNTVOFF08_EL2, x0
162// CHECK-ERROR-NEXT:     ^
163// CHECK-ERROR-NEXT: error: expected writable system register or pstate
164// CHECK-ERROR-NEXT: msr AMEVCNTVOFF09_EL2, x0
165// CHECK-ERROR-NEXT:     ^
166// CHECK-ERROR-NEXT: error: expected writable system register or pstate
167// CHECK-ERROR-NEXT: msr AMEVCNTVOFF010_EL2, x0
168// CHECK-ERROR-NEXT:     ^
169// CHECK-ERROR-NEXT: error: expected writable system register or pstate
170// CHECK-ERROR-NEXT: msr AMEVCNTVOFF011_EL2, x0
171// CHECK-ERROR-NEXT:     ^
172// CHECK-ERROR-NEXT: error: expected writable system register or pstate
173// CHECK-ERROR-NEXT: msr AMEVCNTVOFF012_EL2, x0
174// CHECK-ERROR-NEXT:     ^
175// CHECK-ERROR-NEXT: error: expected writable system register or pstate
176// CHECK-ERROR-NEXT: msr AMEVCNTVOFF013_EL2, x0
177// CHECK-ERROR-NEXT:     ^
178// CHECK-ERROR-NEXT: error: expected writable system register or pstate
179// CHECK-ERROR-NEXT: msr AMEVCNTVOFF014_EL2, x0
180// CHECK-ERROR-NEXT:     ^
181// CHECK-ERROR-NEXT: error: expected writable system register or pstate
182// CHECK-ERROR-NEXT: msr AMEVCNTVOFF015_EL2, x0
183// CHECK-ERROR-NEXT:     ^
184// CHECK-ERROR-NEXT: error: expected readable system register
185// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF00_EL2
186// CHECK-ERROR-NEXT:         ^
187// CHECK-ERROR-NEXT: error: expected readable system register
188// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF01_EL2
189// CHECK-ERROR-NEXT:         ^
190// CHECK-ERROR-NEXT: error: expected readable system register
191// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF02_EL2
192// CHECK-ERROR-NEXT:         ^
193// CHECK-ERROR-NEXT: error: expected readable system register
194// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF03_EL2
195// CHECK-ERROR-NEXT:         ^
196// CHECK-ERROR-NEXT: error: expected readable system register
197// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF04_EL2
198// CHECK-ERROR-NEXT:         ^
199// CHECK-ERROR-NEXT: error: expected readable system register
200// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF05_EL2
201// CHECK-ERROR-NEXT:         ^
202// CHECK-ERROR-NEXT: error: expected readable system register
203// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF06_EL2
204// CHECK-ERROR-NEXT:         ^
205// CHECK-ERROR-NEXT: error: expected readable system register
206// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF07_EL2
207// CHECK-ERROR-NEXT:         ^
208// CHECK-ERROR-NEXT: error: expected readable system register
209// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF08_EL2
210// CHECK-ERROR-NEXT:         ^
211// CHECK-ERROR-NEXT: error: expected readable system register
212// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF09_EL2
213// CHECK-ERROR-NEXT:         ^
214// CHECK-ERROR-NEXT: error: expected readable system register
215// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF010_EL2
216// CHECK-ERROR-NEXT:         ^
217// CHECK-ERROR-NEXT: error: expected readable system register
218// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF011_EL2
219// CHECK-ERROR-NEXT:         ^
220// CHECK-ERROR-NEXT: error: expected readable system register
221// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF012_EL2
222// CHECK-ERROR-NEXT:         ^
223// CHECK-ERROR-NEXT: error: expected readable system register
224// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF013_EL2
225// CHECK-ERROR-NEXT:         ^
226// CHECK-ERROR-NEXT: error: expected readable system register
227// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF014_EL2
228// CHECK-ERROR-NEXT:         ^
229// CHECK-ERROR-NEXT: error: expected readable system register
230// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF015_EL2
231// CHECK-ERROR-NEXT:         ^
232// CHECK-ERROR-NEXT: error: expected writable system register or pstate
233// CHECK-ERROR-NEXT: msr AMEVCNTVOFF10_EL2, x0
234// CHECK-ERROR-NEXT:     ^
235// CHECK-ERROR-NEXT: error: expected writable system register or pstate
236// CHECK-ERROR-NEXT: msr AMEVCNTVOFF11_EL2, x0
237// CHECK-ERROR-NEXT:     ^
238// CHECK-ERROR-NEXT: error: expected writable system register or pstate
239// CHECK-ERROR-NEXT: msr AMEVCNTVOFF12_EL2, x0
240// CHECK-ERROR-NEXT:     ^
241// CHECK-ERROR-NEXT: error: expected writable system register or pstate
242// CHECK-ERROR-NEXT: msr AMEVCNTVOFF13_EL2, x0
243// CHECK-ERROR-NEXT:     ^
244// CHECK-ERROR-NEXT: error: expected writable system register or pstate
245// CHECK-ERROR-NEXT: msr AMEVCNTVOFF14_EL2, x0
246// CHECK-ERROR-NEXT:     ^
247// CHECK-ERROR-NEXT: error: expected writable system register or pstate
248// CHECK-ERROR-NEXT: msr AMEVCNTVOFF15_EL2, x0
249// CHECK-ERROR-NEXT:     ^
250// CHECK-ERROR-NEXT: error: expected writable system register or pstate
251// CHECK-ERROR-NEXT: msr AMEVCNTVOFF16_EL2, x0
252// CHECK-ERROR-NEXT:     ^
253// CHECK-ERROR-NEXT: error: expected writable system register or pstate
254// CHECK-ERROR-NEXT: msr AMEVCNTVOFF17_EL2, x0
255// CHECK-ERROR-NEXT:     ^
256// CHECK-ERROR-NEXT: error: expected writable system register or pstate
257// CHECK-ERROR-NEXT: msr AMEVCNTVOFF18_EL2, x0
258// CHECK-ERROR-NEXT:     ^
259// CHECK-ERROR-NEXT: error: expected writable system register or pstate
260// CHECK-ERROR-NEXT: msr AMEVCNTVOFF19_EL2, x0
261// CHECK-ERROR-NEXT:     ^
262// CHECK-ERROR-NEXT: error: expected writable system register or pstate
263// CHECK-ERROR-NEXT: msr AMEVCNTVOFF110_EL2, x0
264// CHECK-ERROR-NEXT:     ^
265// CHECK-ERROR-NEXT: error: expected writable system register or pstate
266// CHECK-ERROR-NEXT: msr AMEVCNTVOFF111_EL2, x0
267// CHECK-ERROR-NEXT:     ^
268// CHECK-ERROR-NEXT: error: expected writable system register or pstate
269// CHECK-ERROR-NEXT: msr AMEVCNTVOFF112_EL2, x0
270// CHECK-ERROR-NEXT:     ^
271// CHECK-ERROR-NEXT: error: expected writable system register or pstate
272// CHECK-ERROR-NEXT: msr AMEVCNTVOFF113_EL2, x0
273// CHECK-ERROR-NEXT:     ^
274// CHECK-ERROR-NEXT: error: expected writable system register or pstate
275// CHECK-ERROR-NEXT: msr AMEVCNTVOFF114_EL2, x0
276// CHECK-ERROR-NEXT:     ^
277// CHECK-ERROR-NEXT: error: expected writable system register or pstate
278// CHECK-ERROR-NEXT: msr AMEVCNTVOFF115_EL2, x0
279// CHECK-ERROR-NEXT:     ^
280// CHECK-ERROR-NEXT: error: expected readable system register
281// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF10_EL2
282// CHECK-ERROR-NEXT:         ^
283// CHECK-ERROR-NEXT: error: expected readable system register
284// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF11_EL2
285// CHECK-ERROR-NEXT:         ^
286// CHECK-ERROR-NEXT: error: expected readable system register
287// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF12_EL2
288// CHECK-ERROR-NEXT:         ^
289// CHECK-ERROR-NEXT: error: expected readable system register
290// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF13_EL2
291// CHECK-ERROR-NEXT:         ^
292// CHECK-ERROR-NEXT: error: expected readable system register
293// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF14_EL2
294// CHECK-ERROR-NEXT:         ^
295// CHECK-ERROR-NEXT: error: expected readable system register
296// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF15_EL2
297// CHECK-ERROR-NEXT:         ^
298// CHECK-ERROR-NEXT: error: expected readable system register
299// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF16_EL2
300// CHECK-ERROR-NEXT:         ^
301// CHECK-ERROR-NEXT: error: expected readable system register
302// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF17_EL2
303// CHECK-ERROR-NEXT:         ^
304// CHECK-ERROR-NEXT: error: expected readable system register
305// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF18_EL2
306// CHECK-ERROR-NEXT:         ^
307// CHECK-ERROR-NEXT: error: expected readable system register
308// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF19_EL2
309// CHECK-ERROR-NEXT:         ^
310// CHECK-ERROR-NEXT: error: expected readable system register
311// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF110_EL2
312// CHECK-ERROR-NEXT:         ^
313// CHECK-ERROR-NEXT: error: expected readable system register
314// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF111_EL2
315// CHECK-ERROR-NEXT:         ^
316// CHECK-ERROR-NEXT: error: expected readable system register
317// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF112_EL2
318// CHECK-ERROR-NEXT:         ^
319// CHECK-ERROR-NEXT: error: expected readable system register
320// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF113_EL2
321// CHECK-ERROR-NEXT:         ^
322// CHECK-ERROR-NEXT: error: expected readable system register
323// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF114_EL2
324// CHECK-ERROR-NEXT:         ^
325// CHECK-ERROR-NEXT: error: expected readable system register
326// CHECK-ERROR-NEXT: mrs x0, AMEVCNTVOFF115_EL2
327// CHECK-ERROR-NEXT:         ^
328