[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / AMDGPU / gfx9_asm_sop1.s
blobd787c88f6168920f56a8f21d59bc63ef81f4efc1
1 // RUN: llvm-mc -arch=amdgcn -mcpu=gfx900 -show-encoding %s | FileCheck %s
3 s_mov_b32 s5, s1
4 // CHECK: [0x01,0x00,0x85,0xbe]
6 s_mov_b32 s101, s1
7 // CHECK: [0x01,0x00,0xe5,0xbe]
9 s_mov_b32 flat_scratch_lo, s1
10 // CHECK: [0x01,0x00,0xe6,0xbe]
12 s_mov_b32 flat_scratch_hi, s1
13 // CHECK: [0x01,0x00,0xe7,0xbe]
15 s_mov_b32 vcc_lo, s1
16 // CHECK: [0x01,0x00,0xea,0xbe]
18 s_mov_b32 vcc_hi, s1
19 // CHECK: [0x01,0x00,0xeb,0xbe]
21 s_mov_b32 ttmp15, s1
22 // CHECK: [0x01,0x00,0xfb,0xbe]
24 s_mov_b32 m0, s1
25 // CHECK: [0x01,0x00,0xfc,0xbe]
27 s_mov_b32 exec_lo, s1
28 // CHECK: [0x01,0x00,0xfe,0xbe]
30 s_mov_b32 exec_hi, s1
31 // CHECK: [0x01,0x00,0xff,0xbe]
33 s_mov_b32 s5, s101
34 // CHECK: [0x65,0x00,0x85,0xbe]
36 s_mov_b32 s5, flat_scratch_lo
37 // CHECK: [0x66,0x00,0x85,0xbe]
39 s_mov_b32 s5, flat_scratch_hi
40 // CHECK: [0x67,0x00,0x85,0xbe]
42 s_mov_b32 s5, vcc_lo
43 // CHECK: [0x6a,0x00,0x85,0xbe]
45 s_mov_b32 s5, vcc_hi
46 // CHECK: [0x6b,0x00,0x85,0xbe]
48 s_mov_b32 s5, ttmp15
49 // CHECK: [0x7b,0x00,0x85,0xbe]
51 s_mov_b32 s5, m0
52 // CHECK: [0x7c,0x00,0x85,0xbe]
54 s_mov_b32 s5, exec_lo
55 // CHECK: [0x7e,0x00,0x85,0xbe]
57 s_mov_b32 s5, exec_hi
58 // CHECK: [0x7f,0x00,0x85,0xbe]
60 s_mov_b32 s5, 0
61 // CHECK: [0x80,0x00,0x85,0xbe]
63 s_mov_b32 s5, -1
64 // CHECK: [0xc1,0x00,0x85,0xbe]
66 s_mov_b32 s5, 0.5
67 // CHECK: [0xf0,0x00,0x85,0xbe]
69 s_mov_b32 s5, -4.0
70 // CHECK: [0xf7,0x00,0x85,0xbe]
72 s_mov_b32 s5, src_vccz
73 // CHECK: [0xfb,0x00,0x85,0xbe]
75 s_mov_b32 s5, src_execz
76 // CHECK: [0xfc,0x00,0x85,0xbe]
78 s_mov_b32 s5, src_scc
79 // CHECK: [0xfd,0x00,0x85,0xbe]
81 s_mov_b32 s5, 0xaf123456
82 // CHECK: [0xff,0x00,0x85,0xbe,0x56,0x34,0x12,0xaf]
84 s_mov_b32 s5, 0x3f717273
85 // CHECK: [0xff,0x00,0x85,0xbe,0x73,0x72,0x71,0x3f]
87 s_mov_b64 s[10:11], s[2:3]
88 // CHECK: [0x02,0x01,0x8a,0xbe]
90 s_mov_b64 s[12:13], s[2:3]
91 // CHECK: [0x02,0x01,0x8c,0xbe]
93 s_mov_b64 s[100:101], s[2:3]
94 // CHECK: [0x02,0x01,0xe4,0xbe]
96 s_mov_b64 flat_scratch, s[2:3]
97 // CHECK: [0x02,0x01,0xe6,0xbe]
99 s_mov_b64 vcc, s[2:3]
100 // CHECK: [0x02,0x01,0xea,0xbe]
102 s_mov_b64 ttmp[14:15], s[2:3]
103 // CHECK: [0x02,0x01,0xfa,0xbe]
105 s_mov_b64 exec, s[2:3]
106 // CHECK: [0x02,0x01,0xfe,0xbe]
108 s_mov_b64 s[10:11], s[4:5]
109 // CHECK: [0x04,0x01,0x8a,0xbe]
111 s_mov_b64 s[10:11], s[100:101]
112 // CHECK: [0x64,0x01,0x8a,0xbe]
114 s_mov_b64 s[10:11], flat_scratch
115 // CHECK: [0x66,0x01,0x8a,0xbe]
117 s_mov_b64 s[10:11], vcc
118 // CHECK: [0x6a,0x01,0x8a,0xbe]
120 s_mov_b64 s[10:11], ttmp[14:15]
121 // CHECK: [0x7a,0x01,0x8a,0xbe]
123 s_mov_b64 s[10:11], exec
124 // CHECK: [0x7e,0x01,0x8a,0xbe]
126 s_mov_b64 s[10:11], 0
127 // CHECK: [0x80,0x01,0x8a,0xbe]
129 s_mov_b64 s[10:11], -1
130 // CHECK: [0xc1,0x01,0x8a,0xbe]
132 s_mov_b64 s[10:11], 0.5
133 // CHECK: [0xf0,0x01,0x8a,0xbe]
135 s_mov_b64 s[10:11], -4.0
136 // CHECK: [0xf7,0x01,0x8a,0xbe]
138 s_mov_b64 s[10:11], src_vccz
139 // CHECK: [0xfb,0x01,0x8a,0xbe]
141 s_mov_b64 s[10:11], src_execz
142 // CHECK: [0xfc,0x01,0x8a,0xbe]
144 s_mov_b64 s[10:11], src_scc
145 // CHECK: [0xfd,0x01,0x8a,0xbe]
147 s_mov_b64 s[10:11], 0xaf123456
148 // CHECK: [0xff,0x01,0x8a,0xbe,0x56,0x34,0x12,0xaf]
150 s_mov_b64 s[10:11], 0x3f717273
151 // CHECK: [0xff,0x01,0x8a,0xbe,0x73,0x72,0x71,0x3f]
153 s_cmov_b32 s5, s1
154 // CHECK: [0x01,0x02,0x85,0xbe]
156 s_cmov_b32 s101, s1
157 // CHECK: [0x01,0x02,0xe5,0xbe]
159 s_cmov_b32 flat_scratch_lo, s1
160 // CHECK: [0x01,0x02,0xe6,0xbe]
162 s_cmov_b32 flat_scratch_hi, s1
163 // CHECK: [0x01,0x02,0xe7,0xbe]
165 s_cmov_b32 vcc_lo, s1
166 // CHECK: [0x01,0x02,0xea,0xbe]
168 s_cmov_b32 vcc_hi, s1
169 // CHECK: [0x01,0x02,0xeb,0xbe]
171 s_cmov_b32 ttmp15, s1
172 // CHECK: [0x01,0x02,0xfb,0xbe]
174 s_cmov_b32 m0, s1
175 // CHECK: [0x01,0x02,0xfc,0xbe]
177 s_cmov_b32 exec_lo, s1
178 // CHECK: [0x01,0x02,0xfe,0xbe]
180 s_cmov_b32 exec_hi, s1
181 // CHECK: [0x01,0x02,0xff,0xbe]
183 s_cmov_b32 s5, s101
184 // CHECK: [0x65,0x02,0x85,0xbe]
186 s_cmov_b32 s5, flat_scratch_lo
187 // CHECK: [0x66,0x02,0x85,0xbe]
189 s_cmov_b32 s5, flat_scratch_hi
190 // CHECK: [0x67,0x02,0x85,0xbe]
192 s_cmov_b32 s5, vcc_lo
193 // CHECK: [0x6a,0x02,0x85,0xbe]
195 s_cmov_b32 s5, vcc_hi
196 // CHECK: [0x6b,0x02,0x85,0xbe]
198 s_cmov_b32 s5, ttmp15
199 // CHECK: [0x7b,0x02,0x85,0xbe]
201 s_cmov_b32 s5, m0
202 // CHECK: [0x7c,0x02,0x85,0xbe]
204 s_cmov_b32 s5, exec_lo
205 // CHECK: [0x7e,0x02,0x85,0xbe]
207 s_cmov_b32 s5, exec_hi
208 // CHECK: [0x7f,0x02,0x85,0xbe]
210 s_cmov_b32 s5, 0
211 // CHECK: [0x80,0x02,0x85,0xbe]
213 s_cmov_b32 s5, -1
214 // CHECK: [0xc1,0x02,0x85,0xbe]
216 s_cmov_b32 s5, 0.5
217 // CHECK: [0xf0,0x02,0x85,0xbe]
219 s_cmov_b32 s5, -4.0
220 // CHECK: [0xf7,0x02,0x85,0xbe]
222 s_cmov_b32 s5, src_vccz
223 // CHECK: [0xfb,0x02,0x85,0xbe]
225 s_cmov_b32 s5, src_execz
226 // CHECK: [0xfc,0x02,0x85,0xbe]
228 s_cmov_b32 s5, src_scc
229 // CHECK: [0xfd,0x02,0x85,0xbe]
231 s_cmov_b32 s5, 0xaf123456
232 // CHECK: [0xff,0x02,0x85,0xbe,0x56,0x34,0x12,0xaf]
234 s_cmov_b32 s5, 0x3f717273
235 // CHECK: [0xff,0x02,0x85,0xbe,0x73,0x72,0x71,0x3f]
237 s_cmov_b64 s[10:11], s[2:3]
238 // CHECK: [0x02,0x03,0x8a,0xbe]
240 s_cmov_b64 s[12:13], s[2:3]
241 // CHECK: [0x02,0x03,0x8c,0xbe]
243 s_cmov_b64 s[100:101], s[2:3]
244 // CHECK: [0x02,0x03,0xe4,0xbe]
246 s_cmov_b64 flat_scratch, s[2:3]
247 // CHECK: [0x02,0x03,0xe6,0xbe]
249 s_cmov_b64 vcc, s[2:3]
250 // CHECK: [0x02,0x03,0xea,0xbe]
252 s_cmov_b64 ttmp[14:15], s[2:3]
253 // CHECK: [0x02,0x03,0xfa,0xbe]
255 s_cmov_b64 exec, s[2:3]
256 // CHECK: [0x02,0x03,0xfe,0xbe]
258 s_cmov_b64 s[10:11], s[4:5]
259 // CHECK: [0x04,0x03,0x8a,0xbe]
261 s_cmov_b64 s[10:11], s[100:101]
262 // CHECK: [0x64,0x03,0x8a,0xbe]
264 s_cmov_b64 s[10:11], flat_scratch
265 // CHECK: [0x66,0x03,0x8a,0xbe]
267 s_cmov_b64 s[10:11], vcc
268 // CHECK: [0x6a,0x03,0x8a,0xbe]
270 s_cmov_b64 s[10:11], ttmp[14:15]
271 // CHECK: [0x7a,0x03,0x8a,0xbe]
273 s_cmov_b64 s[10:11], exec
274 // CHECK: [0x7e,0x03,0x8a,0xbe]
276 s_cmov_b64 s[10:11], 0
277 // CHECK: [0x80,0x03,0x8a,0xbe]
279 s_cmov_b64 s[10:11], -1
280 // CHECK: [0xc1,0x03,0x8a,0xbe]
282 s_cmov_b64 s[10:11], 0.5
283 // CHECK: [0xf0,0x03,0x8a,0xbe]
285 s_cmov_b64 s[10:11], -4.0
286 // CHECK: [0xf7,0x03,0x8a,0xbe]
288 s_cmov_b64 s[10:11], src_vccz
289 // CHECK: [0xfb,0x03,0x8a,0xbe]
291 s_cmov_b64 s[10:11], src_execz
292 // CHECK: [0xfc,0x03,0x8a,0xbe]
294 s_cmov_b64 s[10:11], src_scc
295 // CHECK: [0xfd,0x03,0x8a,0xbe]
297 s_cmov_b64 s[10:11], 0xaf123456
298 // CHECK: [0xff,0x03,0x8a,0xbe,0x56,0x34,0x12,0xaf]
300 s_cmov_b64 s[10:11], 0x3f717273
301 // CHECK: [0xff,0x03,0x8a,0xbe,0x73,0x72,0x71,0x3f]
303 s_not_b32 s5, s1
304 // CHECK: [0x01,0x04,0x85,0xbe]
306 s_not_b32 s101, s1
307 // CHECK: [0x01,0x04,0xe5,0xbe]
309 s_not_b32 flat_scratch_lo, s1
310 // CHECK: [0x01,0x04,0xe6,0xbe]
312 s_not_b32 flat_scratch_hi, s1
313 // CHECK: [0x01,0x04,0xe7,0xbe]
315 s_not_b32 vcc_lo, s1
316 // CHECK: [0x01,0x04,0xea,0xbe]
318 s_not_b32 vcc_hi, s1
319 // CHECK: [0x01,0x04,0xeb,0xbe]
321 s_not_b32 ttmp15, s1
322 // CHECK: [0x01,0x04,0xfb,0xbe]
324 s_not_b32 m0, s1
325 // CHECK: [0x01,0x04,0xfc,0xbe]
327 s_not_b32 exec_lo, s1
328 // CHECK: [0x01,0x04,0xfe,0xbe]
330 s_not_b32 exec_hi, s1
331 // CHECK: [0x01,0x04,0xff,0xbe]
333 s_not_b32 s5, s101
334 // CHECK: [0x65,0x04,0x85,0xbe]
336 s_not_b32 s5, flat_scratch_lo
337 // CHECK: [0x66,0x04,0x85,0xbe]
339 s_not_b32 s5, flat_scratch_hi
340 // CHECK: [0x67,0x04,0x85,0xbe]
342 s_not_b32 s5, vcc_lo
343 // CHECK: [0x6a,0x04,0x85,0xbe]
345 s_not_b32 s5, vcc_hi
346 // CHECK: [0x6b,0x04,0x85,0xbe]
348 s_not_b32 s5, ttmp15
349 // CHECK: [0x7b,0x04,0x85,0xbe]
351 s_not_b32 s5, m0
352 // CHECK: [0x7c,0x04,0x85,0xbe]
354 s_not_b32 s5, exec_lo
355 // CHECK: [0x7e,0x04,0x85,0xbe]
357 s_not_b32 s5, exec_hi
358 // CHECK: [0x7f,0x04,0x85,0xbe]
360 s_not_b32 s5, 0
361 // CHECK: [0x80,0x04,0x85,0xbe]
363 s_not_b32 s5, -1
364 // CHECK: [0xc1,0x04,0x85,0xbe]
366 s_not_b32 s5, 0.5
367 // CHECK: [0xf0,0x04,0x85,0xbe]
369 s_not_b32 s5, -4.0
370 // CHECK: [0xf7,0x04,0x85,0xbe]
372 s_not_b32 s5, src_vccz
373 // CHECK: [0xfb,0x04,0x85,0xbe]
375 s_not_b32 s5, src_execz
376 // CHECK: [0xfc,0x04,0x85,0xbe]
378 s_not_b32 s5, src_scc
379 // CHECK: [0xfd,0x04,0x85,0xbe]
381 s_not_b32 s5, 0xaf123456
382 // CHECK: [0xff,0x04,0x85,0xbe,0x56,0x34,0x12,0xaf]
384 s_not_b32 s5, 0x3f717273
385 // CHECK: [0xff,0x04,0x85,0xbe,0x73,0x72,0x71,0x3f]
387 s_not_b64 s[10:11], s[2:3]
388 // CHECK: [0x02,0x05,0x8a,0xbe]
390 s_not_b64 s[12:13], s[2:3]
391 // CHECK: [0x02,0x05,0x8c,0xbe]
393 s_not_b64 s[100:101], s[2:3]
394 // CHECK: [0x02,0x05,0xe4,0xbe]
396 s_not_b64 flat_scratch, s[2:3]
397 // CHECK: [0x02,0x05,0xe6,0xbe]
399 s_not_b64 vcc, s[2:3]
400 // CHECK: [0x02,0x05,0xea,0xbe]
402 s_not_b64 ttmp[14:15], s[2:3]
403 // CHECK: [0x02,0x05,0xfa,0xbe]
405 s_not_b64 exec, s[2:3]
406 // CHECK: [0x02,0x05,0xfe,0xbe]
408 s_not_b64 s[10:11], s[4:5]
409 // CHECK: [0x04,0x05,0x8a,0xbe]
411 s_not_b64 s[10:11], s[100:101]
412 // CHECK: [0x64,0x05,0x8a,0xbe]
414 s_not_b64 s[10:11], flat_scratch
415 // CHECK: [0x66,0x05,0x8a,0xbe]
417 s_not_b64 s[10:11], vcc
418 // CHECK: [0x6a,0x05,0x8a,0xbe]
420 s_not_b64 s[10:11], ttmp[14:15]
421 // CHECK: [0x7a,0x05,0x8a,0xbe]
423 s_not_b64 s[10:11], exec
424 // CHECK: [0x7e,0x05,0x8a,0xbe]
426 s_not_b64 s[10:11], 0
427 // CHECK: [0x80,0x05,0x8a,0xbe]
429 s_not_b64 s[10:11], -1
430 // CHECK: [0xc1,0x05,0x8a,0xbe]
432 s_not_b64 s[10:11], 0.5
433 // CHECK: [0xf0,0x05,0x8a,0xbe]
435 s_not_b64 s[10:11], -4.0
436 // CHECK: [0xf7,0x05,0x8a,0xbe]
438 s_not_b64 s[10:11], src_vccz
439 // CHECK: [0xfb,0x05,0x8a,0xbe]
441 s_not_b64 s[10:11], src_execz
442 // CHECK: [0xfc,0x05,0x8a,0xbe]
444 s_not_b64 s[10:11], src_scc
445 // CHECK: [0xfd,0x05,0x8a,0xbe]
447 s_not_b64 s[10:11], 0xaf123456
448 // CHECK: [0xff,0x05,0x8a,0xbe,0x56,0x34,0x12,0xaf]
450 s_not_b64 s[10:11], 0x3f717273
451 // CHECK: [0xff,0x05,0x8a,0xbe,0x73,0x72,0x71,0x3f]
453 s_wqm_b32 s5, s1
454 // CHECK: [0x01,0x06,0x85,0xbe]
456 s_wqm_b32 s101, s1
457 // CHECK: [0x01,0x06,0xe5,0xbe]
459 s_wqm_b32 flat_scratch_lo, s1
460 // CHECK: [0x01,0x06,0xe6,0xbe]
462 s_wqm_b32 flat_scratch_hi, s1
463 // CHECK: [0x01,0x06,0xe7,0xbe]
465 s_wqm_b32 vcc_lo, s1
466 // CHECK: [0x01,0x06,0xea,0xbe]
468 s_wqm_b32 vcc_hi, s1
469 // CHECK: [0x01,0x06,0xeb,0xbe]
471 s_wqm_b32 ttmp15, s1
472 // CHECK: [0x01,0x06,0xfb,0xbe]
474 s_wqm_b32 m0, s1
475 // CHECK: [0x01,0x06,0xfc,0xbe]
477 s_wqm_b32 exec_lo, s1
478 // CHECK: [0x01,0x06,0xfe,0xbe]
480 s_wqm_b32 exec_hi, s1
481 // CHECK: [0x01,0x06,0xff,0xbe]
483 s_wqm_b32 s5, s101
484 // CHECK: [0x65,0x06,0x85,0xbe]
486 s_wqm_b32 s5, flat_scratch_lo
487 // CHECK: [0x66,0x06,0x85,0xbe]
489 s_wqm_b32 s5, flat_scratch_hi
490 // CHECK: [0x67,0x06,0x85,0xbe]
492 s_wqm_b32 s5, vcc_lo
493 // CHECK: [0x6a,0x06,0x85,0xbe]
495 s_wqm_b32 s5, vcc_hi
496 // CHECK: [0x6b,0x06,0x85,0xbe]
498 s_wqm_b32 s5, ttmp15
499 // CHECK: [0x7b,0x06,0x85,0xbe]
501 s_wqm_b32 s5, m0
502 // CHECK: [0x7c,0x06,0x85,0xbe]
504 s_wqm_b32 s5, exec_lo
505 // CHECK: [0x7e,0x06,0x85,0xbe]
507 s_wqm_b32 s5, exec_hi
508 // CHECK: [0x7f,0x06,0x85,0xbe]
510 s_wqm_b32 s5, 0
511 // CHECK: [0x80,0x06,0x85,0xbe]
513 s_wqm_b32 s5, -1
514 // CHECK: [0xc1,0x06,0x85,0xbe]
516 s_wqm_b32 s5, 0.5
517 // CHECK: [0xf0,0x06,0x85,0xbe]
519 s_wqm_b32 s5, -4.0
520 // CHECK: [0xf7,0x06,0x85,0xbe]
522 s_wqm_b32 s5, src_vccz
523 // CHECK: [0xfb,0x06,0x85,0xbe]
525 s_wqm_b32 s5, src_execz
526 // CHECK: [0xfc,0x06,0x85,0xbe]
528 s_wqm_b32 s5, src_scc
529 // CHECK: [0xfd,0x06,0x85,0xbe]
531 s_wqm_b32 s5, 0xaf123456
532 // CHECK: [0xff,0x06,0x85,0xbe,0x56,0x34,0x12,0xaf]
534 s_wqm_b32 s5, 0x3f717273
535 // CHECK: [0xff,0x06,0x85,0xbe,0x73,0x72,0x71,0x3f]
537 s_wqm_b64 s[10:11], s[2:3]
538 // CHECK: [0x02,0x07,0x8a,0xbe]
540 s_wqm_b64 s[12:13], s[2:3]
541 // CHECK: [0x02,0x07,0x8c,0xbe]
543 s_wqm_b64 s[100:101], s[2:3]
544 // CHECK: [0x02,0x07,0xe4,0xbe]
546 s_wqm_b64 flat_scratch, s[2:3]
547 // CHECK: [0x02,0x07,0xe6,0xbe]
549 s_wqm_b64 vcc, s[2:3]
550 // CHECK: [0x02,0x07,0xea,0xbe]
552 s_wqm_b64 ttmp[14:15], s[2:3]
553 // CHECK: [0x02,0x07,0xfa,0xbe]
555 s_wqm_b64 exec, s[2:3]
556 // CHECK: [0x02,0x07,0xfe,0xbe]
558 s_wqm_b64 s[10:11], s[4:5]
559 // CHECK: [0x04,0x07,0x8a,0xbe]
561 s_wqm_b64 s[10:11], s[100:101]
562 // CHECK: [0x64,0x07,0x8a,0xbe]
564 s_wqm_b64 s[10:11], flat_scratch
565 // CHECK: [0x66,0x07,0x8a,0xbe]
567 s_wqm_b64 s[10:11], vcc
568 // CHECK: [0x6a,0x07,0x8a,0xbe]
570 s_wqm_b64 s[10:11], ttmp[14:15]
571 // CHECK: [0x7a,0x07,0x8a,0xbe]
573 s_wqm_b64 s[10:11], exec
574 // CHECK: [0x7e,0x07,0x8a,0xbe]
576 s_wqm_b64 s[10:11], 0
577 // CHECK: [0x80,0x07,0x8a,0xbe]
579 s_wqm_b64 s[10:11], -1
580 // CHECK: [0xc1,0x07,0x8a,0xbe]
582 s_wqm_b64 s[10:11], 0.5
583 // CHECK: [0xf0,0x07,0x8a,0xbe]
585 s_wqm_b64 s[10:11], -4.0
586 // CHECK: [0xf7,0x07,0x8a,0xbe]
588 s_wqm_b64 s[10:11], src_vccz
589 // CHECK: [0xfb,0x07,0x8a,0xbe]
591 s_wqm_b64 s[10:11], src_execz
592 // CHECK: [0xfc,0x07,0x8a,0xbe]
594 s_wqm_b64 s[10:11], src_scc
595 // CHECK: [0xfd,0x07,0x8a,0xbe]
597 s_wqm_b64 s[10:11], 0xaf123456
598 // CHECK: [0xff,0x07,0x8a,0xbe,0x56,0x34,0x12,0xaf]
600 s_wqm_b64 s[10:11], 0x3f717273
601 // CHECK: [0xff,0x07,0x8a,0xbe,0x73,0x72,0x71,0x3f]
603 s_brev_b32 s5, s1
604 // CHECK: [0x01,0x08,0x85,0xbe]
606 s_brev_b32 s101, s1
607 // CHECK: [0x01,0x08,0xe5,0xbe]
609 s_brev_b32 flat_scratch_lo, s1
610 // CHECK: [0x01,0x08,0xe6,0xbe]
612 s_brev_b32 flat_scratch_hi, s1
613 // CHECK: [0x01,0x08,0xe7,0xbe]
615 s_brev_b32 vcc_lo, s1
616 // CHECK: [0x01,0x08,0xea,0xbe]
618 s_brev_b32 vcc_hi, s1
619 // CHECK: [0x01,0x08,0xeb,0xbe]
621 s_brev_b32 ttmp15, s1
622 // CHECK: [0x01,0x08,0xfb,0xbe]
624 s_brev_b32 m0, s1
625 // CHECK: [0x01,0x08,0xfc,0xbe]
627 s_brev_b32 exec_lo, s1
628 // CHECK: [0x01,0x08,0xfe,0xbe]
630 s_brev_b32 exec_hi, s1
631 // CHECK: [0x01,0x08,0xff,0xbe]
633 s_brev_b32 s5, s101
634 // CHECK: [0x65,0x08,0x85,0xbe]
636 s_brev_b32 s5, flat_scratch_lo
637 // CHECK: [0x66,0x08,0x85,0xbe]
639 s_brev_b32 s5, flat_scratch_hi
640 // CHECK: [0x67,0x08,0x85,0xbe]
642 s_brev_b32 s5, vcc_lo
643 // CHECK: [0x6a,0x08,0x85,0xbe]
645 s_brev_b32 s5, vcc_hi
646 // CHECK: [0x6b,0x08,0x85,0xbe]
648 s_brev_b32 s5, ttmp15
649 // CHECK: [0x7b,0x08,0x85,0xbe]
651 s_brev_b32 s5, m0
652 // CHECK: [0x7c,0x08,0x85,0xbe]
654 s_brev_b32 s5, exec_lo
655 // CHECK: [0x7e,0x08,0x85,0xbe]
657 s_brev_b32 s5, exec_hi
658 // CHECK: [0x7f,0x08,0x85,0xbe]
660 s_brev_b32 s5, 0
661 // CHECK: [0x80,0x08,0x85,0xbe]
663 s_brev_b32 s5, -1
664 // CHECK: [0xc1,0x08,0x85,0xbe]
666 s_brev_b32 s5, 0.5
667 // CHECK: [0xf0,0x08,0x85,0xbe]
669 s_brev_b32 s5, -4.0
670 // CHECK: [0xf7,0x08,0x85,0xbe]
672 s_brev_b32 s5, src_vccz
673 // CHECK: [0xfb,0x08,0x85,0xbe]
675 s_brev_b32 s5, src_execz
676 // CHECK: [0xfc,0x08,0x85,0xbe]
678 s_brev_b32 s5, src_scc
679 // CHECK: [0xfd,0x08,0x85,0xbe]
681 s_brev_b32 s5, 0xaf123456
682 // CHECK: [0xff,0x08,0x85,0xbe,0x56,0x34,0x12,0xaf]
684 s_brev_b32 s5, 0x3f717273
685 // CHECK: [0xff,0x08,0x85,0xbe,0x73,0x72,0x71,0x3f]
687 s_brev_b64 s[10:11], s[2:3]
688 // CHECK: [0x02,0x09,0x8a,0xbe]
690 s_brev_b64 s[12:13], s[2:3]
691 // CHECK: [0x02,0x09,0x8c,0xbe]
693 s_brev_b64 s[100:101], s[2:3]
694 // CHECK: [0x02,0x09,0xe4,0xbe]
696 s_brev_b64 flat_scratch, s[2:3]
697 // CHECK: [0x02,0x09,0xe6,0xbe]
699 s_brev_b64 vcc, s[2:3]
700 // CHECK: [0x02,0x09,0xea,0xbe]
702 s_brev_b64 ttmp[14:15], s[2:3]
703 // CHECK: [0x02,0x09,0xfa,0xbe]
705 s_brev_b64 exec, s[2:3]
706 // CHECK: [0x02,0x09,0xfe,0xbe]
708 s_brev_b64 s[10:11], s[4:5]
709 // CHECK: [0x04,0x09,0x8a,0xbe]
711 s_brev_b64 s[10:11], s[100:101]
712 // CHECK: [0x64,0x09,0x8a,0xbe]
714 s_brev_b64 s[10:11], flat_scratch
715 // CHECK: [0x66,0x09,0x8a,0xbe]
717 s_brev_b64 s[10:11], vcc
718 // CHECK: [0x6a,0x09,0x8a,0xbe]
720 s_brev_b64 s[10:11], ttmp[14:15]
721 // CHECK: [0x7a,0x09,0x8a,0xbe]
723 s_brev_b64 s[10:11], exec
724 // CHECK: [0x7e,0x09,0x8a,0xbe]
726 s_brev_b64 s[10:11], 0
727 // CHECK: [0x80,0x09,0x8a,0xbe]
729 s_brev_b64 s[10:11], -1
730 // CHECK: [0xc1,0x09,0x8a,0xbe]
732 s_brev_b64 s[10:11], 0.5
733 // CHECK: [0xf0,0x09,0x8a,0xbe]
735 s_brev_b64 s[10:11], -4.0
736 // CHECK: [0xf7,0x09,0x8a,0xbe]
738 s_brev_b64 s[10:11], src_vccz
739 // CHECK: [0xfb,0x09,0x8a,0xbe]
741 s_brev_b64 s[10:11], src_execz
742 // CHECK: [0xfc,0x09,0x8a,0xbe]
744 s_brev_b64 s[10:11], src_scc
745 // CHECK: [0xfd,0x09,0x8a,0xbe]
747 s_brev_b64 s[10:11], 0xaf123456
748 // CHECK: [0xff,0x09,0x8a,0xbe,0x56,0x34,0x12,0xaf]
750 s_brev_b64 s[10:11], 0x3f717273
751 // CHECK: [0xff,0x09,0x8a,0xbe,0x73,0x72,0x71,0x3f]
753 s_bcnt0_i32_b32 s5, s1
754 // CHECK: [0x01,0x0a,0x85,0xbe]
756 s_bcnt0_i32_b32 s101, s1
757 // CHECK: [0x01,0x0a,0xe5,0xbe]
759 s_bcnt0_i32_b32 flat_scratch_lo, s1
760 // CHECK: [0x01,0x0a,0xe6,0xbe]
762 s_bcnt0_i32_b32 flat_scratch_hi, s1
763 // CHECK: [0x01,0x0a,0xe7,0xbe]
765 s_bcnt0_i32_b32 vcc_lo, s1
766 // CHECK: [0x01,0x0a,0xea,0xbe]
768 s_bcnt0_i32_b32 vcc_hi, s1
769 // CHECK: [0x01,0x0a,0xeb,0xbe]
771 s_bcnt0_i32_b32 ttmp15, s1
772 // CHECK: [0x01,0x0a,0xfb,0xbe]
774 s_bcnt0_i32_b32 m0, s1
775 // CHECK: [0x01,0x0a,0xfc,0xbe]
777 s_bcnt0_i32_b32 exec_lo, s1
778 // CHECK: [0x01,0x0a,0xfe,0xbe]
780 s_bcnt0_i32_b32 exec_hi, s1
781 // CHECK: [0x01,0x0a,0xff,0xbe]
783 s_bcnt0_i32_b32 s5, s101
784 // CHECK: [0x65,0x0a,0x85,0xbe]
786 s_bcnt0_i32_b32 s5, flat_scratch_lo
787 // CHECK: [0x66,0x0a,0x85,0xbe]
789 s_bcnt0_i32_b32 s5, flat_scratch_hi
790 // CHECK: [0x67,0x0a,0x85,0xbe]
792 s_bcnt0_i32_b32 s5, vcc_lo
793 // CHECK: [0x6a,0x0a,0x85,0xbe]
795 s_bcnt0_i32_b32 s5, vcc_hi
796 // CHECK: [0x6b,0x0a,0x85,0xbe]
798 s_bcnt0_i32_b32 s5, ttmp15
799 // CHECK: [0x7b,0x0a,0x85,0xbe]
801 s_bcnt0_i32_b32 s5, m0
802 // CHECK: [0x7c,0x0a,0x85,0xbe]
804 s_bcnt0_i32_b32 s5, exec_lo
805 // CHECK: [0x7e,0x0a,0x85,0xbe]
807 s_bcnt0_i32_b32 s5, exec_hi
808 // CHECK: [0x7f,0x0a,0x85,0xbe]
810 s_bcnt0_i32_b32 s5, 0
811 // CHECK: [0x80,0x0a,0x85,0xbe]
813 s_bcnt0_i32_b32 s5, -1
814 // CHECK: [0xc1,0x0a,0x85,0xbe]
816 s_bcnt0_i32_b32 s5, 0.5
817 // CHECK: [0xf0,0x0a,0x85,0xbe]
819 s_bcnt0_i32_b32 s5, -4.0
820 // CHECK: [0xf7,0x0a,0x85,0xbe]
822 s_bcnt0_i32_b32 s5, src_vccz
823 // CHECK: [0xfb,0x0a,0x85,0xbe]
825 s_bcnt0_i32_b32 s5, src_execz
826 // CHECK: [0xfc,0x0a,0x85,0xbe]
828 s_bcnt0_i32_b32 s5, src_scc
829 // CHECK: [0xfd,0x0a,0x85,0xbe]
831 s_bcnt0_i32_b32 s5, 0xaf123456
832 // CHECK: [0xff,0x0a,0x85,0xbe,0x56,0x34,0x12,0xaf]
834 s_bcnt0_i32_b32 s5, 0x3f717273
835 // CHECK: [0xff,0x0a,0x85,0xbe,0x73,0x72,0x71,0x3f]
837 s_bcnt0_i32_b64 s5, s[2:3]
838 // CHECK: [0x02,0x0b,0x85,0xbe]
840 s_bcnt0_i32_b64 s101, s[2:3]
841 // CHECK: [0x02,0x0b,0xe5,0xbe]
843 s_bcnt0_i32_b64 flat_scratch_lo, s[2:3]
844 // CHECK: [0x02,0x0b,0xe6,0xbe]
846 s_bcnt0_i32_b64 flat_scratch_hi, s[2:3]
847 // CHECK: [0x02,0x0b,0xe7,0xbe]
849 s_bcnt0_i32_b64 vcc_lo, s[2:3]
850 // CHECK: [0x02,0x0b,0xea,0xbe]
852 s_bcnt0_i32_b64 vcc_hi, s[2:3]
853 // CHECK: [0x02,0x0b,0xeb,0xbe]
855 s_bcnt0_i32_b64 ttmp15, s[2:3]
856 // CHECK: [0x02,0x0b,0xfb,0xbe]
858 s_bcnt0_i32_b64 m0, s[2:3]
859 // CHECK: [0x02,0x0b,0xfc,0xbe]
861 s_bcnt0_i32_b64 exec_lo, s[2:3]
862 // CHECK: [0x02,0x0b,0xfe,0xbe]
864 s_bcnt0_i32_b64 exec_hi, s[2:3]
865 // CHECK: [0x02,0x0b,0xff,0xbe]
867 s_bcnt0_i32_b64 s5, s[4:5]
868 // CHECK: [0x04,0x0b,0x85,0xbe]
870 s_bcnt0_i32_b64 s5, s[100:101]
871 // CHECK: [0x64,0x0b,0x85,0xbe]
873 s_bcnt0_i32_b64 s5, flat_scratch
874 // CHECK: [0x66,0x0b,0x85,0xbe]
876 s_bcnt0_i32_b64 s5, vcc
877 // CHECK: [0x6a,0x0b,0x85,0xbe]
879 s_bcnt0_i32_b64 s5, ttmp[14:15]
880 // CHECK: [0x7a,0x0b,0x85,0xbe]
882 s_bcnt0_i32_b64 s5, exec
883 // CHECK: [0x7e,0x0b,0x85,0xbe]
885 s_bcnt0_i32_b64 s5, 0
886 // CHECK: [0x80,0x0b,0x85,0xbe]
888 s_bcnt0_i32_b64 s5, -1
889 // CHECK: [0xc1,0x0b,0x85,0xbe]
891 s_bcnt0_i32_b64 s5, 0.5
892 // CHECK: [0xf0,0x0b,0x85,0xbe]
894 s_bcnt0_i32_b64 s5, -4.0
895 // CHECK: [0xf7,0x0b,0x85,0xbe]
897 s_bcnt0_i32_b64 s5, src_vccz
898 // CHECK: [0xfb,0x0b,0x85,0xbe]
900 s_bcnt0_i32_b64 s5, src_execz
901 // CHECK: [0xfc,0x0b,0x85,0xbe]
903 s_bcnt0_i32_b64 s5, src_scc
904 // CHECK: [0xfd,0x0b,0x85,0xbe]
906 s_bcnt0_i32_b64 s5, 0xaf123456
907 // CHECK: [0xff,0x0b,0x85,0xbe,0x56,0x34,0x12,0xaf]
909 s_bcnt0_i32_b64 s5, 0x3f717273
910 // CHECK: [0xff,0x0b,0x85,0xbe,0x73,0x72,0x71,0x3f]
912 s_bcnt1_i32_b32 s5, s1
913 // CHECK: [0x01,0x0c,0x85,0xbe]
915 s_bcnt1_i32_b32 s101, s1
916 // CHECK: [0x01,0x0c,0xe5,0xbe]
918 s_bcnt1_i32_b32 flat_scratch_lo, s1
919 // CHECK: [0x01,0x0c,0xe6,0xbe]
921 s_bcnt1_i32_b32 flat_scratch_hi, s1
922 // CHECK: [0x01,0x0c,0xe7,0xbe]
924 s_bcnt1_i32_b32 vcc_lo, s1
925 // CHECK: [0x01,0x0c,0xea,0xbe]
927 s_bcnt1_i32_b32 vcc_hi, s1
928 // CHECK: [0x01,0x0c,0xeb,0xbe]
930 s_bcnt1_i32_b32 ttmp15, s1
931 // CHECK: [0x01,0x0c,0xfb,0xbe]
933 s_bcnt1_i32_b32 m0, s1
934 // CHECK: [0x01,0x0c,0xfc,0xbe]
936 s_bcnt1_i32_b32 exec_lo, s1
937 // CHECK: [0x01,0x0c,0xfe,0xbe]
939 s_bcnt1_i32_b32 exec_hi, s1
940 // CHECK: [0x01,0x0c,0xff,0xbe]
942 s_bcnt1_i32_b32 s5, s101
943 // CHECK: [0x65,0x0c,0x85,0xbe]
945 s_bcnt1_i32_b32 s5, flat_scratch_lo
946 // CHECK: [0x66,0x0c,0x85,0xbe]
948 s_bcnt1_i32_b32 s5, flat_scratch_hi
949 // CHECK: [0x67,0x0c,0x85,0xbe]
951 s_bcnt1_i32_b32 s5, vcc_lo
952 // CHECK: [0x6a,0x0c,0x85,0xbe]
954 s_bcnt1_i32_b32 s5, vcc_hi
955 // CHECK: [0x6b,0x0c,0x85,0xbe]
957 s_bcnt1_i32_b32 s5, ttmp15
958 // CHECK: [0x7b,0x0c,0x85,0xbe]
960 s_bcnt1_i32_b32 s5, m0
961 // CHECK: [0x7c,0x0c,0x85,0xbe]
963 s_bcnt1_i32_b32 s5, exec_lo
964 // CHECK: [0x7e,0x0c,0x85,0xbe]
966 s_bcnt1_i32_b32 s5, exec_hi
967 // CHECK: [0x7f,0x0c,0x85,0xbe]
969 s_bcnt1_i32_b32 s5, 0
970 // CHECK: [0x80,0x0c,0x85,0xbe]
972 s_bcnt1_i32_b32 s5, -1
973 // CHECK: [0xc1,0x0c,0x85,0xbe]
975 s_bcnt1_i32_b32 s5, 0.5
976 // CHECK: [0xf0,0x0c,0x85,0xbe]
978 s_bcnt1_i32_b32 s5, -4.0
979 // CHECK: [0xf7,0x0c,0x85,0xbe]
981 s_bcnt1_i32_b32 s5, src_vccz
982 // CHECK: [0xfb,0x0c,0x85,0xbe]
984 s_bcnt1_i32_b32 s5, src_execz
985 // CHECK: [0xfc,0x0c,0x85,0xbe]
987 s_bcnt1_i32_b32 s5, src_scc
988 // CHECK: [0xfd,0x0c,0x85,0xbe]
990 s_bcnt1_i32_b32 s5, 0xaf123456
991 // CHECK: [0xff,0x0c,0x85,0xbe,0x56,0x34,0x12,0xaf]
993 s_bcnt1_i32_b32 s5, 0x3f717273
994 // CHECK: [0xff,0x0c,0x85,0xbe,0x73,0x72,0x71,0x3f]
996 s_bcnt1_i32_b64 s5, s[2:3]
997 // CHECK: [0x02,0x0d,0x85,0xbe]
999 s_bcnt1_i32_b64 s101, s[2:3]
1000 // CHECK: [0x02,0x0d,0xe5,0xbe]
1002 s_bcnt1_i32_b64 flat_scratch_lo, s[2:3]
1003 // CHECK: [0x02,0x0d,0xe6,0xbe]
1005 s_bcnt1_i32_b64 flat_scratch_hi, s[2:3]
1006 // CHECK: [0x02,0x0d,0xe7,0xbe]
1008 s_bcnt1_i32_b64 vcc_lo, s[2:3]
1009 // CHECK: [0x02,0x0d,0xea,0xbe]
1011 s_bcnt1_i32_b64 vcc_hi, s[2:3]
1012 // CHECK: [0x02,0x0d,0xeb,0xbe]
1014 s_bcnt1_i32_b64 ttmp15, s[2:3]
1015 // CHECK: [0x02,0x0d,0xfb,0xbe]
1017 s_bcnt1_i32_b64 m0, s[2:3]
1018 // CHECK: [0x02,0x0d,0xfc,0xbe]
1020 s_bcnt1_i32_b64 exec_lo, s[2:3]
1021 // CHECK: [0x02,0x0d,0xfe,0xbe]
1023 s_bcnt1_i32_b64 exec_hi, s[2:3]
1024 // CHECK: [0x02,0x0d,0xff,0xbe]
1026 s_bcnt1_i32_b64 s5, s[4:5]
1027 // CHECK: [0x04,0x0d,0x85,0xbe]
1029 s_bcnt1_i32_b64 s5, s[100:101]
1030 // CHECK: [0x64,0x0d,0x85,0xbe]
1032 s_bcnt1_i32_b64 s5, flat_scratch
1033 // CHECK: [0x66,0x0d,0x85,0xbe]
1035 s_bcnt1_i32_b64 s5, vcc
1036 // CHECK: [0x6a,0x0d,0x85,0xbe]
1038 s_bcnt1_i32_b64 s5, ttmp[14:15]
1039 // CHECK: [0x7a,0x0d,0x85,0xbe]
1041 s_bcnt1_i32_b64 s5, exec
1042 // CHECK: [0x7e,0x0d,0x85,0xbe]
1044 s_bcnt1_i32_b64 s5, 0
1045 // CHECK: [0x80,0x0d,0x85,0xbe]
1047 s_bcnt1_i32_b64 s5, -1
1048 // CHECK: [0xc1,0x0d,0x85,0xbe]
1050 s_bcnt1_i32_b64 s5, 0.5
1051 // CHECK: [0xf0,0x0d,0x85,0xbe]
1053 s_bcnt1_i32_b64 s5, -4.0
1054 // CHECK: [0xf7,0x0d,0x85,0xbe]
1056 s_bcnt1_i32_b64 s5, src_vccz
1057 // CHECK: [0xfb,0x0d,0x85,0xbe]
1059 s_bcnt1_i32_b64 s5, src_execz
1060 // CHECK: [0xfc,0x0d,0x85,0xbe]
1062 s_bcnt1_i32_b64 s5, src_scc
1063 // CHECK: [0xfd,0x0d,0x85,0xbe]
1065 s_bcnt1_i32_b64 s5, 0xaf123456
1066 // CHECK: [0xff,0x0d,0x85,0xbe,0x56,0x34,0x12,0xaf]
1068 s_bcnt1_i32_b64 s5, 0x3f717273
1069 // CHECK: [0xff,0x0d,0x85,0xbe,0x73,0x72,0x71,0x3f]
1071 s_ff0_i32_b32 s5, s1
1072 // CHECK: [0x01,0x0e,0x85,0xbe]
1074 s_ff0_i32_b32 s101, s1
1075 // CHECK: [0x01,0x0e,0xe5,0xbe]
1077 s_ff0_i32_b32 flat_scratch_lo, s1
1078 // CHECK: [0x01,0x0e,0xe6,0xbe]
1080 s_ff0_i32_b32 flat_scratch_hi, s1
1081 // CHECK: [0x01,0x0e,0xe7,0xbe]
1083 s_ff0_i32_b32 vcc_lo, s1
1084 // CHECK: [0x01,0x0e,0xea,0xbe]
1086 s_ff0_i32_b32 vcc_hi, s1
1087 // CHECK: [0x01,0x0e,0xeb,0xbe]
1089 s_ff0_i32_b32 ttmp15, s1
1090 // CHECK: [0x01,0x0e,0xfb,0xbe]
1092 s_ff0_i32_b32 m0, s1
1093 // CHECK: [0x01,0x0e,0xfc,0xbe]
1095 s_ff0_i32_b32 exec_lo, s1
1096 // CHECK: [0x01,0x0e,0xfe,0xbe]
1098 s_ff0_i32_b32 exec_hi, s1
1099 // CHECK: [0x01,0x0e,0xff,0xbe]
1101 s_ff0_i32_b32 s5, s101
1102 // CHECK: [0x65,0x0e,0x85,0xbe]
1104 s_ff0_i32_b32 s5, flat_scratch_lo
1105 // CHECK: [0x66,0x0e,0x85,0xbe]
1107 s_ff0_i32_b32 s5, flat_scratch_hi
1108 // CHECK: [0x67,0x0e,0x85,0xbe]
1110 s_ff0_i32_b32 s5, vcc_lo
1111 // CHECK: [0x6a,0x0e,0x85,0xbe]
1113 s_ff0_i32_b32 s5, vcc_hi
1114 // CHECK: [0x6b,0x0e,0x85,0xbe]
1116 s_ff0_i32_b32 s5, ttmp15
1117 // CHECK: [0x7b,0x0e,0x85,0xbe]
1119 s_ff0_i32_b32 s5, m0
1120 // CHECK: [0x7c,0x0e,0x85,0xbe]
1122 s_ff0_i32_b32 s5, exec_lo
1123 // CHECK: [0x7e,0x0e,0x85,0xbe]
1125 s_ff0_i32_b32 s5, exec_hi
1126 // CHECK: [0x7f,0x0e,0x85,0xbe]
1128 s_ff0_i32_b32 s5, 0
1129 // CHECK: [0x80,0x0e,0x85,0xbe]
1131 s_ff0_i32_b32 s5, -1
1132 // CHECK: [0xc1,0x0e,0x85,0xbe]
1134 s_ff0_i32_b32 s5, 0.5
1135 // CHECK: [0xf0,0x0e,0x85,0xbe]
1137 s_ff0_i32_b32 s5, -4.0
1138 // CHECK: [0xf7,0x0e,0x85,0xbe]
1140 s_ff0_i32_b32 s5, src_vccz
1141 // CHECK: [0xfb,0x0e,0x85,0xbe]
1143 s_ff0_i32_b32 s5, src_execz
1144 // CHECK: [0xfc,0x0e,0x85,0xbe]
1146 s_ff0_i32_b32 s5, src_scc
1147 // CHECK: [0xfd,0x0e,0x85,0xbe]
1149 s_ff0_i32_b32 s5, 0xaf123456
1150 // CHECK: [0xff,0x0e,0x85,0xbe,0x56,0x34,0x12,0xaf]
1152 s_ff0_i32_b32 s5, 0x3f717273
1153 // CHECK: [0xff,0x0e,0x85,0xbe,0x73,0x72,0x71,0x3f]
1155 s_ff0_i32_b64 s5, s[2:3]
1156 // CHECK: [0x02,0x0f,0x85,0xbe]
1158 s_ff0_i32_b64 s101, s[2:3]
1159 // CHECK: [0x02,0x0f,0xe5,0xbe]
1161 s_ff0_i32_b64 flat_scratch_lo, s[2:3]
1162 // CHECK: [0x02,0x0f,0xe6,0xbe]
1164 s_ff0_i32_b64 flat_scratch_hi, s[2:3]
1165 // CHECK: [0x02,0x0f,0xe7,0xbe]
1167 s_ff0_i32_b64 vcc_lo, s[2:3]
1168 // CHECK: [0x02,0x0f,0xea,0xbe]
1170 s_ff0_i32_b64 vcc_hi, s[2:3]
1171 // CHECK: [0x02,0x0f,0xeb,0xbe]
1173 s_ff0_i32_b64 ttmp15, s[2:3]
1174 // CHECK: [0x02,0x0f,0xfb,0xbe]
1176 s_ff0_i32_b64 m0, s[2:3]
1177 // CHECK: [0x02,0x0f,0xfc,0xbe]
1179 s_ff0_i32_b64 exec_lo, s[2:3]
1180 // CHECK: [0x02,0x0f,0xfe,0xbe]
1182 s_ff0_i32_b64 exec_hi, s[2:3]
1183 // CHECK: [0x02,0x0f,0xff,0xbe]
1185 s_ff0_i32_b64 s5, s[4:5]
1186 // CHECK: [0x04,0x0f,0x85,0xbe]
1188 s_ff0_i32_b64 s5, s[100:101]
1189 // CHECK: [0x64,0x0f,0x85,0xbe]
1191 s_ff0_i32_b64 s5, flat_scratch
1192 // CHECK: [0x66,0x0f,0x85,0xbe]
1194 s_ff0_i32_b64 s5, vcc
1195 // CHECK: [0x6a,0x0f,0x85,0xbe]
1197 s_ff0_i32_b64 s5, ttmp[14:15]
1198 // CHECK: [0x7a,0x0f,0x85,0xbe]
1200 s_ff0_i32_b64 s5, exec
1201 // CHECK: [0x7e,0x0f,0x85,0xbe]
1203 s_ff0_i32_b64 s5, 0
1204 // CHECK: [0x80,0x0f,0x85,0xbe]
1206 s_ff0_i32_b64 s5, -1
1207 // CHECK: [0xc1,0x0f,0x85,0xbe]
1209 s_ff0_i32_b64 s5, 0.5
1210 // CHECK: [0xf0,0x0f,0x85,0xbe]
1212 s_ff0_i32_b64 s5, -4.0
1213 // CHECK: [0xf7,0x0f,0x85,0xbe]
1215 s_ff0_i32_b64 s5, src_vccz
1216 // CHECK: [0xfb,0x0f,0x85,0xbe]
1218 s_ff0_i32_b64 s5, src_execz
1219 // CHECK: [0xfc,0x0f,0x85,0xbe]
1221 s_ff0_i32_b64 s5, src_scc
1222 // CHECK: [0xfd,0x0f,0x85,0xbe]
1224 s_ff0_i32_b64 s5, 0xaf123456
1225 // CHECK: [0xff,0x0f,0x85,0xbe,0x56,0x34,0x12,0xaf]
1227 s_ff0_i32_b64 s5, 0x3f717273
1228 // CHECK: [0xff,0x0f,0x85,0xbe,0x73,0x72,0x71,0x3f]
1230 s_ff1_i32_b32 s5, s1
1231 // CHECK: [0x01,0x10,0x85,0xbe]
1233 s_ff1_i32_b32 s101, s1
1234 // CHECK: [0x01,0x10,0xe5,0xbe]
1236 s_ff1_i32_b32 flat_scratch_lo, s1
1237 // CHECK: [0x01,0x10,0xe6,0xbe]
1239 s_ff1_i32_b32 flat_scratch_hi, s1
1240 // CHECK: [0x01,0x10,0xe7,0xbe]
1242 s_ff1_i32_b32 vcc_lo, s1
1243 // CHECK: [0x01,0x10,0xea,0xbe]
1245 s_ff1_i32_b32 vcc_hi, s1
1246 // CHECK: [0x01,0x10,0xeb,0xbe]
1248 s_ff1_i32_b32 ttmp15, s1
1249 // CHECK: [0x01,0x10,0xfb,0xbe]
1251 s_ff1_i32_b32 m0, s1
1252 // CHECK: [0x01,0x10,0xfc,0xbe]
1254 s_ff1_i32_b32 exec_lo, s1
1255 // CHECK: [0x01,0x10,0xfe,0xbe]
1257 s_ff1_i32_b32 exec_hi, s1
1258 // CHECK: [0x01,0x10,0xff,0xbe]
1260 s_ff1_i32_b32 s5, s101
1261 // CHECK: [0x65,0x10,0x85,0xbe]
1263 s_ff1_i32_b32 s5, flat_scratch_lo
1264 // CHECK: [0x66,0x10,0x85,0xbe]
1266 s_ff1_i32_b32 s5, flat_scratch_hi
1267 // CHECK: [0x67,0x10,0x85,0xbe]
1269 s_ff1_i32_b32 s5, vcc_lo
1270 // CHECK: [0x6a,0x10,0x85,0xbe]
1272 s_ff1_i32_b32 s5, vcc_hi
1273 // CHECK: [0x6b,0x10,0x85,0xbe]
1275 s_ff1_i32_b32 s5, ttmp15
1276 // CHECK: [0x7b,0x10,0x85,0xbe]
1278 s_ff1_i32_b32 s5, m0
1279 // CHECK: [0x7c,0x10,0x85,0xbe]
1281 s_ff1_i32_b32 s5, exec_lo
1282 // CHECK: [0x7e,0x10,0x85,0xbe]
1284 s_ff1_i32_b32 s5, exec_hi
1285 // CHECK: [0x7f,0x10,0x85,0xbe]
1287 s_ff1_i32_b32 s5, 0
1288 // CHECK: [0x80,0x10,0x85,0xbe]
1290 s_ff1_i32_b32 s5, -1
1291 // CHECK: [0xc1,0x10,0x85,0xbe]
1293 s_ff1_i32_b32 s5, 0.5
1294 // CHECK: [0xf0,0x10,0x85,0xbe]
1296 s_ff1_i32_b32 s5, -4.0
1297 // CHECK: [0xf7,0x10,0x85,0xbe]
1299 s_ff1_i32_b32 s5, src_vccz
1300 // CHECK: [0xfb,0x10,0x85,0xbe]
1302 s_ff1_i32_b32 s5, src_execz
1303 // CHECK: [0xfc,0x10,0x85,0xbe]
1305 s_ff1_i32_b32 s5, src_scc
1306 // CHECK: [0xfd,0x10,0x85,0xbe]
1308 s_ff1_i32_b32 s5, 0xaf123456
1309 // CHECK: [0xff,0x10,0x85,0xbe,0x56,0x34,0x12,0xaf]
1311 s_ff1_i32_b32 s5, 0x3f717273
1312 // CHECK: [0xff,0x10,0x85,0xbe,0x73,0x72,0x71,0x3f]
1314 s_ff1_i32_b64 s5, s[2:3]
1315 // CHECK: [0x02,0x11,0x85,0xbe]
1317 s_ff1_i32_b64 s101, s[2:3]
1318 // CHECK: [0x02,0x11,0xe5,0xbe]
1320 s_ff1_i32_b64 flat_scratch_lo, s[2:3]
1321 // CHECK: [0x02,0x11,0xe6,0xbe]
1323 s_ff1_i32_b64 flat_scratch_hi, s[2:3]
1324 // CHECK: [0x02,0x11,0xe7,0xbe]
1326 s_ff1_i32_b64 vcc_lo, s[2:3]
1327 // CHECK: [0x02,0x11,0xea,0xbe]
1329 s_ff1_i32_b64 vcc_hi, s[2:3]
1330 // CHECK: [0x02,0x11,0xeb,0xbe]
1332 s_ff1_i32_b64 ttmp15, s[2:3]
1333 // CHECK: [0x02,0x11,0xfb,0xbe]
1335 s_ff1_i32_b64 m0, s[2:3]
1336 // CHECK: [0x02,0x11,0xfc,0xbe]
1338 s_ff1_i32_b64 exec_lo, s[2:3]
1339 // CHECK: [0x02,0x11,0xfe,0xbe]
1341 s_ff1_i32_b64 exec_hi, s[2:3]
1342 // CHECK: [0x02,0x11,0xff,0xbe]
1344 s_ff1_i32_b64 s5, s[4:5]
1345 // CHECK: [0x04,0x11,0x85,0xbe]
1347 s_ff1_i32_b64 s5, s[100:101]
1348 // CHECK: [0x64,0x11,0x85,0xbe]
1350 s_ff1_i32_b64 s5, flat_scratch
1351 // CHECK: [0x66,0x11,0x85,0xbe]
1353 s_ff1_i32_b64 s5, vcc
1354 // CHECK: [0x6a,0x11,0x85,0xbe]
1356 s_ff1_i32_b64 s5, ttmp[14:15]
1357 // CHECK: [0x7a,0x11,0x85,0xbe]
1359 s_ff1_i32_b64 s5, exec
1360 // CHECK: [0x7e,0x11,0x85,0xbe]
1362 s_ff1_i32_b64 s5, 0
1363 // CHECK: [0x80,0x11,0x85,0xbe]
1365 s_ff1_i32_b64 s5, -1
1366 // CHECK: [0xc1,0x11,0x85,0xbe]
1368 s_ff1_i32_b64 s5, 0.5
1369 // CHECK: [0xf0,0x11,0x85,0xbe]
1371 s_ff1_i32_b64 s5, -4.0
1372 // CHECK: [0xf7,0x11,0x85,0xbe]
1374 s_ff1_i32_b64 s5, src_vccz
1375 // CHECK: [0xfb,0x11,0x85,0xbe]
1377 s_ff1_i32_b64 s5, src_execz
1378 // CHECK: [0xfc,0x11,0x85,0xbe]
1380 s_ff1_i32_b64 s5, src_scc
1381 // CHECK: [0xfd,0x11,0x85,0xbe]
1383 s_ff1_i32_b64 s5, 0xaf123456
1384 // CHECK: [0xff,0x11,0x85,0xbe,0x56,0x34,0x12,0xaf]
1386 s_ff1_i32_b64 s5, 0x3f717273
1387 // CHECK: [0xff,0x11,0x85,0xbe,0x73,0x72,0x71,0x3f]
1389 s_flbit_i32_b32 s5, s1
1390 // CHECK: [0x01,0x12,0x85,0xbe]
1392 s_flbit_i32_b32 s101, s1
1393 // CHECK: [0x01,0x12,0xe5,0xbe]
1395 s_flbit_i32_b32 flat_scratch_lo, s1
1396 // CHECK: [0x01,0x12,0xe6,0xbe]
1398 s_flbit_i32_b32 flat_scratch_hi, s1
1399 // CHECK: [0x01,0x12,0xe7,0xbe]
1401 s_flbit_i32_b32 vcc_lo, s1
1402 // CHECK: [0x01,0x12,0xea,0xbe]
1404 s_flbit_i32_b32 vcc_hi, s1
1405 // CHECK: [0x01,0x12,0xeb,0xbe]
1407 s_flbit_i32_b32 ttmp15, s1
1408 // CHECK: [0x01,0x12,0xfb,0xbe]
1410 s_flbit_i32_b32 m0, s1
1411 // CHECK: [0x01,0x12,0xfc,0xbe]
1413 s_flbit_i32_b32 exec_lo, s1
1414 // CHECK: [0x01,0x12,0xfe,0xbe]
1416 s_flbit_i32_b32 exec_hi, s1
1417 // CHECK: [0x01,0x12,0xff,0xbe]
1419 s_flbit_i32_b32 s5, s101
1420 // CHECK: [0x65,0x12,0x85,0xbe]
1422 s_flbit_i32_b32 s5, flat_scratch_lo
1423 // CHECK: [0x66,0x12,0x85,0xbe]
1425 s_flbit_i32_b32 s5, flat_scratch_hi
1426 // CHECK: [0x67,0x12,0x85,0xbe]
1428 s_flbit_i32_b32 s5, vcc_lo
1429 // CHECK: [0x6a,0x12,0x85,0xbe]
1431 s_flbit_i32_b32 s5, vcc_hi
1432 // CHECK: [0x6b,0x12,0x85,0xbe]
1434 s_flbit_i32_b32 s5, ttmp15
1435 // CHECK: [0x7b,0x12,0x85,0xbe]
1437 s_flbit_i32_b32 s5, m0
1438 // CHECK: [0x7c,0x12,0x85,0xbe]
1440 s_flbit_i32_b32 s5, exec_lo
1441 // CHECK: [0x7e,0x12,0x85,0xbe]
1443 s_flbit_i32_b32 s5, exec_hi
1444 // CHECK: [0x7f,0x12,0x85,0xbe]
1446 s_flbit_i32_b32 s5, 0
1447 // CHECK: [0x80,0x12,0x85,0xbe]
1449 s_flbit_i32_b32 s5, -1
1450 // CHECK: [0xc1,0x12,0x85,0xbe]
1452 s_flbit_i32_b32 s5, 0.5
1453 // CHECK: [0xf0,0x12,0x85,0xbe]
1455 s_flbit_i32_b32 s5, -4.0
1456 // CHECK: [0xf7,0x12,0x85,0xbe]
1458 s_flbit_i32_b32 s5, src_vccz
1459 // CHECK: [0xfb,0x12,0x85,0xbe]
1461 s_flbit_i32_b32 s5, src_execz
1462 // CHECK: [0xfc,0x12,0x85,0xbe]
1464 s_flbit_i32_b32 s5, src_scc
1465 // CHECK: [0xfd,0x12,0x85,0xbe]
1467 s_flbit_i32_b32 s5, 0xaf123456
1468 // CHECK: [0xff,0x12,0x85,0xbe,0x56,0x34,0x12,0xaf]
1470 s_flbit_i32_b32 s5, 0x3f717273
1471 // CHECK: [0xff,0x12,0x85,0xbe,0x73,0x72,0x71,0x3f]
1473 s_flbit_i32_b64 s5, s[2:3]
1474 // CHECK: [0x02,0x13,0x85,0xbe]
1476 s_flbit_i32_b64 s101, s[2:3]
1477 // CHECK: [0x02,0x13,0xe5,0xbe]
1479 s_flbit_i32_b64 flat_scratch_lo, s[2:3]
1480 // CHECK: [0x02,0x13,0xe6,0xbe]
1482 s_flbit_i32_b64 flat_scratch_hi, s[2:3]
1483 // CHECK: [0x02,0x13,0xe7,0xbe]
1485 s_flbit_i32_b64 vcc_lo, s[2:3]
1486 // CHECK: [0x02,0x13,0xea,0xbe]
1488 s_flbit_i32_b64 vcc_hi, s[2:3]
1489 // CHECK: [0x02,0x13,0xeb,0xbe]
1491 s_flbit_i32_b64 ttmp15, s[2:3]
1492 // CHECK: [0x02,0x13,0xfb,0xbe]
1494 s_flbit_i32_b64 m0, s[2:3]
1495 // CHECK: [0x02,0x13,0xfc,0xbe]
1497 s_flbit_i32_b64 exec_lo, s[2:3]
1498 // CHECK: [0x02,0x13,0xfe,0xbe]
1500 s_flbit_i32_b64 exec_hi, s[2:3]
1501 // CHECK: [0x02,0x13,0xff,0xbe]
1503 s_flbit_i32_b64 s5, s[4:5]
1504 // CHECK: [0x04,0x13,0x85,0xbe]
1506 s_flbit_i32_b64 s5, s[100:101]
1507 // CHECK: [0x64,0x13,0x85,0xbe]
1509 s_flbit_i32_b64 s5, flat_scratch
1510 // CHECK: [0x66,0x13,0x85,0xbe]
1512 s_flbit_i32_b64 s5, vcc
1513 // CHECK: [0x6a,0x13,0x85,0xbe]
1515 s_flbit_i32_b64 s5, ttmp[14:15]
1516 // CHECK: [0x7a,0x13,0x85,0xbe]
1518 s_flbit_i32_b64 s5, exec
1519 // CHECK: [0x7e,0x13,0x85,0xbe]
1521 s_flbit_i32_b64 s5, 0
1522 // CHECK: [0x80,0x13,0x85,0xbe]
1524 s_flbit_i32_b64 s5, -1
1525 // CHECK: [0xc1,0x13,0x85,0xbe]
1527 s_flbit_i32_b64 s5, 0.5
1528 // CHECK: [0xf0,0x13,0x85,0xbe]
1530 s_flbit_i32_b64 s5, -4.0
1531 // CHECK: [0xf7,0x13,0x85,0xbe]
1533 s_flbit_i32_b64 s5, src_vccz
1534 // CHECK: [0xfb,0x13,0x85,0xbe]
1536 s_flbit_i32_b64 s5, src_execz
1537 // CHECK: [0xfc,0x13,0x85,0xbe]
1539 s_flbit_i32_b64 s5, src_scc
1540 // CHECK: [0xfd,0x13,0x85,0xbe]
1542 s_flbit_i32_b64 s5, 0xaf123456
1543 // CHECK: [0xff,0x13,0x85,0xbe,0x56,0x34,0x12,0xaf]
1545 s_flbit_i32_b64 s5, 0x3f717273
1546 // CHECK: [0xff,0x13,0x85,0xbe,0x73,0x72,0x71,0x3f]
1548 s_flbit_i32 s5, s1
1549 // CHECK: [0x01,0x14,0x85,0xbe]
1551 s_flbit_i32 s101, s1
1552 // CHECK: [0x01,0x14,0xe5,0xbe]
1554 s_flbit_i32 flat_scratch_lo, s1
1555 // CHECK: [0x01,0x14,0xe6,0xbe]
1557 s_flbit_i32 flat_scratch_hi, s1
1558 // CHECK: [0x01,0x14,0xe7,0xbe]
1560 s_flbit_i32 vcc_lo, s1
1561 // CHECK: [0x01,0x14,0xea,0xbe]
1563 s_flbit_i32 vcc_hi, s1
1564 // CHECK: [0x01,0x14,0xeb,0xbe]
1566 s_flbit_i32 ttmp15, s1
1567 // CHECK: [0x01,0x14,0xfb,0xbe]
1569 s_flbit_i32 m0, s1
1570 // CHECK: [0x01,0x14,0xfc,0xbe]
1572 s_flbit_i32 exec_lo, s1
1573 // CHECK: [0x01,0x14,0xfe,0xbe]
1575 s_flbit_i32 exec_hi, s1
1576 // CHECK: [0x01,0x14,0xff,0xbe]
1578 s_flbit_i32 s5, s101
1579 // CHECK: [0x65,0x14,0x85,0xbe]
1581 s_flbit_i32 s5, flat_scratch_lo
1582 // CHECK: [0x66,0x14,0x85,0xbe]
1584 s_flbit_i32 s5, flat_scratch_hi
1585 // CHECK: [0x67,0x14,0x85,0xbe]
1587 s_flbit_i32 s5, vcc_lo
1588 // CHECK: [0x6a,0x14,0x85,0xbe]
1590 s_flbit_i32 s5, vcc_hi
1591 // CHECK: [0x6b,0x14,0x85,0xbe]
1593 s_flbit_i32 s5, ttmp15
1594 // CHECK: [0x7b,0x14,0x85,0xbe]
1596 s_flbit_i32 s5, m0
1597 // CHECK: [0x7c,0x14,0x85,0xbe]
1599 s_flbit_i32 s5, exec_lo
1600 // CHECK: [0x7e,0x14,0x85,0xbe]
1602 s_flbit_i32 s5, exec_hi
1603 // CHECK: [0x7f,0x14,0x85,0xbe]
1605 s_flbit_i32 s5, 0
1606 // CHECK: [0x80,0x14,0x85,0xbe]
1608 s_flbit_i32 s5, -1
1609 // CHECK: [0xc1,0x14,0x85,0xbe]
1611 s_flbit_i32 s5, 0.5
1612 // CHECK: [0xf0,0x14,0x85,0xbe]
1614 s_flbit_i32 s5, -4.0
1615 // CHECK: [0xf7,0x14,0x85,0xbe]
1617 s_flbit_i32 s5, src_vccz
1618 // CHECK: [0xfb,0x14,0x85,0xbe]
1620 s_flbit_i32 s5, src_execz
1621 // CHECK: [0xfc,0x14,0x85,0xbe]
1623 s_flbit_i32 s5, src_scc
1624 // CHECK: [0xfd,0x14,0x85,0xbe]
1626 s_flbit_i32 s5, 0xaf123456
1627 // CHECK: [0xff,0x14,0x85,0xbe,0x56,0x34,0x12,0xaf]
1629 s_flbit_i32 s5, 0x3f717273
1630 // CHECK: [0xff,0x14,0x85,0xbe,0x73,0x72,0x71,0x3f]
1632 s_flbit_i32_i64 s5, s[2:3]
1633 // CHECK: [0x02,0x15,0x85,0xbe]
1635 s_flbit_i32_i64 s101, s[2:3]
1636 // CHECK: [0x02,0x15,0xe5,0xbe]
1638 s_flbit_i32_i64 flat_scratch_lo, s[2:3]
1639 // CHECK: [0x02,0x15,0xe6,0xbe]
1641 s_flbit_i32_i64 flat_scratch_hi, s[2:3]
1642 // CHECK: [0x02,0x15,0xe7,0xbe]
1644 s_flbit_i32_i64 vcc_lo, s[2:3]
1645 // CHECK: [0x02,0x15,0xea,0xbe]
1647 s_flbit_i32_i64 vcc_hi, s[2:3]
1648 // CHECK: [0x02,0x15,0xeb,0xbe]
1650 s_flbit_i32_i64 ttmp15, s[2:3]
1651 // CHECK: [0x02,0x15,0xfb,0xbe]
1653 s_flbit_i32_i64 m0, s[2:3]
1654 // CHECK: [0x02,0x15,0xfc,0xbe]
1656 s_flbit_i32_i64 exec_lo, s[2:3]
1657 // CHECK: [0x02,0x15,0xfe,0xbe]
1659 s_flbit_i32_i64 exec_hi, s[2:3]
1660 // CHECK: [0x02,0x15,0xff,0xbe]
1662 s_flbit_i32_i64 s5, s[4:5]
1663 // CHECK: [0x04,0x15,0x85,0xbe]
1665 s_flbit_i32_i64 s5, s[100:101]
1666 // CHECK: [0x64,0x15,0x85,0xbe]
1668 s_flbit_i32_i64 s5, flat_scratch
1669 // CHECK: [0x66,0x15,0x85,0xbe]
1671 s_flbit_i32_i64 s5, vcc
1672 // CHECK: [0x6a,0x15,0x85,0xbe]
1674 s_flbit_i32_i64 s5, ttmp[14:15]
1675 // CHECK: [0x7a,0x15,0x85,0xbe]
1677 s_flbit_i32_i64 s5, exec
1678 // CHECK: [0x7e,0x15,0x85,0xbe]
1680 s_flbit_i32_i64 s5, 0
1681 // CHECK: [0x80,0x15,0x85,0xbe]
1683 s_flbit_i32_i64 s5, -1
1684 // CHECK: [0xc1,0x15,0x85,0xbe]
1686 s_flbit_i32_i64 s5, 0.5
1687 // CHECK: [0xf0,0x15,0x85,0xbe]
1689 s_flbit_i32_i64 s5, -4.0
1690 // CHECK: [0xf7,0x15,0x85,0xbe]
1692 s_flbit_i32_i64 s5, src_vccz
1693 // CHECK: [0xfb,0x15,0x85,0xbe]
1695 s_flbit_i32_i64 s5, src_execz
1696 // CHECK: [0xfc,0x15,0x85,0xbe]
1698 s_flbit_i32_i64 s5, src_scc
1699 // CHECK: [0xfd,0x15,0x85,0xbe]
1701 s_flbit_i32_i64 s5, 0xaf123456
1702 // CHECK: [0xff,0x15,0x85,0xbe,0x56,0x34,0x12,0xaf]
1704 s_flbit_i32_i64 s5, 0x3f717273
1705 // CHECK: [0xff,0x15,0x85,0xbe,0x73,0x72,0x71,0x3f]
1707 s_sext_i32_i8 s5, s1
1708 // CHECK: [0x01,0x16,0x85,0xbe]
1710 s_sext_i32_i8 s101, s1
1711 // CHECK: [0x01,0x16,0xe5,0xbe]
1713 s_sext_i32_i8 flat_scratch_lo, s1
1714 // CHECK: [0x01,0x16,0xe6,0xbe]
1716 s_sext_i32_i8 flat_scratch_hi, s1
1717 // CHECK: [0x01,0x16,0xe7,0xbe]
1719 s_sext_i32_i8 vcc_lo, s1
1720 // CHECK: [0x01,0x16,0xea,0xbe]
1722 s_sext_i32_i8 vcc_hi, s1
1723 // CHECK: [0x01,0x16,0xeb,0xbe]
1725 s_sext_i32_i8 ttmp15, s1
1726 // CHECK: [0x01,0x16,0xfb,0xbe]
1728 s_sext_i32_i8 m0, s1
1729 // CHECK: [0x01,0x16,0xfc,0xbe]
1731 s_sext_i32_i8 exec_lo, s1
1732 // CHECK: [0x01,0x16,0xfe,0xbe]
1734 s_sext_i32_i8 exec_hi, s1
1735 // CHECK: [0x01,0x16,0xff,0xbe]
1737 s_sext_i32_i8 s5, s101
1738 // CHECK: [0x65,0x16,0x85,0xbe]
1740 s_sext_i32_i8 s5, flat_scratch_lo
1741 // CHECK: [0x66,0x16,0x85,0xbe]
1743 s_sext_i32_i8 s5, flat_scratch_hi
1744 // CHECK: [0x67,0x16,0x85,0xbe]
1746 s_sext_i32_i8 s5, vcc_lo
1747 // CHECK: [0x6a,0x16,0x85,0xbe]
1749 s_sext_i32_i8 s5, vcc_hi
1750 // CHECK: [0x6b,0x16,0x85,0xbe]
1752 s_sext_i32_i8 s5, ttmp15
1753 // CHECK: [0x7b,0x16,0x85,0xbe]
1755 s_sext_i32_i8 s5, m0
1756 // CHECK: [0x7c,0x16,0x85,0xbe]
1758 s_sext_i32_i8 s5, exec_lo
1759 // CHECK: [0x7e,0x16,0x85,0xbe]
1761 s_sext_i32_i8 s5, exec_hi
1762 // CHECK: [0x7f,0x16,0x85,0xbe]
1764 s_sext_i32_i8 s5, 0
1765 // CHECK: [0x80,0x16,0x85,0xbe]
1767 s_sext_i32_i8 s5, -1
1768 // CHECK: [0xc1,0x16,0x85,0xbe]
1770 s_sext_i32_i8 s5, 0.5
1771 // CHECK: [0xf0,0x16,0x85,0xbe]
1773 s_sext_i32_i8 s5, -4.0
1774 // CHECK: [0xf7,0x16,0x85,0xbe]
1776 s_sext_i32_i8 s5, src_vccz
1777 // CHECK: [0xfb,0x16,0x85,0xbe]
1779 s_sext_i32_i8 s5, src_execz
1780 // CHECK: [0xfc,0x16,0x85,0xbe]
1782 s_sext_i32_i8 s5, src_scc
1783 // CHECK: [0xfd,0x16,0x85,0xbe]
1785 s_sext_i32_i8 s5, 0x71
1786 // CHECK: [0xff,0x16,0x85,0xbe,0x71,0x00,0x00,0x00]
1788 s_sext_i32_i8 s5, 0xf0
1789 // CHECK: [0xff,0x16,0x85,0xbe,0xf0,0x00,0x00,0x00]
1791 s_sext_i32_i16 s5, s1
1792 // CHECK: [0x01,0x17,0x85,0xbe]
1794 s_sext_i32_i16 s101, s1
1795 // CHECK: [0x01,0x17,0xe5,0xbe]
1797 s_sext_i32_i16 flat_scratch_lo, s1
1798 // CHECK: [0x01,0x17,0xe6,0xbe]
1800 s_sext_i32_i16 flat_scratch_hi, s1
1801 // CHECK: [0x01,0x17,0xe7,0xbe]
1803 s_sext_i32_i16 vcc_lo, s1
1804 // CHECK: [0x01,0x17,0xea,0xbe]
1806 s_sext_i32_i16 vcc_hi, s1
1807 // CHECK: [0x01,0x17,0xeb,0xbe]
1809 s_sext_i32_i16 ttmp15, s1
1810 // CHECK: [0x01,0x17,0xfb,0xbe]
1812 s_sext_i32_i16 m0, s1
1813 // CHECK: [0x01,0x17,0xfc,0xbe]
1815 s_sext_i32_i16 exec_lo, s1
1816 // CHECK: [0x01,0x17,0xfe,0xbe]
1818 s_sext_i32_i16 exec_hi, s1
1819 // CHECK: [0x01,0x17,0xff,0xbe]
1821 s_sext_i32_i16 s5, s101
1822 // CHECK: [0x65,0x17,0x85,0xbe]
1824 s_sext_i32_i16 s5, flat_scratch_lo
1825 // CHECK: [0x66,0x17,0x85,0xbe]
1827 s_sext_i32_i16 s5, flat_scratch_hi
1828 // CHECK: [0x67,0x17,0x85,0xbe]
1830 s_sext_i32_i16 s5, vcc_lo
1831 // CHECK: [0x6a,0x17,0x85,0xbe]
1833 s_sext_i32_i16 s5, vcc_hi
1834 // CHECK: [0x6b,0x17,0x85,0xbe]
1836 s_sext_i32_i16 s5, ttmp15
1837 // CHECK: [0x7b,0x17,0x85,0xbe]
1839 s_sext_i32_i16 s5, m0
1840 // CHECK: [0x7c,0x17,0x85,0xbe]
1842 s_sext_i32_i16 s5, exec_lo
1843 // CHECK: [0x7e,0x17,0x85,0xbe]
1845 s_sext_i32_i16 s5, exec_hi
1846 // CHECK: [0x7f,0x17,0x85,0xbe]
1848 s_sext_i32_i16 s5, 0
1849 // CHECK: [0x80,0x17,0x85,0xbe]
1851 s_sext_i32_i16 s5, -1
1852 // CHECK: [0xc1,0x17,0x85,0xbe]
1854 s_sext_i32_i16 s5, 0.5
1855 // CHECK: [0xf0,0x17,0x85,0xbe]
1857 s_sext_i32_i16 s5, -4.0
1858 // CHECK: [0xf7,0x17,0x85,0xbe]
1860 s_sext_i32_i16 s5, src_vccz
1861 // CHECK: [0xfb,0x17,0x85,0xbe]
1863 s_sext_i32_i16 s5, src_execz
1864 // CHECK: [0xfc,0x17,0x85,0xbe]
1866 s_sext_i32_i16 s5, src_scc
1867 // CHECK: [0xfd,0x17,0x85,0xbe]
1869 s_sext_i32_i16 s5, 0xfe0b
1870 // CHECK: [0xff,0x17,0x85,0xbe,0x0b,0xfe,0x00,0x00]
1872 s_sext_i32_i16 s5, 0x3456
1873 // CHECK: [0xff,0x17,0x85,0xbe,0x56,0x34,0x00,0x00]
1875 s_bitset0_b32 s5, s1
1876 // CHECK: [0x01,0x18,0x85,0xbe]
1878 s_bitset0_b32 s101, s1
1879 // CHECK: [0x01,0x18,0xe5,0xbe]
1881 s_bitset0_b32 flat_scratch_lo, s1
1882 // CHECK: [0x01,0x18,0xe6,0xbe]
1884 s_bitset0_b32 flat_scratch_hi, s1
1885 // CHECK: [0x01,0x18,0xe7,0xbe]
1887 s_bitset0_b32 vcc_lo, s1
1888 // CHECK: [0x01,0x18,0xea,0xbe]
1890 s_bitset0_b32 vcc_hi, s1
1891 // CHECK: [0x01,0x18,0xeb,0xbe]
1893 s_bitset0_b32 ttmp15, s1
1894 // CHECK: [0x01,0x18,0xfb,0xbe]
1896 s_bitset0_b32 m0, s1
1897 // CHECK: [0x01,0x18,0xfc,0xbe]
1899 s_bitset0_b32 exec_lo, s1
1900 // CHECK: [0x01,0x18,0xfe,0xbe]
1902 s_bitset0_b32 exec_hi, s1
1903 // CHECK: [0x01,0x18,0xff,0xbe]
1905 s_bitset0_b32 s5, s101
1906 // CHECK: [0x65,0x18,0x85,0xbe]
1908 s_bitset0_b32 s5, flat_scratch_lo
1909 // CHECK: [0x66,0x18,0x85,0xbe]
1911 s_bitset0_b32 s5, flat_scratch_hi
1912 // CHECK: [0x67,0x18,0x85,0xbe]
1914 s_bitset0_b32 s5, vcc_lo
1915 // CHECK: [0x6a,0x18,0x85,0xbe]
1917 s_bitset0_b32 s5, vcc_hi
1918 // CHECK: [0x6b,0x18,0x85,0xbe]
1920 s_bitset0_b32 s5, ttmp15
1921 // CHECK: [0x7b,0x18,0x85,0xbe]
1923 s_bitset0_b32 s5, m0
1924 // CHECK: [0x7c,0x18,0x85,0xbe]
1926 s_bitset0_b32 s5, exec_lo
1927 // CHECK: [0x7e,0x18,0x85,0xbe]
1929 s_bitset0_b32 s5, exec_hi
1930 // CHECK: [0x7f,0x18,0x85,0xbe]
1932 s_bitset0_b32 s5, 0
1933 // CHECK: [0x80,0x18,0x85,0xbe]
1935 s_bitset0_b32 s5, -1
1936 // CHECK: [0xc1,0x18,0x85,0xbe]
1938 s_bitset0_b32 s5, 0.5
1939 // CHECK: [0xf0,0x18,0x85,0xbe]
1941 s_bitset0_b32 s5, -4.0
1942 // CHECK: [0xf7,0x18,0x85,0xbe]
1944 s_bitset0_b32 s5, src_vccz
1945 // CHECK: [0xfb,0x18,0x85,0xbe]
1947 s_bitset0_b32 s5, src_execz
1948 // CHECK: [0xfc,0x18,0x85,0xbe]
1950 s_bitset0_b32 s5, src_scc
1951 // CHECK: [0xfd,0x18,0x85,0xbe]
1953 s_bitset0_b32 s5, 0xaf123456
1954 // CHECK: [0xff,0x18,0x85,0xbe,0x56,0x34,0x12,0xaf]
1956 s_bitset0_b32 s5, 0x3f717273
1957 // CHECK: [0xff,0x18,0x85,0xbe,0x73,0x72,0x71,0x3f]
1959 s_bitset0_b64 s[10:11], s1
1960 // CHECK: [0x01,0x19,0x8a,0xbe]
1962 s_bitset0_b64 s[12:13], s1
1963 // CHECK: [0x01,0x19,0x8c,0xbe]
1965 s_bitset0_b64 s[100:101], s1
1966 // CHECK: [0x01,0x19,0xe4,0xbe]
1968 s_bitset0_b64 flat_scratch, s1
1969 // CHECK: [0x01,0x19,0xe6,0xbe]
1971 s_bitset0_b64 vcc, s1
1972 // CHECK: [0x01,0x19,0xea,0xbe]
1974 s_bitset0_b64 ttmp[14:15], s1
1975 // CHECK: [0x01,0x19,0xfa,0xbe]
1977 s_bitset0_b64 exec, s1
1978 // CHECK: [0x01,0x19,0xfe,0xbe]
1980 s_bitset0_b64 s[10:11], s101
1981 // CHECK: [0x65,0x19,0x8a,0xbe]
1983 s_bitset0_b64 s[10:11], flat_scratch_lo
1984 // CHECK: [0x66,0x19,0x8a,0xbe]
1986 s_bitset0_b64 s[10:11], flat_scratch_hi
1987 // CHECK: [0x67,0x19,0x8a,0xbe]
1989 s_bitset0_b64 s[10:11], vcc_lo
1990 // CHECK: [0x6a,0x19,0x8a,0xbe]
1992 s_bitset0_b64 s[10:11], vcc_hi
1993 // CHECK: [0x6b,0x19,0x8a,0xbe]
1995 s_bitset0_b64 s[10:11], ttmp15
1996 // CHECK: [0x7b,0x19,0x8a,0xbe]
1998 s_bitset0_b64 s[10:11], m0
1999 // CHECK: [0x7c,0x19,0x8a,0xbe]
2001 s_bitset0_b64 s[10:11], exec_lo
2002 // CHECK: [0x7e,0x19,0x8a,0xbe]
2004 s_bitset0_b64 s[10:11], exec_hi
2005 // CHECK: [0x7f,0x19,0x8a,0xbe]
2007 s_bitset0_b64 s[10:11], 0
2008 // CHECK: [0x80,0x19,0x8a,0xbe]
2010 s_bitset0_b64 s[10:11], -1
2011 // CHECK: [0xc1,0x19,0x8a,0xbe]
2013 s_bitset0_b64 s[10:11], 0.5
2014 // CHECK: [0xf0,0x19,0x8a,0xbe]
2016 s_bitset0_b64 s[10:11], -4.0
2017 // CHECK: [0xf7,0x19,0x8a,0xbe]
2019 s_bitset0_b64 s[10:11], src_vccz
2020 // CHECK: [0xfb,0x19,0x8a,0xbe]
2022 s_bitset0_b64 s[10:11], src_execz
2023 // CHECK: [0xfc,0x19,0x8a,0xbe]
2025 s_bitset0_b64 s[10:11], src_scc
2026 // CHECK: [0xfd,0x19,0x8a,0xbe]
2028 s_bitset0_b64 s[10:11], 0xaf123456
2029 // CHECK: [0xff,0x19,0x8a,0xbe,0x56,0x34,0x12,0xaf]
2031 s_bitset0_b64 s[10:11], 0x3f717273
2032 // CHECK: [0xff,0x19,0x8a,0xbe,0x73,0x72,0x71,0x3f]
2034 s_bitset1_b32 s5, s1
2035 // CHECK: [0x01,0x1a,0x85,0xbe]
2037 s_bitset1_b32 s101, s1
2038 // CHECK: [0x01,0x1a,0xe5,0xbe]
2040 s_bitset1_b32 flat_scratch_lo, s1
2041 // CHECK: [0x01,0x1a,0xe6,0xbe]
2043 s_bitset1_b32 flat_scratch_hi, s1
2044 // CHECK: [0x01,0x1a,0xe7,0xbe]
2046 s_bitset1_b32 vcc_lo, s1
2047 // CHECK: [0x01,0x1a,0xea,0xbe]
2049 s_bitset1_b32 vcc_hi, s1
2050 // CHECK: [0x01,0x1a,0xeb,0xbe]
2052 s_bitset1_b32 ttmp15, s1
2053 // CHECK: [0x01,0x1a,0xfb,0xbe]
2055 s_bitset1_b32 m0, s1
2056 // CHECK: [0x01,0x1a,0xfc,0xbe]
2058 s_bitset1_b32 exec_lo, s1
2059 // CHECK: [0x01,0x1a,0xfe,0xbe]
2061 s_bitset1_b32 exec_hi, s1
2062 // CHECK: [0x01,0x1a,0xff,0xbe]
2064 s_bitset1_b32 s5, s101
2065 // CHECK: [0x65,0x1a,0x85,0xbe]
2067 s_bitset1_b32 s5, flat_scratch_lo
2068 // CHECK: [0x66,0x1a,0x85,0xbe]
2070 s_bitset1_b32 s5, flat_scratch_hi
2071 // CHECK: [0x67,0x1a,0x85,0xbe]
2073 s_bitset1_b32 s5, vcc_lo
2074 // CHECK: [0x6a,0x1a,0x85,0xbe]
2076 s_bitset1_b32 s5, vcc_hi
2077 // CHECK: [0x6b,0x1a,0x85,0xbe]
2079 s_bitset1_b32 s5, ttmp15
2080 // CHECK: [0x7b,0x1a,0x85,0xbe]
2082 s_bitset1_b32 s5, m0
2083 // CHECK: [0x7c,0x1a,0x85,0xbe]
2085 s_bitset1_b32 s5, exec_lo
2086 // CHECK: [0x7e,0x1a,0x85,0xbe]
2088 s_bitset1_b32 s5, exec_hi
2089 // CHECK: [0x7f,0x1a,0x85,0xbe]
2091 s_bitset1_b32 s5, 0
2092 // CHECK: [0x80,0x1a,0x85,0xbe]
2094 s_bitset1_b32 s5, -1
2095 // CHECK: [0xc1,0x1a,0x85,0xbe]
2097 s_bitset1_b32 s5, 0.5
2098 // CHECK: [0xf0,0x1a,0x85,0xbe]
2100 s_bitset1_b32 s5, -4.0
2101 // CHECK: [0xf7,0x1a,0x85,0xbe]
2103 s_bitset1_b32 s5, src_vccz
2104 // CHECK: [0xfb,0x1a,0x85,0xbe]
2106 s_bitset1_b32 s5, src_execz
2107 // CHECK: [0xfc,0x1a,0x85,0xbe]
2109 s_bitset1_b32 s5, src_scc
2110 // CHECK: [0xfd,0x1a,0x85,0xbe]
2112 s_bitset1_b32 s5, 0xaf123456
2113 // CHECK: [0xff,0x1a,0x85,0xbe,0x56,0x34,0x12,0xaf]
2115 s_bitset1_b32 s5, 0x3f717273
2116 // CHECK: [0xff,0x1a,0x85,0xbe,0x73,0x72,0x71,0x3f]
2118 s_bitset1_b64 s[10:11], s1
2119 // CHECK: [0x01,0x1b,0x8a,0xbe]
2121 s_bitset1_b64 s[12:13], s1
2122 // CHECK: [0x01,0x1b,0x8c,0xbe]
2124 s_bitset1_b64 s[100:101], s1
2125 // CHECK: [0x01,0x1b,0xe4,0xbe]
2127 s_bitset1_b64 flat_scratch, s1
2128 // CHECK: [0x01,0x1b,0xe6,0xbe]
2130 s_bitset1_b64 vcc, s1
2131 // CHECK: [0x01,0x1b,0xea,0xbe]
2133 s_bitset1_b64 ttmp[14:15], s1
2134 // CHECK: [0x01,0x1b,0xfa,0xbe]
2136 s_bitset1_b64 exec, s1
2137 // CHECK: [0x01,0x1b,0xfe,0xbe]
2139 s_bitset1_b64 s[10:11], s101
2140 // CHECK: [0x65,0x1b,0x8a,0xbe]
2142 s_bitset1_b64 s[10:11], flat_scratch_lo
2143 // CHECK: [0x66,0x1b,0x8a,0xbe]
2145 s_bitset1_b64 s[10:11], flat_scratch_hi
2146 // CHECK: [0x67,0x1b,0x8a,0xbe]
2148 s_bitset1_b64 s[10:11], vcc_lo
2149 // CHECK: [0x6a,0x1b,0x8a,0xbe]
2151 s_bitset1_b64 s[10:11], vcc_hi
2152 // CHECK: [0x6b,0x1b,0x8a,0xbe]
2154 s_bitset1_b64 s[10:11], ttmp15
2155 // CHECK: [0x7b,0x1b,0x8a,0xbe]
2157 s_bitset1_b64 s[10:11], m0
2158 // CHECK: [0x7c,0x1b,0x8a,0xbe]
2160 s_bitset1_b64 s[10:11], exec_lo
2161 // CHECK: [0x7e,0x1b,0x8a,0xbe]
2163 s_bitset1_b64 s[10:11], exec_hi
2164 // CHECK: [0x7f,0x1b,0x8a,0xbe]
2166 s_bitset1_b64 s[10:11], 0
2167 // CHECK: [0x80,0x1b,0x8a,0xbe]
2169 s_bitset1_b64 s[10:11], -1
2170 // CHECK: [0xc1,0x1b,0x8a,0xbe]
2172 s_bitset1_b64 s[10:11], 0.5
2173 // CHECK: [0xf0,0x1b,0x8a,0xbe]
2175 s_bitset1_b64 s[10:11], -4.0
2176 // CHECK: [0xf7,0x1b,0x8a,0xbe]
2178 s_bitset1_b64 s[10:11], src_vccz
2179 // CHECK: [0xfb,0x1b,0x8a,0xbe]
2181 s_bitset1_b64 s[10:11], src_execz
2182 // CHECK: [0xfc,0x1b,0x8a,0xbe]
2184 s_bitset1_b64 s[10:11], src_scc
2185 // CHECK: [0xfd,0x1b,0x8a,0xbe]
2187 s_bitset1_b64 s[10:11], 0xaf123456
2188 // CHECK: [0xff,0x1b,0x8a,0xbe,0x56,0x34,0x12,0xaf]
2190 s_bitset1_b64 s[10:11], 0x3f717273
2191 // CHECK: [0xff,0x1b,0x8a,0xbe,0x73,0x72,0x71,0x3f]
2193 s_getpc_b64 s[10:11]
2194 // CHECK: [0x00,0x1c,0x8a,0xbe]
2196 s_getpc_b64 s[12:13]
2197 // CHECK: [0x00,0x1c,0x8c,0xbe]
2199 s_getpc_b64 s[100:101]
2200 // CHECK: [0x00,0x1c,0xe4,0xbe]
2202 s_getpc_b64 flat_scratch
2203 // CHECK: [0x00,0x1c,0xe6,0xbe]
2205 s_getpc_b64 vcc
2206 // CHECK: [0x00,0x1c,0xea,0xbe]
2208 s_getpc_b64 ttmp[14:15]
2209 // CHECK: [0x00,0x1c,0xfa,0xbe]
2211 s_getpc_b64 exec
2212 // CHECK: [0x00,0x1c,0xfe,0xbe]
2214 s_setpc_b64 s[2:3]
2215 // CHECK: [0x02,0x1d,0x80,0xbe]
2217 s_setpc_b64 s[4:5]
2218 // CHECK: [0x04,0x1d,0x80,0xbe]
2220 s_setpc_b64 s[100:101]
2221 // CHECK: [0x64,0x1d,0x80,0xbe]
2223 s_setpc_b64 flat_scratch
2224 // CHECK: [0x66,0x1d,0x80,0xbe]
2226 s_setpc_b64 vcc
2227 // CHECK: [0x6a,0x1d,0x80,0xbe]
2229 s_setpc_b64 ttmp[14:15]
2230 // CHECK: [0x7a,0x1d,0x80,0xbe]
2232 s_swappc_b64 s[10:11], s[2:3]
2233 // CHECK: [0x02,0x1e,0x8a,0xbe]
2235 s_swappc_b64 s[12:13], s[2:3]
2236 // CHECK: [0x02,0x1e,0x8c,0xbe]
2238 s_swappc_b64 s[100:101], s[2:3]
2239 // CHECK: [0x02,0x1e,0xe4,0xbe]
2241 s_swappc_b64 flat_scratch, s[2:3]
2242 // CHECK: [0x02,0x1e,0xe6,0xbe]
2244 s_swappc_b64 vcc, s[2:3]
2245 // CHECK: [0x02,0x1e,0xea,0xbe]
2247 s_swappc_b64 ttmp[14:15], s[2:3]
2248 // CHECK: [0x02,0x1e,0xfa,0xbe]
2250 s_swappc_b64 exec, s[2:3]
2251 // CHECK: [0x02,0x1e,0xfe,0xbe]
2253 s_swappc_b64 s[10:11], s[4:5]
2254 // CHECK: [0x04,0x1e,0x8a,0xbe]
2256 s_swappc_b64 s[10:11], s[100:101]
2257 // CHECK: [0x64,0x1e,0x8a,0xbe]
2259 s_swappc_b64 s[10:11], flat_scratch
2260 // CHECK: [0x66,0x1e,0x8a,0xbe]
2262 s_swappc_b64 s[10:11], vcc
2263 // CHECK: [0x6a,0x1e,0x8a,0xbe]
2265 s_swappc_b64 s[10:11], ttmp[14:15]
2266 // CHECK: [0x7a,0x1e,0x8a,0xbe]
2268 s_rfe_b64 s[2:3]
2269 // CHECK: [0x02,0x1f,0x80,0xbe]
2271 s_rfe_b64 s[4:5]
2272 // CHECK: [0x04,0x1f,0x80,0xbe]
2274 s_rfe_b64 s[100:101]
2275 // CHECK: [0x64,0x1f,0x80,0xbe]
2277 s_rfe_b64 flat_scratch
2278 // CHECK: [0x66,0x1f,0x80,0xbe]
2280 s_rfe_b64 vcc
2281 // CHECK: [0x6a,0x1f,0x80,0xbe]
2283 s_rfe_b64 ttmp[14:15]
2284 // CHECK: [0x7a,0x1f,0x80,0xbe]
2286 s_and_saveexec_b64 s[10:11], s[2:3]
2287 // CHECK: [0x02,0x20,0x8a,0xbe]
2289 s_and_saveexec_b64 s[12:13], s[2:3]
2290 // CHECK: [0x02,0x20,0x8c,0xbe]
2292 s_and_saveexec_b64 s[100:101], s[2:3]
2293 // CHECK: [0x02,0x20,0xe4,0xbe]
2295 s_and_saveexec_b64 flat_scratch, s[2:3]
2296 // CHECK: [0x02,0x20,0xe6,0xbe]
2298 s_and_saveexec_b64 vcc, s[2:3]
2299 // CHECK: [0x02,0x20,0xea,0xbe]
2301 s_and_saveexec_b64 ttmp[14:15], s[2:3]
2302 // CHECK: [0x02,0x20,0xfa,0xbe]
2304 s_and_saveexec_b64 s[10:11], s[4:5]
2305 // CHECK: [0x04,0x20,0x8a,0xbe]
2307 s_and_saveexec_b64 s[10:11], s[100:101]
2308 // CHECK: [0x64,0x20,0x8a,0xbe]
2310 s_and_saveexec_b64 s[10:11], flat_scratch
2311 // CHECK: [0x66,0x20,0x8a,0xbe]
2313 s_and_saveexec_b64 s[10:11], vcc
2314 // CHECK: [0x6a,0x20,0x8a,0xbe]
2316 s_and_saveexec_b64 s[10:11], ttmp[14:15]
2317 // CHECK: [0x7a,0x20,0x8a,0xbe]
2319 s_and_saveexec_b64 s[10:11], exec
2320 // CHECK: [0x7e,0x20,0x8a,0xbe]
2322 s_and_saveexec_b64 s[10:11], 0
2323 // CHECK: [0x80,0x20,0x8a,0xbe]
2325 s_and_saveexec_b64 s[10:11], -1
2326 // CHECK: [0xc1,0x20,0x8a,0xbe]
2328 s_and_saveexec_b64 s[10:11], 0.5
2329 // CHECK: [0xf0,0x20,0x8a,0xbe]
2331 s_and_saveexec_b64 s[10:11], -4.0
2332 // CHECK: [0xf7,0x20,0x8a,0xbe]
2334 s_and_saveexec_b64 s[10:11], src_vccz
2335 // CHECK: [0xfb,0x20,0x8a,0xbe]
2337 s_and_saveexec_b64 s[10:11], src_execz
2338 // CHECK: [0xfc,0x20,0x8a,0xbe]
2340 s_and_saveexec_b64 s[10:11], src_scc
2341 // CHECK: [0xfd,0x20,0x8a,0xbe]
2343 s_and_saveexec_b64 s[10:11], 0xaf123456
2344 // CHECK: [0xff,0x20,0x8a,0xbe,0x56,0x34,0x12,0xaf]
2346 s_and_saveexec_b64 s[10:11], 0x3f717273
2347 // CHECK: [0xff,0x20,0x8a,0xbe,0x73,0x72,0x71,0x3f]
2349 s_or_saveexec_b64 s[10:11], s[2:3]
2350 // CHECK: [0x02,0x21,0x8a,0xbe]
2352 s_or_saveexec_b64 s[12:13], s[2:3]
2353 // CHECK: [0x02,0x21,0x8c,0xbe]
2355 s_or_saveexec_b64 s[100:101], s[2:3]
2356 // CHECK: [0x02,0x21,0xe4,0xbe]
2358 s_or_saveexec_b64 flat_scratch, s[2:3]
2359 // CHECK: [0x02,0x21,0xe6,0xbe]
2361 s_or_saveexec_b64 vcc, s[2:3]
2362 // CHECK: [0x02,0x21,0xea,0xbe]
2364 s_or_saveexec_b64 ttmp[14:15], s[2:3]
2365 // CHECK: [0x02,0x21,0xfa,0xbe]
2367 s_or_saveexec_b64 s[10:11], s[4:5]
2368 // CHECK: [0x04,0x21,0x8a,0xbe]
2370 s_or_saveexec_b64 s[10:11], s[100:101]
2371 // CHECK: [0x64,0x21,0x8a,0xbe]
2373 s_or_saveexec_b64 s[10:11], flat_scratch
2374 // CHECK: [0x66,0x21,0x8a,0xbe]
2376 s_or_saveexec_b64 s[10:11], vcc
2377 // CHECK: [0x6a,0x21,0x8a,0xbe]
2379 s_or_saveexec_b64 s[10:11], ttmp[14:15]
2380 // CHECK: [0x7a,0x21,0x8a,0xbe]
2382 s_or_saveexec_b64 s[10:11], exec
2383 // CHECK: [0x7e,0x21,0x8a,0xbe]
2385 s_or_saveexec_b64 s[10:11], 0
2386 // CHECK: [0x80,0x21,0x8a,0xbe]
2388 s_or_saveexec_b64 s[10:11], -1
2389 // CHECK: [0xc1,0x21,0x8a,0xbe]
2391 s_or_saveexec_b64 s[10:11], 0.5
2392 // CHECK: [0xf0,0x21,0x8a,0xbe]
2394 s_or_saveexec_b64 s[10:11], -4.0
2395 // CHECK: [0xf7,0x21,0x8a,0xbe]
2397 s_or_saveexec_b64 s[10:11], src_vccz
2398 // CHECK: [0xfb,0x21,0x8a,0xbe]
2400 s_or_saveexec_b64 s[10:11], src_execz
2401 // CHECK: [0xfc,0x21,0x8a,0xbe]
2403 s_or_saveexec_b64 s[10:11], src_scc
2404 // CHECK: [0xfd,0x21,0x8a,0xbe]
2406 s_or_saveexec_b64 s[10:11], 0xaf123456
2407 // CHECK: [0xff,0x21,0x8a,0xbe,0x56,0x34,0x12,0xaf]
2409 s_or_saveexec_b64 s[10:11], 0x3f717273
2410 // CHECK: [0xff,0x21,0x8a,0xbe,0x73,0x72,0x71,0x3f]
2412 s_xor_saveexec_b64 s[10:11], s[2:3]
2413 // CHECK: [0x02,0x22,0x8a,0xbe]
2415 s_xor_saveexec_b64 s[12:13], s[2:3]
2416 // CHECK: [0x02,0x22,0x8c,0xbe]
2418 s_xor_saveexec_b64 s[100:101], s[2:3]
2419 // CHECK: [0x02,0x22,0xe4,0xbe]
2421 s_xor_saveexec_b64 flat_scratch, s[2:3]
2422 // CHECK: [0x02,0x22,0xe6,0xbe]
2424 s_xor_saveexec_b64 vcc, s[2:3]
2425 // CHECK: [0x02,0x22,0xea,0xbe]
2427 s_xor_saveexec_b64 ttmp[14:15], s[2:3]
2428 // CHECK: [0x02,0x22,0xfa,0xbe]
2430 s_xor_saveexec_b64 s[10:11], s[4:5]
2431 // CHECK: [0x04,0x22,0x8a,0xbe]
2433 s_xor_saveexec_b64 s[10:11], s[100:101]
2434 // CHECK: [0x64,0x22,0x8a,0xbe]
2436 s_xor_saveexec_b64 s[10:11], flat_scratch
2437 // CHECK: [0x66,0x22,0x8a,0xbe]
2439 s_xor_saveexec_b64 s[10:11], vcc
2440 // CHECK: [0x6a,0x22,0x8a,0xbe]
2442 s_xor_saveexec_b64 s[10:11], ttmp[14:15]
2443 // CHECK: [0x7a,0x22,0x8a,0xbe]
2445 s_xor_saveexec_b64 s[10:11], exec
2446 // CHECK: [0x7e,0x22,0x8a,0xbe]
2448 s_xor_saveexec_b64 s[10:11], 0
2449 // CHECK: [0x80,0x22,0x8a,0xbe]
2451 s_xor_saveexec_b64 s[10:11], -1
2452 // CHECK: [0xc1,0x22,0x8a,0xbe]
2454 s_xor_saveexec_b64 s[10:11], 0.5
2455 // CHECK: [0xf0,0x22,0x8a,0xbe]
2457 s_xor_saveexec_b64 s[10:11], -4.0
2458 // CHECK: [0xf7,0x22,0x8a,0xbe]
2460 s_xor_saveexec_b64 s[10:11], src_vccz
2461 // CHECK: [0xfb,0x22,0x8a,0xbe]
2463 s_xor_saveexec_b64 s[10:11], src_execz
2464 // CHECK: [0xfc,0x22,0x8a,0xbe]
2466 s_xor_saveexec_b64 s[10:11], src_scc
2467 // CHECK: [0xfd,0x22,0x8a,0xbe]
2469 s_xor_saveexec_b64 s[10:11], 0xaf123456
2470 // CHECK: [0xff,0x22,0x8a,0xbe,0x56,0x34,0x12,0xaf]
2472 s_xor_saveexec_b64 s[10:11], 0x3f717273
2473 // CHECK: [0xff,0x22,0x8a,0xbe,0x73,0x72,0x71,0x3f]
2475 s_andn2_saveexec_b64 s[10:11], s[2:3]
2476 // CHECK: [0x02,0x23,0x8a,0xbe]
2478 s_andn2_saveexec_b64 s[12:13], s[2:3]
2479 // CHECK: [0x02,0x23,0x8c,0xbe]
2481 s_andn2_saveexec_b64 s[100:101], s[2:3]
2482 // CHECK: [0x02,0x23,0xe4,0xbe]
2484 s_andn2_saveexec_b64 flat_scratch, s[2:3]
2485 // CHECK: [0x02,0x23,0xe6,0xbe]
2487 s_andn2_saveexec_b64 vcc, s[2:3]
2488 // CHECK: [0x02,0x23,0xea,0xbe]
2490 s_andn2_saveexec_b64 ttmp[14:15], s[2:3]
2491 // CHECK: [0x02,0x23,0xfa,0xbe]
2493 s_andn2_saveexec_b64 s[10:11], s[4:5]
2494 // CHECK: [0x04,0x23,0x8a,0xbe]
2496 s_andn2_saveexec_b64 s[10:11], s[100:101]
2497 // CHECK: [0x64,0x23,0x8a,0xbe]
2499 s_andn2_saveexec_b64 s[10:11], flat_scratch
2500 // CHECK: [0x66,0x23,0x8a,0xbe]
2502 s_andn2_saveexec_b64 s[10:11], vcc
2503 // CHECK: [0x6a,0x23,0x8a,0xbe]
2505 s_andn2_saveexec_b64 s[10:11], ttmp[14:15]
2506 // CHECK: [0x7a,0x23,0x8a,0xbe]
2508 s_andn2_saveexec_b64 s[10:11], exec
2509 // CHECK: [0x7e,0x23,0x8a,0xbe]
2511 s_andn2_saveexec_b64 s[10:11], 0
2512 // CHECK: [0x80,0x23,0x8a,0xbe]
2514 s_andn2_saveexec_b64 s[10:11], -1
2515 // CHECK: [0xc1,0x23,0x8a,0xbe]
2517 s_andn2_saveexec_b64 s[10:11], 0.5
2518 // CHECK: [0xf0,0x23,0x8a,0xbe]
2520 s_andn2_saveexec_b64 s[10:11], -4.0
2521 // CHECK: [0xf7,0x23,0x8a,0xbe]
2523 s_andn2_saveexec_b64 s[10:11], src_vccz
2524 // CHECK: [0xfb,0x23,0x8a,0xbe]
2526 s_andn2_saveexec_b64 s[10:11], src_execz
2527 // CHECK: [0xfc,0x23,0x8a,0xbe]
2529 s_andn2_saveexec_b64 s[10:11], src_scc
2530 // CHECK: [0xfd,0x23,0x8a,0xbe]
2532 s_andn2_saveexec_b64 s[10:11], 0xaf123456
2533 // CHECK: [0xff,0x23,0x8a,0xbe,0x56,0x34,0x12,0xaf]
2535 s_andn2_saveexec_b64 s[10:11], 0x3f717273
2536 // CHECK: [0xff,0x23,0x8a,0xbe,0x73,0x72,0x71,0x3f]
2538 s_orn2_saveexec_b64 s[10:11], s[2:3]
2539 // CHECK: [0x02,0x24,0x8a,0xbe]
2541 s_orn2_saveexec_b64 s[12:13], s[2:3]
2542 // CHECK: [0x02,0x24,0x8c,0xbe]
2544 s_orn2_saveexec_b64 s[100:101], s[2:3]
2545 // CHECK: [0x02,0x24,0xe4,0xbe]
2547 s_orn2_saveexec_b64 flat_scratch, s[2:3]
2548 // CHECK: [0x02,0x24,0xe6,0xbe]
2550 s_orn2_saveexec_b64 vcc, s[2:3]
2551 // CHECK: [0x02,0x24,0xea,0xbe]
2553 s_orn2_saveexec_b64 ttmp[14:15], s[2:3]
2554 // CHECK: [0x02,0x24,0xfa,0xbe]
2556 s_orn2_saveexec_b64 s[10:11], s[4:5]
2557 // CHECK: [0x04,0x24,0x8a,0xbe]
2559 s_orn2_saveexec_b64 s[10:11], s[100:101]
2560 // CHECK: [0x64,0x24,0x8a,0xbe]
2562 s_orn2_saveexec_b64 s[10:11], flat_scratch
2563 // CHECK: [0x66,0x24,0x8a,0xbe]
2565 s_orn2_saveexec_b64 s[10:11], vcc
2566 // CHECK: [0x6a,0x24,0x8a,0xbe]
2568 s_orn2_saveexec_b64 s[10:11], ttmp[14:15]
2569 // CHECK: [0x7a,0x24,0x8a,0xbe]
2571 s_orn2_saveexec_b64 s[10:11], exec
2572 // CHECK: [0x7e,0x24,0x8a,0xbe]
2574 s_orn2_saveexec_b64 s[10:11], 0
2575 // CHECK: [0x80,0x24,0x8a,0xbe]
2577 s_orn2_saveexec_b64 s[10:11], -1
2578 // CHECK: [0xc1,0x24,0x8a,0xbe]
2580 s_orn2_saveexec_b64 s[10:11], 0.5
2581 // CHECK: [0xf0,0x24,0x8a,0xbe]
2583 s_orn2_saveexec_b64 s[10:11], -4.0
2584 // CHECK: [0xf7,0x24,0x8a,0xbe]
2586 s_orn2_saveexec_b64 s[10:11], src_vccz
2587 // CHECK: [0xfb,0x24,0x8a,0xbe]
2589 s_orn2_saveexec_b64 s[10:11], src_execz
2590 // CHECK: [0xfc,0x24,0x8a,0xbe]
2592 s_orn2_saveexec_b64 s[10:11], src_scc
2593 // CHECK: [0xfd,0x24,0x8a,0xbe]
2595 s_orn2_saveexec_b64 s[10:11], 0xaf123456
2596 // CHECK: [0xff,0x24,0x8a,0xbe,0x56,0x34,0x12,0xaf]
2598 s_orn2_saveexec_b64 s[10:11], 0x3f717273
2599 // CHECK: [0xff,0x24,0x8a,0xbe,0x73,0x72,0x71,0x3f]
2601 s_nand_saveexec_b64 s[10:11], s[2:3]
2602 // CHECK: [0x02,0x25,0x8a,0xbe]
2604 s_nand_saveexec_b64 s[12:13], s[2:3]
2605 // CHECK: [0x02,0x25,0x8c,0xbe]
2607 s_nand_saveexec_b64 s[100:101], s[2:3]
2608 // CHECK: [0x02,0x25,0xe4,0xbe]
2610 s_nand_saveexec_b64 flat_scratch, s[2:3]
2611 // CHECK: [0x02,0x25,0xe6,0xbe]
2613 s_nand_saveexec_b64 vcc, s[2:3]
2614 // CHECK: [0x02,0x25,0xea,0xbe]
2616 s_nand_saveexec_b64 ttmp[14:15], s[2:3]
2617 // CHECK: [0x02,0x25,0xfa,0xbe]
2619 s_nand_saveexec_b64 s[10:11], s[4:5]
2620 // CHECK: [0x04,0x25,0x8a,0xbe]
2622 s_nand_saveexec_b64 s[10:11], s[100:101]
2623 // CHECK: [0x64,0x25,0x8a,0xbe]
2625 s_nand_saveexec_b64 s[10:11], flat_scratch
2626 // CHECK: [0x66,0x25,0x8a,0xbe]
2628 s_nand_saveexec_b64 s[10:11], vcc
2629 // CHECK: [0x6a,0x25,0x8a,0xbe]
2631 s_nand_saveexec_b64 s[10:11], ttmp[14:15]
2632 // CHECK: [0x7a,0x25,0x8a,0xbe]
2634 s_nand_saveexec_b64 s[10:11], exec
2635 // CHECK: [0x7e,0x25,0x8a,0xbe]
2637 s_nand_saveexec_b64 s[10:11], 0
2638 // CHECK: [0x80,0x25,0x8a,0xbe]
2640 s_nand_saveexec_b64 s[10:11], -1
2641 // CHECK: [0xc1,0x25,0x8a,0xbe]
2643 s_nand_saveexec_b64 s[10:11], 0.5
2644 // CHECK: [0xf0,0x25,0x8a,0xbe]
2646 s_nand_saveexec_b64 s[10:11], -4.0
2647 // CHECK: [0xf7,0x25,0x8a,0xbe]
2649 s_nand_saveexec_b64 s[10:11], src_vccz
2650 // CHECK: [0xfb,0x25,0x8a,0xbe]
2652 s_nand_saveexec_b64 s[10:11], src_execz
2653 // CHECK: [0xfc,0x25,0x8a,0xbe]
2655 s_nand_saveexec_b64 s[10:11], src_scc
2656 // CHECK: [0xfd,0x25,0x8a,0xbe]
2658 s_nand_saveexec_b64 s[10:11], 0xaf123456
2659 // CHECK: [0xff,0x25,0x8a,0xbe,0x56,0x34,0x12,0xaf]
2661 s_nand_saveexec_b64 s[10:11], 0x3f717273
2662 // CHECK: [0xff,0x25,0x8a,0xbe,0x73,0x72,0x71,0x3f]
2664 s_nor_saveexec_b64 s[10:11], s[2:3]
2665 // CHECK: [0x02,0x26,0x8a,0xbe]
2667 s_nor_saveexec_b64 s[12:13], s[2:3]
2668 // CHECK: [0x02,0x26,0x8c,0xbe]
2670 s_nor_saveexec_b64 s[100:101], s[2:3]
2671 // CHECK: [0x02,0x26,0xe4,0xbe]
2673 s_nor_saveexec_b64 flat_scratch, s[2:3]
2674 // CHECK: [0x02,0x26,0xe6,0xbe]
2676 s_nor_saveexec_b64 vcc, s[2:3]
2677 // CHECK: [0x02,0x26,0xea,0xbe]
2679 s_nor_saveexec_b64 ttmp[14:15], s[2:3]
2680 // CHECK: [0x02,0x26,0xfa,0xbe]
2682 s_nor_saveexec_b64 s[10:11], s[4:5]
2683 // CHECK: [0x04,0x26,0x8a,0xbe]
2685 s_nor_saveexec_b64 s[10:11], s[100:101]
2686 // CHECK: [0x64,0x26,0x8a,0xbe]
2688 s_nor_saveexec_b64 s[10:11], flat_scratch
2689 // CHECK: [0x66,0x26,0x8a,0xbe]
2691 s_nor_saveexec_b64 s[10:11], vcc
2692 // CHECK: [0x6a,0x26,0x8a,0xbe]
2694 s_nor_saveexec_b64 s[10:11], ttmp[14:15]
2695 // CHECK: [0x7a,0x26,0x8a,0xbe]
2697 s_nor_saveexec_b64 s[10:11], exec
2698 // CHECK: [0x7e,0x26,0x8a,0xbe]
2700 s_nor_saveexec_b64 s[10:11], 0
2701 // CHECK: [0x80,0x26,0x8a,0xbe]
2703 s_nor_saveexec_b64 s[10:11], -1
2704 // CHECK: [0xc1,0x26,0x8a,0xbe]
2706 s_nor_saveexec_b64 s[10:11], 0.5
2707 // CHECK: [0xf0,0x26,0x8a,0xbe]
2709 s_nor_saveexec_b64 s[10:11], -4.0
2710 // CHECK: [0xf7,0x26,0x8a,0xbe]
2712 s_nor_saveexec_b64 s[10:11], src_vccz
2713 // CHECK: [0xfb,0x26,0x8a,0xbe]
2715 s_nor_saveexec_b64 s[10:11], src_execz
2716 // CHECK: [0xfc,0x26,0x8a,0xbe]
2718 s_nor_saveexec_b64 s[10:11], src_scc
2719 // CHECK: [0xfd,0x26,0x8a,0xbe]
2721 s_nor_saveexec_b64 s[10:11], 0xaf123456
2722 // CHECK: [0xff,0x26,0x8a,0xbe,0x56,0x34,0x12,0xaf]
2724 s_nor_saveexec_b64 s[10:11], 0x3f717273
2725 // CHECK: [0xff,0x26,0x8a,0xbe,0x73,0x72,0x71,0x3f]
2727 s_xnor_saveexec_b64 s[10:11], s[2:3]
2728 // CHECK: [0x02,0x27,0x8a,0xbe]
2730 s_xnor_saveexec_b64 s[12:13], s[2:3]
2731 // CHECK: [0x02,0x27,0x8c,0xbe]
2733 s_xnor_saveexec_b64 s[100:101], s[2:3]
2734 // CHECK: [0x02,0x27,0xe4,0xbe]
2736 s_xnor_saveexec_b64 flat_scratch, s[2:3]
2737 // CHECK: [0x02,0x27,0xe6,0xbe]
2739 s_xnor_saveexec_b64 vcc, s[2:3]
2740 // CHECK: [0x02,0x27,0xea,0xbe]
2742 s_xnor_saveexec_b64 ttmp[14:15], s[2:3]
2743 // CHECK: [0x02,0x27,0xfa,0xbe]
2745 s_xnor_saveexec_b64 s[10:11], s[4:5]
2746 // CHECK: [0x04,0x27,0x8a,0xbe]
2748 s_xnor_saveexec_b64 s[10:11], s[100:101]
2749 // CHECK: [0x64,0x27,0x8a,0xbe]
2751 s_xnor_saveexec_b64 s[10:11], flat_scratch
2752 // CHECK: [0x66,0x27,0x8a,0xbe]
2754 s_xnor_saveexec_b64 s[10:11], vcc
2755 // CHECK: [0x6a,0x27,0x8a,0xbe]
2757 s_xnor_saveexec_b64 s[10:11], ttmp[14:15]
2758 // CHECK: [0x7a,0x27,0x8a,0xbe]
2760 s_xnor_saveexec_b64 s[10:11], exec
2761 // CHECK: [0x7e,0x27,0x8a,0xbe]
2763 s_xnor_saveexec_b64 s[10:11], 0
2764 // CHECK: [0x80,0x27,0x8a,0xbe]
2766 s_xnor_saveexec_b64 s[10:11], -1
2767 // CHECK: [0xc1,0x27,0x8a,0xbe]
2769 s_xnor_saveexec_b64 s[10:11], 0.5
2770 // CHECK: [0xf0,0x27,0x8a,0xbe]
2772 s_xnor_saveexec_b64 s[10:11], -4.0
2773 // CHECK: [0xf7,0x27,0x8a,0xbe]
2775 s_xnor_saveexec_b64 s[10:11], src_vccz
2776 // CHECK: [0xfb,0x27,0x8a,0xbe]
2778 s_xnor_saveexec_b64 s[10:11], src_execz
2779 // CHECK: [0xfc,0x27,0x8a,0xbe]
2781 s_xnor_saveexec_b64 s[10:11], src_scc
2782 // CHECK: [0xfd,0x27,0x8a,0xbe]
2784 s_xnor_saveexec_b64 s[10:11], 0xaf123456
2785 // CHECK: [0xff,0x27,0x8a,0xbe,0x56,0x34,0x12,0xaf]
2787 s_xnor_saveexec_b64 s[10:11], 0x3f717273
2788 // CHECK: [0xff,0x27,0x8a,0xbe,0x73,0x72,0x71,0x3f]
2790 s_quadmask_b32 s5, s1
2791 // CHECK: [0x01,0x28,0x85,0xbe]
2793 s_quadmask_b32 s101, s1
2794 // CHECK: [0x01,0x28,0xe5,0xbe]
2796 s_quadmask_b32 flat_scratch_lo, s1
2797 // CHECK: [0x01,0x28,0xe6,0xbe]
2799 s_quadmask_b32 flat_scratch_hi, s1
2800 // CHECK: [0x01,0x28,0xe7,0xbe]
2802 s_quadmask_b32 vcc_lo, s1
2803 // CHECK: [0x01,0x28,0xea,0xbe]
2805 s_quadmask_b32 vcc_hi, s1
2806 // CHECK: [0x01,0x28,0xeb,0xbe]
2808 s_quadmask_b32 ttmp15, s1
2809 // CHECK: [0x01,0x28,0xfb,0xbe]
2811 s_quadmask_b32 m0, s1
2812 // CHECK: [0x01,0x28,0xfc,0xbe]
2814 s_quadmask_b32 exec_lo, s1
2815 // CHECK: [0x01,0x28,0xfe,0xbe]
2817 s_quadmask_b32 exec_hi, s1
2818 // CHECK: [0x01,0x28,0xff,0xbe]
2820 s_quadmask_b32 s5, s101
2821 // CHECK: [0x65,0x28,0x85,0xbe]
2823 s_quadmask_b32 s5, flat_scratch_lo
2824 // CHECK: [0x66,0x28,0x85,0xbe]
2826 s_quadmask_b32 s5, flat_scratch_hi
2827 // CHECK: [0x67,0x28,0x85,0xbe]
2829 s_quadmask_b32 s5, vcc_lo
2830 // CHECK: [0x6a,0x28,0x85,0xbe]
2832 s_quadmask_b32 s5, vcc_hi
2833 // CHECK: [0x6b,0x28,0x85,0xbe]
2835 s_quadmask_b32 s5, ttmp15
2836 // CHECK: [0x7b,0x28,0x85,0xbe]
2838 s_quadmask_b32 s5, m0
2839 // CHECK: [0x7c,0x28,0x85,0xbe]
2841 s_quadmask_b32 s5, exec_lo
2842 // CHECK: [0x7e,0x28,0x85,0xbe]
2844 s_quadmask_b32 s5, exec_hi
2845 // CHECK: [0x7f,0x28,0x85,0xbe]
2847 s_quadmask_b32 s5, 0
2848 // CHECK: [0x80,0x28,0x85,0xbe]
2850 s_quadmask_b32 s5, -1
2851 // CHECK: [0xc1,0x28,0x85,0xbe]
2853 s_quadmask_b32 s5, 0.5
2854 // CHECK: [0xf0,0x28,0x85,0xbe]
2856 s_quadmask_b32 s5, -4.0
2857 // CHECK: [0xf7,0x28,0x85,0xbe]
2859 s_quadmask_b32 s5, src_vccz
2860 // CHECK: [0xfb,0x28,0x85,0xbe]
2862 s_quadmask_b32 s5, src_execz
2863 // CHECK: [0xfc,0x28,0x85,0xbe]
2865 s_quadmask_b32 s5, src_scc
2866 // CHECK: [0xfd,0x28,0x85,0xbe]
2868 s_quadmask_b32 s5, 0xaf123456
2869 // CHECK: [0xff,0x28,0x85,0xbe,0x56,0x34,0x12,0xaf]
2871 s_quadmask_b32 s5, 0x3f717273
2872 // CHECK: [0xff,0x28,0x85,0xbe,0x73,0x72,0x71,0x3f]
2874 s_quadmask_b64 s[10:11], s[2:3]
2875 // CHECK: [0x02,0x29,0x8a,0xbe]
2877 s_quadmask_b64 s[12:13], s[2:3]
2878 // CHECK: [0x02,0x29,0x8c,0xbe]
2880 s_quadmask_b64 s[100:101], s[2:3]
2881 // CHECK: [0x02,0x29,0xe4,0xbe]
2883 s_quadmask_b64 flat_scratch, s[2:3]
2884 // CHECK: [0x02,0x29,0xe6,0xbe]
2886 s_quadmask_b64 vcc, s[2:3]
2887 // CHECK: [0x02,0x29,0xea,0xbe]
2889 s_quadmask_b64 ttmp[14:15], s[2:3]
2890 // CHECK: [0x02,0x29,0xfa,0xbe]
2892 s_quadmask_b64 exec, s[2:3]
2893 // CHECK: [0x02,0x29,0xfe,0xbe]
2895 s_quadmask_b64 s[10:11], s[4:5]
2896 // CHECK: [0x04,0x29,0x8a,0xbe]
2898 s_quadmask_b64 s[10:11], s[100:101]
2899 // CHECK: [0x64,0x29,0x8a,0xbe]
2901 s_quadmask_b64 s[10:11], flat_scratch
2902 // CHECK: [0x66,0x29,0x8a,0xbe]
2904 s_quadmask_b64 s[10:11], vcc
2905 // CHECK: [0x6a,0x29,0x8a,0xbe]
2907 s_quadmask_b64 s[10:11], ttmp[14:15]
2908 // CHECK: [0x7a,0x29,0x8a,0xbe]
2910 s_quadmask_b64 s[10:11], exec
2911 // CHECK: [0x7e,0x29,0x8a,0xbe]
2913 s_quadmask_b64 s[10:11], 0
2914 // CHECK: [0x80,0x29,0x8a,0xbe]
2916 s_quadmask_b64 s[10:11], -1
2917 // CHECK: [0xc1,0x29,0x8a,0xbe]
2919 s_quadmask_b64 s[10:11], 0.5
2920 // CHECK: [0xf0,0x29,0x8a,0xbe]
2922 s_quadmask_b64 s[10:11], -4.0
2923 // CHECK: [0xf7,0x29,0x8a,0xbe]
2925 s_quadmask_b64 s[10:11], src_vccz
2926 // CHECK: [0xfb,0x29,0x8a,0xbe]
2928 s_quadmask_b64 s[10:11], src_execz
2929 // CHECK: [0xfc,0x29,0x8a,0xbe]
2931 s_quadmask_b64 s[10:11], src_scc
2932 // CHECK: [0xfd,0x29,0x8a,0xbe]
2934 s_quadmask_b64 s[10:11], 0xaf123456
2935 // CHECK: [0xff,0x29,0x8a,0xbe,0x56,0x34,0x12,0xaf]
2937 s_quadmask_b64 s[10:11], 0x3f717273
2938 // CHECK: [0xff,0x29,0x8a,0xbe,0x73,0x72,0x71,0x3f]
2940 s_movrels_b32 s5, s1
2941 // CHECK: [0x01,0x2a,0x85,0xbe]
2943 s_movrels_b32 s101, s1
2944 // CHECK: [0x01,0x2a,0xe5,0xbe]
2946 s_movrels_b32 flat_scratch_lo, s1
2947 // CHECK: [0x01,0x2a,0xe6,0xbe]
2949 s_movrels_b32 flat_scratch_hi, s1
2950 // CHECK: [0x01,0x2a,0xe7,0xbe]
2952 s_movrels_b32 vcc_lo, s1
2953 // CHECK: [0x01,0x2a,0xea,0xbe]
2955 s_movrels_b32 vcc_hi, s1
2956 // CHECK: [0x01,0x2a,0xeb,0xbe]
2958 s_movrels_b32 ttmp15, s1
2959 // CHECK: [0x01,0x2a,0xfb,0xbe]
2961 s_movrels_b32 m0, s1
2962 // CHECK: [0x01,0x2a,0xfc,0xbe]
2964 s_movrels_b32 exec_lo, s1
2965 // CHECK: [0x01,0x2a,0xfe,0xbe]
2967 s_movrels_b32 exec_hi, s1
2968 // CHECK: [0x01,0x2a,0xff,0xbe]
2970 s_movrels_b32 s5, s101
2971 // CHECK: [0x65,0x2a,0x85,0xbe]
2973 s_movrels_b32 s5, flat_scratch_lo
2974 // CHECK: [0x66,0x2a,0x85,0xbe]
2976 s_movrels_b32 s5, flat_scratch_hi
2977 // CHECK: [0x67,0x2a,0x85,0xbe]
2979 s_movrels_b32 s5, vcc_lo
2980 // CHECK: [0x6a,0x2a,0x85,0xbe]
2982 s_movrels_b32 s5, vcc_hi
2983 // CHECK: [0x6b,0x2a,0x85,0xbe]
2985 s_movrels_b32 s5, ttmp15
2986 // CHECK: [0x7b,0x2a,0x85,0xbe]
2988 s_movrels_b64 s[10:11], s[2:3]
2989 // CHECK: [0x02,0x2b,0x8a,0xbe]
2991 s_movrels_b64 s[12:13], s[2:3]
2992 // CHECK: [0x02,0x2b,0x8c,0xbe]
2994 s_movrels_b64 s[100:101], s[2:3]
2995 // CHECK: [0x02,0x2b,0xe4,0xbe]
2997 s_movrels_b64 flat_scratch, s[2:3]
2998 // CHECK: [0x02,0x2b,0xe6,0xbe]
3000 s_movrels_b64 vcc, s[2:3]
3001 // CHECK: [0x02,0x2b,0xea,0xbe]
3003 s_movrels_b64 ttmp[14:15], s[2:3]
3004 // CHECK: [0x02,0x2b,0xfa,0xbe]
3006 s_movrels_b64 exec, s[2:3]
3007 // CHECK: [0x02,0x2b,0xfe,0xbe]
3009 s_movrels_b64 s[10:11], s[4:5]
3010 // CHECK: [0x04,0x2b,0x8a,0xbe]
3012 s_movrels_b64 s[10:11], s[100:101]
3013 // CHECK: [0x64,0x2b,0x8a,0xbe]
3015 s_movrels_b64 s[10:11], flat_scratch
3016 // CHECK: [0x66,0x2b,0x8a,0xbe]
3018 s_movrels_b64 s[10:11], vcc
3019 // CHECK: [0x6a,0x2b,0x8a,0xbe]
3021 s_movrels_b64 s[10:11], ttmp[14:15]
3022 // CHECK: [0x7a,0x2b,0x8a,0xbe]
3024 s_movreld_b32 s5, s1
3025 // CHECK: [0x01,0x2c,0x85,0xbe]
3027 s_movreld_b32 s101, s1
3028 // CHECK: [0x01,0x2c,0xe5,0xbe]
3030 s_movreld_b32 flat_scratch_lo, s1
3031 // CHECK: [0x01,0x2c,0xe6,0xbe]
3033 s_movreld_b32 flat_scratch_hi, s1
3034 // CHECK: [0x01,0x2c,0xe7,0xbe]
3036 s_movreld_b32 vcc_lo, s1
3037 // CHECK: [0x01,0x2c,0xea,0xbe]
3039 s_movreld_b32 vcc_hi, s1
3040 // CHECK: [0x01,0x2c,0xeb,0xbe]
3042 s_movreld_b32 ttmp15, s1
3043 // CHECK: [0x01,0x2c,0xfb,0xbe]
3045 s_movreld_b32 s5, s101
3046 // CHECK: [0x65,0x2c,0x85,0xbe]
3048 s_movreld_b32 s5, flat_scratch_lo
3049 // CHECK: [0x66,0x2c,0x85,0xbe]
3051 s_movreld_b32 s5, flat_scratch_hi
3052 // CHECK: [0x67,0x2c,0x85,0xbe]
3054 s_movreld_b32 s5, vcc_lo
3055 // CHECK: [0x6a,0x2c,0x85,0xbe]
3057 s_movreld_b32 s5, vcc_hi
3058 // CHECK: [0x6b,0x2c,0x85,0xbe]
3060 s_movreld_b32 s5, ttmp15
3061 // CHECK: [0x7b,0x2c,0x85,0xbe]
3063 s_movreld_b32 s5, m0
3064 // CHECK: [0x7c,0x2c,0x85,0xbe]
3066 s_movreld_b32 s5, 0
3067 // CHECK: [0x80,0x2c,0x85,0xbe]
3069 s_movreld_b32 s5, -1
3070 // CHECK: [0xc1,0x2c,0x85,0xbe]
3072 s_movreld_b32 s5, 0.5
3073 // CHECK: [0xf0,0x2c,0x85,0xbe]
3075 s_movreld_b32 s5, -4.0
3076 // CHECK: [0xf7,0x2c,0x85,0xbe]
3078 s_movreld_b32 s5, src_vccz
3079 // CHECK: [0xfb,0x2c,0x85,0xbe]
3081 s_movreld_b32 s5, src_execz
3082 // CHECK: [0xfc,0x2c,0x85,0xbe]
3084 s_movreld_b32 s5, src_scc
3085 // CHECK: [0xfd,0x2c,0x85,0xbe]
3087 s_movreld_b32 s5, 0xaf123456
3088 // CHECK: [0xff,0x2c,0x85,0xbe,0x56,0x34,0x12,0xaf]
3090 s_movreld_b32 s5, 0x3f717273
3091 // CHECK: [0xff,0x2c,0x85,0xbe,0x73,0x72,0x71,0x3f]
3093 s_movreld_b64 s[10:11], s[2:3]
3094 // CHECK: [0x02,0x2d,0x8a,0xbe]
3096 s_movreld_b64 s[12:13], s[2:3]
3097 // CHECK: [0x02,0x2d,0x8c,0xbe]
3099 s_movreld_b64 s[100:101], s[2:3]
3100 // CHECK: [0x02,0x2d,0xe4,0xbe]
3102 s_movreld_b64 flat_scratch, s[2:3]
3103 // CHECK: [0x02,0x2d,0xe6,0xbe]
3105 s_movreld_b64 vcc, s[2:3]
3106 // CHECK: [0x02,0x2d,0xea,0xbe]
3108 s_movreld_b64 ttmp[14:15], s[2:3]
3109 // CHECK: [0x02,0x2d,0xfa,0xbe]
3111 s_movreld_b64 s[10:11], s[4:5]
3112 // CHECK: [0x04,0x2d,0x8a,0xbe]
3114 s_movreld_b64 s[10:11], s[100:101]
3115 // CHECK: [0x64,0x2d,0x8a,0xbe]
3117 s_movreld_b64 s[10:11], flat_scratch
3118 // CHECK: [0x66,0x2d,0x8a,0xbe]
3120 s_movreld_b64 s[10:11], vcc
3121 // CHECK: [0x6a,0x2d,0x8a,0xbe]
3123 s_movreld_b64 s[10:11], ttmp[14:15]
3124 // CHECK: [0x7a,0x2d,0x8a,0xbe]
3126 s_movreld_b64 s[10:11], 0
3127 // CHECK: [0x80,0x2d,0x8a,0xbe]
3129 s_movreld_b64 s[10:11], -1
3130 // CHECK: [0xc1,0x2d,0x8a,0xbe]
3132 s_movreld_b64 s[10:11], 0.5
3133 // CHECK: [0xf0,0x2d,0x8a,0xbe]
3135 s_movreld_b64 s[10:11], -4.0
3136 // CHECK: [0xf7,0x2d,0x8a,0xbe]
3138 s_movreld_b64 s[10:11], src_vccz
3139 // CHECK: [0xfb,0x2d,0x8a,0xbe]
3141 s_movreld_b64 s[10:11], src_execz
3142 // CHECK: [0xfc,0x2d,0x8a,0xbe]
3144 s_movreld_b64 s[10:11], src_scc
3145 // CHECK: [0xfd,0x2d,0x8a,0xbe]
3147 s_movreld_b64 s[10:11], 0xaf123456
3148 // CHECK: [0xff,0x2d,0x8a,0xbe,0x56,0x34,0x12,0xaf]
3150 s_movreld_b64 s[10:11], 0x3f717273
3151 // CHECK: [0xff,0x2d,0x8a,0xbe,0x73,0x72,0x71,0x3f]
3153 s_cbranch_join s1
3154 // CHECK: [0x01,0x2e,0x80,0xbe]
3156 s_cbranch_join s101
3157 // CHECK: [0x65,0x2e,0x80,0xbe]
3159 s_cbranch_join flat_scratch_lo
3160 // CHECK: [0x66,0x2e,0x80,0xbe]
3162 s_cbranch_join flat_scratch_hi
3163 // CHECK: [0x67,0x2e,0x80,0xbe]
3165 s_cbranch_join vcc_lo
3166 // CHECK: [0x6a,0x2e,0x80,0xbe]
3168 s_cbranch_join vcc_hi
3169 // CHECK: [0x6b,0x2e,0x80,0xbe]
3171 s_cbranch_join ttmp15
3172 // CHECK: [0x7b,0x2e,0x80,0xbe]
3174 s_abs_i32 s5, s1
3175 // CHECK: [0x01,0x30,0x85,0xbe]
3177 s_abs_i32 s101, s1
3178 // CHECK: [0x01,0x30,0xe5,0xbe]
3180 s_abs_i32 flat_scratch_lo, s1
3181 // CHECK: [0x01,0x30,0xe6,0xbe]
3183 s_abs_i32 flat_scratch_hi, s1
3184 // CHECK: [0x01,0x30,0xe7,0xbe]
3186 s_abs_i32 vcc_lo, s1
3187 // CHECK: [0x01,0x30,0xea,0xbe]
3189 s_abs_i32 vcc_hi, s1
3190 // CHECK: [0x01,0x30,0xeb,0xbe]
3192 s_abs_i32 ttmp15, s1
3193 // CHECK: [0x01,0x30,0xfb,0xbe]
3195 s_abs_i32 m0, s1
3196 // CHECK: [0x01,0x30,0xfc,0xbe]
3198 s_abs_i32 exec_lo, s1
3199 // CHECK: [0x01,0x30,0xfe,0xbe]
3201 s_abs_i32 exec_hi, s1
3202 // CHECK: [0x01,0x30,0xff,0xbe]
3204 s_abs_i32 s5, s101
3205 // CHECK: [0x65,0x30,0x85,0xbe]
3207 s_abs_i32 s5, flat_scratch_lo
3208 // CHECK: [0x66,0x30,0x85,0xbe]
3210 s_abs_i32 s5, flat_scratch_hi
3211 // CHECK: [0x67,0x30,0x85,0xbe]
3213 s_abs_i32 s5, vcc_lo
3214 // CHECK: [0x6a,0x30,0x85,0xbe]
3216 s_abs_i32 s5, vcc_hi
3217 // CHECK: [0x6b,0x30,0x85,0xbe]
3219 s_abs_i32 s5, ttmp15
3220 // CHECK: [0x7b,0x30,0x85,0xbe]
3222 s_abs_i32 s5, m0
3223 // CHECK: [0x7c,0x30,0x85,0xbe]
3225 s_abs_i32 s5, exec_lo
3226 // CHECK: [0x7e,0x30,0x85,0xbe]
3228 s_abs_i32 s5, exec_hi
3229 // CHECK: [0x7f,0x30,0x85,0xbe]
3231 s_abs_i32 s5, 0
3232 // CHECK: [0x80,0x30,0x85,0xbe]
3234 s_abs_i32 s5, -1
3235 // CHECK: [0xc1,0x30,0x85,0xbe]
3237 s_abs_i32 s5, 0.5
3238 // CHECK: [0xf0,0x30,0x85,0xbe]
3240 s_abs_i32 s5, -4.0
3241 // CHECK: [0xf7,0x30,0x85,0xbe]
3243 s_abs_i32 s5, src_vccz
3244 // CHECK: [0xfb,0x30,0x85,0xbe]
3246 s_abs_i32 s5, src_execz
3247 // CHECK: [0xfc,0x30,0x85,0xbe]
3249 s_abs_i32 s5, src_scc
3250 // CHECK: [0xfd,0x30,0x85,0xbe]
3252 s_abs_i32 s5, 0xaf123456
3253 // CHECK: [0xff,0x30,0x85,0xbe,0x56,0x34,0x12,0xaf]
3255 s_abs_i32 s5, 0x3f717273
3256 // CHECK: [0xff,0x30,0x85,0xbe,0x73,0x72,0x71,0x3f]
3258 s_set_gpr_idx_idx s1
3259 // CHECK: [0x01,0x32,0x80,0xbe]
3261 s_set_gpr_idx_idx s101
3262 // CHECK: [0x65,0x32,0x80,0xbe]
3264 s_set_gpr_idx_idx flat_scratch_lo
3265 // CHECK: [0x66,0x32,0x80,0xbe]
3267 s_set_gpr_idx_idx flat_scratch_hi
3268 // CHECK: [0x67,0x32,0x80,0xbe]
3270 s_set_gpr_idx_idx vcc_lo
3271 // CHECK: [0x6a,0x32,0x80,0xbe]
3273 s_set_gpr_idx_idx vcc_hi
3274 // CHECK: [0x6b,0x32,0x80,0xbe]
3276 s_set_gpr_idx_idx ttmp15
3277 // CHECK: [0x7b,0x32,0x80,0xbe]
3279 s_set_gpr_idx_idx m0
3280 // CHECK: [0x7c,0x32,0x80,0xbe]
3282 s_set_gpr_idx_idx 0
3283 // CHECK: [0x80,0x32,0x80,0xbe]
3285 s_set_gpr_idx_idx -1
3286 // CHECK: [0xc1,0x32,0x80,0xbe]
3288 s_set_gpr_idx_idx 0.5
3289 // CHECK: [0xf0,0x32,0x80,0xbe]
3291 s_set_gpr_idx_idx -4.0
3292 // CHECK: [0xf7,0x32,0x80,0xbe]
3294 s_set_gpr_idx_idx src_vccz
3295 // CHECK: [0xfb,0x32,0x80,0xbe]
3297 s_set_gpr_idx_idx src_execz
3298 // CHECK: [0xfc,0x32,0x80,0xbe]
3300 s_set_gpr_idx_idx src_scc
3301 // CHECK: [0xfd,0x32,0x80,0xbe]
3303 s_set_gpr_idx_idx 0xaf123456
3304 // CHECK: [0xff,0x32,0x80,0xbe,0x56,0x34,0x12,0xaf]
3306 s_set_gpr_idx_idx 0x3f717273
3307 // CHECK: [0xff,0x32,0x80,0xbe,0x73,0x72,0x71,0x3f]
3309 s_andn1_saveexec_b64 s[10:11], s[2:3]
3310 // CHECK: [0x02,0x33,0x8a,0xbe]
3312 s_andn1_saveexec_b64 s[12:13], s[2:3]
3313 // CHECK: [0x02,0x33,0x8c,0xbe]
3315 s_andn1_saveexec_b64 s[100:101], s[2:3]
3316 // CHECK: [0x02,0x33,0xe4,0xbe]
3318 s_andn1_saveexec_b64 flat_scratch, s[2:3]
3319 // CHECK: [0x02,0x33,0xe6,0xbe]
3321 s_andn1_saveexec_b64 vcc, s[2:3]
3322 // CHECK: [0x02,0x33,0xea,0xbe]
3324 s_andn1_saveexec_b64 ttmp[14:15], s[2:3]
3325 // CHECK: [0x02,0x33,0xfa,0xbe]
3327 s_andn1_saveexec_b64 s[10:11], s[4:5]
3328 // CHECK: [0x04,0x33,0x8a,0xbe]
3330 s_andn1_saveexec_b64 s[10:11], s[100:101]
3331 // CHECK: [0x64,0x33,0x8a,0xbe]
3333 s_andn1_saveexec_b64 s[10:11], flat_scratch
3334 // CHECK: [0x66,0x33,0x8a,0xbe]
3336 s_andn1_saveexec_b64 s[10:11], vcc
3337 // CHECK: [0x6a,0x33,0x8a,0xbe]
3339 s_andn1_saveexec_b64 s[10:11], ttmp[14:15]
3340 // CHECK: [0x7a,0x33,0x8a,0xbe]
3342 s_andn1_saveexec_b64 s[10:11], exec
3343 // CHECK: [0x7e,0x33,0x8a,0xbe]
3345 s_andn1_saveexec_b64 s[10:11], 0
3346 // CHECK: [0x80,0x33,0x8a,0xbe]
3348 s_andn1_saveexec_b64 s[10:11], -1
3349 // CHECK: [0xc1,0x33,0x8a,0xbe]
3351 s_andn1_saveexec_b64 s[10:11], 0.5
3352 // CHECK: [0xf0,0x33,0x8a,0xbe]
3354 s_andn1_saveexec_b64 s[10:11], -4.0
3355 // CHECK: [0xf7,0x33,0x8a,0xbe]
3357 s_andn1_saveexec_b64 s[10:11], src_vccz
3358 // CHECK: [0xfb,0x33,0x8a,0xbe]
3360 s_andn1_saveexec_b64 s[10:11], src_execz
3361 // CHECK: [0xfc,0x33,0x8a,0xbe]
3363 s_andn1_saveexec_b64 s[10:11], src_scc
3364 // CHECK: [0xfd,0x33,0x8a,0xbe]
3366 s_andn1_saveexec_b64 s[10:11], 0xaf123456
3367 // CHECK: [0xff,0x33,0x8a,0xbe,0x56,0x34,0x12,0xaf]
3369 s_andn1_saveexec_b64 s[10:11], 0x3f717273
3370 // CHECK: [0xff,0x33,0x8a,0xbe,0x73,0x72,0x71,0x3f]
3372 s_orn1_saveexec_b64 s[10:11], s[2:3]
3373 // CHECK: [0x02,0x34,0x8a,0xbe]
3375 s_orn1_saveexec_b64 s[12:13], s[2:3]
3376 // CHECK: [0x02,0x34,0x8c,0xbe]
3378 s_orn1_saveexec_b64 s[100:101], s[2:3]
3379 // CHECK: [0x02,0x34,0xe4,0xbe]
3381 s_orn1_saveexec_b64 flat_scratch, s[2:3]
3382 // CHECK: [0x02,0x34,0xe6,0xbe]
3384 s_orn1_saveexec_b64 vcc, s[2:3]
3385 // CHECK: [0x02,0x34,0xea,0xbe]
3387 s_orn1_saveexec_b64 ttmp[14:15], s[2:3]
3388 // CHECK: [0x02,0x34,0xfa,0xbe]
3390 s_orn1_saveexec_b64 s[10:11], s[4:5]
3391 // CHECK: [0x04,0x34,0x8a,0xbe]
3393 s_orn1_saveexec_b64 s[10:11], s[100:101]
3394 // CHECK: [0x64,0x34,0x8a,0xbe]
3396 s_orn1_saveexec_b64 s[10:11], flat_scratch
3397 // CHECK: [0x66,0x34,0x8a,0xbe]
3399 s_orn1_saveexec_b64 s[10:11], vcc
3400 // CHECK: [0x6a,0x34,0x8a,0xbe]
3402 s_orn1_saveexec_b64 s[10:11], ttmp[14:15]
3403 // CHECK: [0x7a,0x34,0x8a,0xbe]
3405 s_orn1_saveexec_b64 s[10:11], exec
3406 // CHECK: [0x7e,0x34,0x8a,0xbe]
3408 s_orn1_saveexec_b64 s[10:11], 0
3409 // CHECK: [0x80,0x34,0x8a,0xbe]
3411 s_orn1_saveexec_b64 s[10:11], -1
3412 // CHECK: [0xc1,0x34,0x8a,0xbe]
3414 s_orn1_saveexec_b64 s[10:11], 0.5
3415 // CHECK: [0xf0,0x34,0x8a,0xbe]
3417 s_orn1_saveexec_b64 s[10:11], -4.0
3418 // CHECK: [0xf7,0x34,0x8a,0xbe]
3420 s_orn1_saveexec_b64 s[10:11], src_vccz
3421 // CHECK: [0xfb,0x34,0x8a,0xbe]
3423 s_orn1_saveexec_b64 s[10:11], src_execz
3424 // CHECK: [0xfc,0x34,0x8a,0xbe]
3426 s_orn1_saveexec_b64 s[10:11], src_scc
3427 // CHECK: [0xfd,0x34,0x8a,0xbe]
3429 s_orn1_saveexec_b64 s[10:11], 0xaf123456
3430 // CHECK: [0xff,0x34,0x8a,0xbe,0x56,0x34,0x12,0xaf]
3432 s_orn1_saveexec_b64 s[10:11], 0x3f717273
3433 // CHECK: [0xff,0x34,0x8a,0xbe,0x73,0x72,0x71,0x3f]
3435 s_andn1_wrexec_b64 s[10:11], s[2:3]
3436 // CHECK: [0x02,0x35,0x8a,0xbe]
3438 s_andn1_wrexec_b64 s[12:13], s[2:3]
3439 // CHECK: [0x02,0x35,0x8c,0xbe]
3441 s_andn1_wrexec_b64 s[100:101], s[2:3]
3442 // CHECK: [0x02,0x35,0xe4,0xbe]
3444 s_andn1_wrexec_b64 flat_scratch, s[2:3]
3445 // CHECK: [0x02,0x35,0xe6,0xbe]
3447 s_andn1_wrexec_b64 vcc, s[2:3]
3448 // CHECK: [0x02,0x35,0xea,0xbe]
3450 s_andn1_wrexec_b64 ttmp[14:15], s[2:3]
3451 // CHECK: [0x02,0x35,0xfa,0xbe]
3453 s_andn1_wrexec_b64 s[10:11], s[4:5]
3454 // CHECK: [0x04,0x35,0x8a,0xbe]
3456 s_andn1_wrexec_b64 s[10:11], s[100:101]
3457 // CHECK: [0x64,0x35,0x8a,0xbe]
3459 s_andn1_wrexec_b64 s[10:11], flat_scratch
3460 // CHECK: [0x66,0x35,0x8a,0xbe]
3462 s_andn1_wrexec_b64 s[10:11], vcc
3463 // CHECK: [0x6a,0x35,0x8a,0xbe]
3465 s_andn1_wrexec_b64 s[10:11], ttmp[14:15]
3466 // CHECK: [0x7a,0x35,0x8a,0xbe]
3468 s_andn1_wrexec_b64 s[10:11], exec
3469 // CHECK: [0x7e,0x35,0x8a,0xbe]
3471 s_andn1_wrexec_b64 s[10:11], 0
3472 // CHECK: [0x80,0x35,0x8a,0xbe]
3474 s_andn1_wrexec_b64 s[10:11], -1
3475 // CHECK: [0xc1,0x35,0x8a,0xbe]
3477 s_andn1_wrexec_b64 s[10:11], 0.5
3478 // CHECK: [0xf0,0x35,0x8a,0xbe]
3480 s_andn1_wrexec_b64 s[10:11], -4.0
3481 // CHECK: [0xf7,0x35,0x8a,0xbe]
3483 s_andn1_wrexec_b64 s[10:11], src_vccz
3484 // CHECK: [0xfb,0x35,0x8a,0xbe]
3486 s_andn1_wrexec_b64 s[10:11], src_execz
3487 // CHECK: [0xfc,0x35,0x8a,0xbe]
3489 s_andn1_wrexec_b64 s[10:11], src_scc
3490 // CHECK: [0xfd,0x35,0x8a,0xbe]
3492 s_andn1_wrexec_b64 s[10:11], 0xaf123456
3493 // CHECK: [0xff,0x35,0x8a,0xbe,0x56,0x34,0x12,0xaf]
3495 s_andn1_wrexec_b64 s[10:11], 0x3f717273
3496 // CHECK: [0xff,0x35,0x8a,0xbe,0x73,0x72,0x71,0x3f]
3498 s_andn2_wrexec_b64 s[10:11], s[2:3]
3499 // CHECK: [0x02,0x36,0x8a,0xbe]
3501 s_andn2_wrexec_b64 s[12:13], s[2:3]
3502 // CHECK: [0x02,0x36,0x8c,0xbe]
3504 s_andn2_wrexec_b64 s[100:101], s[2:3]
3505 // CHECK: [0x02,0x36,0xe4,0xbe]
3507 s_andn2_wrexec_b64 flat_scratch, s[2:3]
3508 // CHECK: [0x02,0x36,0xe6,0xbe]
3510 s_andn2_wrexec_b64 vcc, s[2:3]
3511 // CHECK: [0x02,0x36,0xea,0xbe]
3513 s_andn2_wrexec_b64 ttmp[14:15], s[2:3]
3514 // CHECK: [0x02,0x36,0xfa,0xbe]
3516 s_andn2_wrexec_b64 s[10:11], s[4:5]
3517 // CHECK: [0x04,0x36,0x8a,0xbe]
3519 s_andn2_wrexec_b64 s[10:11], s[100:101]
3520 // CHECK: [0x64,0x36,0x8a,0xbe]
3522 s_andn2_wrexec_b64 s[10:11], flat_scratch
3523 // CHECK: [0x66,0x36,0x8a,0xbe]
3525 s_andn2_wrexec_b64 s[10:11], vcc
3526 // CHECK: [0x6a,0x36,0x8a,0xbe]
3528 s_andn2_wrexec_b64 s[10:11], ttmp[14:15]
3529 // CHECK: [0x7a,0x36,0x8a,0xbe]
3531 s_andn2_wrexec_b64 s[10:11], exec
3532 // CHECK: [0x7e,0x36,0x8a,0xbe]
3534 s_andn2_wrexec_b64 s[10:11], 0
3535 // CHECK: [0x80,0x36,0x8a,0xbe]
3537 s_andn2_wrexec_b64 s[10:11], -1
3538 // CHECK: [0xc1,0x36,0x8a,0xbe]
3540 s_andn2_wrexec_b64 s[10:11], 0.5
3541 // CHECK: [0xf0,0x36,0x8a,0xbe]
3543 s_andn2_wrexec_b64 s[10:11], -4.0
3544 // CHECK: [0xf7,0x36,0x8a,0xbe]
3546 s_andn2_wrexec_b64 s[10:11], src_vccz
3547 // CHECK: [0xfb,0x36,0x8a,0xbe]
3549 s_andn2_wrexec_b64 s[10:11], src_execz
3550 // CHECK: [0xfc,0x36,0x8a,0xbe]
3552 s_andn2_wrexec_b64 s[10:11], src_scc
3553 // CHECK: [0xfd,0x36,0x8a,0xbe]
3555 s_andn2_wrexec_b64 s[10:11], 0xaf123456
3556 // CHECK: [0xff,0x36,0x8a,0xbe,0x56,0x34,0x12,0xaf]
3558 s_andn2_wrexec_b64 s[10:11], 0x3f717273
3559 // CHECK: [0xff,0x36,0x8a,0xbe,0x73,0x72,0x71,0x3f]
3561 s_bitreplicate_b64_b32 s[10:11], s1
3562 // CHECK: [0x01,0x37,0x8a,0xbe]
3564 s_bitreplicate_b64_b32 s[12:13], s1
3565 // CHECK: [0x01,0x37,0x8c,0xbe]
3567 s_bitreplicate_b64_b32 s[100:101], s1
3568 // CHECK: [0x01,0x37,0xe4,0xbe]
3570 s_bitreplicate_b64_b32 flat_scratch, s1
3571 // CHECK: [0x01,0x37,0xe6,0xbe]
3573 s_bitreplicate_b64_b32 vcc, s1
3574 // CHECK: [0x01,0x37,0xea,0xbe]
3576 s_bitreplicate_b64_b32 ttmp[14:15], s1
3577 // CHECK: [0x01,0x37,0xfa,0xbe]
3579 s_bitreplicate_b64_b32 exec, s1
3580 // CHECK: [0x01,0x37,0xfe,0xbe]
3582 s_bitreplicate_b64_b32 s[10:11], s101
3583 // CHECK: [0x65,0x37,0x8a,0xbe]
3585 s_bitreplicate_b64_b32 s[10:11], flat_scratch_lo
3586 // CHECK: [0x66,0x37,0x8a,0xbe]
3588 s_bitreplicate_b64_b32 s[10:11], flat_scratch_hi
3589 // CHECK: [0x67,0x37,0x8a,0xbe]
3591 s_bitreplicate_b64_b32 s[10:11], vcc_lo
3592 // CHECK: [0x6a,0x37,0x8a,0xbe]
3594 s_bitreplicate_b64_b32 s[10:11], vcc_hi
3595 // CHECK: [0x6b,0x37,0x8a,0xbe]
3597 s_bitreplicate_b64_b32 s[10:11], ttmp15
3598 // CHECK: [0x7b,0x37,0x8a,0xbe]
3600 s_bitreplicate_b64_b32 s[10:11], m0
3601 // CHECK: [0x7c,0x37,0x8a,0xbe]
3603 s_bitreplicate_b64_b32 s[10:11], exec_lo
3604 // CHECK: [0x7e,0x37,0x8a,0xbe]
3606 s_bitreplicate_b64_b32 s[10:11], exec_hi
3607 // CHECK: [0x7f,0x37,0x8a,0xbe]
3609 s_bitreplicate_b64_b32 s[10:11], 0
3610 // CHECK: [0x80,0x37,0x8a,0xbe]
3612 s_bitreplicate_b64_b32 s[10:11], -1
3613 // CHECK: [0xc1,0x37,0x8a,0xbe]
3615 s_bitreplicate_b64_b32 s[10:11], 0.5
3616 // CHECK: [0xf0,0x37,0x8a,0xbe]
3618 s_bitreplicate_b64_b32 s[10:11], -4.0
3619 // CHECK: [0xf7,0x37,0x8a,0xbe]
3621 s_bitreplicate_b64_b32 s[10:11], src_vccz
3622 // CHECK: [0xfb,0x37,0x8a,0xbe]
3624 s_bitreplicate_b64_b32 s[10:11], src_execz
3625 // CHECK: [0xfc,0x37,0x8a,0xbe]
3627 s_bitreplicate_b64_b32 s[10:11], src_scc
3628 // CHECK: [0xfd,0x37,0x8a,0xbe]
3630 s_bitreplicate_b64_b32 s[10:11], 0xaf123456
3631 // CHECK: [0xff,0x37,0x8a,0xbe,0x56,0x34,0x12,0xaf]
3633 s_bitreplicate_b64_b32 s[10:11], 0x3f717273
3634 // CHECK: [0xff,0x37,0x8a,0xbe,0x73,0x72,0x71,0x3f]