1 ! RUN
: llvm-mc
-arch
=lanai
-show-encoding
%s | FileCheck
%s
4 ! CHECK
: 0x0a,0xc4,0x00,0x00
5 add %r17, 0x00001234, %r21
6 ! CHECK
: 0x0a,0xc4,0x12,0x34
7 add %r17, 0x12340000, %r21
8 ! CHECK
: 0x0a,0xc5,0x12,0x34
10 ! CHECK
: 0x0a,0xc6,0x00,0x00
11 add.f
%r17, 0x00001234, %r21
12 ! CHECK
: 0x0a,0xc6,0x12,0x34
13 add.f
%r17, 0x12340000, %r21
14 ! CHECK
: 0x0a,0xc7,0x12,0x34
16 ! CHECK
: 0xca,0xc4,0x90,0x00
17 add.f
%r17, %r18, %r21
18 ! CHECK
: 0xca,0xc6,0x90,0x00
20 ! CHECK
: 0xca,0xc4,0x91,0x00
21 addc.f
%r17, %r18, %r21
22 ! CHECK
: 0xca,0xc6,0x91,0x00
24 ! CHECK
: 0x1a,0xc4,0x00,0x00
25 addc %r17, 0x00001234, %r21
26 ! CHECK
: 0x1a,0xc4,0x12,0x34
27 addc %r17, 0x12340000, %r21
28 ! CHECK
: 0x1a,0xc5,0x12,0x34
30 ! CHECK
: 0x1a,0xc6,0x00,0x00
31 addc.f
%r17, 0x00001234, %r21
32 ! CHECK
: 0x1a,0xc6,0x12,0x34
33 addc.f
%r17, 0x12340000, %r21
34 ! CHECK
: 0x1a,0xc7,0x12,0x34
35 and %r17, 0xffff1234, %r21
36 ! CHECK
: 0x4a,0xc4,0x12,0x34
37 and %r17, 0x1234ffff, %r21
38 ! CHECK
: 0x4a,0xc5,0x12,0x34
39 and.f
%r17, 0xffff1234, %r21
40 ! CHECK
: 0x4a,0xc6,0x12,0x34
41 and.f
%r17, 0x1234ffff, %r21
42 ! CHECK
: 0x4a,0xc7,0x12,0x34
44 ! CHECK
: 0xca,0xc4,0x94,0x00
45 and.f
%r17, %r18, %r21
46 ! CHECK
: 0xca,0xc6,0x94,0x00
48 ! CHECK
: 0xe0,0x12,0x34,0x54
50 ! CHECK
: 0xe0,0x12,0x34,0x55
52 ! CHECK
: 0xe2,0x12,0x34,0x54
54 ! CHECK
: 0xe2,0x12,0x34,0x54
56 ! CHECK
: 0xe2,0x12,0x34,0x55
58 ! CHECK
: 0xe2,0x12,0x34,0x55
60 ! CHECK
: 0xe4,0x12,0x34,0x54
62 ! CHECK
: 0xe4,0x12,0x34,0x54
64 ! CHECK
: 0xe4,0x12,0x34,0x55
66 ! CHECK
: 0xe4,0x12,0x34,0x55
68 ! CHECK
: 0xe6,0x12,0x34,0x54
70 ! CHECK
: 0xe6,0x12,0x34,0x55
72 ! CHECK
: 0xe8,0x12,0x34,0x54
74 ! CHECK
: 0xe8,0x12,0x34,0x55
76 ! CHECK
: 0xea,0x12,0x34,0x54
78 ! CHECK
: 0xea,0x12,0x34,0x55
80 ! CHECK
: 0xec,0x12,0x34,0x54
82 ! CHECK
: 0xec,0x12,0x34,0x55
84 ! CHECK
: 0xee,0x12,0x34,0x54
86 ! CHECK
: 0xc1,0x00,0x9d,0x00
88 ! CHECK
: 0xe1,0x00,0x56,0x7a
90 ! CHECK
: 0xe1,0x00,0x56,0x7b
92 ! CHECK
: 0xe3,0x00,0x56,0x7a
94 ! CHECK
: 0xe3,0x00,0x56,0x7a
96 ! CHECK
: 0xe3,0x00,0x56,0x7b
98 ! CHECK
: 0xe3,0x00,0x56,0x7b
100 ! CHECK
: 0xe5,0x00,0x56,0x7a
102 ! CHECK
: 0xe5,0x00,0x56,0x7a
104 ! CHECK
: 0xe5,0x00,0x56,0x7b
106 ! CHECK
: 0xe5,0x00,0x56,0x7b
108 ! CHECK
: 0xe7,0x00,0x56,0x7a
110 ! CHECK
: 0xe7,0x00,0x56,0x7b
112 ! CHECK
: 0xe9,0x00,0x56,0x7a
114 ! CHECK
: 0xe9,0x00,0x56,0x7b
116 ! CHECK
: 0xeb,0x00,0x56,0x7a
118 ! CHECK
: 0xeb,0x00,0x56,0x7b
120 ! CHECK
: 0xed,0x00,0x56,0x7a
122 ! CHECK
: 0xed,0x00,0x56,0x7b
124 ! CHECK
: 0xef,0x00,0x56,0x7a
125 ld -32768[%r17], %r21
126 ! CHECK
: 0x8a,0xc6,0x80,0x00
128 ! CHECK
: 0x8a,0xc6,0xfc,0x00
130 ! CHECK
: 0x8a,0xc4,0x00,0x00
132 ! CHECK
: 0x8a,0xc6,0x04,0x00
134 ! CHECK
: 0x8a,0xc6,0x7f,0xff
135 uld
-32768[%r17], %r21
136 ! CHECK
: 0x8a,0xc6,0x80,0x00
137 uld
-1024[%r17], %r21
138 ! CHECK
: 0x8a,0xc6,0xfc,0x00
140 ! CHECK
: 0x8a,0xc4,0x00,0x00
142 ! CHECK
: 0x8a,0xc6,0x04,0x00
143 uld
32767[%r17], %r21
144 ! CHECK
: 0x8a,0xc6,0x7f,0xff
146 ! CHECK
: 0xaa,0xc6,0x90,0x02
148 ! CHECK
: 0xaa,0xc6,0x90,0x03
149 ld.h
-512[%r17], %r21
150 ! CHECK
: 0xfa,0xc7,0x0a,0x00
152 ! CHECK
: 0xfa,0xc7,0x0b,0xf3
154 ! CHECK
: 0xfa,0xc7,0x08,0x12
156 ! CHECK
: 0xfa,0xc7,0x09,0xff
157 ld.
b -512[%r17], %r21
158 ! CHECK
: 0xfa,0xc7,0x4a,0x00
160 ! CHECK
: 0xfa,0xc7,0x4b,0xf3
162 ! CHECK
: 0xfa,0xc7,0x48,0x12
164 ! CHECK
: 0xfa,0xc7,0x49,0xff
165 uld.h
-512[%r17], %r21
166 ! CHECK
: 0xfa,0xc7,0x1a,0x00
167 uld.h
-13[%r17], %r21
168 ! CHECK
: 0xfa,0xc7,0x1b,0xf3
170 ! CHECK
: 0xfa,0xc7,0x18,0x12
171 uld.h
511[%r17], %r21
172 ! CHECK
: 0xfa,0xc7,0x19,0xff
173 uld.
b -512[%r17], %r21
174 ! CHECK
: 0xfa,0xc7,0x5a,0x00
175 uld.
b -13[%r17], %r21
176 ! CHECK
: 0xfa,0xc7,0x5b,0xf3
178 ! CHECK
: 0xfa,0xc7,0x58,0x12
179 uld.
b 511[%r17], %r21
180 ! CHECK
: 0xfa,0xc7,0x59,0xff
181 ld -32768[*%r17], %r21
182 ! CHECK
: 0x8a,0xc7,0x80,0x00
183 ld -1024[*%r17], %r21
184 ! CHECK
: 0x8a,0xc7,0xfc,0x00
186 ! CHECK
: 0x8a,0xc4,0x00,0x00
188 ! CHECK
: 0x8a,0xc7,0x04,0x00
189 ld 32767[*%r17], %r21
190 ! CHECK
: 0x8a,0xc7,0x7f,0xff
191 uld
-32768[*%r17], %r21
192 ! CHECK
: 0x8a,0xc7,0x80,0x00
193 uld
-1024[*%r17], %r21
194 ! CHECK
: 0x8a,0xc7,0xfc,0x00
196 ! CHECK
: 0x8a,0xc4,0x00,0x00
197 uld
1024[*%r17], %r21
198 ! CHECK
: 0x8a,0xc7,0x04,0x00
199 uld
32767[*%r17], %r21
200 ! CHECK
: 0x8a,0xc7,0x7f,0xff
202 ! CHECK
: 0x8a,0xc7,0xff,0xfc
204 ! CHECK
: 0x8a,0xc7,0x00,0x04
206 ! CHECK
: 0xfa,0xc7,0x0f,0xfe
208 ! CHECK
: 0xfa,0xc7,0x0c,0x02
210 ! CHECK
: 0xfa,0xc7,0x1f,0xfe
212 ! CHECK
: 0xfa,0xc7,0x1c,0x02
214 ! CHECK
: 0xfa,0xc7,0x4f,0xff
216 ! CHECK
: 0xfa,0xc7,0x4c,0x01
218 ! CHECK
: 0xfa,0xc7,0x5f,0xff
220 ! CHECK
: 0xfa,0xc7,0x5c,0x01
222 ! CHECK
: 0xaa,0xc7,0x90,0x02
223 uld
%r18[*%r17], %r21
224 ! CHECK
: 0xaa,0xc7,0x90,0x03
225 ld.h
-512[*%r17], %r21
226 ! CHECK
: 0xfa,0xc7,0x0e,0x00
227 ld.h
-13[*%r17], %r21
228 ! CHECK
: 0xfa,0xc7,0x0f,0xf3
230 ! CHECK
: 0xfa,0xc7,0x0c,0x12
231 ld.h
511[*%r17], %r21
232 ! CHECK
: 0xfa,0xc7,0x0d,0xff
233 ld.
b -512[*%r17], %r21
234 ! CHECK
: 0xfa,0xc7,0x4e,0x00
235 ld.
b -13[*%r17], %r21
236 ! CHECK
: 0xfa,0xc7,0x4f,0xf3
238 ! CHECK
: 0xfa,0xc7,0x4c,0x12
239 ld.
b 511[*%r17], %r21
240 ! CHECK
: 0xfa,0xc7,0x4d,0xff
241 uld.h
-512[*%r17], %r21
242 ! CHECK
: 0xfa,0xc7,0x1e,0x00
243 uld.h
-13[*%r17], %r21
244 ! CHECK
: 0xfa,0xc7,0x1f,0xf3
245 uld.h
18[*%r17], %r21
246 ! CHECK
: 0xfa,0xc7,0x1c,0x12
247 uld.h
511[*%r17], %r21
248 ! CHECK
: 0xfa,0xc7,0x1d,0xff
249 uld.
b -512[*%r17], %r21
250 ! CHECK
: 0xfa,0xc7,0x5e,0x00
251 uld.
b -13[*%r17], %r21
252 ! CHECK
: 0xfa,0xc7,0x5f,0xf3
253 uld.
b 18[*%r17], %r21
254 ! CHECK
: 0xfa,0xc7,0x5c,0x12
255 uld.
b 511[*%r17], %r21
256 ! CHECK
: 0xfa,0xc7,0x5d,0xff
257 ld -32768[%r17*], %r21
258 ! CHECK
: 0x8a,0xc5,0x80,0x00
259 ld -1024[%r17*], %r21
260 ! CHECK
: 0x8a,0xc5,0xfc,0x00
262 ! CHECK
: 0x8a,0xc4,0x00,0x00
264 ! CHECK
: 0x8a,0xc5,0x04,0x00
265 ld 32767[%r17*], %r21
266 ! CHECK
: 0x8a,0xc5,0x7f,0xff
267 uld
-32768[%r17*], %r21
268 ! CHECK
: 0x8a,0xc5,0x80,0x00
269 uld
-1024[%r17*], %r21
270 ! CHECK
: 0x8a,0xc5,0xfc,0x00
272 ! CHECK
: 0x8a,0xc4,0x00,0x00
273 uld
1024[%r17*], %r21
274 ! CHECK
: 0x8a,0xc5,0x04,0x00
275 uld
32767[%r17*], %r21
276 ! CHECK
: 0x8a,0xc5,0x7f,0xff
278 ! CHECK
: 0x8a,0xc5,0xff,0xfc
280 ! CHECK
: 0x8a,0xc5,0x00,0x04
282 ! CHECK
: 0xfa,0xc7,0x07,0xfe
284 ! CHECK
: 0xfa,0xc7,0x04,0x02
286 ! CHECK
: 0xfa,0xc7,0x17,0xfe
288 ! CHECK
: 0xfa,0xc7,0x14,0x02
290 ! CHECK
: 0xfa,0xc7,0x47,0xff
292 ! CHECK
: 0xfa,0xc7,0x44,0x01
294 ! CHECK
: 0xfa,0xc7,0x57,0xff
296 ! CHECK
: 0xfa,0xc7,0x54,0x01
298 ! CHECK
: 0xaa,0xc5,0x90,0x02
299 uld
%r18[%r17*], %r21
300 ! CHECK
: 0xaa,0xc5,0x90,0x03
301 ld.h
-512[%r17*], %r21
302 ! CHECK
: 0xfa,0xc7,0x06,0x00
303 ld.h
-13[%r17*], %r21
304 ! CHECK
: 0xfa,0xc7,0x07,0xf3
306 ! CHECK
: 0xfa,0xc7,0x04,0x12
307 ld.h
511[%r17*], %r21
308 ! CHECK
: 0xfa,0xc7,0x05,0xff
309 ld.
b -512[%r17*], %r21
310 ! CHECK
: 0xfa,0xc7,0x46,0x00
311 ld.
b -13[%r17*], %r21
312 ! CHECK
: 0xfa,0xc7,0x47,0xf3
314 ! CHECK
: 0xfa,0xc7,0x44,0x12
315 ld.
b 511[%r17*], %r21
316 ! CHECK
: 0xfa,0xc7,0x45,0xff
317 uld.h
-512[%r17*], %r21
318 ! CHECK
: 0xfa,0xc7,0x16,0x00
319 uld.h
-13[%r17*], %r21
320 ! CHECK
: 0xfa,0xc7,0x17,0xf3
321 uld.h
18[%r17*], %r21
322 ! CHECK
: 0xfa,0xc7,0x14,0x12
323 uld.h
511[%r17*], %r21
324 ! CHECK
: 0xfa,0xc7,0x15,0xff
325 uld.
b -512[%r17*], %r21
326 ! CHECK
: 0xfa,0xc7,0x56,0x00
327 uld.
b -13[%r17*], %r21
328 ! CHECK
: 0xfa,0xc7,0x57,0xf3
329 uld.
b 18[%r17*], %r21
330 ! CHECK
: 0xfa,0xc7,0x54,0x12
331 uld.
b 511[%r17*], %r21
332 ! CHECK
: 0xfa,0xc7,0x55,0xff
333 ld [%r17 add %r18], %r21
334 ! CHECK
: 0xaa,0xc6,0x90,0x02
335 ld [%r17 addc %r18], %r21
336 ! CHECK
: 0xaa,0xc6,0x91,0x02
337 ld [%r17 sub %r18], %r21
338 ! CHECK
: 0xaa,0xc6,0x92,0x02
339 ld [%r17 subb
%r18], %r21
340 ! CHECK
: 0xaa,0xc6,0x93,0x02
341 ld [%r17 and %r18], %r21
342 ! CHECK
: 0xaa,0xc6,0x94,0x02
343 ld [%r17 or %r18], %r21
344 ! CHECK
: 0xaa,0xc6,0x95,0x02
345 ld [%r17 xor %r18], %r21
346 ! CHECK
: 0xaa,0xc6,0x96,0x02
347 ld [%r17 sh
%r18], %r21
348 ! CHECK
: 0xaa,0xc6,0x97,0x82
349 ld [%r17 sha
%r18], %r21
350 ! CHECK
: 0xaa,0xc6,0x97,0xc2
351 ld [*%r17 add %r18], %r21
352 ! CHECK
: 0xaa,0xc7,0x90,0x02
353 ld [*%r17 addc %r18], %r21
354 ! CHECK
: 0xaa,0xc7,0x91,0x02
355 ld [*%r17 sub %r18], %r21
356 ! CHECK
: 0xaa,0xc7,0x92,0x02
357 ld [*%r17 subb
%r18], %r21
358 ! CHECK
: 0xaa,0xc7,0x93,0x02
359 ld [*%r17 and %r18], %r21
360 ! CHECK
: 0xaa,0xc7,0x94,0x02
361 ld [*%r17 or %r18], %r21
362 ! CHECK
: 0xaa,0xc7,0x95,0x02
363 ld [*%r17 xor %r18], %r21
364 ! CHECK
: 0xaa,0xc7,0x96,0x02
365 ld [*%r17 sh
%r18], %r21
366 ! CHECK
: 0xaa,0xc7,0x97,0x82
367 ld [*%r17 sha
%r18], %r21
368 ! CHECK
: 0xaa,0xc7,0x97,0xc2
369 ld [%r17* add %r18], %r21
370 ! CHECK
: 0xaa,0xc5,0x90,0x02
371 ld [%r17* addc %r18], %r21
372 ! CHECK
: 0xaa,0xc5,0x91,0x02
373 ld [%r17* sub %r18], %r21
374 ! CHECK
: 0xaa,0xc5,0x92,0x02
375 ld [%r17* subb
%r18], %r21
376 ! CHECK
: 0xaa,0xc5,0x93,0x02
377 ld [%r17* and %r18], %r21
378 ! CHECK
: 0xaa,0xc5,0x94,0x02
379 ld [%r17* or %r18], %r21
380 ! CHECK
: 0xaa,0xc5,0x95,0x02
381 ld [%r17* xor %r18], %r21
382 ! CHECK
: 0xaa,0xc5,0x96,0x02
383 ld [%r17* sh
%r18], %r21
384 ! CHECK
: 0xaa,0xc5,0x97,0x82
385 ld [%r17* sha
%r18], %r21
386 ! CHECK
: 0xaa,0xc5,0x97,0xc2
388 ! CHECK
: 0xfa,0x84,0x23,0x44
390 ! CHECK
: 0xda,0xc4,0x00,0x02
392 ! CHECK
: 0x08,0x80,0x00,0x00
394 ! CHECK
: 0x08,0x80,0x12,0x34
396 ! CHECK
: 0x08,0x81,0x12,0x34
398 ! CHECK
: 0x08,0x81,0xaa,0xaa
400 ! CHECK
: 0xc8,0xc8,0x00,0x00
402 ! CHECK
: 0xf8,0x86,0x23,0x44
404 ! CHECK
: 0x48,0x84,0x12,0x34
406 ! CHECK
: 0x48,0x85,0x12,0x34
408 ! CHECK
: 0x00,0x00,0x00,0x01
410 ! CHECK
: 0x5a,0xc4,0x00,0x00
411 or %r17, 0x00001234, %r21
412 ! CHECK
: 0x5a,0xc4,0x12,0x34
413 or %r17, 0x12340000, %r21
414 ! CHECK
: 0x5a,0xc5,0x12,0x34
416 ! CHECK
: 0x5a,0xc6,0x00,0x00
417 or.f
%r17, 0x00001234, %r21
418 ! CHECK
: 0x5a,0xc6,0x12,0x34
419 or.f
%r17, 0x12340000, %r21
420 ! CHECK
: 0x5a,0xc7,0x12,0x34
422 ! CHECK
: 0xca,0xc4,0x95,0x00
423 or.f
%r17, %r18, %r21
424 ! CHECK
: 0xca,0xc6,0x95,0x00
426 ! CHECK
: 0xda,0xc4,0x00,0x01
428 ! CHECK
: 0xe0,0x54,0x00,0x02
430 ! CHECK
: 0xe2,0x54,0x00,0x02
432 ! CHECK
: 0xe2,0x54,0x00,0x02
434 ! CHECK
: 0xe2,0x54,0x00,0x03
436 ! CHECK
: 0xe2,0x54,0x00,0x03
438 ! CHECK
: 0xe4,0x54,0x00,0x02
440 ! CHECK
: 0xe4,0x54,0x00,0x02
442 ! CHECK
: 0xe4,0x54,0x00,0x03
444 ! CHECK
: 0xe4,0x54,0x00,0x03
446 ! CHECK
: 0xe6,0x54,0x00,0x02
448 ! CHECK
: 0xe6,0x54,0x00,0x03
450 ! CHECK
: 0xe8,0x54,0x00,0x02
452 ! CHECK
: 0xe8,0x54,0x00,0x03
454 ! CHECK
: 0xea,0x54,0x00,0x02
456 ! CHECK
: 0xea,0x54,0x00,0x03
458 ! CHECK
: 0xec,0x54,0x00,0x02
460 ! CHECK
: 0xec,0x54,0x00,0x03
462 ! CHECK
: 0xee,0x54,0x00,0x02
464 ! CHECK
: 0x7a,0xc4,0xff,0xe1
466 ! CHECK
: 0x7a,0xc4,0xff,0xfb
468 ! CHECK
: 0x7a,0xc4,0x00,0x02
470 ! CHECK
: 0x7a,0xc4,0x00,0x1f
472 ! CHECK
: 0x7a,0xc6,0xff,0xe1
474 ! CHECK
: 0x7a,0xc6,0xff,0xfb
476 ! CHECK
: 0x7a,0xc6,0x00,0x02
478 ! CHECK
: 0x7a,0xc6,0x00,0x1f
480 ! CHECK
: 0xca,0xc4,0x97,0x80
481 sh.f
%r17, %r18, %r21
482 ! CHECK
: 0xca,0xc6,0x97,0x80
484 ! CHECK
: 0x7a,0xc5,0xff,0xe1
486 ! CHECK
: 0x7a,0xc5,0xff,0xfb
488 ! CHECK
: 0x7a,0xc5,0x00,0x02
490 ! CHECK
: 0x7a,0xc5,0x00,0x1f
491 sha.f
%r17, -31, %r21
492 ! CHECK
: 0x7a,0xc7,0xff,0xe1
494 ! CHECK
: 0x7a,0xc7,0xff,0xfb
496 ! CHECK
: 0x7a,0xc7,0x00,0x02
498 ! CHECK
: 0x7a,0xc7,0x00,0x1f
500 ! CHECK
: 0xca,0xc4,0x97,0xc0
501 sha.f
%r17, %r18, %r21
502 ! CHECK
: 0xca,0xc6,0x97,0xc0
503 st %r17, -32768[%r19]
504 ! CHECK
: 0x98,0xce,0x80,0x00
506 ! CHECK
: 0x98,0xce,0xfc,0x00
508 ! CHECK
: 0x98,0xcc,0x00,0x00
510 ! CHECK
: 0x98,0xce,0x04,0x00
512 ! CHECK
: 0x98,0xce,0x7f,0xff
513 st.h
%r17, -512[%r19]
514 ! CHECK
: 0xf8,0xcf,0x2a,0x00
516 ! CHECK
: 0xf8,0xcf,0x2b,0xf3
518 ! CHECK
: 0xf8,0xcf,0x28,0x12
520 ! CHECK
: 0xf8,0xcf,0x29,0xff
521 st.
b %r17, -512[%r19]
522 ! CHECK
: 0xf8,0xcf,0x6a,0x00
524 ! CHECK
: 0xf8,0xcf,0x6b,0xf3
526 ! CHECK
: 0xf8,0xcf,0x68,0x12
528 ! CHECK
: 0xf8,0xcf,0x69,0xff
530 ! CHECK
: 0xb8,0xce,0x90,0x02
531 st.h
%r17, %r18[%r19]
532 ! CHECK
: 0xb8,0xce,0x90,0x00
533 st.
b %r17, %r18[%r19]
534 ! CHECK
: 0xb8,0xce,0x90,0x04
535 st %r17, -32768[*%r19]
536 ! CHECK
: 0x98,0xcf,0x80,0x00
537 st %r17, -1024[*%r19]
538 ! CHECK
: 0x98,0xcf,0xfc,0x00
540 ! CHECK
: 0x98,0xcc,0x00,0x00
542 ! CHECK
: 0x98,0xcf,0x04,0x00
543 st %r17, 32767[*%r19]
544 ! CHECK
: 0x98,0xcf,0x7f,0xff
545 st.h
%r17, -512[*%r19]
546 ! CHECK
: 0xf8,0xcf,0x2e,0x00
547 st.h
%r17, -13[*%r19]
548 ! CHECK
: 0xf8,0xcf,0x2f,0xf3
550 ! CHECK
: 0xf8,0xcf,0x2c,0x12
551 st.h
%r17, 511[*%r19]
552 ! CHECK
: 0xf8,0xcf,0x2d,0xff
553 st.
b %r17, -512[*%r19]
554 ! CHECK
: 0xf8,0xcf,0x6e,0x00
555 st.
b %r17, -13[*%r19]
556 ! CHECK
: 0xf8,0xcf,0x6f,0xf3
558 ! CHECK
: 0xf8,0xcf,0x6c,0x12
559 st.
b %r17, 511[*%r19]
560 ! CHECK
: 0xf8,0xcf,0x6d,0xff
562 ! CHECK
: 0x98,0xcf,0xff,0xfc
564 ! CHECK
: 0x98,0xcf,0x00,0x04
566 ! CHECK
: 0xf8,0xcf,0x2f,0xfe
568 ! CHECK
: 0xf8,0xcf,0x2c,0x02
570 ! CHECK
: 0xf8,0xcf,0x6f,0xff
572 ! CHECK
: 0xf8,0xcf,0x6c,0x01
574 ! CHECK
: 0xb8,0xcf,0x90,0x02
575 st.h
%r17, %r18[*%r19]
576 ! CHECK
: 0xb8,0xcf,0x90,0x00
577 st.
b %r17, %r18[*%r19]
578 ! CHECK
: 0xb8,0xcf,0x90,0x04
579 st %r17, -32768[%r19*]
580 ! CHECK
: 0x98,0xcd,0x80,0x00
581 st %r17, -1024[%r19*]
582 ! CHECK
: 0x98,0xcd,0xfc,0x00
584 ! CHECK
: 0x98,0xcc,0x00,0x00
586 ! CHECK
: 0x98,0xcd,0x04,0x00
587 st %r17, 32767[%r19*]
588 ! CHECK
: 0x98,0xcd,0x7f,0xff
589 st.h
%r17, -512[%r19*]
590 ! CHECK
: 0xf8,0xcf,0x26,0x00
591 st.h
%r17, -13[%r19*]
592 ! CHECK
: 0xf8,0xcf,0x27,0xf3
594 ! CHECK
: 0xf8,0xcf,0x24,0x12
595 st.h
%r17, 511[%r19*]
596 ! CHECK
: 0xf8,0xcf,0x25,0xff
597 st.
b %r17, -512[%r19*]
598 ! CHECK
: 0xf8,0xcf,0x66,0x00
599 st.
b %r17, -13[%r19*]
600 ! CHECK
: 0xf8,0xcf,0x67,0xf3
602 ! CHECK
: 0xf8,0xcf,0x64,0x12
603 st.
b %r17, 511[%r19*]
604 ! CHECK
: 0xf8,0xcf,0x65,0xff
606 ! CHECK
: 0x98,0xcd,0xff,0xfc
608 ! CHECK
: 0x98,0xcd,0x00,0x04
610 ! CHECK
: 0xf8,0xcf,0x27,0xfe
612 ! CHECK
: 0xf8,0xcf,0x24,0x02
614 ! CHECK
: 0xf8,0xcf,0x67,0xff
616 ! CHECK
: 0xf8,0xcf,0x64,0x01
618 ! CHECK
: 0xb8,0xcd,0x90,0x02
619 st.h
%r17, %r18[%r19*]
620 ! CHECK
: 0xb8,0xcd,0x90,0x00
621 st.
b %r17, %r18[%r19*]
622 ! CHECK
: 0xb8,0xcd,0x90,0x04
623 st %r21, [%r17 add %r18]
624 ! CHECK
: 0xba,0xc6,0x90,0x02
625 st %r21, [%r17 addc %r18]
626 ! CHECK
: 0xba,0xc6,0x91,0x02
627 st %r21, [%r17 sub %r18]
628 ! CHECK
: 0xba,0xc6,0x92,0x02
629 st %r21, [%r17 subb
%r18]
630 ! CHECK
: 0xba,0xc6,0x93,0x02
631 st %r21, [%r17 and %r18]
632 ! CHECK
: 0xba,0xc6,0x94,0x02
633 st %r21, [%r17 or %r18]
634 ! CHECK
: 0xba,0xc6,0x95,0x02
635 st %r21, [%r17 xor %r18]
636 ! CHECK
: 0xba,0xc6,0x96,0x02
637 st %r21, [%r17 sh
%r18]
638 ! CHECK
: 0xba,0xc6,0x97,0x82
639 st %r21, [%r17 sha
%r18]
640 ! CHECK
: 0xba,0xc6,0x97,0xc2
641 st.h
%r21, [%r17 add %r18]
642 ! CHECK
: 0xba,0xc6,0x90,0x00
643 st.h
%r21, [%r17 addc %r18]
644 ! CHECK
: 0xba,0xc6,0x91,0x00
645 st.h
%r21, [%r17 sub %r18]
646 ! CHECK
: 0xba,0xc6,0x92,0x00
647 st.h
%r21, [%r17 subb
%r18]
648 ! CHECK
: 0xba,0xc6,0x93,0x00
649 st.h
%r21, [%r17 and %r18]
650 ! CHECK
: 0xba,0xc6,0x94,0x00
651 st.h
%r21, [%r17 or %r18]
652 ! CHECK
: 0xba,0xc6,0x95,0x00
653 st.h
%r21, [%r17 xor %r18]
654 ! CHECK
: 0xba,0xc6,0x96,0x00
655 st.h
%r21, [%r17 sh
%r18]
656 ! CHECK
: 0xba,0xc6,0x97,0x80
657 st.h
%r21, [%r17 sha
%r18]
658 ! CHECK
: 0xba,0xc6,0x97,0xc0
659 st.
b %r21, [%r17 add %r18]
660 ! CHECK
: 0xba,0xc6,0x90,0x04
661 st.
b %r21, [%r17 addc %r18]
662 ! CHECK
: 0xba,0xc6,0x91,0x04
663 st.
b %r21, [%r17 sub %r18]
664 ! CHECK
: 0xba,0xc6,0x92,0x04
665 st.
b %r21, [%r17 subb
%r18]
666 ! CHECK
: 0xba,0xc6,0x93,0x04
667 st.
b %r21, [%r17 and %r18]
668 ! CHECK
: 0xba,0xc6,0x94,0x04
669 st.
b %r21, [%r17 or %r18]
670 ! CHECK
: 0xba,0xc6,0x95,0x04
671 st.
b %r21, [%r17 xor %r18]
672 ! CHECK
: 0xba,0xc6,0x96,0x04
673 st.
b %r21, [%r17 sh
%r18]
674 ! CHECK
: 0xba,0xc6,0x97,0x84
675 st.
b %r21, [%r17 sha
%r18]
676 ! CHECK
: 0xba,0xc6,0x97,0xc4
677 st %r21, [*%r17 add %r18]
678 ! CHECK
: 0xba,0xc7,0x90,0x02
679 st %r21, [*%r17 addc %r18]
680 ! CHECK
: 0xba,0xc7,0x91,0x02
681 st %r21, [*%r17 sub %r18]
682 ! CHECK
: 0xba,0xc7,0x92,0x02
683 st %r21, [*%r17 subb
%r18]
684 ! CHECK
: 0xba,0xc7,0x93,0x02
685 st %r21, [*%r17 and %r18]
686 ! CHECK
: 0xba,0xc7,0x94,0x02
687 st %r21, [*%r17 or %r18]
688 ! CHECK
: 0xba,0xc7,0x95,0x02
689 st %r21, [*%r17 xor %r18]
690 ! CHECK
: 0xba,0xc7,0x96,0x02
691 st %r21, [*%r17 sha
%r18]
692 ! CHECK
: 0xba,0xc7,0x97,0xc2
693 st.h
%r21, [*%r17 add %r18]
694 ! CHECK
: 0xba,0xc7,0x90,0x00
695 st.h
%r21, [*%r17 addc %r18]
696 ! CHECK
: 0xba,0xc7,0x91,0x00
697 st.h
%r21, [*%r17 sub %r18]
698 ! CHECK
: 0xba,0xc7,0x92,0x00
699 st.h
%r21, [*%r17 subb
%r18]
700 ! CHECK
: 0xba,0xc7,0x93,0x00
701 st.h
%r21, [*%r17 and %r18]
702 ! CHECK
: 0xba,0xc7,0x94,0x00
703 st.h
%r21, [*%r17 or %r18]
704 ! CHECK
: 0xba,0xc7,0x95,0x00
705 st.h
%r21, [*%r17 xor %r18]
706 ! CHECK
: 0xba,0xc7,0x96,0x00
707 st.h
%r21, [*%r17 sha
%r18]
708 ! CHECK
: 0xba,0xc7,0x97,0xc0
709 st.
b %r21, [*%r17 add %r18]
710 ! CHECK
: 0xba,0xc7,0x90,0x04
711 st.
b %r21, [*%r17 addc %r18]
712 ! CHECK
: 0xba,0xc7,0x91,0x04
713 st.
b %r21, [*%r17 sub %r18]
714 ! CHECK
: 0xba,0xc7,0x92,0x04
715 st.
b %r21, [*%r17 subb
%r18]
716 ! CHECK
: 0xba,0xc7,0x93,0x04
717 st.
b %r21, [*%r17 and %r18]
718 ! CHECK
: 0xba,0xc7,0x94,0x04
719 st.
b %r21, [*%r17 or %r18]
720 ! CHECK
: 0xba,0xc7,0x95,0x04
721 st.
b %r21, [*%r17 xor %r18]
722 ! CHECK
: 0xba,0xc7,0x96,0x04
723 st.
b %r21, [*%r17 sha
%r18]
724 ! CHECK
: 0xba,0xc7,0x97,0xc4
725 st %r21, [%r17* add %r18]
726 ! CHECK
: 0xba,0xc5,0x90,0x02
727 st %r21, [%r17* addc %r18]
728 ! CHECK
: 0xba,0xc5,0x91,0x02
729 st %r21, [%r17* sub %r18]
730 ! CHECK
: 0xba,0xc5,0x92,0x02
731 st %r21, [%r17* subb
%r18]
732 ! CHECK
: 0xba,0xc5,0x93,0x02
733 st %r21, [%r17* and %r18]
734 ! CHECK
: 0xba,0xc5,0x94,0x02
735 st %r21, [%r17* or %r18]
736 ! CHECK
: 0xba,0xc5,0x95,0x02
737 st %r21, [%r17* xor %r18]
738 ! CHECK
: 0xba,0xc5,0x96,0x02
739 st %r21, [%r17* sh
%r18]
740 ! CHECK
: 0xba,0xc5,0x97,0x82
741 st %r21, [%r17* sha
%r18]
742 ! CHECK
: 0xba,0xc5,0x97,0xc2
743 st.h
%r21, [%r17* add %r18]
744 ! CHECK
: 0xba,0xc5,0x90,0x00
745 st.h
%r21, [%r17* addc %r18]
746 ! CHECK
: 0xba,0xc5,0x91,0x00
747 st.h
%r21, [%r17* sub %r18]
748 ! CHECK
: 0xba,0xc5,0x92,0x00
749 st.h
%r21, [%r17* subb
%r18]
750 ! CHECK
: 0xba,0xc5,0x93,0x00
751 st.h
%r21, [%r17* and %r18]
752 ! CHECK
: 0xba,0xc5,0x94,0x00
753 st.h
%r21, [%r17* or %r18]
754 ! CHECK
: 0xba,0xc5,0x95,0x00
755 st.h
%r21, [%r17* xor %r18]
756 ! CHECK
: 0xba,0xc5,0x96,0x00
757 st.h
%r21, [%r17* sh
%r18]
758 ! CHECK
: 0xba,0xc5,0x97,0x80
759 st.h
%r21, [%r17* sha
%r18]
760 ! CHECK
: 0xba,0xc5,0x97,0xc0
761 st.
b %r21, [%r17* add %r18]
762 ! CHECK
: 0xba,0xc5,0x90,0x04
763 st.
b %r21, [%r17* addc %r18]
764 ! CHECK
: 0xba,0xc5,0x91,0x04
765 st.
b %r21, [%r17* sub %r18]
766 ! CHECK
: 0xba,0xc5,0x92,0x04
767 st.
b %r21, [%r17* subb
%r18]
768 ! CHECK
: 0xba,0xc5,0x93,0x04
769 st.
b %r21, [%r17* and %r18]
770 ! CHECK
: 0xba,0xc5,0x94,0x04
771 st.
b %r21, [%r17* or %r18]
772 ! CHECK
: 0xba,0xc5,0x95,0x04
773 st.
b %r21, [%r17* xor %r18]
774 ! CHECK
: 0xba,0xc5,0x96,0x04
775 st.
b %r21, [%r17* sh
%r18]
776 ! CHECK
: 0xba,0xc5,0x97,0x84
777 st.
b %r21, [%r17* sha
%r18]
778 ! CHECK
: 0xba,0xc5,0x97,0xc4
780 ! CHECK
: 0xfa,0x85,0x23,0x44
782 ! CHECK
: 0x2a,0xc4,0x00,0x00
783 sub %r17, 0x00001234, %r21
784 ! CHECK
: 0x2a,0xc4,0x12,0x34
785 sub %r17, 0x12340000, %r21
786 ! CHECK
: 0x2a,0xc5,0x12,0x34
788 ! CHECK
: 0x2a,0xc6,0x00,0x00
789 sub.f
%r17, 0x00001234, %r21
790 ! CHECK
: 0x2a,0xc6,0x12,0x34
791 sub.f
%r17, 0x12340000, %r21
792 ! CHECK
: 0x2a,0xc7,0x12,0x34
794 ! CHECK
: 0xca,0xc4,0x92,0x00
795 sub.f
%r17, %r18, %r21
796 ! CHECK
: 0xca,0xc6,0x92,0x00
798 ! CHECK
: 0x3a,0xc4,0x00,0x00
799 subb
%r17, 0x00001234, %r21
800 ! CHECK
: 0x3a,0xc4,0x12,0x34
801 subb
%r17, 0x12340000, %r21
802 ! CHECK
: 0x3a,0xc5,0x12,0x34
804 ! CHECK
: 0x3a,0xc6,0x00,0x00
805 subb.f
%r17, 0x00001234, %r21
806 ! CHECK
: 0x3a,0xc6,0x12,0x34
807 subb.f
%r17, 0x12340000, %r21
808 ! CHECK
: 0x3a,0xc7,0x12,0x34
809 subb
%r17, %r18, %r21
810 ! CHECK
: 0xca,0xc4,0x93,0x00
811 subb.f
%r17, %r18, %r21
812 ! CHECK
: 0xca,0xc6,0x93,0x00
814 ! CHECK
: 0x6a,0xc4,0x00,0x00
815 xor %r17, 0x00001234, %r21
816 ! CHECK
: 0x6a,0xc4,0x12,0x34
817 xor %r17, 0x12340000, %r21
818 ! CHECK
: 0x6a,0xc5,0x12,0x34
820 ! CHECK
: 0x6a,0xc6,0x00,0x00
821 xor.f
%r17, 0x00001234, %r21
822 ! CHECK
: 0x6a,0xc6,0x12,0x34
823 xor.f
%r17, 0x12340000, %r21
824 ! CHECK
: 0x6a,0xc7,0x12,0x34
826 ! CHECK
: 0xca,0xc4,0x96,0x00
827 xor.f
%r17, %r18, %r21
828 ! CHECK
: 0xca,0xc6,0x96,0x00
829 sel.ne
%r9, %r15, %r12
830 ! CHECK
: 0xc6,0x24,0x7f,0x03
831 sel.gt
%r9, %r15, %r12
832 ! CHECK
: 0xc6,0x24,0x7f,0x07
833 xor.lt
%r17, %r18, %r21
834 ! CHECK
: 0xca,0xc5,0x96,0x06
835 xor.f.eq
%r17, %r18, %r21
836 ! CHECK
: 0xca,0xc7,0x96,0x03
837 add.ge
%r13, %r14, %r18
838 ! CHECK
: 0xc9,0x34,0x70,0x06
840 ! CHECK
: 0xea,0x4c,0x00,0x02
842 ! CHECK
: 0xe0,0x00,0x12,0x34
843 sel.
t %r9, %r15, %r12
844 ! CHECK
: 0xc6,0x24,0x7f,0x00
845 sel.f
%r9, %r15, %r12
846 ! CHECK
: 0xc6,0x25,0x7f,0x00
847 sel.ugt
%r9, %r15, %r12
848 ! CHECK
: 0xc6,0x24,0x7f,0x01
849 sel.ule
%r9, %r15, %r12
850 ! CHECK
: 0xc6,0x25,0x7f,0x01
851 sel.ult
%r9, %r15, %r12
852 ! CHECK
: 0xc6,0x24,0x7f,0x02
853 sel.uge
%r9, %r15, %r12
854 ! CHECK
: 0xc6,0x25,0x7f,0x02
855 sel.ne
%r9, %r15, %r12
856 ! CHECK
: 0xc6,0x24,0x7f,0x03
857 sel.eq
%r9, %r15, %r12
858 ! CHECK
: 0xc6,0x25,0x7f,0x03
859 sel.vc
%r9, %r15, %r12
860 ! CHECK
: 0xc6,0x24,0x7f,0x04
861 sel.vs
%r9, %r15, %r12
862 ! CHECK
: 0xc6,0x25,0x7f,0x04
863 sel.pl
%r9, %r15, %r12
864 ! CHECK
: 0xc6,0x24,0x7f,0x05
865 sel.mi
%r9, %r15, %r12
866 ! CHECK
: 0xc6,0x25,0x7f,0x05
867 sel.ge
%r9, %r15, %r12
868 ! CHECK
: 0xc6,0x24,0x7f,0x06
869 sel.lt
%r9, %r15, %r12
870 ! CHECK
: 0xc6,0x25,0x7f,0x06
871 sel.gt
%r9, %r15, %r12
872 ! CHECK
: 0xc6,0x24,0x7f,0x07
873 sel.le
%r9, %r15, %r12
874 ! CHECK
: 0xc6,0x25,0x7f,0x07
876 ! CHECK
: 0xd6,0x3c,0x00,0x03