1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mc -triple aarch64 -mattr=+lsui -disassemble %s | FileCheck %s
91 #LDT{SET|ADD|CLR}{A|L} and STT{ADD|SET|CLR}{L}
100 [0xff,0x07,0x69,0x59]
102 [0xbf,0x04,0xe7,0x19]
103 [0xff,0x07,0xe9,0x59]
105 [0xbf,0x14,0x27,0x19]
106 [0xff,0x17,0x29,0x59]
108 [0xbf,0x14,0x67,0x19]
109 [0xff,0x17,0x69,0x59]
111 [0xbf,0x14,0xa7,0x19]
112 [0xff,0x17,0xa9,0x59]
114 [0xbf,0x14,0xe7,0x19]
115 [0xff,0x17,0xe9,0x59]
117 [0xbf,0x34,0x27,0x19]
118 [0xff,0x37,0x29,0x59]
120 [0xbf,0x34,0x67,0x19]
121 [0xff,0x37,0x69,0x59]
123 [0xbf,0x34,0xa7,0x19]
124 [0xff,0x37,0xa9,0x59]
126 [0xbf,0x34,0xe7,0x19]
127 [0xff,0x37,0xe9,0x59]
129 [0x5f,0x04,0x20,0x19]
130 [0xff,0x07,0x22,0x19]
131 [0x5f,0x04,0x20,0x59]
132 [0xff,0x07,0x22,0x59]
134 [0x5f,0x04,0x20,0x19]
135 [0xff,0x07,0x22,0x19]
136 [0x5f,0x04,0x20,0x59]
137 [0xff,0x07,0x22,0x59]
139 [0x5f,0x04,0x20,0x19]
140 [0xff,0x07,0x22,0x19]
141 [0x5f,0x04,0x20,0x59]
142 [0xff,0x07,0x22,0x59]
144 [0x5f,0x04,0x20,0x19]
145 [0xff,0x07,0x22,0x19]
146 [0x5f,0x04,0x20,0x59]
147 [0xff,0x07,0x22,0x59]
149 [0x5f,0x14,0x20,0x19]
150 [0xff,0x17,0x22,0x19]
151 [0x5f,0x14,0x20,0x59]
152 [0xff,0x17,0x22,0x59]
154 [0x5f,0x14,0x20,0x19]
155 [0xff,0x17,0x22,0x19]
156 [0x5f,0x14,0x20,0x59]
157 [0xff,0x17,0x22,0x59]
159 [0x5f,0x14,0x20,0x19]
160 [0xff,0x17,0x22,0x19]
161 [0x5f,0x14,0x20,0x59]
162 [0xff,0x17,0x22,0x59]
164 [0x5f,0x14,0x20,0x19]
165 [0xff,0x17,0x22,0x59]
166 [0x5f,0x14,0x20,0x59]
167 [0xff,0x17,0x22,0x59]
169 [0x5f,0x34,0x20,0x19]
170 [0xff,0x37,0x22,0x19]
171 [0x5f,0x34,0x20,0x59]
172 [0xff,0x37,0x22,0x59]
174 [0x5f,0x34,0x20,0x19]
175 [0xff,0x37,0x22,0x19]
176 [0x5f,0x34,0x20,0x59]
177 [0xff,0x37,0x22,0x59]
179 [0x5f,0x34,0x20,0x19]
180 [0xff,0x37,0x22,0x19]
181 [0x5f,0x34,0x20,0x59]
182 [0xff,0x37,0x22,0x59]
184 [0x5f,0x34,0x20,0x19]
185 [0xff,0x37,0x22,0x59]
186 [0x5f,0x34,0x20,0x59]
187 [0xff,0x37,0x22,0x59]
189 # CHECK: ldtxr x9, [sp]
190 # CHECK-NEXT: ldtxr x9, [sp]
191 # CHECK-NEXT: ldtxr x10, [x11]
192 # CHECK-NEXT: ldtxr x10, [x11]
193 # CHECK-NEXT: sttxr wzr, w4, [sp]
194 # CHECK-NEXT: sttxr wzr, w4, [sp]
195 # CHECK-NEXT: sttxr w5, x6, [x7]
196 # CHECK-NEXT: sttxr w5, x6, [x7]
197 # CHECK-NEXT: ldatxr x9, [sp]
198 # CHECK-NEXT: ldatxr x10, [x11]
199 # CHECK-NEXT: stltxr w2, w4, [sp]
200 # CHECK-NEXT: stltxr w5, x6, [x7]
201 # CHECK-NEXT: ldtp x21, x29, [x2, #504]
202 # CHECK-NEXT: ldtp x22, x23, [x3, #-512]
203 # CHECK-NEXT: ldtp x24, x25, [x4, #8]
204 # CHECK-NEXT: sttp x3, x5, [sp], #16
205 # CHECK-NEXT: sttp x3, x5, [sp, #8]!
206 # CHECK-NEXT: sttp q3, q5, [sp]
207 # CHECK-NEXT: sttp q17, q19, [sp, #1008]
208 # CHECK-NEXT: ldtp x21, x29, [x2], #504
209 # CHECK-NEXT: ldtp x22, x23, [x3], #-512
210 # CHECK-NEXT: ldtp x24, x25, [x4], #8
211 # CHECK-NEXT: sttp q3, q5, [sp], #0
212 # CHECK-NEXT: sttp q17, q19, [sp], #1008
213 # CHECK-NEXT: ldtp q23, q29, [x1], #-1024
214 # CHECK-NEXT: ldtp x21, x29, [x2, #504]!
215 # CHECK-NEXT: ldtp x22, x23, [x3, #-512]!
216 # CHECK-NEXT: ldtp x24, x25, [x4, #8]!
217 # CHECK-NEXT: sttp q3, q5, [sp, #0]!
218 # CHECK-NEXT: sttp q17, q19, [sp, #1008]!
219 # CHECK-NEXT: ldtp q23, q29, [x1, #-1024]!
220 # CHECK-NEXT: ldtnp x21, x29, [x2, #504]
221 # CHECK-NEXT: ldtnp x22, x23, [x3, #-512]
222 # CHECK-NEXT: ldtnp x24, x25, [x4, #8]
223 # CHECK-NEXT: ldtnp q23, q29, [x1, #-1024]
224 # CHECK-NEXT: sttnp x3, x5, [sp]
225 # CHECK-NEXT: sttnp x17, x19, [sp, #64]
226 # CHECK-NEXT: sttnp q3, q5, [sp]
227 # CHECK-NEXT: sttnp q17, q19, [sp, #1008]
228 # CHECK-NEXT: swpt w7, wzr, [x5]
229 # CHECK-NEXT: swpt x9, xzr, [sp]
230 # CHECK-NEXT: swpta w7, wzr, [x5]
231 # CHECK-NEXT: swpta x9, xzr, [sp]
232 # CHECK-NEXT: swptl w7, wzr, [x5]
233 # CHECK-NEXT: swptl x9, xzr, [sp]
234 # CHECK-NEXT: swptal w7, wzr, [x5]
235 # CHECK-NEXT: swptal x9, xzr, [sp]
236 # CHECK-NEXT: cast x0, x1, [x2]
237 # CHECK-NEXT: cast x0, x1, [sp]
238 # CHECK-NEXT: casat x0, x1, [x2]
239 # CHECK-NEXT: casat x0, x1, [sp]
240 # CHECK-NEXT: casalt x0, x1, [x2]
241 # CHECK-NEXT: casalt x0, x1, [sp]
242 # CHECK-NEXT: caslt x0, x1, [x2]
243 # CHECK-NEXT: caslt x0, x1, [sp]
244 # CHECK-NEXT: caspt x0, x1, x2, x3, [x4]
245 # CHECK-NEXT: caspt x0, x1, x2, x3, [sp]
246 # CHECK-NEXT: caspat x0, x1, x2, x3, [x4]
247 # CHECK-NEXT: caspat x0, x1, x2, x3, [sp]
248 # CHECK-NEXT: casplt x0, x1, x2, x3, [x4]
249 # CHECK-NEXT: casplt x0, x1, x2, x3, [sp]
250 # CHECK-NEXT: caspalt x0, x1, x2, x3, [x4]
251 # CHECK-NEXT: caspalt x0, x1, x2, x3, [sp]
252 # CHECK-NEXT: ldtadd w7, wzr, [x5]
253 # CHECK-NEXT: ldtadd x9, xzr, [sp]
254 # CHECK-NEXT: ldtadda w7, wzr, [x5]
255 # CHECK-NEXT: ldtadda x9, xzr, [sp]
256 # CHECK-NEXT: ldtaddl w7, wzr, [x5]
257 # CHECK-NEXT: ldtaddl x9, xzr, [sp]
258 # CHECK-NEXT: ldtaddal w7, wzr, [x5]
259 # CHECK-NEXT: ldtaddal x9, xzr, [sp]
260 # CHECK-NEXT: ldtclr w7, wzr, [x5]
261 # CHECK-NEXT: ldtclr x9, xzr, [sp]
262 # CHECK-NEXT: ldtclrl w7, wzr, [x5]
263 # CHECK-NEXT: ldtclrl x9, xzr, [sp]
264 # CHECK-NEXT: ldtclra w7, wzr, [x5]
265 # CHECK-NEXT: ldtclra x9, xzr, [sp]
266 # CHECK-NEXT: ldtclral w7, wzr, [x5]
267 # CHECK-NEXT: ldtclral x9, xzr, [sp]
268 # CHECK-NEXT: ldtset w7, wzr, [x5]
269 # CHECK-NEXT: ldtset x9, xzr, [sp]
270 # CHECK-NEXT: ldtsetl w7, wzr, [x5]
271 # CHECK-NEXT: ldtsetl x9, xzr, [sp]
272 # CHECK-NEXT: ldtseta w7, wzr, [x5]
273 # CHECK-NEXT: ldtseta x9, xzr, [sp]
274 # CHECK-NEXT: ldtsetal w7, wzr, [x5]
275 # CHECK-NEXT: ldtsetal x9, xzr, [sp]
276 # CHECK-NEXT: ldtadd w0, wzr, [x2]
277 # CHECK-NEXT: ldtadd w2, wzr, [sp]
278 # CHECK-NEXT: ldtadd x0, xzr, [x2]
279 # CHECK-NEXT: ldtadd x2, xzr, [sp]
280 # CHECK-NEXT: ldtadd w0, wzr, [x2]
281 # CHECK-NEXT: ldtadd w2, wzr, [sp]
282 # CHECK-NEXT: ldtadd x0, xzr, [x2]
283 # CHECK-NEXT: ldtadd x2, xzr, [sp]
284 # CHECK-NEXT: ldtadd w0, wzr, [x2]
285 # CHECK-NEXT: ldtadd w2, wzr, [sp]
286 # CHECK-NEXT: ldtadd x0, xzr, [x2]
287 # CHECK-NEXT: ldtadd x2, xzr, [sp]
288 # CHECK-NEXT: ldtadd w0, wzr, [x2]
289 # CHECK-NEXT: ldtadd w2, wzr, [sp]
290 # CHECK-NEXT: ldtadd x0, xzr, [x2]
291 # CHECK-NEXT: ldtadd x2, xzr, [sp]
292 # CHECK-NEXT: ldtclr w0, wzr, [x2]
293 # CHECK-NEXT: ldtclr w2, wzr, [sp]
294 # CHECK-NEXT: ldtclr x0, xzr, [x2]
295 # CHECK-NEXT: ldtclr x2, xzr, [sp]
296 # CHECK-NEXT: ldtclr w0, wzr, [x2]
297 # CHECK-NEXT: ldtclr w2, wzr, [sp]
298 # CHECK-NEXT: ldtclr x0, xzr, [x2]
299 # CHECK-NEXT: ldtclr x2, xzr, [sp]
300 # CHECK-NEXT: ldtclr w0, wzr, [x2]
301 # CHECK-NEXT: ldtclr w2, wzr, [sp]
302 # CHECK-NEXT: ldtclr x0, xzr, [x2]
303 # CHECK-NEXT: ldtclr x2, xzr, [sp]
304 # CHECK-NEXT: ldtclr w0, wzr, [x2]
305 # CHECK-NEXT: ldtclr x2, xzr, [sp]
306 # CHECK-NEXT: ldtclr x0, xzr, [x2]
307 # CHECK-NEXT: ldtclr x2, xzr, [sp]
308 # CHECK-NEXT: ldtset w0, wzr, [x2]
309 # CHECK-NEXT: ldtset w2, wzr, [sp]
310 # CHECK-NEXT: ldtset x0, xzr, [x2]
311 # CHECK-NEXT: ldtset x2, xzr, [sp]
312 # CHECK-NEXT: ldtset w0, wzr, [x2]
313 # CHECK-NEXT: ldtset w2, wzr, [sp]
314 # CHECK-NEXT: ldtset x0, xzr, [x2]
315 # CHECK-NEXT: ldtset x2, xzr, [sp]
316 # CHECK-NEXT: ldtset w0, wzr, [x2]
317 # CHECK-NEXT: ldtset w2, wzr, [sp]
318 # CHECK-NEXT: ldtset x0, xzr, [x2]
319 # CHECK-NEXT: ldtset x2, xzr, [sp]
320 # CHECK-NEXT: ldtset w0, wzr, [x2]
321 # CHECK-NEXT: ldtset x2, xzr, [sp]
322 # CHECK-NEXT: ldtset x0, xzr, [x2]
323 # CHECK-NEXT: ldtset x2, xzr, [sp]