[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / AArch64 / armv9.6a-lsui.s
blobb48db1f9b5570cc65eb0f34e11abaf44cc7b1f0e
1 // RUN: llvm-mc -triple aarch64 -mattr=+lsui -show-encoding %s | FileCheck %s
2 // RUN: not llvm-mc -triple aarch64 -show-encoding %s 2>&1 | FileCheck %s --check-prefix=ERROR
4 _func:
5 // CHECK: _func:
6 //------------------------------------------------------------------------------
7 // Unprivileged load/store operations
8 //------------------------------------------------------------------------------
9 ldtxr x9, [sp]
10 // CHECK: ldtxr x9, [sp] // encoding: [0xe9,0x7f,0x5f,0xc9]
11 // ERROR: error: instruction requires: lsui
12 ldtxr x9, [sp, #0]
13 // CHECK: ldtxr x9, [sp] // encoding: [0xe9,0x7f,0x5f,0xc9]
14 // ERROR: error: instruction requires: lsui
15 ldtxr x10, [x11]
16 // CHECK: ldtxr x10, [x11] // encoding: [0x6a,0x7d,0x5f,0xc9]
17 // ERROR: error: instruction requires: lsui
18 ldtxr x10, [x11, #0]
19 // CHECK: ldtxr x10, [x11] // encoding: [0x6a,0x7d,0x5f,0xc9]
20 // ERROR: error: instruction requires: lsui
22 ldatxr x9, [sp]
23 // CHECK: ldatxr x9, [sp] // encoding: [0xe9,0xff,0x5f,0xc9]
24 // ERROR: error: instruction requires: lsui
25 ldatxr x10, [x11]
26 // CHECK: ldatxr x10, [x11] // encoding: [0x6a,0xfd,0x5f,0xc9]
27 // ERROR: error: instruction requires: lsui
29 sttxr wzr, w4, [sp]
30 // CHECK: sttxr wzr, w4, [sp] // encoding: [0xe4,0x7f,0x1f,0x89]
31 // ERROR: error: instruction requires: lsui
32 sttxr wzr, w4, [sp, #0]
33 // CHECK: sttxr wzr, w4, [sp] // encoding: [0xe4,0x7f,0x1f,0x89]
34 // ERROR: error: instruction requires: lsui
35 sttxr w5, x6, [x7]
36 // CHECK: sttxr w5, x6, [x7] // encoding: [0xe6,0x7c,0x05,0xc9]
37 // ERROR: error: instruction requires: lsui
38 sttxr w5, x6, [x7, #0]
39 // CHECK: sttxr w5, x6, [x7] // encoding: [0xe6,0x7c,0x05,0xc9]
40 // ERROR: error: instruction requires: lsui
42 stltxr w2, w4, [sp]
43 // CHECK: stltxr w2, w4, [sp] // encoding: [0xe4,0xff,0x02,0x89]
44 // ERROR: error: instruction requires: lsui
45 stltxr w5, x6, [x7]
46 // CHECK: stltxr w5, x6, [x7] // encoding: [0xe6,0xfc,0x05,0xc9]
47 // ERROR: error: instruction requires: lsui
49 //------------------------------------------------------------------------------
50 // Unprivileged load/store register pair (offset)
51 //------------------------------------------------------------------------------
53 ldtp x21, x29, [x2, #504]
54 // CHECK: ldtp x21, x29, [x2, #504] // encoding: [0x55,0xf4,0x5f,0xe9]
55 // ERROR: instruction requires: lsui
56 ldtp x22, x23, [x3, #-512]
57 // CHECK: ldtp x22, x23, [x3, #-512] // encoding: [0x76,0x5c,0x60,0xe9]
58 // ERROR: instruction requires: lsui
59 ldtp x24, x25, [x4, #8]
60 // CHECK: ldtp x24, x25, [x4, #8] // encoding: [0x98,0xe4,0x40,0xe9]
61 // ERROR: instruction requires: lsui
63 sttp x3, x5, [sp], #16
64 // CHECK: sttp x3, x5, [sp], #16 // encoding: [0xe3,0x17,0x81,0xe8]
65 // ERROR: instruction requires: lsui
66 sttp x3, x5, [sp, #8]!
67 // CHECK: sttp x3, x5, [sp, #8]! // encoding: [0xe3,0x97,0x80,0xe9]
68 // ERROR: instruction requires: lsui
70 sttp q3, q5, [sp]
71 // CHECK: sttp q3, q5, [sp] // encoding: [0xe3,0x17,0x00,0xed]
72 // ERROR: instruction requires: lsui
73 sttp q17, q19, [sp, #1008]
74 // CHECK: sttp q17, q19, [sp, #1008] // encoding: [0xf1,0xcf,0x1f,0xed]
75 // ERROR: instruction requires: lsui
77 //------------------------------------------------------------------------------
78 // Load/store register pair (post-indexed)
79 //------------------------------------------------------------------------------
81 ldtp x21, x29, [x2], #504
82 // CHECK: ldtp x21, x29, [x2], #504 // encoding: [0x55,0xf4,0xdf,0xe8]
83 // ERROR: instruction requires: lsui
84 ldtp x22, x23, [x3], #-512
85 // CHECK: ldtp x22, x23, [x3], #-512 // encoding: [0x76,0x5c,0xe0,0xe8]
86 // ERROR: instruction requires: lsui
87 ldtp x24, x25, [x4], #8
88 // CHECK: ldtp x24, x25, [x4], #8 // encoding: [0x98,0xe4,0xc0,0xe8]
89 // ERROR: instruction requires: lsui
91 sttp q3, q5, [sp], #0
92 // CHECK: sttp q3, q5, [sp], #0 // encoding: [0xe3,0x17,0x80,0xec]
93 // ERROR: instruction requires: lsui
94 sttp q17, q19, [sp], #1008
95 // CHECK: sttp q17, q19, [sp], #1008 // encoding: [0xf1,0xcf,0x9f,0xec]
96 // ERROR: instruction requires: lsui
97 ldtp q23, q29, [x1], #-1024
98 // CHECK: ldtp q23, q29, [x1], #-1024 // encoding: [0x37,0x74,0xe0,0xec]
99 // ERROR: instruction requires: lsui
101 //------------------------------------------------------------------------------
102 // Load/store register pair (pre-indexed)
103 //------------------------------------------------------------------------------
104 ldtp x21, x29, [x2, #504]!
105 // CHECK: ldtp x21, x29, [x2, #504]! // encoding: [0x55,0xf4,0xdf,0xe9]
106 // ERROR: instruction requires: lsui
107 ldtp x22, x23, [x3, #-512]!
108 // CHECK: ldtp x22, x23, [x3, #-512]! // encoding: [0x76,0x5c,0xe0,0xe9]
109 // ERROR: instruction requires: lsui
110 ldtp x24, x25, [x4, #8]!
111 // CHECK: ldtp x24, x25, [x4, #8]! // encoding: [0x98,0xe4,0xc0,0xe9]
112 // ERROR: instruction requires: lsui
114 sttp q3, q5, [sp, #0]!
115 // CHECK: sttp q3, q5, [sp, #0]! // encoding: [0xe3,0x17,0x80,0xed]
116 // ERROR: instruction requires: lsui
117 sttp q17, q19, [sp, #1008]!
118 // CHECK: sttp q17, q19, [sp, #1008]! // encoding: [0xf1,0xcf,0x9f,0xed]
119 // ERROR: instruction requires: lsui
120 ldtp q23, q29, [x1, #-1024]!
121 // CHECK: ldtp q23, q29, [x1, #-1024]! // encoding: [0x37,0x74,0xe0,0xed]
122 // ERROR: instruction requires: lsui
124 //------------------------------------------------------------------------------
125 // CAS(P)T instructions
126 //------------------------------------------------------------------------------
127 //64 bits
128 cast x0, x1, [x2]
129 // CHECK: cast x0, x1, [x2] // encoding: [0x41,0x7c,0x80,0xc9]
130 // ERROR: instruction requires: lsui
131 cast x0, x1, [sp, #0]
132 // CHECK: cast x0, x1, [sp] // encoding: [0xe1,0x7f,0x80,0xc9]
133 // ERROR: instruction requires: lsui
134 casat x0, x1, [x2]
135 // CHECK: casat x0, x1, [x2] // encoding: [0x41,0x7c,0xc0,0xc9]
136 // ERROR: instruction requires: lsui
137 casat x0, x1, [sp, #0]
138 // CHECK: casat x0, x1, [sp] // encoding: [0xe1,0x7f,0xc0,0xc9]
139 // ERROR: instruction requires: lsui
140 casalt x0, x1, [x2]
141 // CHECK: casalt x0, x1, [x2] // encoding: [0x41,0xfc,0xc0,0xc9]
142 // ERROR: instruction requires: lsui
143 casalt x0, x1, [sp, #0]
144 // CHECK: casalt x0, x1, [sp] // encoding: [0xe1,0xff,0xc0,0xc9]
145 // ERROR: instruction requires: lsui
146 caslt x0, x1, [x2]
147 // CHECK: caslt x0, x1, [x2] // encoding: [0x41,0xfc,0x80,0xc9]
148 // ERROR: instruction requires: lsui
149 caslt x0, x1, [sp, #0]
150 // CHECK: caslt x0, x1, [sp] // encoding: [0xe1,0xff,0x80,0xc9]
151 // ERROR: instruction requires: lsui
153 //CASP instruction
154 caspt x0, x1, x2, x3, [x4]
155 // CHECK: caspt x0, x1, x2, x3, [x4] // encoding: [0x82,0x7c,0x80,0x49]
156 // ERROR: instruction requires: lsui
157 caspt x0, x1, x2, x3, [sp, #0]
158 // CHECK: caspt x0, x1, x2, x3, [sp] // encoding: [0xe2,0x7f,0x80,0x49]
159 // ERROR: instruction requires: lsui
160 caspat x0, x1, x2, x3, [x4]
161 // CHECK: caspat x0, x1, x2, x3, [x4] // encoding: [0x82,0x7c,0xc0,0x49]
162 // ERROR: instruction requires: lsui
163 caspat x0, x1, x2, x3, [sp, #0]
164 // CHECK: caspat x0, x1, x2, x3, [sp] // encoding: [0xe2,0x7f,0xc0,0x49]
165 // ERROR: instruction requires: lsui
166 casplt x0, x1, x2, x3, [x4]
167 // CHECK: casplt x0, x1, x2, x3, [x4] // encoding: [0x82,0xfc,0x80,0x49]
168 // ERROR: instruction requires: lsui
169 casplt x0, x1, x2, x3, [sp, #0]
170 // CHECK: casplt x0, x1, x2, x3, [sp] // encoding: [0xe2,0xff,0x80,0x49]
171 // ERROR: instruction requires: lsui
172 caspalt x0, x1, x2, x3, [x4]
173 // CHECK: caspalt x0, x1, x2, x3, [x4] // encoding: [0x82,0xfc,0xc0,0x49]
174 // ERROR: instruction requires: lsui
175 caspalt x0, x1, x2, x3, [sp, #0]
176 // CHECK: caspalt x0, x1, x2, x3, [sp] // encoding: [0xe2,0xff,0xc0,0x49]
177 // ERROR: instruction requires: lsui
179 //------------------------------------------------------------------------------
180 // SWP(A|L)T instructions
181 //------------------------------------------------------------------------------
182 swpt w7, wzr, [x5]
183 // CHECK: swpt w7, wzr, [x5] // encoding: [0xbf,0x84,0x27,0x19]
184 // ERROR: instruction requires: lsui
185 swpt x9, xzr, [sp]
186 // CHECK: swpt x9, xzr, [sp] // encoding: [0xff,0x87,0x29,0x59]
187 // ERROR: instruction requires: lsui
189 swpta w7, wzr, [x5]
190 // CHECK: swpta w7, wzr, [x5] // encoding: [0xbf,0x84,0xa7,0x19]
191 // ERROR: instruction requires: lsui
192 swpta x9, xzr, [sp]
193 // CHECK: swpta x9, xzr, [sp] // encoding: [0xff,0x87,0xa9,0x59]
194 // ERROR: instruction requires: lsui
196 swptl w7, wzr, [x5]
197 // CHECK: swptl w7, wzr, [x5] // encoding: [0xbf,0x84,0x67,0x19]
198 // ERROR: instruction requires: lsui
199 swptl x9, xzr, [sp]
200 // CHECK: swptl x9, xzr, [sp] // encoding: [0xff,0x87,0x69,0x59]
201 // ERROR: instruction requires: lsui
203 swptal w7, wzr, [x5]
204 // CHECK: swptal w7, wzr, [x5] // encoding: [0xbf,0x84,0xe7,0x19]
205 // ERROR: instruction requires: lsui
206 swptal x9, xzr, [sp]
207 // CHECK: swptal x9, xzr, [sp] // encoding: [0xff,0x87,0xe9,0x59]
208 // ERROR: instruction requires: lsui
210 //------------------------------------------------------------------------------
211 // LD{ADD|CLR|SET)(A|L|AL)T instructions
212 //------------------------------------------------------------------------------
214 ldtadd w7, wzr, [x5]
215 // CHECK: ldtadd w7, wzr, [x5] // encoding: [0xbf,0x04,0x27,0x19]
216 // ERROR: instruction requires: lsui
217 ldtadd x9, xzr, [sp]
218 // CHECK: ldtadd x9, xzr, [sp] // encoding: [0xff,0x07,0x29,0x59]
219 // ERROR: instruction requires: lsui
221 ldtadda w7, wzr, [x5]
222 // CHECK: ldtadda w7, wzr, [x5] // encoding: [0xbf,0x04,0xa7,0x19]
223 // ERROR: instruction requires: lsui
224 ldtadda x9, xzr, [sp]
225 // CHECK: ldtadda x9, xzr, [sp] // encoding: [0xff,0x07,0xa9,0x59]
226 // ERROR: instruction requires: lsui
228 ldtaddl w7, wzr, [x5]
229 // CHECK: ldtaddl w7, wzr, [x5] // encoding: [0xbf,0x04,0x67,0x19]
230 // ERROR: instruction requires: lsui
231 ldtaddl x9, xzr, [sp]
232 // CHECK: ldtaddl x9, xzr, [sp] // encoding: [0xff,0x07,0x69,0x59]
233 // ERROR: instruction requires: lsui
235 ldtaddal w7, wzr, [x5]
236 // CHECK: ldtaddal w7, wzr, [x5] // encoding: [0xbf,0x04,0xe7,0x19]
237 // ERROR: instruction requires: lsui
238 ldtaddal x9, xzr, [sp]
239 // CHECK: ldtaddal x9, xzr, [sp] // encoding: [0xff,0x07,0xe9,0x59]
240 // ERROR: instruction requires: lsui
242 ldtclr w7, wzr, [x5]
243 // CHECK: ldtclr w7, wzr, [x5] // encoding: [0xbf,0x14,0x27,0x19]
244 // ERROR: instruction requires: lsui
245 ldtclr x9, xzr, [sp]
246 // CHECK: ldtclr x9, xzr, [sp] // encoding: [0xff,0x17,0x29,0x59]
247 // ERROR: instruction requires: lsui
249 ldtclrl w7, wzr, [x5]
250 // CHECK: ldtclrl w7, wzr, [x5] // encoding: [0xbf,0x14,0x67,0x19]
251 // ERROR: instruction requires: lsui
252 ldtclrl x9, xzr, [sp]
253 // CHECK: ldtclrl x9, xzr, [sp] // encoding: [0xff,0x17,0x69,0x59]
254 // ERROR: instruction requires: lsui
256 ldtclra w7, wzr, [x5]
257 // CHECK: ldtclra w7, wzr, [x5] // encoding: [0xbf,0x14,0xa7,0x19]
258 // ERROR: instruction requires: lsui
259 ldtclra x9, xzr, [sp]
260 // CHECK: ldtclra x9, xzr, [sp] // encoding: [0xff,0x17,0xa9,0x59]
261 // ERROR: instruction requires: lsui
263 ldtclral w7, wzr, [x5]
264 // CHECK: ldtclral w7, wzr, [x5] // encoding: [0xbf,0x14,0xe7,0x19]
265 // ERROR: instruction requires: lsui
266 ldtclral x9, xzr, [sp]
267 // CHECK: ldtclral x9, xzr, [sp] // encoding: [0xff,0x17,0xe9,0x59]
268 // ERROR: instruction requires: lsui
270 ldtset w7, wzr, [x5]
271 // CHECK: ldtset w7, wzr, [x5] // encoding: [0xbf,0x34,0x27,0x19]
272 // ERROR: instruction requires: lsui
273 ldtset x9, xzr, [sp]
274 // CHECK: ldtset x9, xzr, [sp] // encoding: [0xff,0x37,0x29,0x59]
275 // ERROR: instruction requires: lsui
277 ldtsetl w7, wzr, [x5]
278 // CHECK: ldtsetl w7, wzr, [x5] // encoding: [0xbf,0x34,0x67,0x19]
279 // ERROR: instruction requires: lsui
280 ldtsetl x9, xzr, [sp]
281 // CHECK: ldtsetl x9, xzr, [sp] // encoding: [0xff,0x37,0x69,0x59]
282 // ERROR: instruction requires: lsui
284 ldtseta w7, wzr, [x5]
285 // CHECK: ldtseta w7, wzr, [x5] // encoding: [0xbf,0x34,0xa7,0x19]
286 // ERROR: instruction requires: lsui
287 ldtseta x9, xzr, [sp]
288 // CHECK: ldtseta x9, xzr, [sp] // encoding: [0xff,0x37,0xa9,0x59]
289 // ERROR: instruction requires: lsui
291 ldtsetal w7, wzr, [x5]
292 // CHECK: ldtsetal w7, wzr, [x5] // encoding: [0xbf,0x34,0xe7,0x19]
293 // ERROR: instruction requires: lsui
294 ldtsetal x9, xzr, [sp]
295 // CHECK: ldtsetal x9, xzr, [sp] // encoding: [0xff,0x37,0xe9,0x59]
296 // ERROR: instruction requires: lsui
298 //------------------------------------------------------------------------------
299 // ST{ADD|CLR|SET)(A|L|AL)T instructions
300 //------------------------------------------------------------------------------
302 sttadd w0, [x2]
303 // CHECK: ldtadd w0, wzr, [x2] // encoding: [0x5f,0x04,0x20,0x19]
304 // ERROR: instruction requires: lsui
305 sttadd w2, [sp]
306 // CHECK: ldtadd w2, wzr, [sp] // encoding: [0xff,0x07,0x22,0x19]
307 // ERROR: instruction requires: lsui
308 sttadd x0, [x2]
309 // CHECK: ldtadd x0, xzr, [x2] // encoding: [0x5f,0x04,0x20,0x59]
310 // ERROR: instruction requires: lsui
311 sttadd x2, [sp]
312 // CHECK: ldtadd x2, xzr, [sp] // encoding: [0xff,0x07,0x22,0x59]
313 // ERROR: instruction requires: lsui
315 sttaddl w0, [x2]
316 // CHECK: ldtadd w0, wzr, [x2] // encoding: [0x5f,0x04,0x20,0x19]
317 // ERROR: instruction requires: lsui
318 sttaddl w2, [sp]
319 // CHECK: ldtadd w2, wzr, [sp] // encoding: [0xff,0x07,0x22,0x19]
320 // ERROR: instruction requires: lsui
321 sttaddl x0, [x2]
322 // CHECK: ldtadd x0, xzr, [x2] // encoding: [0x5f,0x04,0x20,0x59]
323 // ERROR: instruction requires: lsui
324 sttaddl x2, [sp]
325 // CHECK: ldtadd x2, xzr, [sp] // encoding: [0xff,0x07,0x22,0x59]
326 // ERROR: instruction requires: lsui
328 sttadda w0, [x2]
329 // CHECK: ldtadd w0, wzr, [x2] // encoding: [0x5f,0x04,0x20,0x19]
330 // ERROR: instruction requires: lsui
331 sttadda w2, [sp]
332 // CHECK: ldtadd w2, wzr, [sp] // encoding: [0xff,0x07,0x22,0x19]
333 // ERROR: instruction requires: lsui
334 sttadda x0, [x2]
335 // CHECK: ldtadd x0, xzr, [x2] // encoding: [0x5f,0x04,0x20,0x59]
336 // ERROR: instruction requires: lsui
337 sttadda x2, [sp]
338 // CHECK: ldtadd x2, xzr, [sp] // encoding: [0xff,0x07,0x22,0x59]
339 // ERROR: instruction requires: lsui
341 sttaddal w0, [x2]
342 // CHECK: ldtadd w0, wzr, [x2] // encoding: [0x5f,0x04,0x20,0x19]
343 // ERROR: instruction requires: lsui
344 sttaddal w2, [sp]
345 // CHECK: ldtadd w2, wzr, [sp] // encoding: [0xff,0x07,0x22,0x19]
346 // ERROR: instruction requires: lsui
347 sttaddal x0, [x2]
348 // CHECK: ldtadd x0, xzr, [x2] // encoding: [0x5f,0x04,0x20,0x59]
349 // ERROR: instruction requires: lsui
350 sttaddal x2, [sp]
351 // CHECK: ldtadd x2, xzr, [sp] // encoding: [0xff,0x07,0x22,0x59]
352 // ERROR: instruction requires: lsui
354 sttclr w0, [x2]
355 // CHECK: ldtclr w0, wzr, [x2] // encoding: [0x5f,0x14,0x20,0x19]
356 // ERROR: instruction requires: lsui
357 sttclr w2, [sp]
358 // CHECK: ldtclr w2, wzr, [sp] // encoding: [0xff,0x17,0x22,0x19]
359 // ERROR: instruction requires: lsui
360 sttclr x0, [x2]
361 // CHECK: ldtclr x0, xzr, [x2] // encoding: [0x5f,0x14,0x20,0x59]
362 // ERROR: instruction requires: lsui
363 sttclr x2, [sp]
364 // CHECK: ldtclr x2, xzr, [sp] // encoding: [0xff,0x17,0x22,0x59]
365 // ERROR: instruction requires: lsui
367 sttclra w0, [x2]
368 // CHECK: ldtclr w0, wzr, [x2] // encoding: [0x5f,0x14,0x20,0x19]
369 // ERROR: instruction requires: lsui
370 sttclra w2, [sp]
371 // CHECK: ldtclr w2, wzr, [sp] // encoding: [0xff,0x17,0x22,0x19]
372 // ERROR: instruction requires: lsui
373 sttclra x0, [x2]
374 // CHECK: ldtclr x0, xzr, [x2] // encoding: [0x5f,0x14,0x20,0x59]
375 // ERROR: instruction requires: lsui
376 sttclra x2, [sp]
377 // CHECK: ldtclr x2, xzr, [sp] // encoding: [0xff,0x17,0x22,0x59]
378 // ERROR: instruction requires: lsui
380 sttclrl w0, [x2]
381 // CHECK: ldtclr w0, wzr, [x2] // encoding: [0x5f,0x14,0x20,0x19]
382 // ERROR: instruction requires: lsui
383 sttclrl w2, [sp]
384 // CHECK: ldtclr w2, wzr, [sp] // encoding: [0xff,0x17,0x22,0x19]
385 // ERROR: instruction requires: lsui
386 sttclrl x0, [x2]
387 // CHECK: ldtclr x0, xzr, [x2] // encoding: [0x5f,0x14,0x20,0x59]
388 // ERROR: instruction requires: lsui
389 sttclrl x2, [sp]
390 // CHECK: ldtclr x2, xzr, [sp] // encoding: [0xff,0x17,0x22,0x59]
391 // ERROR: instruction requires: lsui
393 sttclral w0, [x2]
394 // CHECK: ldtclr w0, wzr, [x2] // encoding: [0x5f,0x14,0x20,0x19]
395 // ERROR: instruction requires: lsui
396 sttclral x2, [sp]
397 // CHECK: ldtclr x2, xzr, [sp] // encoding: [0xff,0x17,0x22,0x59]
398 // ERROR: instruction requires: lsui
399 sttclral x0, [x2]
400 // CHECK: ldtclr x0, xzr, [x2] // encoding: [0x5f,0x14,0x20,0x59]
401 // ERROR: instruction requires: lsui
402 sttclral x2, [sp]
403 // CHECK: ldtclr x2, xzr, [sp] // encoding: [0xff,0x17,0x22,0x59]
404 // ERROR: instruction requires: lsui
406 sttset w0, [x2]
407 // CHECK: ldtset w0, wzr, [x2] // encoding: [0x5f,0x34,0x20,0x19]
408 // ERROR: instruction requires: lsui
409 sttset w2, [sp]
410 // CHECK: ldtset w2, wzr, [sp] // encoding: [0xff,0x37,0x22,0x19]
411 // ERROR: instruction requires: lsui
412 sttset x0, [x2]
413 // CHECK: ldtset x0, xzr, [x2] // encoding: [0x5f,0x34,0x20,0x59]
414 // ERROR: instruction requires: lsui
415 sttset x2, [sp]
416 // CHECK: ldtset x2, xzr, [sp] // encoding: [0xff,0x37,0x22,0x59]
417 // ERROR: instruction requires: lsui
419 sttseta w0, [x2]
420 // CHECK: ldtset w0, wzr, [x2] // encoding: [0x5f,0x34,0x20,0x19]
421 // ERROR: instruction requires: lsui
422 sttseta w2, [sp]
423 // CHECK: ldtset w2, wzr, [sp] // encoding: [0xff,0x37,0x22,0x19]
424 // ERROR: instruction requires: lsui
425 sttseta x0, [x2]
426 // CHECK: ldtset x0, xzr, [x2] // encoding: [0x5f,0x34,0x20,0x59]
427 // ERROR: instruction requires: lsui
428 sttseta x2, [sp]
429 // CHECK: ldtset x2, xzr, [sp] // encoding: [0xff,0x37,0x22,0x59]
430 // ERROR: instruction requires: lsui
432 sttsetl w0, [x2]
433 // CHECK: ldtset w0, wzr, [x2] // encoding: [0x5f,0x34,0x20,0x19]
434 // ERROR: instruction requires: lsui
435 sttsetl w2, [sp]
436 // CHECK: ldtset w2, wzr, [sp] // encoding: [0xff,0x37,0x22,0x19]
437 // ERROR: instruction requires: lsui
438 sttsetl x0, [x2]
439 // CHECK: ldtset x0, xzr, [x2] // encoding: [0x5f,0x34,0x20,0x59]
440 // ERROR: instruction requires: lsui
441 sttsetl x2, [sp]
442 // CHECK: ldtset x2, xzr, [sp] // encoding: [0xff,0x37,0x22,0x59]
443 // ERROR: instruction requires: lsui
445 sttsetal w0, [x2]
446 // CHECK: ldtset w0, wzr, [x2] // encoding: [0x5f,0x34,0x20,0x19]
447 // ERROR: instruction requires: lsui
448 sttsetal x2, [sp]
449 // CHECK: ldtset x2, xzr, [sp] // encoding: [0xff,0x37,0x22,0x59]
450 // ERROR: instruction requires: lsui
451 sttsetal x0, [x2]
452 // CHECK: ldtset x0, xzr, [x2] // encoding: [0x5f,0x34,0x20,0x59]
453 // ERROR: instruction requires: lsui
454 sttsetal x2, [sp]
455 // CHECK: ldtset x2, xzr, [sp] // encoding: [0xff,0x37,0x22,0x59]
456 // ERROR: instruction requires: lsui
458 //------------------------------------------------------------------------------
459 // Load/store non-temporal register pair (offset)
460 //------------------------------------------------------------------------------
461 ldtnp x21, x29, [x2, #504]
462 // CHECK: ldtnp x21, x29, [x2, #504] // encoding: [0x55,0xf4,0x5f,0xe8]
463 // ERROR: instruction requires: lsui
464 ldtnp x22, x23, [x3, #-512]
465 // CHECK: ldtnp x22, x23, [x3, #-512] // encoding: [0x76,0x5c,0x60,0xe8]
466 // ERROR: instruction requires: lsui
467 ldtnp x24, x25, [x4, #8]
468 // CHECK: ldtnp x24, x25, [x4, #8] // encoding: [0x98,0xe4,0x40,0xe8]
469 // ERROR: instruction requires: lsui
470 ldtnp q23, q29, [x1, #-1024]
471 // CHECK: ldtnp q23, q29, [x1, #-1024] // encoding: [0x37,0x74,0x60,0xec]
472 // ERROR: instruction requires: lsui
474 sttnp x3, x5, [sp]
475 // CHECK: sttnp x3, x5, [sp] // encoding: [0xe3,0x17,0x00,0xe8]
476 // ERROR: instruction requires: lsui
477 sttnp x17, x19, [sp, #64]
478 // CHECK: sttnp x17, x19, [sp, #64] // encoding: [0xf1,0x4f,0x04,0xe8]
479 // ERROR: instruction requires: lsui
480 sttnp q3, q5, [sp]
481 // CHECK: sttnp q3, q5, [sp] // encoding: [0xe3,0x17,0x00,0xec]
482 // ERROR: instruction requires: lsui
483 sttnp q17, q19, [sp, #1008]
484 // CHECK: sttnp q17, q19, [sp, #1008] // encoding: [0xf1,0xcf,0x1f,0xec]
485 // ERROR: instruction requires: lsui