1 // RUN
: llvm-mc
-arch
=amdgcn
-mcpu
=gfx900
-show-encoding
%s | FileCheck
%s
4 // CHECK
: [0x01,0x02,0x00,0xbf]
7 // CHECK
: [0x65,0x02,0x00,0xbf]
9 s_cmp_eq_i32 flat_scratch_lo
, s2
10 // CHECK
: [0x66,0x02,0x00,0xbf]
12 s_cmp_eq_i32 flat_scratch_hi
, s2
13 // CHECK
: [0x67,0x02,0x00,0xbf]
15 s_cmp_eq_i32 vcc_lo
, s2
16 // CHECK
: [0x6a,0x02,0x00,0xbf]
18 s_cmp_eq_i32 vcc_hi
, s2
19 // CHECK
: [0x6b,0x02,0x00,0xbf]
21 s_cmp_eq_i32 ttmp15
, s2
22 // CHECK
: [0x7b,0x02,0x00,0xbf]
25 // CHECK
: [0x7c,0x02,0x00,0xbf]
27 s_cmp_eq_i32 exec_lo
, s2
28 // CHECK
: [0x7e,0x02,0x00,0xbf]
30 s_cmp_eq_i32 exec_hi
, s2
31 // CHECK
: [0x7f,0x02,0x00,0xbf]
34 // CHECK
: [0x80,0x02,0x00,0xbf]
37 // CHECK
: [0xc1,0x02,0x00,0xbf]
40 // CHECK
: [0xf0,0x02,0x00,0xbf]
43 // CHECK
: [0xf7,0x02,0x00,0xbf]
45 s_cmp_eq_i32 src_vccz
, s2
46 // CHECK
: [0xfb,0x02,0x00,0xbf]
48 s_cmp_eq_i32 src_execz
, s2
49 // CHECK
: [0xfc,0x02,0x00,0xbf]
51 s_cmp_eq_i32 src_scc
, s2
52 // CHECK
: [0xfd,0x02,0x00,0xbf]
54 s_cmp_eq_i32
0xaf123456, s2
55 // CHECK
: [0xff,0x02,0x00,0xbf,0x56,0x34,0x12,0xaf]
57 s_cmp_eq_i32
0x3f717273, s2
58 // CHECK
: [0xff,0x02,0x00,0xbf,0x73,0x72,0x71,0x3f]
61 // CHECK
: [0x01,0x65,0x00,0xbf]
63 s_cmp_eq_i32 s1
, flat_scratch_lo
64 // CHECK
: [0x01,0x66,0x00,0xbf]
66 s_cmp_eq_i32 s1
, flat_scratch_hi
67 // CHECK
: [0x01,0x67,0x00,0xbf]
69 s_cmp_eq_i32 s1
, vcc_lo
70 // CHECK
: [0x01,0x6a,0x00,0xbf]
72 s_cmp_eq_i32 s1
, vcc_hi
73 // CHECK
: [0x01,0x6b,0x00,0xbf]
75 s_cmp_eq_i32 s1
, ttmp15
76 // CHECK
: [0x01,0x7b,0x00,0xbf]
79 // CHECK
: [0x01,0x7c,0x00,0xbf]
81 s_cmp_eq_i32 s1
, exec_lo
82 // CHECK
: [0x01,0x7e,0x00,0xbf]
84 s_cmp_eq_i32 s1
, exec_hi
85 // CHECK
: [0x01,0x7f,0x00,0xbf]
88 // CHECK
: [0x01,0x80,0x00,0xbf]
91 // CHECK
: [0x01,0xc1,0x00,0xbf]
94 // CHECK
: [0x01,0xf0,0x00,0xbf]
97 // CHECK
: [0x01,0xf7,0x00,0xbf]
99 s_cmp_eq_i32 s1
, src_vccz
100 // CHECK
: [0x01,0xfb,0x00,0xbf]
102 s_cmp_eq_i32 s1
, src_execz
103 // CHECK
: [0x01,0xfc,0x00,0xbf]
105 s_cmp_eq_i32 s1
, src_scc
106 // CHECK
: [0x01,0xfd,0x00,0xbf]
108 s_cmp_eq_i32 s1
, 0xaf123456
109 // CHECK
: [0x01,0xff,0x00,0xbf,0x56,0x34,0x12,0xaf]
111 s_cmp_eq_i32 s1
, 0x3f717273
112 // CHECK
: [0x01,0xff,0x00,0xbf,0x73,0x72,0x71,0x3f]
115 // CHECK
: [0x01,0x02,0x01,0xbf]
117 s_cmp_lg_i32 s101
, s2
118 // CHECK
: [0x65,0x02,0x01,0xbf]
120 s_cmp_lg_i32 flat_scratch_lo
, s2
121 // CHECK
: [0x66,0x02,0x01,0xbf]
123 s_cmp_lg_i32 flat_scratch_hi
, s2
124 // CHECK
: [0x67,0x02,0x01,0xbf]
126 s_cmp_lg_i32 vcc_lo
, s2
127 // CHECK
: [0x6a,0x02,0x01,0xbf]
129 s_cmp_lg_i32 vcc_hi
, s2
130 // CHECK
: [0x6b,0x02,0x01,0xbf]
132 s_cmp_lg_i32 ttmp15
, s2
133 // CHECK
: [0x7b,0x02,0x01,0xbf]
136 // CHECK
: [0x7c,0x02,0x01,0xbf]
138 s_cmp_lg_i32 exec_lo
, s2
139 // CHECK
: [0x7e,0x02,0x01,0xbf]
141 s_cmp_lg_i32 exec_hi
, s2
142 // CHECK
: [0x7f,0x02,0x01,0xbf]
145 // CHECK
: [0x80,0x02,0x01,0xbf]
148 // CHECK
: [0xc1,0x02,0x01,0xbf]
151 // CHECK
: [0xf0,0x02,0x01,0xbf]
153 s_cmp_lg_i32
-4.0, s2
154 // CHECK
: [0xf7,0x02,0x01,0xbf]
156 s_cmp_lg_i32 src_vccz
, s2
157 // CHECK
: [0xfb,0x02,0x01,0xbf]
159 s_cmp_lg_i32 src_execz
, s2
160 // CHECK
: [0xfc,0x02,0x01,0xbf]
162 s_cmp_lg_i32 src_scc
, s2
163 // CHECK
: [0xfd,0x02,0x01,0xbf]
165 s_cmp_lg_i32
0xaf123456, s2
166 // CHECK
: [0xff,0x02,0x01,0xbf,0x56,0x34,0x12,0xaf]
168 s_cmp_lg_i32
0x3f717273, s2
169 // CHECK
: [0xff,0x02,0x01,0xbf,0x73,0x72,0x71,0x3f]
171 s_cmp_lg_i32 s1
, s101
172 // CHECK
: [0x01,0x65,0x01,0xbf]
174 s_cmp_lg_i32 s1
, flat_scratch_lo
175 // CHECK
: [0x01,0x66,0x01,0xbf]
177 s_cmp_lg_i32 s1
, flat_scratch_hi
178 // CHECK
: [0x01,0x67,0x01,0xbf]
180 s_cmp_lg_i32 s1
, vcc_lo
181 // CHECK
: [0x01,0x6a,0x01,0xbf]
183 s_cmp_lg_i32 s1
, vcc_hi
184 // CHECK
: [0x01,0x6b,0x01,0xbf]
186 s_cmp_lg_i32 s1
, ttmp15
187 // CHECK
: [0x01,0x7b,0x01,0xbf]
190 // CHECK
: [0x01,0x7c,0x01,0xbf]
192 s_cmp_lg_i32 s1
, exec_lo
193 // CHECK
: [0x01,0x7e,0x01,0xbf]
195 s_cmp_lg_i32 s1
, exec_hi
196 // CHECK
: [0x01,0x7f,0x01,0xbf]
199 // CHECK
: [0x01,0x80,0x01,0xbf]
202 // CHECK
: [0x01,0xc1,0x01,0xbf]
205 // CHECK
: [0x01,0xf0,0x01,0xbf]
207 s_cmp_lg_i32 s1
, -4.0
208 // CHECK
: [0x01,0xf7,0x01,0xbf]
210 s_cmp_lg_i32 s1
, src_vccz
211 // CHECK
: [0x01,0xfb,0x01,0xbf]
213 s_cmp_lg_i32 s1
, src_execz
214 // CHECK
: [0x01,0xfc,0x01,0xbf]
216 s_cmp_lg_i32 s1
, src_scc
217 // CHECK
: [0x01,0xfd,0x01,0xbf]
219 s_cmp_lg_i32 s1
, 0xaf123456
220 // CHECK
: [0x01,0xff,0x01,0xbf,0x56,0x34,0x12,0xaf]
222 s_cmp_lg_i32 s1
, 0x3f717273
223 // CHECK
: [0x01,0xff,0x01,0xbf,0x73,0x72,0x71,0x3f]
226 // CHECK
: [0x01,0x02,0x02,0xbf]
228 s_cmp_gt_i32 s101
, s2
229 // CHECK
: [0x65,0x02,0x02,0xbf]
231 s_cmp_gt_i32 flat_scratch_lo
, s2
232 // CHECK
: [0x66,0x02,0x02,0xbf]
234 s_cmp_gt_i32 flat_scratch_hi
, s2
235 // CHECK
: [0x67,0x02,0x02,0xbf]
237 s_cmp_gt_i32 vcc_lo
, s2
238 // CHECK
: [0x6a,0x02,0x02,0xbf]
240 s_cmp_gt_i32 vcc_hi
, s2
241 // CHECK
: [0x6b,0x02,0x02,0xbf]
243 s_cmp_gt_i32 ttmp15
, s2
244 // CHECK
: [0x7b,0x02,0x02,0xbf]
247 // CHECK
: [0x7c,0x02,0x02,0xbf]
249 s_cmp_gt_i32 exec_lo
, s2
250 // CHECK
: [0x7e,0x02,0x02,0xbf]
252 s_cmp_gt_i32 exec_hi
, s2
253 // CHECK
: [0x7f,0x02,0x02,0xbf]
256 // CHECK
: [0x80,0x02,0x02,0xbf]
259 // CHECK
: [0xc1,0x02,0x02,0xbf]
262 // CHECK
: [0xf0,0x02,0x02,0xbf]
264 s_cmp_gt_i32
-4.0, s2
265 // CHECK
: [0xf7,0x02,0x02,0xbf]
267 s_cmp_gt_i32 src_vccz
, s2
268 // CHECK
: [0xfb,0x02,0x02,0xbf]
270 s_cmp_gt_i32 src_execz
, s2
271 // CHECK
: [0xfc,0x02,0x02,0xbf]
273 s_cmp_gt_i32 src_scc
, s2
274 // CHECK
: [0xfd,0x02,0x02,0xbf]
276 s_cmp_gt_i32
0xaf123456, s2
277 // CHECK
: [0xff,0x02,0x02,0xbf,0x56,0x34,0x12,0xaf]
279 s_cmp_gt_i32
0x3f717273, s2
280 // CHECK
: [0xff,0x02,0x02,0xbf,0x73,0x72,0x71,0x3f]
282 s_cmp_gt_i32 s1
, s101
283 // CHECK
: [0x01,0x65,0x02,0xbf]
285 s_cmp_gt_i32 s1
, flat_scratch_lo
286 // CHECK
: [0x01,0x66,0x02,0xbf]
288 s_cmp_gt_i32 s1
, flat_scratch_hi
289 // CHECK
: [0x01,0x67,0x02,0xbf]
291 s_cmp_gt_i32 s1
, vcc_lo
292 // CHECK
: [0x01,0x6a,0x02,0xbf]
294 s_cmp_gt_i32 s1
, vcc_hi
295 // CHECK
: [0x01,0x6b,0x02,0xbf]
297 s_cmp_gt_i32 s1
, ttmp15
298 // CHECK
: [0x01,0x7b,0x02,0xbf]
301 // CHECK
: [0x01,0x7c,0x02,0xbf]
303 s_cmp_gt_i32 s1
, exec_lo
304 // CHECK
: [0x01,0x7e,0x02,0xbf]
306 s_cmp_gt_i32 s1
, exec_hi
307 // CHECK
: [0x01,0x7f,0x02,0xbf]
310 // CHECK
: [0x01,0x80,0x02,0xbf]
313 // CHECK
: [0x01,0xc1,0x02,0xbf]
316 // CHECK
: [0x01,0xf0,0x02,0xbf]
318 s_cmp_gt_i32 s1
, -4.0
319 // CHECK
: [0x01,0xf7,0x02,0xbf]
321 s_cmp_gt_i32 s1
, src_vccz
322 // CHECK
: [0x01,0xfb,0x02,0xbf]
324 s_cmp_gt_i32 s1
, src_execz
325 // CHECK
: [0x01,0xfc,0x02,0xbf]
327 s_cmp_gt_i32 s1
, src_scc
328 // CHECK
: [0x01,0xfd,0x02,0xbf]
330 s_cmp_gt_i32 s1
, 0xaf123456
331 // CHECK
: [0x01,0xff,0x02,0xbf,0x56,0x34,0x12,0xaf]
333 s_cmp_gt_i32 s1
, 0x3f717273
334 // CHECK
: [0x01,0xff,0x02,0xbf,0x73,0x72,0x71,0x3f]
337 // CHECK
: [0x01,0x02,0x03,0xbf]
339 s_cmp_ge_i32 s101
, s2
340 // CHECK
: [0x65,0x02,0x03,0xbf]
342 s_cmp_ge_i32 flat_scratch_lo
, s2
343 // CHECK
: [0x66,0x02,0x03,0xbf]
345 s_cmp_ge_i32 flat_scratch_hi
, s2
346 // CHECK
: [0x67,0x02,0x03,0xbf]
348 s_cmp_ge_i32 vcc_lo
, s2
349 // CHECK
: [0x6a,0x02,0x03,0xbf]
351 s_cmp_ge_i32 vcc_hi
, s2
352 // CHECK
: [0x6b,0x02,0x03,0xbf]
354 s_cmp_ge_i32 ttmp15
, s2
355 // CHECK
: [0x7b,0x02,0x03,0xbf]
358 // CHECK
: [0x7c,0x02,0x03,0xbf]
360 s_cmp_ge_i32 exec_lo
, s2
361 // CHECK
: [0x7e,0x02,0x03,0xbf]
363 s_cmp_ge_i32 exec_hi
, s2
364 // CHECK
: [0x7f,0x02,0x03,0xbf]
367 // CHECK
: [0x80,0x02,0x03,0xbf]
370 // CHECK
: [0xc1,0x02,0x03,0xbf]
373 // CHECK
: [0xf0,0x02,0x03,0xbf]
375 s_cmp_ge_i32
-4.0, s2
376 // CHECK
: [0xf7,0x02,0x03,0xbf]
378 s_cmp_ge_i32 src_vccz
, s2
379 // CHECK
: [0xfb,0x02,0x03,0xbf]
381 s_cmp_ge_i32 src_execz
, s2
382 // CHECK
: [0xfc,0x02,0x03,0xbf]
384 s_cmp_ge_i32 src_scc
, s2
385 // CHECK
: [0xfd,0x02,0x03,0xbf]
387 s_cmp_ge_i32
0xaf123456, s2
388 // CHECK
: [0xff,0x02,0x03,0xbf,0x56,0x34,0x12,0xaf]
390 s_cmp_ge_i32
0x3f717273, s2
391 // CHECK
: [0xff,0x02,0x03,0xbf,0x73,0x72,0x71,0x3f]
393 s_cmp_ge_i32 s1
, s101
394 // CHECK
: [0x01,0x65,0x03,0xbf]
396 s_cmp_ge_i32 s1
, flat_scratch_lo
397 // CHECK
: [0x01,0x66,0x03,0xbf]
399 s_cmp_ge_i32 s1
, flat_scratch_hi
400 // CHECK
: [0x01,0x67,0x03,0xbf]
402 s_cmp_ge_i32 s1
, vcc_lo
403 // CHECK
: [0x01,0x6a,0x03,0xbf]
405 s_cmp_ge_i32 s1
, vcc_hi
406 // CHECK
: [0x01,0x6b,0x03,0xbf]
408 s_cmp_ge_i32 s1
, ttmp15
409 // CHECK
: [0x01,0x7b,0x03,0xbf]
412 // CHECK
: [0x01,0x7c,0x03,0xbf]
414 s_cmp_ge_i32 s1
, exec_lo
415 // CHECK
: [0x01,0x7e,0x03,0xbf]
417 s_cmp_ge_i32 s1
, exec_hi
418 // CHECK
: [0x01,0x7f,0x03,0xbf]
421 // CHECK
: [0x01,0x80,0x03,0xbf]
424 // CHECK
: [0x01,0xc1,0x03,0xbf]
427 // CHECK
: [0x01,0xf0,0x03,0xbf]
429 s_cmp_ge_i32 s1
, -4.0
430 // CHECK
: [0x01,0xf7,0x03,0xbf]
432 s_cmp_ge_i32 s1
, src_vccz
433 // CHECK
: [0x01,0xfb,0x03,0xbf]
435 s_cmp_ge_i32 s1
, src_execz
436 // CHECK
: [0x01,0xfc,0x03,0xbf]
438 s_cmp_ge_i32 s1
, src_scc
439 // CHECK
: [0x01,0xfd,0x03,0xbf]
441 s_cmp_ge_i32 s1
, 0xaf123456
442 // CHECK
: [0x01,0xff,0x03,0xbf,0x56,0x34,0x12,0xaf]
444 s_cmp_ge_i32 s1
, 0x3f717273
445 // CHECK
: [0x01,0xff,0x03,0xbf,0x73,0x72,0x71,0x3f]
448 // CHECK
: [0x01,0x02,0x04,0xbf]
450 s_cmp_lt_i32 s101
, s2
451 // CHECK
: [0x65,0x02,0x04,0xbf]
453 s_cmp_lt_i32 flat_scratch_lo
, s2
454 // CHECK
: [0x66,0x02,0x04,0xbf]
456 s_cmp_lt_i32 flat_scratch_hi
, s2
457 // CHECK
: [0x67,0x02,0x04,0xbf]
459 s_cmp_lt_i32 vcc_lo
, s2
460 // CHECK
: [0x6a,0x02,0x04,0xbf]
462 s_cmp_lt_i32 vcc_hi
, s2
463 // CHECK
: [0x6b,0x02,0x04,0xbf]
465 s_cmp_lt_i32 ttmp15
, s2
466 // CHECK
: [0x7b,0x02,0x04,0xbf]
469 // CHECK
: [0x7c,0x02,0x04,0xbf]
471 s_cmp_lt_i32 exec_lo
, s2
472 // CHECK
: [0x7e,0x02,0x04,0xbf]
474 s_cmp_lt_i32 exec_hi
, s2
475 // CHECK
: [0x7f,0x02,0x04,0xbf]
478 // CHECK
: [0x80,0x02,0x04,0xbf]
481 // CHECK
: [0xc1,0x02,0x04,0xbf]
484 // CHECK
: [0xf0,0x02,0x04,0xbf]
486 s_cmp_lt_i32
-4.0, s2
487 // CHECK
: [0xf7,0x02,0x04,0xbf]
489 s_cmp_lt_i32 src_vccz
, s2
490 // CHECK
: [0xfb,0x02,0x04,0xbf]
492 s_cmp_lt_i32 src_execz
, s2
493 // CHECK
: [0xfc,0x02,0x04,0xbf]
495 s_cmp_lt_i32 src_scc
, s2
496 // CHECK
: [0xfd,0x02,0x04,0xbf]
498 s_cmp_lt_i32
0xaf123456, s2
499 // CHECK
: [0xff,0x02,0x04,0xbf,0x56,0x34,0x12,0xaf]
501 s_cmp_lt_i32
0x3f717273, s2
502 // CHECK
: [0xff,0x02,0x04,0xbf,0x73,0x72,0x71,0x3f]
504 s_cmp_lt_i32 s1
, s101
505 // CHECK
: [0x01,0x65,0x04,0xbf]
507 s_cmp_lt_i32 s1
, flat_scratch_lo
508 // CHECK
: [0x01,0x66,0x04,0xbf]
510 s_cmp_lt_i32 s1
, flat_scratch_hi
511 // CHECK
: [0x01,0x67,0x04,0xbf]
513 s_cmp_lt_i32 s1
, vcc_lo
514 // CHECK
: [0x01,0x6a,0x04,0xbf]
516 s_cmp_lt_i32 s1
, vcc_hi
517 // CHECK
: [0x01,0x6b,0x04,0xbf]
519 s_cmp_lt_i32 s1
, ttmp15
520 // CHECK
: [0x01,0x7b,0x04,0xbf]
523 // CHECK
: [0x01,0x7c,0x04,0xbf]
525 s_cmp_lt_i32 s1
, exec_lo
526 // CHECK
: [0x01,0x7e,0x04,0xbf]
528 s_cmp_lt_i32 s1
, exec_hi
529 // CHECK
: [0x01,0x7f,0x04,0xbf]
532 // CHECK
: [0x01,0x80,0x04,0xbf]
535 // CHECK
: [0x01,0xc1,0x04,0xbf]
538 // CHECK
: [0x01,0xf0,0x04,0xbf]
540 s_cmp_lt_i32 s1
, -4.0
541 // CHECK
: [0x01,0xf7,0x04,0xbf]
543 s_cmp_lt_i32 s1
, src_vccz
544 // CHECK
: [0x01,0xfb,0x04,0xbf]
546 s_cmp_lt_i32 s1
, src_execz
547 // CHECK
: [0x01,0xfc,0x04,0xbf]
549 s_cmp_lt_i32 s1
, src_scc
550 // CHECK
: [0x01,0xfd,0x04,0xbf]
552 s_cmp_lt_i32 s1
, 0xaf123456
553 // CHECK
: [0x01,0xff,0x04,0xbf,0x56,0x34,0x12,0xaf]
555 s_cmp_lt_i32 s1
, 0x3f717273
556 // CHECK
: [0x01,0xff,0x04,0xbf,0x73,0x72,0x71,0x3f]
559 // CHECK
: [0x01,0x02,0x05,0xbf]
561 s_cmp_le_i32 s101
, s2
562 // CHECK
: [0x65,0x02,0x05,0xbf]
564 s_cmp_le_i32 flat_scratch_lo
, s2
565 // CHECK
: [0x66,0x02,0x05,0xbf]
567 s_cmp_le_i32 flat_scratch_hi
, s2
568 // CHECK
: [0x67,0x02,0x05,0xbf]
570 s_cmp_le_i32 vcc_lo
, s2
571 // CHECK
: [0x6a,0x02,0x05,0xbf]
573 s_cmp_le_i32 vcc_hi
, s2
574 // CHECK
: [0x6b,0x02,0x05,0xbf]
576 s_cmp_le_i32 ttmp15
, s2
577 // CHECK
: [0x7b,0x02,0x05,0xbf]
580 // CHECK
: [0x7c,0x02,0x05,0xbf]
582 s_cmp_le_i32 exec_lo
, s2
583 // CHECK
: [0x7e,0x02,0x05,0xbf]
585 s_cmp_le_i32 exec_hi
, s2
586 // CHECK
: [0x7f,0x02,0x05,0xbf]
589 // CHECK
: [0x80,0x02,0x05,0xbf]
592 // CHECK
: [0xc1,0x02,0x05,0xbf]
595 // CHECK
: [0xf0,0x02,0x05,0xbf]
597 s_cmp_le_i32
-4.0, s2
598 // CHECK
: [0xf7,0x02,0x05,0xbf]
600 s_cmp_le_i32 src_vccz
, s2
601 // CHECK
: [0xfb,0x02,0x05,0xbf]
603 s_cmp_le_i32 src_execz
, s2
604 // CHECK
: [0xfc,0x02,0x05,0xbf]
606 s_cmp_le_i32 src_scc
, s2
607 // CHECK
: [0xfd,0x02,0x05,0xbf]
609 s_cmp_le_i32
0xaf123456, s2
610 // CHECK
: [0xff,0x02,0x05,0xbf,0x56,0x34,0x12,0xaf]
612 s_cmp_le_i32
0x3f717273, s2
613 // CHECK
: [0xff,0x02,0x05,0xbf,0x73,0x72,0x71,0x3f]
615 s_cmp_le_i32 s1
, s101
616 // CHECK
: [0x01,0x65,0x05,0xbf]
618 s_cmp_le_i32 s1
, flat_scratch_lo
619 // CHECK
: [0x01,0x66,0x05,0xbf]
621 s_cmp_le_i32 s1
, flat_scratch_hi
622 // CHECK
: [0x01,0x67,0x05,0xbf]
624 s_cmp_le_i32 s1
, vcc_lo
625 // CHECK
: [0x01,0x6a,0x05,0xbf]
627 s_cmp_le_i32 s1
, vcc_hi
628 // CHECK
: [0x01,0x6b,0x05,0xbf]
630 s_cmp_le_i32 s1
, ttmp15
631 // CHECK
: [0x01,0x7b,0x05,0xbf]
634 // CHECK
: [0x01,0x7c,0x05,0xbf]
636 s_cmp_le_i32 s1
, exec_lo
637 // CHECK
: [0x01,0x7e,0x05,0xbf]
639 s_cmp_le_i32 s1
, exec_hi
640 // CHECK
: [0x01,0x7f,0x05,0xbf]
643 // CHECK
: [0x01,0x80,0x05,0xbf]
646 // CHECK
: [0x01,0xc1,0x05,0xbf]
649 // CHECK
: [0x01,0xf0,0x05,0xbf]
651 s_cmp_le_i32 s1
, -4.0
652 // CHECK
: [0x01,0xf7,0x05,0xbf]
654 s_cmp_le_i32 s1
, src_vccz
655 // CHECK
: [0x01,0xfb,0x05,0xbf]
657 s_cmp_le_i32 s1
, src_execz
658 // CHECK
: [0x01,0xfc,0x05,0xbf]
660 s_cmp_le_i32 s1
, src_scc
661 // CHECK
: [0x01,0xfd,0x05,0xbf]
663 s_cmp_le_i32 s1
, 0xaf123456
664 // CHECK
: [0x01,0xff,0x05,0xbf,0x56,0x34,0x12,0xaf]
666 s_cmp_le_i32 s1
, 0x3f717273
667 // CHECK
: [0x01,0xff,0x05,0xbf,0x73,0x72,0x71,0x3f]
670 // CHECK
: [0x01,0x02,0x06,0xbf]
672 s_cmp_eq_u32 s101
, s2
673 // CHECK
: [0x65,0x02,0x06,0xbf]
675 s_cmp_eq_u32 flat_scratch_lo
, s2
676 // CHECK
: [0x66,0x02,0x06,0xbf]
678 s_cmp_eq_u32 flat_scratch_hi
, s2
679 // CHECK
: [0x67,0x02,0x06,0xbf]
681 s_cmp_eq_u32 vcc_lo
, s2
682 // CHECK
: [0x6a,0x02,0x06,0xbf]
684 s_cmp_eq_u32 vcc_hi
, s2
685 // CHECK
: [0x6b,0x02,0x06,0xbf]
687 s_cmp_eq_u32 ttmp15
, s2
688 // CHECK
: [0x7b,0x02,0x06,0xbf]
691 // CHECK
: [0x7c,0x02,0x06,0xbf]
693 s_cmp_eq_u32 exec_lo
, s2
694 // CHECK
: [0x7e,0x02,0x06,0xbf]
696 s_cmp_eq_u32 exec_hi
, s2
697 // CHECK
: [0x7f,0x02,0x06,0xbf]
700 // CHECK
: [0x80,0x02,0x06,0xbf]
703 // CHECK
: [0xc1,0x02,0x06,0xbf]
706 // CHECK
: [0xf0,0x02,0x06,0xbf]
708 s_cmp_eq_u32
-4.0, s2
709 // CHECK
: [0xf7,0x02,0x06,0xbf]
711 s_cmp_eq_u32 src_vccz
, s2
712 // CHECK
: [0xfb,0x02,0x06,0xbf]
714 s_cmp_eq_u32 src_execz
, s2
715 // CHECK
: [0xfc,0x02,0x06,0xbf]
717 s_cmp_eq_u32 src_scc
, s2
718 // CHECK
: [0xfd,0x02,0x06,0xbf]
720 s_cmp_eq_u32
0xaf123456, s2
721 // CHECK
: [0xff,0x02,0x06,0xbf,0x56,0x34,0x12,0xaf]
723 s_cmp_eq_u32
0x3f717273, s2
724 // CHECK
: [0xff,0x02,0x06,0xbf,0x73,0x72,0x71,0x3f]
726 s_cmp_eq_u32 s1
, s101
727 // CHECK
: [0x01,0x65,0x06,0xbf]
729 s_cmp_eq_u32 s1
, flat_scratch_lo
730 // CHECK
: [0x01,0x66,0x06,0xbf]
732 s_cmp_eq_u32 s1
, flat_scratch_hi
733 // CHECK
: [0x01,0x67,0x06,0xbf]
735 s_cmp_eq_u32 s1
, vcc_lo
736 // CHECK
: [0x01,0x6a,0x06,0xbf]
738 s_cmp_eq_u32 s1
, vcc_hi
739 // CHECK
: [0x01,0x6b,0x06,0xbf]
741 s_cmp_eq_u32 s1
, ttmp15
742 // CHECK
: [0x01,0x7b,0x06,0xbf]
745 // CHECK
: [0x01,0x7c,0x06,0xbf]
747 s_cmp_eq_u32 s1
, exec_lo
748 // CHECK
: [0x01,0x7e,0x06,0xbf]
750 s_cmp_eq_u32 s1
, exec_hi
751 // CHECK
: [0x01,0x7f,0x06,0xbf]
754 // CHECK
: [0x01,0x80,0x06,0xbf]
757 // CHECK
: [0x01,0xc1,0x06,0xbf]
760 // CHECK
: [0x01,0xf0,0x06,0xbf]
762 s_cmp_eq_u32 s1
, -4.0
763 // CHECK
: [0x01,0xf7,0x06,0xbf]
765 s_cmp_eq_u32 s1
, src_vccz
766 // CHECK
: [0x01,0xfb,0x06,0xbf]
768 s_cmp_eq_u32 s1
, src_execz
769 // CHECK
: [0x01,0xfc,0x06,0xbf]
771 s_cmp_eq_u32 s1
, src_scc
772 // CHECK
: [0x01,0xfd,0x06,0xbf]
774 s_cmp_eq_u32 s1
, 0xaf123456
775 // CHECK
: [0x01,0xff,0x06,0xbf,0x56,0x34,0x12,0xaf]
777 s_cmp_eq_u32 s1
, 0x3f717273
778 // CHECK
: [0x01,0xff,0x06,0xbf,0x73,0x72,0x71,0x3f]
781 // CHECK
: [0x01,0x02,0x07,0xbf]
783 s_cmp_lg_u32 s101
, s2
784 // CHECK
: [0x65,0x02,0x07,0xbf]
786 s_cmp_lg_u32 flat_scratch_lo
, s2
787 // CHECK
: [0x66,0x02,0x07,0xbf]
789 s_cmp_lg_u32 flat_scratch_hi
, s2
790 // CHECK
: [0x67,0x02,0x07,0xbf]
792 s_cmp_lg_u32 vcc_lo
, s2
793 // CHECK
: [0x6a,0x02,0x07,0xbf]
795 s_cmp_lg_u32 vcc_hi
, s2
796 // CHECK
: [0x6b,0x02,0x07,0xbf]
798 s_cmp_lg_u32 ttmp15
, s2
799 // CHECK
: [0x7b,0x02,0x07,0xbf]
802 // CHECK
: [0x7c,0x02,0x07,0xbf]
804 s_cmp_lg_u32 exec_lo
, s2
805 // CHECK
: [0x7e,0x02,0x07,0xbf]
807 s_cmp_lg_u32 exec_hi
, s2
808 // CHECK
: [0x7f,0x02,0x07,0xbf]
811 // CHECK
: [0x80,0x02,0x07,0xbf]
814 // CHECK
: [0xc1,0x02,0x07,0xbf]
817 // CHECK
: [0xf0,0x02,0x07,0xbf]
819 s_cmp_lg_u32
-4.0, s2
820 // CHECK
: [0xf7,0x02,0x07,0xbf]
822 s_cmp_lg_u32 src_vccz
, s2
823 // CHECK
: [0xfb,0x02,0x07,0xbf]
825 s_cmp_lg_u32 src_execz
, s2
826 // CHECK
: [0xfc,0x02,0x07,0xbf]
828 s_cmp_lg_u32 src_scc
, s2
829 // CHECK
: [0xfd,0x02,0x07,0xbf]
831 s_cmp_lg_u32
0xaf123456, s2
832 // CHECK
: [0xff,0x02,0x07,0xbf,0x56,0x34,0x12,0xaf]
834 s_cmp_lg_u32
0x3f717273, s2
835 // CHECK
: [0xff,0x02,0x07,0xbf,0x73,0x72,0x71,0x3f]
837 s_cmp_lg_u32 s1
, s101
838 // CHECK
: [0x01,0x65,0x07,0xbf]
840 s_cmp_lg_u32 s1
, flat_scratch_lo
841 // CHECK
: [0x01,0x66,0x07,0xbf]
843 s_cmp_lg_u32 s1
, flat_scratch_hi
844 // CHECK
: [0x01,0x67,0x07,0xbf]
846 s_cmp_lg_u32 s1
, vcc_lo
847 // CHECK
: [0x01,0x6a,0x07,0xbf]
849 s_cmp_lg_u32 s1
, vcc_hi
850 // CHECK
: [0x01,0x6b,0x07,0xbf]
852 s_cmp_lg_u32 s1
, ttmp15
853 // CHECK
: [0x01,0x7b,0x07,0xbf]
856 // CHECK
: [0x01,0x7c,0x07,0xbf]
858 s_cmp_lg_u32 s1
, exec_lo
859 // CHECK
: [0x01,0x7e,0x07,0xbf]
861 s_cmp_lg_u32 s1
, exec_hi
862 // CHECK
: [0x01,0x7f,0x07,0xbf]
865 // CHECK
: [0x01,0x80,0x07,0xbf]
868 // CHECK
: [0x01,0xc1,0x07,0xbf]
871 // CHECK
: [0x01,0xf0,0x07,0xbf]
873 s_cmp_lg_u32 s1
, -4.0
874 // CHECK
: [0x01,0xf7,0x07,0xbf]
876 s_cmp_lg_u32 s1
, src_vccz
877 // CHECK
: [0x01,0xfb,0x07,0xbf]
879 s_cmp_lg_u32 s1
, src_execz
880 // CHECK
: [0x01,0xfc,0x07,0xbf]
882 s_cmp_lg_u32 s1
, src_scc
883 // CHECK
: [0x01,0xfd,0x07,0xbf]
885 s_cmp_lg_u32 s1
, 0xaf123456
886 // CHECK
: [0x01,0xff,0x07,0xbf,0x56,0x34,0x12,0xaf]
888 s_cmp_lg_u32 s1
, 0x3f717273
889 // CHECK
: [0x01,0xff,0x07,0xbf,0x73,0x72,0x71,0x3f]
892 // CHECK
: [0x01,0x02,0x08,0xbf]
894 s_cmp_gt_u32 s101
, s2
895 // CHECK
: [0x65,0x02,0x08,0xbf]
897 s_cmp_gt_u32 flat_scratch_lo
, s2
898 // CHECK
: [0x66,0x02,0x08,0xbf]
900 s_cmp_gt_u32 flat_scratch_hi
, s2
901 // CHECK
: [0x67,0x02,0x08,0xbf]
903 s_cmp_gt_u32 vcc_lo
, s2
904 // CHECK
: [0x6a,0x02,0x08,0xbf]
906 s_cmp_gt_u32 vcc_hi
, s2
907 // CHECK
: [0x6b,0x02,0x08,0xbf]
909 s_cmp_gt_u32 ttmp15
, s2
910 // CHECK
: [0x7b,0x02,0x08,0xbf]
913 // CHECK
: [0x7c,0x02,0x08,0xbf]
915 s_cmp_gt_u32 exec_lo
, s2
916 // CHECK
: [0x7e,0x02,0x08,0xbf]
918 s_cmp_gt_u32 exec_hi
, s2
919 // CHECK
: [0x7f,0x02,0x08,0xbf]
922 // CHECK
: [0x80,0x02,0x08,0xbf]
925 // CHECK
: [0xc1,0x02,0x08,0xbf]
928 // CHECK
: [0xf0,0x02,0x08,0xbf]
930 s_cmp_gt_u32
-4.0, s2
931 // CHECK
: [0xf7,0x02,0x08,0xbf]
933 s_cmp_gt_u32 src_vccz
, s2
934 // CHECK
: [0xfb,0x02,0x08,0xbf]
936 s_cmp_gt_u32 src_execz
, s2
937 // CHECK
: [0xfc,0x02,0x08,0xbf]
939 s_cmp_gt_u32 src_scc
, s2
940 // CHECK
: [0xfd,0x02,0x08,0xbf]
942 s_cmp_gt_u32
0xaf123456, s2
943 // CHECK
: [0xff,0x02,0x08,0xbf,0x56,0x34,0x12,0xaf]
945 s_cmp_gt_u32
0x3f717273, s2
946 // CHECK
: [0xff,0x02,0x08,0xbf,0x73,0x72,0x71,0x3f]
948 s_cmp_gt_u32 s1
, s101
949 // CHECK
: [0x01,0x65,0x08,0xbf]
951 s_cmp_gt_u32 s1
, flat_scratch_lo
952 // CHECK
: [0x01,0x66,0x08,0xbf]
954 s_cmp_gt_u32 s1
, flat_scratch_hi
955 // CHECK
: [0x01,0x67,0x08,0xbf]
957 s_cmp_gt_u32 s1
, vcc_lo
958 // CHECK
: [0x01,0x6a,0x08,0xbf]
960 s_cmp_gt_u32 s1
, vcc_hi
961 // CHECK
: [0x01,0x6b,0x08,0xbf]
963 s_cmp_gt_u32 s1
, ttmp15
964 // CHECK
: [0x01,0x7b,0x08,0xbf]
967 // CHECK
: [0x01,0x7c,0x08,0xbf]
969 s_cmp_gt_u32 s1
, exec_lo
970 // CHECK
: [0x01,0x7e,0x08,0xbf]
972 s_cmp_gt_u32 s1
, exec_hi
973 // CHECK
: [0x01,0x7f,0x08,0xbf]
976 // CHECK
: [0x01,0x80,0x08,0xbf]
979 // CHECK
: [0x01,0xc1,0x08,0xbf]
982 // CHECK
: [0x01,0xf0,0x08,0xbf]
984 s_cmp_gt_u32 s1
, -4.0
985 // CHECK
: [0x01,0xf7,0x08,0xbf]
987 s_cmp_gt_u32 s1
, src_vccz
988 // CHECK
: [0x01,0xfb,0x08,0xbf]
990 s_cmp_gt_u32 s1
, src_execz
991 // CHECK
: [0x01,0xfc,0x08,0xbf]
993 s_cmp_gt_u32 s1
, src_scc
994 // CHECK
: [0x01,0xfd,0x08,0xbf]
996 s_cmp_gt_u32 s1
, 0xaf123456
997 // CHECK
: [0x01,0xff,0x08,0xbf,0x56,0x34,0x12,0xaf]
999 s_cmp_gt_u32 s1
, 0x3f717273
1000 // CHECK
: [0x01,0xff,0x08,0xbf,0x73,0x72,0x71,0x3f]
1003 // CHECK
: [0x01,0x02,0x09,0xbf]
1005 s_cmp_ge_u32 s101
, s2
1006 // CHECK
: [0x65,0x02,0x09,0xbf]
1008 s_cmp_ge_u32 flat_scratch_lo
, s2
1009 // CHECK
: [0x66,0x02,0x09,0xbf]
1011 s_cmp_ge_u32 flat_scratch_hi
, s2
1012 // CHECK
: [0x67,0x02,0x09,0xbf]
1014 s_cmp_ge_u32 vcc_lo
, s2
1015 // CHECK
: [0x6a,0x02,0x09,0xbf]
1017 s_cmp_ge_u32 vcc_hi
, s2
1018 // CHECK
: [0x6b,0x02,0x09,0xbf]
1020 s_cmp_ge_u32 ttmp15
, s2
1021 // CHECK
: [0x7b,0x02,0x09,0xbf]
1024 // CHECK
: [0x7c,0x02,0x09,0xbf]
1026 s_cmp_ge_u32 exec_lo
, s2
1027 // CHECK
: [0x7e,0x02,0x09,0xbf]
1029 s_cmp_ge_u32 exec_hi
, s2
1030 // CHECK
: [0x7f,0x02,0x09,0xbf]
1033 // CHECK
: [0x80,0x02,0x09,0xbf]
1036 // CHECK
: [0xc1,0x02,0x09,0xbf]
1038 s_cmp_ge_u32
0.5, s2
1039 // CHECK
: [0xf0,0x02,0x09,0xbf]
1041 s_cmp_ge_u32
-4.0, s2
1042 // CHECK
: [0xf7,0x02,0x09,0xbf]
1044 s_cmp_ge_u32 src_vccz
, s2
1045 // CHECK
: [0xfb,0x02,0x09,0xbf]
1047 s_cmp_ge_u32 src_execz
, s2
1048 // CHECK
: [0xfc,0x02,0x09,0xbf]
1050 s_cmp_ge_u32 src_scc
, s2
1051 // CHECK
: [0xfd,0x02,0x09,0xbf]
1053 s_cmp_ge_u32
0xaf123456, s2
1054 // CHECK
: [0xff,0x02,0x09,0xbf,0x56,0x34,0x12,0xaf]
1056 s_cmp_ge_u32
0x3f717273, s2
1057 // CHECK
: [0xff,0x02,0x09,0xbf,0x73,0x72,0x71,0x3f]
1059 s_cmp_ge_u32 s1
, s101
1060 // CHECK
: [0x01,0x65,0x09,0xbf]
1062 s_cmp_ge_u32 s1
, flat_scratch_lo
1063 // CHECK
: [0x01,0x66,0x09,0xbf]
1065 s_cmp_ge_u32 s1
, flat_scratch_hi
1066 // CHECK
: [0x01,0x67,0x09,0xbf]
1068 s_cmp_ge_u32 s1
, vcc_lo
1069 // CHECK
: [0x01,0x6a,0x09,0xbf]
1071 s_cmp_ge_u32 s1
, vcc_hi
1072 // CHECK
: [0x01,0x6b,0x09,0xbf]
1074 s_cmp_ge_u32 s1
, ttmp15
1075 // CHECK
: [0x01,0x7b,0x09,0xbf]
1078 // CHECK
: [0x01,0x7c,0x09,0xbf]
1080 s_cmp_ge_u32 s1
, exec_lo
1081 // CHECK
: [0x01,0x7e,0x09,0xbf]
1083 s_cmp_ge_u32 s1
, exec_hi
1084 // CHECK
: [0x01,0x7f,0x09,0xbf]
1087 // CHECK
: [0x01,0x80,0x09,0xbf]
1090 // CHECK
: [0x01,0xc1,0x09,0xbf]
1092 s_cmp_ge_u32 s1
, 0.5
1093 // CHECK
: [0x01,0xf0,0x09,0xbf]
1095 s_cmp_ge_u32 s1
, -4.0
1096 // CHECK
: [0x01,0xf7,0x09,0xbf]
1098 s_cmp_ge_u32 s1
, src_vccz
1099 // CHECK
: [0x01,0xfb,0x09,0xbf]
1101 s_cmp_ge_u32 s1
, src_execz
1102 // CHECK
: [0x01,0xfc,0x09,0xbf]
1104 s_cmp_ge_u32 s1
, src_scc
1105 // CHECK
: [0x01,0xfd,0x09,0xbf]
1107 s_cmp_ge_u32 s1
, 0xaf123456
1108 // CHECK
: [0x01,0xff,0x09,0xbf,0x56,0x34,0x12,0xaf]
1110 s_cmp_ge_u32 s1
, 0x3f717273
1111 // CHECK
: [0x01,0xff,0x09,0xbf,0x73,0x72,0x71,0x3f]
1114 // CHECK
: [0x01,0x02,0x0a,0xbf]
1116 s_cmp_lt_u32 s101
, s2
1117 // CHECK
: [0x65,0x02,0x0a,0xbf]
1119 s_cmp_lt_u32 flat_scratch_lo
, s2
1120 // CHECK
: [0x66,0x02,0x0a,0xbf]
1122 s_cmp_lt_u32 flat_scratch_hi
, s2
1123 // CHECK
: [0x67,0x02,0x0a,0xbf]
1125 s_cmp_lt_u32 vcc_lo
, s2
1126 // CHECK
: [0x6a,0x02,0x0a,0xbf]
1128 s_cmp_lt_u32 vcc_hi
, s2
1129 // CHECK
: [0x6b,0x02,0x0a,0xbf]
1131 s_cmp_lt_u32 ttmp15
, s2
1132 // CHECK
: [0x7b,0x02,0x0a,0xbf]
1135 // CHECK
: [0x7c,0x02,0x0a,0xbf]
1137 s_cmp_lt_u32 exec_lo
, s2
1138 // CHECK
: [0x7e,0x02,0x0a,0xbf]
1140 s_cmp_lt_u32 exec_hi
, s2
1141 // CHECK
: [0x7f,0x02,0x0a,0xbf]
1144 // CHECK
: [0x80,0x02,0x0a,0xbf]
1147 // CHECK
: [0xc1,0x02,0x0a,0xbf]
1149 s_cmp_lt_u32
0.5, s2
1150 // CHECK
: [0xf0,0x02,0x0a,0xbf]
1152 s_cmp_lt_u32
-4.0, s2
1153 // CHECK
: [0xf7,0x02,0x0a,0xbf]
1155 s_cmp_lt_u32 src_vccz
, s2
1156 // CHECK
: [0xfb,0x02,0x0a,0xbf]
1158 s_cmp_lt_u32 src_execz
, s2
1159 // CHECK
: [0xfc,0x02,0x0a,0xbf]
1161 s_cmp_lt_u32 src_scc
, s2
1162 // CHECK
: [0xfd,0x02,0x0a,0xbf]
1164 s_cmp_lt_u32
0xaf123456, s2
1165 // CHECK
: [0xff,0x02,0x0a,0xbf,0x56,0x34,0x12,0xaf]
1167 s_cmp_lt_u32
0x3f717273, s2
1168 // CHECK
: [0xff,0x02,0x0a,0xbf,0x73,0x72,0x71,0x3f]
1170 s_cmp_lt_u32 s1
, s101
1171 // CHECK
: [0x01,0x65,0x0a,0xbf]
1173 s_cmp_lt_u32 s1
, flat_scratch_lo
1174 // CHECK
: [0x01,0x66,0x0a,0xbf]
1176 s_cmp_lt_u32 s1
, flat_scratch_hi
1177 // CHECK
: [0x01,0x67,0x0a,0xbf]
1179 s_cmp_lt_u32 s1
, vcc_lo
1180 // CHECK
: [0x01,0x6a,0x0a,0xbf]
1182 s_cmp_lt_u32 s1
, vcc_hi
1183 // CHECK
: [0x01,0x6b,0x0a,0xbf]
1185 s_cmp_lt_u32 s1
, ttmp15
1186 // CHECK
: [0x01,0x7b,0x0a,0xbf]
1189 // CHECK
: [0x01,0x7c,0x0a,0xbf]
1191 s_cmp_lt_u32 s1
, exec_lo
1192 // CHECK
: [0x01,0x7e,0x0a,0xbf]
1194 s_cmp_lt_u32 s1
, exec_hi
1195 // CHECK
: [0x01,0x7f,0x0a,0xbf]
1198 // CHECK
: [0x01,0x80,0x0a,0xbf]
1201 // CHECK
: [0x01,0xc1,0x0a,0xbf]
1203 s_cmp_lt_u32 s1
, 0.5
1204 // CHECK
: [0x01,0xf0,0x0a,0xbf]
1206 s_cmp_lt_u32 s1
, -4.0
1207 // CHECK
: [0x01,0xf7,0x0a,0xbf]
1209 s_cmp_lt_u32 s1
, src_vccz
1210 // CHECK
: [0x01,0xfb,0x0a,0xbf]
1212 s_cmp_lt_u32 s1
, src_execz
1213 // CHECK
: [0x01,0xfc,0x0a,0xbf]
1215 s_cmp_lt_u32 s1
, src_scc
1216 // CHECK
: [0x01,0xfd,0x0a,0xbf]
1218 s_cmp_lt_u32 s1
, 0xaf123456
1219 // CHECK
: [0x01,0xff,0x0a,0xbf,0x56,0x34,0x12,0xaf]
1221 s_cmp_lt_u32 s1
, 0x3f717273
1222 // CHECK
: [0x01,0xff,0x0a,0xbf,0x73,0x72,0x71,0x3f]
1225 // CHECK
: [0x01,0x02,0x0b,0xbf]
1227 s_cmp_le_u32 s101
, s2
1228 // CHECK
: [0x65,0x02,0x0b,0xbf]
1230 s_cmp_le_u32 flat_scratch_lo
, s2
1231 // CHECK
: [0x66,0x02,0x0b,0xbf]
1233 s_cmp_le_u32 flat_scratch_hi
, s2
1234 // CHECK
: [0x67,0x02,0x0b,0xbf]
1236 s_cmp_le_u32 vcc_lo
, s2
1237 // CHECK
: [0x6a,0x02,0x0b,0xbf]
1239 s_cmp_le_u32 vcc_hi
, s2
1240 // CHECK
: [0x6b,0x02,0x0b,0xbf]
1242 s_cmp_le_u32 ttmp15
, s2
1243 // CHECK
: [0x7b,0x02,0x0b,0xbf]
1246 // CHECK
: [0x7c,0x02,0x0b,0xbf]
1248 s_cmp_le_u32 exec_lo
, s2
1249 // CHECK
: [0x7e,0x02,0x0b,0xbf]
1251 s_cmp_le_u32 exec_hi
, s2
1252 // CHECK
: [0x7f,0x02,0x0b,0xbf]
1255 // CHECK
: [0x80,0x02,0x0b,0xbf]
1258 // CHECK
: [0xc1,0x02,0x0b,0xbf]
1260 s_cmp_le_u32
0.5, s2
1261 // CHECK
: [0xf0,0x02,0x0b,0xbf]
1263 s_cmp_le_u32
-4.0, s2
1264 // CHECK
: [0xf7,0x02,0x0b,0xbf]
1266 s_cmp_le_u32 src_vccz
, s2
1267 // CHECK
: [0xfb,0x02,0x0b,0xbf]
1269 s_cmp_le_u32 src_execz
, s2
1270 // CHECK
: [0xfc,0x02,0x0b,0xbf]
1272 s_cmp_le_u32 src_scc
, s2
1273 // CHECK
: [0xfd,0x02,0x0b,0xbf]
1275 s_cmp_le_u32
0xaf123456, s2
1276 // CHECK
: [0xff,0x02,0x0b,0xbf,0x56,0x34,0x12,0xaf]
1278 s_cmp_le_u32
0x3f717273, s2
1279 // CHECK
: [0xff,0x02,0x0b,0xbf,0x73,0x72,0x71,0x3f]
1281 s_cmp_le_u32 s1
, s101
1282 // CHECK
: [0x01,0x65,0x0b,0xbf]
1284 s_cmp_le_u32 s1
, flat_scratch_lo
1285 // CHECK
: [0x01,0x66,0x0b,0xbf]
1287 s_cmp_le_u32 s1
, flat_scratch_hi
1288 // CHECK
: [0x01,0x67,0x0b,0xbf]
1290 s_cmp_le_u32 s1
, vcc_lo
1291 // CHECK
: [0x01,0x6a,0x0b,0xbf]
1293 s_cmp_le_u32 s1
, vcc_hi
1294 // CHECK
: [0x01,0x6b,0x0b,0xbf]
1296 s_cmp_le_u32 s1
, ttmp15
1297 // CHECK
: [0x01,0x7b,0x0b,0xbf]
1300 // CHECK
: [0x01,0x7c,0x0b,0xbf]
1302 s_cmp_le_u32 s1
, exec_lo
1303 // CHECK
: [0x01,0x7e,0x0b,0xbf]
1305 s_cmp_le_u32 s1
, exec_hi
1306 // CHECK
: [0x01,0x7f,0x0b,0xbf]
1309 // CHECK
: [0x01,0x80,0x0b,0xbf]
1312 // CHECK
: [0x01,0xc1,0x0b,0xbf]
1314 s_cmp_le_u32 s1
, 0.5
1315 // CHECK
: [0x01,0xf0,0x0b,0xbf]
1317 s_cmp_le_u32 s1
, -4.0
1318 // CHECK
: [0x01,0xf7,0x0b,0xbf]
1320 s_cmp_le_u32 s1
, src_vccz
1321 // CHECK
: [0x01,0xfb,0x0b,0xbf]
1323 s_cmp_le_u32 s1
, src_execz
1324 // CHECK
: [0x01,0xfc,0x0b,0xbf]
1326 s_cmp_le_u32 s1
, src_scc
1327 // CHECK
: [0x01,0xfd,0x0b,0xbf]
1329 s_cmp_le_u32 s1
, 0xaf123456
1330 // CHECK
: [0x01,0xff,0x0b,0xbf,0x56,0x34,0x12,0xaf]
1332 s_cmp_le_u32 s1
, 0x3f717273
1333 // CHECK
: [0x01,0xff,0x0b,0xbf,0x73,0x72,0x71,0x3f]
1335 s_bitcmp0_b32 s1
, s2
1336 // CHECK
: [0x01,0x02,0x0c,0xbf]
1338 s_bitcmp0_b32 s101
, s2
1339 // CHECK
: [0x65,0x02,0x0c,0xbf]
1341 s_bitcmp0_b32 flat_scratch_lo
, s2
1342 // CHECK
: [0x66,0x02,0x0c,0xbf]
1344 s_bitcmp0_b32 flat_scratch_hi
, s2
1345 // CHECK
: [0x67,0x02,0x0c,0xbf]
1347 s_bitcmp0_b32 vcc_lo
, s2
1348 // CHECK
: [0x6a,0x02,0x0c,0xbf]
1350 s_bitcmp0_b32 vcc_hi
, s2
1351 // CHECK
: [0x6b,0x02,0x0c,0xbf]
1353 s_bitcmp0_b32 ttmp15
, s2
1354 // CHECK
: [0x7b,0x02,0x0c,0xbf]
1356 s_bitcmp0_b32 m0
, s2
1357 // CHECK
: [0x7c,0x02,0x0c,0xbf]
1359 s_bitcmp0_b32 exec_lo
, s2
1360 // CHECK
: [0x7e,0x02,0x0c,0xbf]
1362 s_bitcmp0_b32 exec_hi
, s2
1363 // CHECK
: [0x7f,0x02,0x0c,0xbf]
1366 // CHECK
: [0x80,0x02,0x0c,0xbf]
1368 s_bitcmp0_b32
-1, s2
1369 // CHECK
: [0xc1,0x02,0x0c,0xbf]
1371 s_bitcmp0_b32
0.5, s2
1372 // CHECK
: [0xf0,0x02,0x0c,0xbf]
1374 s_bitcmp0_b32
-4.0, s2
1375 // CHECK
: [0xf7,0x02,0x0c,0xbf]
1377 s_bitcmp0_b32 src_vccz
, s2
1378 // CHECK
: [0xfb,0x02,0x0c,0xbf]
1380 s_bitcmp0_b32 src_execz
, s2
1381 // CHECK
: [0xfc,0x02,0x0c,0xbf]
1383 s_bitcmp0_b32 src_scc
, s2
1384 // CHECK
: [0xfd,0x02,0x0c,0xbf]
1386 s_bitcmp0_b32
0xaf123456, s2
1387 // CHECK
: [0xff,0x02,0x0c,0xbf,0x56,0x34,0x12,0xaf]
1389 s_bitcmp0_b32
0x3f717273, s2
1390 // CHECK
: [0xff,0x02,0x0c,0xbf,0x73,0x72,0x71,0x3f]
1392 s_bitcmp0_b32 s1
, s101
1393 // CHECK
: [0x01,0x65,0x0c,0xbf]
1395 s_bitcmp0_b32 s1
, flat_scratch_lo
1396 // CHECK
: [0x01,0x66,0x0c,0xbf]
1398 s_bitcmp0_b32 s1
, flat_scratch_hi
1399 // CHECK
: [0x01,0x67,0x0c,0xbf]
1401 s_bitcmp0_b32 s1
, vcc_lo
1402 // CHECK
: [0x01,0x6a,0x0c,0xbf]
1404 s_bitcmp0_b32 s1
, vcc_hi
1405 // CHECK
: [0x01,0x6b,0x0c,0xbf]
1407 s_bitcmp0_b32 s1
, ttmp15
1408 // CHECK
: [0x01,0x7b,0x0c,0xbf]
1410 s_bitcmp0_b32 s1
, m0
1411 // CHECK
: [0x01,0x7c,0x0c,0xbf]
1413 s_bitcmp0_b32 s1
, exec_lo
1414 // CHECK
: [0x01,0x7e,0x0c,0xbf]
1416 s_bitcmp0_b32 s1
, exec_hi
1417 // CHECK
: [0x01,0x7f,0x0c,0xbf]
1420 // CHECK
: [0x01,0x80,0x0c,0xbf]
1422 s_bitcmp0_b32 s1
, -1
1423 // CHECK
: [0x01,0xc1,0x0c,0xbf]
1425 s_bitcmp0_b32 s1
, 0.5
1426 // CHECK
: [0x01,0xf0,0x0c,0xbf]
1428 s_bitcmp0_b32 s1
, -4.0
1429 // CHECK
: [0x01,0xf7,0x0c,0xbf]
1431 s_bitcmp0_b32 s1
, src_vccz
1432 // CHECK
: [0x01,0xfb,0x0c,0xbf]
1434 s_bitcmp0_b32 s1
, src_execz
1435 // CHECK
: [0x01,0xfc,0x0c,0xbf]
1437 s_bitcmp0_b32 s1
, src_scc
1438 // CHECK
: [0x01,0xfd,0x0c,0xbf]
1440 s_bitcmp0_b32 s1
, 0xaf123456
1441 // CHECK
: [0x01,0xff,0x0c,0xbf,0x56,0x34,0x12,0xaf]
1443 s_bitcmp0_b32 s1
, 0x3f717273
1444 // CHECK
: [0x01,0xff,0x0c,0xbf,0x73,0x72,0x71,0x3f]
1446 s_bitcmp1_b32 s1
, s2
1447 // CHECK
: [0x01,0x02,0x0d,0xbf]
1449 s_bitcmp1_b32 s101
, s2
1450 // CHECK
: [0x65,0x02,0x0d,0xbf]
1452 s_bitcmp1_b32 flat_scratch_lo
, s2
1453 // CHECK
: [0x66,0x02,0x0d,0xbf]
1455 s_bitcmp1_b32 flat_scratch_hi
, s2
1456 // CHECK
: [0x67,0x02,0x0d,0xbf]
1458 s_bitcmp1_b32 vcc_lo
, s2
1459 // CHECK
: [0x6a,0x02,0x0d,0xbf]
1461 s_bitcmp1_b32 vcc_hi
, s2
1462 // CHECK
: [0x6b,0x02,0x0d,0xbf]
1464 s_bitcmp1_b32 ttmp15
, s2
1465 // CHECK
: [0x7b,0x02,0x0d,0xbf]
1467 s_bitcmp1_b32 m0
, s2
1468 // CHECK
: [0x7c,0x02,0x0d,0xbf]
1470 s_bitcmp1_b32 exec_lo
, s2
1471 // CHECK
: [0x7e,0x02,0x0d,0xbf]
1473 s_bitcmp1_b32 exec_hi
, s2
1474 // CHECK
: [0x7f,0x02,0x0d,0xbf]
1477 // CHECK
: [0x80,0x02,0x0d,0xbf]
1479 s_bitcmp1_b32
-1, s2
1480 // CHECK
: [0xc1,0x02,0x0d,0xbf]
1482 s_bitcmp1_b32
0.5, s2
1483 // CHECK
: [0xf0,0x02,0x0d,0xbf]
1485 s_bitcmp1_b32
-4.0, s2
1486 // CHECK
: [0xf7,0x02,0x0d,0xbf]
1488 s_bitcmp1_b32 src_vccz
, s2
1489 // CHECK
: [0xfb,0x02,0x0d,0xbf]
1491 s_bitcmp1_b32 src_execz
, s2
1492 // CHECK
: [0xfc,0x02,0x0d,0xbf]
1494 s_bitcmp1_b32 src_scc
, s2
1495 // CHECK
: [0xfd,0x02,0x0d,0xbf]
1497 s_bitcmp1_b32
0xaf123456, s2
1498 // CHECK
: [0xff,0x02,0x0d,0xbf,0x56,0x34,0x12,0xaf]
1500 s_bitcmp1_b32
0x3f717273, s2
1501 // CHECK
: [0xff,0x02,0x0d,0xbf,0x73,0x72,0x71,0x3f]
1503 s_bitcmp1_b32 s1
, s101
1504 // CHECK
: [0x01,0x65,0x0d,0xbf]
1506 s_bitcmp1_b32 s1
, flat_scratch_lo
1507 // CHECK
: [0x01,0x66,0x0d,0xbf]
1509 s_bitcmp1_b32 s1
, flat_scratch_hi
1510 // CHECK
: [0x01,0x67,0x0d,0xbf]
1512 s_bitcmp1_b32 s1
, vcc_lo
1513 // CHECK
: [0x01,0x6a,0x0d,0xbf]
1515 s_bitcmp1_b32 s1
, vcc_hi
1516 // CHECK
: [0x01,0x6b,0x0d,0xbf]
1518 s_bitcmp1_b32 s1
, ttmp15
1519 // CHECK
: [0x01,0x7b,0x0d,0xbf]
1521 s_bitcmp1_b32 s1
, m0
1522 // CHECK
: [0x01,0x7c,0x0d,0xbf]
1524 s_bitcmp1_b32 s1
, exec_lo
1525 // CHECK
: [0x01,0x7e,0x0d,0xbf]
1527 s_bitcmp1_b32 s1
, exec_hi
1528 // CHECK
: [0x01,0x7f,0x0d,0xbf]
1531 // CHECK
: [0x01,0x80,0x0d,0xbf]
1533 s_bitcmp1_b32 s1
, -1
1534 // CHECK
: [0x01,0xc1,0x0d,0xbf]
1536 s_bitcmp1_b32 s1
, 0.5
1537 // CHECK
: [0x01,0xf0,0x0d,0xbf]
1539 s_bitcmp1_b32 s1
, -4.0
1540 // CHECK
: [0x01,0xf7,0x0d,0xbf]
1542 s_bitcmp1_b32 s1
, src_vccz
1543 // CHECK
: [0x01,0xfb,0x0d,0xbf]
1545 s_bitcmp1_b32 s1
, src_execz
1546 // CHECK
: [0x01,0xfc,0x0d,0xbf]
1548 s_bitcmp1_b32 s1
, src_scc
1549 // CHECK
: [0x01,0xfd,0x0d,0xbf]
1551 s_bitcmp1_b32 s1
, 0xaf123456
1552 // CHECK
: [0x01,0xff,0x0d,0xbf,0x56,0x34,0x12,0xaf]
1554 s_bitcmp1_b32 s1
, 0x3f717273
1555 // CHECK
: [0x01,0xff,0x0d,0xbf,0x73,0x72,0x71,0x3f]
1557 s_bitcmp0_b64 s
[2:3], s2
1558 // CHECK
: [0x02,0x02,0x0e,0xbf]
1560 s_bitcmp0_b64 s
[4:5], s2
1561 // CHECK
: [0x04,0x02,0x0e,0xbf]
1563 s_bitcmp0_b64 s
[100:101], s2
1564 // CHECK
: [0x64,0x02,0x0e,0xbf]
1566 s_bitcmp0_b64 flat_scratch
, s2
1567 // CHECK
: [0x66,0x02,0x0e,0xbf]
1569 s_bitcmp0_b64 vcc
, s2
1570 // CHECK
: [0x6a,0x02,0x0e,0xbf]
1572 s_bitcmp0_b64 ttmp
[14:15], s2
1573 // CHECK
: [0x7a,0x02,0x0e,0xbf]
1575 s_bitcmp0_b64 exec
, s2
1576 // CHECK
: [0x7e,0x02,0x0e,0xbf]
1579 // CHECK
: [0x80,0x02,0x0e,0xbf]
1581 s_bitcmp0_b64
-1, s2
1582 // CHECK
: [0xc1,0x02,0x0e,0xbf]
1584 s_bitcmp0_b64
0.5, s2
1585 // CHECK
: [0xf0,0x02,0x0e,0xbf]
1587 s_bitcmp0_b64
-4.0, s2
1588 // CHECK
: [0xf7,0x02,0x0e,0xbf]
1590 s_bitcmp0_b64 src_vccz
, s2
1591 // CHECK
: [0xfb,0x02,0x0e,0xbf]
1593 s_bitcmp0_b64 src_execz
, s2
1594 // CHECK
: [0xfc,0x02,0x0e,0xbf]
1596 s_bitcmp0_b64 src_scc
, s2
1597 // CHECK
: [0xfd,0x02,0x0e,0xbf]
1599 s_bitcmp0_b64
0xaf123456, s2
1600 // CHECK
: [0xff,0x02,0x0e,0xbf,0x56,0x34,0x12,0xaf]
1602 s_bitcmp0_b64
0x3f717273, s2
1603 // CHECK
: [0xff,0x02,0x0e,0xbf,0x73,0x72,0x71,0x3f]
1605 s_bitcmp0_b64 s
[2:3], s101
1606 // CHECK
: [0x02,0x65,0x0e,0xbf]
1608 s_bitcmp0_b64 s
[2:3], flat_scratch_lo
1609 // CHECK
: [0x02,0x66,0x0e,0xbf]
1611 s_bitcmp0_b64 s
[2:3], flat_scratch_hi
1612 // CHECK
: [0x02,0x67,0x0e,0xbf]
1614 s_bitcmp0_b64 s
[2:3], vcc_lo
1615 // CHECK
: [0x02,0x6a,0x0e,0xbf]
1617 s_bitcmp0_b64 s
[2:3], vcc_hi
1618 // CHECK
: [0x02,0x6b,0x0e,0xbf]
1620 s_bitcmp0_b64 s
[2:3], ttmp15
1621 // CHECK
: [0x02,0x7b,0x0e,0xbf]
1623 s_bitcmp0_b64 s
[2:3], m0
1624 // CHECK
: [0x02,0x7c,0x0e,0xbf]
1626 s_bitcmp0_b64 s
[2:3], exec_lo
1627 // CHECK
: [0x02,0x7e,0x0e,0xbf]
1629 s_bitcmp0_b64 s
[2:3], exec_hi
1630 // CHECK
: [0x02,0x7f,0x0e,0xbf]
1632 s_bitcmp0_b64 s
[2:3], 0
1633 // CHECK
: [0x02,0x80,0x0e,0xbf]
1635 s_bitcmp0_b64 s
[2:3], -1
1636 // CHECK
: [0x02,0xc1,0x0e,0xbf]
1638 s_bitcmp0_b64 s
[2:3], 0.5
1639 // CHECK
: [0x02,0xf0,0x0e,0xbf]
1641 s_bitcmp0_b64 s
[2:3], -4.0
1642 // CHECK
: [0x02,0xf7,0x0e,0xbf]
1644 s_bitcmp0_b64 s
[2:3], src_vccz
1645 // CHECK
: [0x02,0xfb,0x0e,0xbf]
1647 s_bitcmp0_b64 s
[2:3], src_execz
1648 // CHECK
: [0x02,0xfc,0x0e,0xbf]
1650 s_bitcmp0_b64 s
[2:3], src_scc
1651 // CHECK
: [0x02,0xfd,0x0e,0xbf]
1653 s_bitcmp0_b64 s
[2:3], 0xaf123456
1654 // CHECK
: [0x02,0xff,0x0e,0xbf,0x56,0x34,0x12,0xaf]
1656 s_bitcmp0_b64 s
[2:3], 0x3f717273
1657 // CHECK
: [0x02,0xff,0x0e,0xbf,0x73,0x72,0x71,0x3f]
1659 s_bitcmp1_b64 s
[2:3], s2
1660 // CHECK
: [0x02,0x02,0x0f,0xbf]
1662 s_bitcmp1_b64 s
[4:5], s2
1663 // CHECK
: [0x04,0x02,0x0f,0xbf]
1665 s_bitcmp1_b64 s
[100:101], s2
1666 // CHECK
: [0x64,0x02,0x0f,0xbf]
1668 s_bitcmp1_b64 flat_scratch
, s2
1669 // CHECK
: [0x66,0x02,0x0f,0xbf]
1671 s_bitcmp1_b64 vcc
, s2
1672 // CHECK
: [0x6a,0x02,0x0f,0xbf]
1674 s_bitcmp1_b64 ttmp
[14:15], s2
1675 // CHECK
: [0x7a,0x02,0x0f,0xbf]
1677 s_bitcmp1_b64 exec
, s2
1678 // CHECK
: [0x7e,0x02,0x0f,0xbf]
1681 // CHECK
: [0x80,0x02,0x0f,0xbf]
1683 s_bitcmp1_b64
-1, s2
1684 // CHECK
: [0xc1,0x02,0x0f,0xbf]
1686 s_bitcmp1_b64
0.5, s2
1687 // CHECK
: [0xf0,0x02,0x0f,0xbf]
1689 s_bitcmp1_b64
-4.0, s2
1690 // CHECK
: [0xf7,0x02,0x0f,0xbf]
1692 s_bitcmp1_b64 src_vccz
, s2
1693 // CHECK
: [0xfb,0x02,0x0f,0xbf]
1695 s_bitcmp1_b64 src_execz
, s2
1696 // CHECK
: [0xfc,0x02,0x0f,0xbf]
1698 s_bitcmp1_b64 src_scc
, s2
1699 // CHECK
: [0xfd,0x02,0x0f,0xbf]
1701 s_bitcmp1_b64
0xaf123456, s2
1702 // CHECK
: [0xff,0x02,0x0f,0xbf,0x56,0x34,0x12,0xaf]
1704 s_bitcmp1_b64
0x3f717273, s2
1705 // CHECK
: [0xff,0x02,0x0f,0xbf,0x73,0x72,0x71,0x3f]
1707 s_bitcmp1_b64 s
[2:3], s101
1708 // CHECK
: [0x02,0x65,0x0f,0xbf]
1710 s_bitcmp1_b64 s
[2:3], flat_scratch_lo
1711 // CHECK
: [0x02,0x66,0x0f,0xbf]
1713 s_bitcmp1_b64 s
[2:3], flat_scratch_hi
1714 // CHECK
: [0x02,0x67,0x0f,0xbf]
1716 s_bitcmp1_b64 s
[2:3], vcc_lo
1717 // CHECK
: [0x02,0x6a,0x0f,0xbf]
1719 s_bitcmp1_b64 s
[2:3], vcc_hi
1720 // CHECK
: [0x02,0x6b,0x0f,0xbf]
1722 s_bitcmp1_b64 s
[2:3], ttmp15
1723 // CHECK
: [0x02,0x7b,0x0f,0xbf]
1725 s_bitcmp1_b64 s
[2:3], m0
1726 // CHECK
: [0x02,0x7c,0x0f,0xbf]
1728 s_bitcmp1_b64 s
[2:3], exec_lo
1729 // CHECK
: [0x02,0x7e,0x0f,0xbf]
1731 s_bitcmp1_b64 s
[2:3], exec_hi
1732 // CHECK
: [0x02,0x7f,0x0f,0xbf]
1734 s_bitcmp1_b64 s
[2:3], 0
1735 // CHECK
: [0x02,0x80,0x0f,0xbf]
1737 s_bitcmp1_b64 s
[2:3], -1
1738 // CHECK
: [0x02,0xc1,0x0f,0xbf]
1740 s_bitcmp1_b64 s
[2:3], 0.5
1741 // CHECK
: [0x02,0xf0,0x0f,0xbf]
1743 s_bitcmp1_b64 s
[2:3], -4.0
1744 // CHECK
: [0x02,0xf7,0x0f,0xbf]
1746 s_bitcmp1_b64 s
[2:3], src_vccz
1747 // CHECK
: [0x02,0xfb,0x0f,0xbf]
1749 s_bitcmp1_b64 s
[2:3], src_execz
1750 // CHECK
: [0x02,0xfc,0x0f,0xbf]
1752 s_bitcmp1_b64 s
[2:3], src_scc
1753 // CHECK
: [0x02,0xfd,0x0f,0xbf]
1755 s_bitcmp1_b64 s
[2:3], 0xaf123456
1756 // CHECK
: [0x02,0xff,0x0f,0xbf,0x56,0x34,0x12,0xaf]
1758 s_bitcmp1_b64 s
[2:3], 0x3f717273
1759 // CHECK
: [0x02,0xff,0x0f,0xbf,0x73,0x72,0x71,0x3f]
1762 // CHECK
: [0x01,0x02,0x10,0xbf]
1765 // CHECK
: [0x65,0x02,0x10,0xbf]
1767 s_setvskip flat_scratch_lo
, s2
1768 // CHECK
: [0x66,0x02,0x10,0xbf]
1770 s_setvskip flat_scratch_hi
, s2
1771 // CHECK
: [0x67,0x02,0x10,0xbf]
1773 s_setvskip vcc_lo
, s2
1774 // CHECK
: [0x6a,0x02,0x10,0xbf]
1776 s_setvskip vcc_hi
, s2
1777 // CHECK
: [0x6b,0x02,0x10,0xbf]
1779 s_setvskip ttmp15
, s2
1780 // CHECK
: [0x7b,0x02,0x10,0xbf]
1783 // CHECK
: [0x7c,0x02,0x10,0xbf]
1785 s_setvskip exec_lo
, s2
1786 // CHECK
: [0x7e,0x02,0x10,0xbf]
1788 s_setvskip exec_hi
, s2
1789 // CHECK
: [0x7f,0x02,0x10,0xbf]
1792 // CHECK
: [0x80,0x02,0x10,0xbf]
1795 // CHECK
: [0xc1,0x02,0x10,0xbf]
1798 // CHECK
: [0xf0,0x02,0x10,0xbf]
1801 // CHECK
: [0xf7,0x02,0x10,0xbf]
1803 s_setvskip src_vccz
, s2
1804 // CHECK
: [0xfb,0x02,0x10,0xbf]
1806 s_setvskip src_execz
, s2
1807 // CHECK
: [0xfc,0x02,0x10,0xbf]
1809 s_setvskip src_scc
, s2
1810 // CHECK
: [0xfd,0x02,0x10,0xbf]
1812 s_setvskip
0xaf123456, s2
1813 // CHECK
: [0xff,0x02,0x10,0xbf,0x56,0x34,0x12,0xaf]
1815 s_setvskip
0x3f717273, s2
1816 // CHECK
: [0xff,0x02,0x10,0xbf,0x73,0x72,0x71,0x3f]
1819 // CHECK
: [0x01,0x65,0x10,0xbf]
1821 s_setvskip s1
, flat_scratch_lo
1822 // CHECK
: [0x01,0x66,0x10,0xbf]
1824 s_setvskip s1
, flat_scratch_hi
1825 // CHECK
: [0x01,0x67,0x10,0xbf]
1827 s_setvskip s1
, vcc_lo
1828 // CHECK
: [0x01,0x6a,0x10,0xbf]
1830 s_setvskip s1
, vcc_hi
1831 // CHECK
: [0x01,0x6b,0x10,0xbf]
1833 s_setvskip s1
, ttmp15
1834 // CHECK
: [0x01,0x7b,0x10,0xbf]
1837 // CHECK
: [0x01,0x7c,0x10,0xbf]
1839 s_setvskip s1
, exec_lo
1840 // CHECK
: [0x01,0x7e,0x10,0xbf]
1842 s_setvskip s1
, exec_hi
1843 // CHECK
: [0x01,0x7f,0x10,0xbf]
1846 // CHECK
: [0x01,0x80,0x10,0xbf]
1849 // CHECK
: [0x01,0xc1,0x10,0xbf]
1852 // CHECK
: [0x01,0xf0,0x10,0xbf]
1855 // CHECK
: [0x01,0xf7,0x10,0xbf]
1857 s_setvskip s1
, src_vccz
1858 // CHECK
: [0x01,0xfb,0x10,0xbf]
1860 s_setvskip s1
, src_execz
1861 // CHECK
: [0x01,0xfc,0x10,0xbf]
1863 s_setvskip s1
, src_scc
1864 // CHECK
: [0x01,0xfd,0x10,0xbf]
1866 s_setvskip s1
, 0xaf123456
1867 // CHECK
: [0x01,0xff,0x10,0xbf,0x56,0x34,0x12,0xaf]
1869 s_setvskip s1
, 0x3f717273
1870 // CHECK
: [0x01,0xff,0x10,0xbf,0x73,0x72,0x71,0x3f]
1872 s_set_gpr_idx_on s1
, 0x0
1873 // CHECK
: [0x01,0x00,0x11,0xbf]
1875 s_set_gpr_idx_on s101
, 0x0
1876 // CHECK
: [0x65,0x00,0x11,0xbf]
1878 s_set_gpr_idx_on flat_scratch_lo
, 0x0
1879 // CHECK
: [0x66,0x00,0x11,0xbf]
1881 s_set_gpr_idx_on flat_scratch_hi
, 0x0
1882 // CHECK
: [0x67,0x00,0x11,0xbf]
1884 s_set_gpr_idx_on vcc_lo
, 0x0
1885 // CHECK
: [0x6a,0x00,0x11,0xbf]
1887 s_set_gpr_idx_on vcc_hi
, 0x0
1888 // CHECK
: [0x6b,0x00,0x11,0xbf]
1890 s_set_gpr_idx_on ttmp15
, 0x0
1891 // CHECK
: [0x7b,0x00,0x11,0xbf]
1893 s_set_gpr_idx_on m0
, 0x0
1894 // CHECK
: [0x7c,0x00,0x11,0xbf]
1896 s_set_gpr_idx_on
0, 0x0
1897 // CHECK
: [0x80,0x00,0x11,0xbf]
1899 s_set_gpr_idx_on
-1, 0x0
1900 // CHECK
: [0xc1,0x00,0x11,0xbf]
1902 s_set_gpr_idx_on
0.5, 0x0
1903 // CHECK
: [0xf0,0x00,0x11,0xbf]
1905 s_set_gpr_idx_on
-4.0, 0x0
1906 // CHECK
: [0xf7,0x00,0x11,0xbf]
1908 s_set_gpr_idx_on src_vccz
, 0x0
1909 // CHECK
: [0xfb,0x00,0x11,0xbf]
1911 s_set_gpr_idx_on src_execz
, 0x0
1912 // CHECK
: [0xfc,0x00,0x11,0xbf]
1914 s_set_gpr_idx_on src_scc
, 0x0
1915 // CHECK
: [0xfd,0x00,0x11,0xbf]
1917 s_set_gpr_idx_on
0xaf123456, 0x0
1918 // CHECK
: [0xff,0x00,0x11,0xbf,0x56,0x34,0x12,0xaf]
1920 s_set_gpr_idx_on
0x3f717273, 0x0
1921 // CHECK
: [0xff,0x00,0x11,0xbf,0x73,0x72,0x71,0x3f]
1923 s_set_gpr_idx_on s1
, 0x1
1924 // CHECK
: [0x01,0x01,0x11,0xbf]
1926 s_set_gpr_idx_on s1
, 0xF
1927 // CHECK
: [0x01,0x0f,0x11,0xbf]
1929 s_cmp_eq_u64 s
[2:3], s
[4:5]
1930 // CHECK
: [0x02,0x04,0x12,0xbf]
1932 s_cmp_eq_u64 s
[4:5], s
[4:5]
1933 // CHECK
: [0x04,0x04,0x12,0xbf]
1935 s_cmp_eq_u64 s
[100:101], s
[4:5]
1936 // CHECK
: [0x64,0x04,0x12,0xbf]
1938 s_cmp_eq_u64 flat_scratch
, s
[4:5]
1939 // CHECK
: [0x66,0x04,0x12,0xbf]
1941 s_cmp_eq_u64 vcc
, s
[4:5]
1942 // CHECK
: [0x6a,0x04,0x12,0xbf]
1944 s_cmp_eq_u64 ttmp
[14:15], s
[4:5]
1945 // CHECK
: [0x7a,0x04,0x12,0xbf]
1947 s_cmp_eq_u64 exec
, s
[4:5]
1948 // CHECK
: [0x7e,0x04,0x12,0xbf]
1950 s_cmp_eq_u64
0, s
[4:5]
1951 // CHECK
: [0x80,0x04,0x12,0xbf]
1953 s_cmp_eq_u64
-1, s
[4:5]
1954 // CHECK
: [0xc1,0x04,0x12,0xbf]
1956 s_cmp_eq_u64
0.5, s
[4:5]
1957 // CHECK
: [0xf0,0x04,0x12,0xbf]
1959 s_cmp_eq_u64
-4.0, s
[4:5]
1960 // CHECK
: [0xf7,0x04,0x12,0xbf]
1962 s_cmp_eq_u64 src_vccz
, s
[4:5]
1963 // CHECK
: [0xfb,0x04,0x12,0xbf]
1965 s_cmp_eq_u64 src_execz
, s
[4:5]
1966 // CHECK
: [0xfc,0x04,0x12,0xbf]
1968 s_cmp_eq_u64 src_scc
, s
[4:5]
1969 // CHECK
: [0xfd,0x04,0x12,0xbf]
1971 s_cmp_eq_u64
0xaf123456, s
[4:5]
1972 // CHECK
: [0xff,0x04,0x12,0xbf,0x56,0x34,0x12,0xaf]
1974 s_cmp_eq_u64
0x3f717273, s
[4:5]
1975 // CHECK
: [0xff,0x04,0x12,0xbf,0x73,0x72,0x71,0x3f]
1977 s_cmp_eq_u64 s
[2:3], s
[6:7]
1978 // CHECK
: [0x02,0x06,0x12,0xbf]
1980 s_cmp_eq_u64 s
[2:3], s
[100:101]
1981 // CHECK
: [0x02,0x64,0x12,0xbf]
1983 s_cmp_eq_u64 s
[2:3], flat_scratch
1984 // CHECK
: [0x02,0x66,0x12,0xbf]
1986 s_cmp_eq_u64 s
[2:3], vcc
1987 // CHECK
: [0x02,0x6a,0x12,0xbf]
1989 s_cmp_eq_u64 s
[2:3], ttmp
[14:15]
1990 // CHECK
: [0x02,0x7a,0x12,0xbf]
1992 s_cmp_eq_u64 s
[2:3], exec
1993 // CHECK
: [0x02,0x7e,0x12,0xbf]
1995 s_cmp_eq_u64 s
[2:3], 0
1996 // CHECK
: [0x02,0x80,0x12,0xbf]
1998 s_cmp_eq_u64 s
[2:3], -1
1999 // CHECK
: [0x02,0xc1,0x12,0xbf]
2001 s_cmp_eq_u64 s
[2:3], 0.5
2002 // CHECK
: [0x02,0xf0,0x12,0xbf]
2004 s_cmp_eq_u64 s
[2:3], -4.0
2005 // CHECK
: [0x02,0xf7,0x12,0xbf]
2007 s_cmp_eq_u64 s
[2:3], src_vccz
2008 // CHECK
: [0x02,0xfb,0x12,0xbf]
2010 s_cmp_eq_u64 s
[2:3], src_execz
2011 // CHECK
: [0x02,0xfc,0x12,0xbf]
2013 s_cmp_eq_u64 s
[2:3], src_scc
2014 // CHECK
: [0x02,0xfd,0x12,0xbf]
2016 s_cmp_eq_u64 s
[2:3], 0xaf123456
2017 // CHECK
: [0x02,0xff,0x12,0xbf,0x56,0x34,0x12,0xaf]
2019 s_cmp_eq_u64 s
[2:3], 0x3f717273
2020 // CHECK
: [0x02,0xff,0x12,0xbf,0x73,0x72,0x71,0x3f]
2022 s_cmp_lg_u64 s
[2:3], s
[4:5]
2023 // CHECK
: [0x02,0x04,0x13,0xbf]
2025 s_cmp_lg_u64 s
[4:5], s
[4:5]
2026 // CHECK
: [0x04,0x04,0x13,0xbf]
2028 s_cmp_lg_u64 s
[100:101], s
[4:5]
2029 // CHECK
: [0x64,0x04,0x13,0xbf]
2031 s_cmp_lg_u64 flat_scratch
, s
[4:5]
2032 // CHECK
: [0x66,0x04,0x13,0xbf]
2034 s_cmp_lg_u64 vcc
, s
[4:5]
2035 // CHECK
: [0x6a,0x04,0x13,0xbf]
2037 s_cmp_lg_u64 ttmp
[14:15], s
[4:5]
2038 // CHECK
: [0x7a,0x04,0x13,0xbf]
2040 s_cmp_lg_u64 exec
, s
[4:5]
2041 // CHECK
: [0x7e,0x04,0x13,0xbf]
2043 s_cmp_lg_u64
0, s
[4:5]
2044 // CHECK
: [0x80,0x04,0x13,0xbf]
2046 s_cmp_lg_u64
-1, s
[4:5]
2047 // CHECK
: [0xc1,0x04,0x13,0xbf]
2049 s_cmp_lg_u64
0.5, s
[4:5]
2050 // CHECK
: [0xf0,0x04,0x13,0xbf]
2052 s_cmp_lg_u64
-4.0, s
[4:5]
2053 // CHECK
: [0xf7,0x04,0x13,0xbf]
2055 s_cmp_lg_u64 src_vccz
, s
[4:5]
2056 // CHECK
: [0xfb,0x04,0x13,0xbf]
2058 s_cmp_lg_u64 src_execz
, s
[4:5]
2059 // CHECK
: [0xfc,0x04,0x13,0xbf]
2061 s_cmp_lg_u64 src_scc
, s
[4:5]
2062 // CHECK
: [0xfd,0x04,0x13,0xbf]
2064 s_cmp_lg_u64
0xaf123456, s
[4:5]
2065 // CHECK
: [0xff,0x04,0x13,0xbf,0x56,0x34,0x12,0xaf]
2067 s_cmp_lg_u64
0x3f717273, s
[4:5]
2068 // CHECK
: [0xff,0x04,0x13,0xbf,0x73,0x72,0x71,0x3f]
2070 s_cmp_lg_u64 s
[2:3], s
[6:7]
2071 // CHECK
: [0x02,0x06,0x13,0xbf]
2073 s_cmp_lg_u64 s
[2:3], s
[100:101]
2074 // CHECK
: [0x02,0x64,0x13,0xbf]
2076 s_cmp_lg_u64 s
[2:3], flat_scratch
2077 // CHECK
: [0x02,0x66,0x13,0xbf]
2079 s_cmp_lg_u64 s
[2:3], vcc
2080 // CHECK
: [0x02,0x6a,0x13,0xbf]
2082 s_cmp_lg_u64 s
[2:3], ttmp
[14:15]
2083 // CHECK
: [0x02,0x7a,0x13,0xbf]
2085 s_cmp_lg_u64 s
[2:3], exec
2086 // CHECK
: [0x02,0x7e,0x13,0xbf]
2088 s_cmp_lg_u64 s
[2:3], 0
2089 // CHECK
: [0x02,0x80,0x13,0xbf]
2091 s_cmp_lg_u64 s
[2:3], -1
2092 // CHECK
: [0x02,0xc1,0x13,0xbf]
2094 s_cmp_lg_u64 s
[2:3], 0.5
2095 // CHECK
: [0x02,0xf0,0x13,0xbf]
2097 s_cmp_lg_u64 s
[2:3], -4.0
2098 // CHECK
: [0x02,0xf7,0x13,0xbf]
2100 s_cmp_lg_u64 s
[2:3], src_vccz
2101 // CHECK
: [0x02,0xfb,0x13,0xbf]
2103 s_cmp_lg_u64 s
[2:3], src_execz
2104 // CHECK
: [0x02,0xfc,0x13,0xbf]
2106 s_cmp_lg_u64 s
[2:3], src_scc
2107 // CHECK
: [0x02,0xfd,0x13,0xbf]
2109 s_cmp_lg_u64 s
[2:3], 0xaf123456
2110 // CHECK
: [0x02,0xff,0x13,0xbf,0x56,0x34,0x12,0xaf]
2112 s_cmp_lg_u64 s
[2:3], 0x3f717273
2113 // CHECK
: [0x02,0xff,0x13,0xbf,0x73,0x72,0x71,0x3f]