[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / AMDGPU / gfx8_asm_sopc.s
blobc6a6a9bc8b9ed8fb7fb9b27431ebbeb74d79b5a9
1 // RUN: llvm-mc -arch=amdgcn -mcpu=tonga -show-encoding %s | FileCheck %s
3 s_cmp_eq_i32 s1, s2
4 // CHECK: [0x01,0x02,0x00,0xbf]
6 s_cmp_eq_i32 s101, s2
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 tba_lo, s2
22 // CHECK: [0x6c,0x02,0x00,0xbf]
24 s_cmp_eq_i32 tba_hi, s2
25 // CHECK: [0x6d,0x02,0x00,0xbf]
27 s_cmp_eq_i32 tma_lo, s2
28 // CHECK: [0x6e,0x02,0x00,0xbf]
30 s_cmp_eq_i32 tma_hi, s2
31 // CHECK: [0x6f,0x02,0x00,0xbf]
33 s_cmp_eq_i32 ttmp11, s2
34 // CHECK: [0x7b,0x02,0x00,0xbf]
36 s_cmp_eq_i32 m0, s2
37 // CHECK: [0x7c,0x02,0x00,0xbf]
39 s_cmp_eq_i32 exec_lo, s2
40 // CHECK: [0x7e,0x02,0x00,0xbf]
42 s_cmp_eq_i32 exec_hi, s2
43 // CHECK: [0x7f,0x02,0x00,0xbf]
45 s_cmp_eq_i32 0, s2
46 // CHECK: [0x80,0x02,0x00,0xbf]
48 s_cmp_eq_i32 -1, s2
49 // CHECK: [0xc1,0x02,0x00,0xbf]
51 s_cmp_eq_i32 0.5, s2
52 // CHECK: [0xf0,0x02,0x00,0xbf]
54 s_cmp_eq_i32 -4.0, s2
55 // CHECK: [0xf7,0x02,0x00,0xbf]
57 s_cmp_eq_i32 src_vccz, s2
58 // CHECK: [0xfb,0x02,0x00,0xbf]
60 s_cmp_eq_i32 src_execz, s2
61 // CHECK: [0xfc,0x02,0x00,0xbf]
63 s_cmp_eq_i32 src_scc, s2
64 // CHECK: [0xfd,0x02,0x00,0xbf]
66 s_cmp_eq_i32 0xaf123456, s2
67 // CHECK: [0xff,0x02,0x00,0xbf,0x56,0x34,0x12,0xaf]
69 s_cmp_eq_i32 0x3f717273, s2
70 // CHECK: [0xff,0x02,0x00,0xbf,0x73,0x72,0x71,0x3f]
72 s_cmp_eq_i32 s1, s101
73 // CHECK: [0x01,0x65,0x00,0xbf]
75 s_cmp_eq_i32 s1, flat_scratch_lo
76 // CHECK: [0x01,0x66,0x00,0xbf]
78 s_cmp_eq_i32 s1, flat_scratch_hi
79 // CHECK: [0x01,0x67,0x00,0xbf]
81 s_cmp_eq_i32 s1, vcc_lo
82 // CHECK: [0x01,0x6a,0x00,0xbf]
84 s_cmp_eq_i32 s1, vcc_hi
85 // CHECK: [0x01,0x6b,0x00,0xbf]
87 s_cmp_eq_i32 s1, tba_lo
88 // CHECK: [0x01,0x6c,0x00,0xbf]
90 s_cmp_eq_i32 s1, tba_hi
91 // CHECK: [0x01,0x6d,0x00,0xbf]
93 s_cmp_eq_i32 s1, tma_lo
94 // CHECK: [0x01,0x6e,0x00,0xbf]
96 s_cmp_eq_i32 s1, tma_hi
97 // CHECK: [0x01,0x6f,0x00,0xbf]
99 s_cmp_eq_i32 s1, ttmp11
100 // CHECK: [0x01,0x7b,0x00,0xbf]
102 s_cmp_eq_i32 s1, m0
103 // CHECK: [0x01,0x7c,0x00,0xbf]
105 s_cmp_eq_i32 s1, exec_lo
106 // CHECK: [0x01,0x7e,0x00,0xbf]
108 s_cmp_eq_i32 s1, exec_hi
109 // CHECK: [0x01,0x7f,0x00,0xbf]
111 s_cmp_eq_i32 s1, 0
112 // CHECK: [0x01,0x80,0x00,0xbf]
114 s_cmp_eq_i32 s1, -1
115 // CHECK: [0x01,0xc1,0x00,0xbf]
117 s_cmp_eq_i32 s1, 0.5
118 // CHECK: [0x01,0xf0,0x00,0xbf]
120 s_cmp_eq_i32 s1, -4.0
121 // CHECK: [0x01,0xf7,0x00,0xbf]
123 s_cmp_eq_i32 s1, src_vccz
124 // CHECK: [0x01,0xfb,0x00,0xbf]
126 s_cmp_eq_i32 s1, src_execz
127 // CHECK: [0x01,0xfc,0x00,0xbf]
129 s_cmp_eq_i32 s1, src_scc
130 // CHECK: [0x01,0xfd,0x00,0xbf]
132 s_cmp_eq_i32 s1, 0xaf123456
133 // CHECK: [0x01,0xff,0x00,0xbf,0x56,0x34,0x12,0xaf]
135 s_cmp_eq_i32 s1, 0x3f717273
136 // CHECK: [0x01,0xff,0x00,0xbf,0x73,0x72,0x71,0x3f]
138 s_cmp_lg_i32 s1, s2
139 // CHECK: [0x01,0x02,0x01,0xbf]
141 s_cmp_lg_i32 s101, s2
142 // CHECK: [0x65,0x02,0x01,0xbf]
144 s_cmp_lg_i32 flat_scratch_lo, s2
145 // CHECK: [0x66,0x02,0x01,0xbf]
147 s_cmp_lg_i32 flat_scratch_hi, s2
148 // CHECK: [0x67,0x02,0x01,0xbf]
150 s_cmp_lg_i32 vcc_lo, s2
151 // CHECK: [0x6a,0x02,0x01,0xbf]
153 s_cmp_lg_i32 vcc_hi, s2
154 // CHECK: [0x6b,0x02,0x01,0xbf]
156 s_cmp_lg_i32 tba_lo, s2
157 // CHECK: [0x6c,0x02,0x01,0xbf]
159 s_cmp_lg_i32 tba_hi, s2
160 // CHECK: [0x6d,0x02,0x01,0xbf]
162 s_cmp_lg_i32 tma_lo, s2
163 // CHECK: [0x6e,0x02,0x01,0xbf]
165 s_cmp_lg_i32 tma_hi, s2
166 // CHECK: [0x6f,0x02,0x01,0xbf]
168 s_cmp_lg_i32 ttmp11, s2
169 // CHECK: [0x7b,0x02,0x01,0xbf]
171 s_cmp_lg_i32 m0, s2
172 // CHECK: [0x7c,0x02,0x01,0xbf]
174 s_cmp_lg_i32 exec_lo, s2
175 // CHECK: [0x7e,0x02,0x01,0xbf]
177 s_cmp_lg_i32 exec_hi, s2
178 // CHECK: [0x7f,0x02,0x01,0xbf]
180 s_cmp_lg_i32 0, s2
181 // CHECK: [0x80,0x02,0x01,0xbf]
183 s_cmp_lg_i32 -1, s2
184 // CHECK: [0xc1,0x02,0x01,0xbf]
186 s_cmp_lg_i32 0.5, s2
187 // CHECK: [0xf0,0x02,0x01,0xbf]
189 s_cmp_lg_i32 -4.0, s2
190 // CHECK: [0xf7,0x02,0x01,0xbf]
192 s_cmp_lg_i32 src_vccz, s2
193 // CHECK: [0xfb,0x02,0x01,0xbf]
195 s_cmp_lg_i32 src_execz, s2
196 // CHECK: [0xfc,0x02,0x01,0xbf]
198 s_cmp_lg_i32 src_scc, s2
199 // CHECK: [0xfd,0x02,0x01,0xbf]
201 s_cmp_lg_i32 0xaf123456, s2
202 // CHECK: [0xff,0x02,0x01,0xbf,0x56,0x34,0x12,0xaf]
204 s_cmp_lg_i32 0x3f717273, s2
205 // CHECK: [0xff,0x02,0x01,0xbf,0x73,0x72,0x71,0x3f]
207 s_cmp_lg_i32 s1, s101
208 // CHECK: [0x01,0x65,0x01,0xbf]
210 s_cmp_lg_i32 s1, flat_scratch_lo
211 // CHECK: [0x01,0x66,0x01,0xbf]
213 s_cmp_lg_i32 s1, flat_scratch_hi
214 // CHECK: [0x01,0x67,0x01,0xbf]
216 s_cmp_lg_i32 s1, vcc_lo
217 // CHECK: [0x01,0x6a,0x01,0xbf]
219 s_cmp_lg_i32 s1, vcc_hi
220 // CHECK: [0x01,0x6b,0x01,0xbf]
222 s_cmp_lg_i32 s1, tba_lo
223 // CHECK: [0x01,0x6c,0x01,0xbf]
225 s_cmp_lg_i32 s1, tba_hi
226 // CHECK: [0x01,0x6d,0x01,0xbf]
228 s_cmp_lg_i32 s1, tma_lo
229 // CHECK: [0x01,0x6e,0x01,0xbf]
231 s_cmp_lg_i32 s1, tma_hi
232 // CHECK: [0x01,0x6f,0x01,0xbf]
234 s_cmp_lg_i32 s1, ttmp11
235 // CHECK: [0x01,0x7b,0x01,0xbf]
237 s_cmp_lg_i32 s1, m0
238 // CHECK: [0x01,0x7c,0x01,0xbf]
240 s_cmp_lg_i32 s1, exec_lo
241 // CHECK: [0x01,0x7e,0x01,0xbf]
243 s_cmp_lg_i32 s1, exec_hi
244 // CHECK: [0x01,0x7f,0x01,0xbf]
246 s_cmp_lg_i32 s1, 0
247 // CHECK: [0x01,0x80,0x01,0xbf]
249 s_cmp_lg_i32 s1, -1
250 // CHECK: [0x01,0xc1,0x01,0xbf]
252 s_cmp_lg_i32 s1, 0.5
253 // CHECK: [0x01,0xf0,0x01,0xbf]
255 s_cmp_lg_i32 s1, -4.0
256 // CHECK: [0x01,0xf7,0x01,0xbf]
258 s_cmp_lg_i32 s1, src_vccz
259 // CHECK: [0x01,0xfb,0x01,0xbf]
261 s_cmp_lg_i32 s1, src_execz
262 // CHECK: [0x01,0xfc,0x01,0xbf]
264 s_cmp_lg_i32 s1, src_scc
265 // CHECK: [0x01,0xfd,0x01,0xbf]
267 s_cmp_lg_i32 s1, 0xaf123456
268 // CHECK: [0x01,0xff,0x01,0xbf,0x56,0x34,0x12,0xaf]
270 s_cmp_lg_i32 s1, 0x3f717273
271 // CHECK: [0x01,0xff,0x01,0xbf,0x73,0x72,0x71,0x3f]
273 s_cmp_gt_i32 s1, s2
274 // CHECK: [0x01,0x02,0x02,0xbf]
276 s_cmp_gt_i32 s101, s2
277 // CHECK: [0x65,0x02,0x02,0xbf]
279 s_cmp_gt_i32 flat_scratch_lo, s2
280 // CHECK: [0x66,0x02,0x02,0xbf]
282 s_cmp_gt_i32 flat_scratch_hi, s2
283 // CHECK: [0x67,0x02,0x02,0xbf]
285 s_cmp_gt_i32 vcc_lo, s2
286 // CHECK: [0x6a,0x02,0x02,0xbf]
288 s_cmp_gt_i32 vcc_hi, s2
289 // CHECK: [0x6b,0x02,0x02,0xbf]
291 s_cmp_gt_i32 tba_lo, s2
292 // CHECK: [0x6c,0x02,0x02,0xbf]
294 s_cmp_gt_i32 tba_hi, s2
295 // CHECK: [0x6d,0x02,0x02,0xbf]
297 s_cmp_gt_i32 tma_lo, s2
298 // CHECK: [0x6e,0x02,0x02,0xbf]
300 s_cmp_gt_i32 tma_hi, s2
301 // CHECK: [0x6f,0x02,0x02,0xbf]
303 s_cmp_gt_i32 ttmp11, s2
304 // CHECK: [0x7b,0x02,0x02,0xbf]
306 s_cmp_gt_i32 m0, s2
307 // CHECK: [0x7c,0x02,0x02,0xbf]
309 s_cmp_gt_i32 exec_lo, s2
310 // CHECK: [0x7e,0x02,0x02,0xbf]
312 s_cmp_gt_i32 exec_hi, s2
313 // CHECK: [0x7f,0x02,0x02,0xbf]
315 s_cmp_gt_i32 0, s2
316 // CHECK: [0x80,0x02,0x02,0xbf]
318 s_cmp_gt_i32 -1, s2
319 // CHECK: [0xc1,0x02,0x02,0xbf]
321 s_cmp_gt_i32 0.5, s2
322 // CHECK: [0xf0,0x02,0x02,0xbf]
324 s_cmp_gt_i32 -4.0, s2
325 // CHECK: [0xf7,0x02,0x02,0xbf]
327 s_cmp_gt_i32 src_vccz, s2
328 // CHECK: [0xfb,0x02,0x02,0xbf]
330 s_cmp_gt_i32 src_execz, s2
331 // CHECK: [0xfc,0x02,0x02,0xbf]
333 s_cmp_gt_i32 src_scc, s2
334 // CHECK: [0xfd,0x02,0x02,0xbf]
336 s_cmp_gt_i32 0xaf123456, s2
337 // CHECK: [0xff,0x02,0x02,0xbf,0x56,0x34,0x12,0xaf]
339 s_cmp_gt_i32 0x3f717273, s2
340 // CHECK: [0xff,0x02,0x02,0xbf,0x73,0x72,0x71,0x3f]
342 s_cmp_gt_i32 s1, s101
343 // CHECK: [0x01,0x65,0x02,0xbf]
345 s_cmp_gt_i32 s1, flat_scratch_lo
346 // CHECK: [0x01,0x66,0x02,0xbf]
348 s_cmp_gt_i32 s1, flat_scratch_hi
349 // CHECK: [0x01,0x67,0x02,0xbf]
351 s_cmp_gt_i32 s1, vcc_lo
352 // CHECK: [0x01,0x6a,0x02,0xbf]
354 s_cmp_gt_i32 s1, vcc_hi
355 // CHECK: [0x01,0x6b,0x02,0xbf]
357 s_cmp_gt_i32 s1, tba_lo
358 // CHECK: [0x01,0x6c,0x02,0xbf]
360 s_cmp_gt_i32 s1, tba_hi
361 // CHECK: [0x01,0x6d,0x02,0xbf]
363 s_cmp_gt_i32 s1, tma_lo
364 // CHECK: [0x01,0x6e,0x02,0xbf]
366 s_cmp_gt_i32 s1, tma_hi
367 // CHECK: [0x01,0x6f,0x02,0xbf]
369 s_cmp_gt_i32 s1, ttmp11
370 // CHECK: [0x01,0x7b,0x02,0xbf]
372 s_cmp_gt_i32 s1, m0
373 // CHECK: [0x01,0x7c,0x02,0xbf]
375 s_cmp_gt_i32 s1, exec_lo
376 // CHECK: [0x01,0x7e,0x02,0xbf]
378 s_cmp_gt_i32 s1, exec_hi
379 // CHECK: [0x01,0x7f,0x02,0xbf]
381 s_cmp_gt_i32 s1, 0
382 // CHECK: [0x01,0x80,0x02,0xbf]
384 s_cmp_gt_i32 s1, -1
385 // CHECK: [0x01,0xc1,0x02,0xbf]
387 s_cmp_gt_i32 s1, 0.5
388 // CHECK: [0x01,0xf0,0x02,0xbf]
390 s_cmp_gt_i32 s1, -4.0
391 // CHECK: [0x01,0xf7,0x02,0xbf]
393 s_cmp_gt_i32 s1, src_vccz
394 // CHECK: [0x01,0xfb,0x02,0xbf]
396 s_cmp_gt_i32 s1, src_execz
397 // CHECK: [0x01,0xfc,0x02,0xbf]
399 s_cmp_gt_i32 s1, src_scc
400 // CHECK: [0x01,0xfd,0x02,0xbf]
402 s_cmp_gt_i32 s1, 0xaf123456
403 // CHECK: [0x01,0xff,0x02,0xbf,0x56,0x34,0x12,0xaf]
405 s_cmp_gt_i32 s1, 0x3f717273
406 // CHECK: [0x01,0xff,0x02,0xbf,0x73,0x72,0x71,0x3f]
408 s_cmp_ge_i32 s1, s2
409 // CHECK: [0x01,0x02,0x03,0xbf]
411 s_cmp_ge_i32 s101, s2
412 // CHECK: [0x65,0x02,0x03,0xbf]
414 s_cmp_ge_i32 flat_scratch_lo, s2
415 // CHECK: [0x66,0x02,0x03,0xbf]
417 s_cmp_ge_i32 flat_scratch_hi, s2
418 // CHECK: [0x67,0x02,0x03,0xbf]
420 s_cmp_ge_i32 vcc_lo, s2
421 // CHECK: [0x6a,0x02,0x03,0xbf]
423 s_cmp_ge_i32 vcc_hi, s2
424 // CHECK: [0x6b,0x02,0x03,0xbf]
426 s_cmp_ge_i32 tba_lo, s2
427 // CHECK: [0x6c,0x02,0x03,0xbf]
429 s_cmp_ge_i32 tba_hi, s2
430 // CHECK: [0x6d,0x02,0x03,0xbf]
432 s_cmp_ge_i32 tma_lo, s2
433 // CHECK: [0x6e,0x02,0x03,0xbf]
435 s_cmp_ge_i32 tma_hi, s2
436 // CHECK: [0x6f,0x02,0x03,0xbf]
438 s_cmp_ge_i32 ttmp11, s2
439 // CHECK: [0x7b,0x02,0x03,0xbf]
441 s_cmp_ge_i32 m0, s2
442 // CHECK: [0x7c,0x02,0x03,0xbf]
444 s_cmp_ge_i32 exec_lo, s2
445 // CHECK: [0x7e,0x02,0x03,0xbf]
447 s_cmp_ge_i32 exec_hi, s2
448 // CHECK: [0x7f,0x02,0x03,0xbf]
450 s_cmp_ge_i32 0, s2
451 // CHECK: [0x80,0x02,0x03,0xbf]
453 s_cmp_ge_i32 -1, s2
454 // CHECK: [0xc1,0x02,0x03,0xbf]
456 s_cmp_ge_i32 0.5, s2
457 // CHECK: [0xf0,0x02,0x03,0xbf]
459 s_cmp_ge_i32 -4.0, s2
460 // CHECK: [0xf7,0x02,0x03,0xbf]
462 s_cmp_ge_i32 src_vccz, s2
463 // CHECK: [0xfb,0x02,0x03,0xbf]
465 s_cmp_ge_i32 src_execz, s2
466 // CHECK: [0xfc,0x02,0x03,0xbf]
468 s_cmp_ge_i32 src_scc, s2
469 // CHECK: [0xfd,0x02,0x03,0xbf]
471 s_cmp_ge_i32 0xaf123456, s2
472 // CHECK: [0xff,0x02,0x03,0xbf,0x56,0x34,0x12,0xaf]
474 s_cmp_ge_i32 0x3f717273, s2
475 // CHECK: [0xff,0x02,0x03,0xbf,0x73,0x72,0x71,0x3f]
477 s_cmp_ge_i32 s1, s101
478 // CHECK: [0x01,0x65,0x03,0xbf]
480 s_cmp_ge_i32 s1, flat_scratch_lo
481 // CHECK: [0x01,0x66,0x03,0xbf]
483 s_cmp_ge_i32 s1, flat_scratch_hi
484 // CHECK: [0x01,0x67,0x03,0xbf]
486 s_cmp_ge_i32 s1, vcc_lo
487 // CHECK: [0x01,0x6a,0x03,0xbf]
489 s_cmp_ge_i32 s1, vcc_hi
490 // CHECK: [0x01,0x6b,0x03,0xbf]
492 s_cmp_ge_i32 s1, tba_lo
493 // CHECK: [0x01,0x6c,0x03,0xbf]
495 s_cmp_ge_i32 s1, tba_hi
496 // CHECK: [0x01,0x6d,0x03,0xbf]
498 s_cmp_ge_i32 s1, tma_lo
499 // CHECK: [0x01,0x6e,0x03,0xbf]
501 s_cmp_ge_i32 s1, tma_hi
502 // CHECK: [0x01,0x6f,0x03,0xbf]
504 s_cmp_ge_i32 s1, ttmp11
505 // CHECK: [0x01,0x7b,0x03,0xbf]
507 s_cmp_ge_i32 s1, m0
508 // CHECK: [0x01,0x7c,0x03,0xbf]
510 s_cmp_ge_i32 s1, exec_lo
511 // CHECK: [0x01,0x7e,0x03,0xbf]
513 s_cmp_ge_i32 s1, exec_hi
514 // CHECK: [0x01,0x7f,0x03,0xbf]
516 s_cmp_ge_i32 s1, 0
517 // CHECK: [0x01,0x80,0x03,0xbf]
519 s_cmp_ge_i32 s1, -1
520 // CHECK: [0x01,0xc1,0x03,0xbf]
522 s_cmp_ge_i32 s1, 0.5
523 // CHECK: [0x01,0xf0,0x03,0xbf]
525 s_cmp_ge_i32 s1, -4.0
526 // CHECK: [0x01,0xf7,0x03,0xbf]
528 s_cmp_ge_i32 s1, src_vccz
529 // CHECK: [0x01,0xfb,0x03,0xbf]
531 s_cmp_ge_i32 s1, src_execz
532 // CHECK: [0x01,0xfc,0x03,0xbf]
534 s_cmp_ge_i32 s1, src_scc
535 // CHECK: [0x01,0xfd,0x03,0xbf]
537 s_cmp_ge_i32 s1, 0xaf123456
538 // CHECK: [0x01,0xff,0x03,0xbf,0x56,0x34,0x12,0xaf]
540 s_cmp_ge_i32 s1, 0x3f717273
541 // CHECK: [0x01,0xff,0x03,0xbf,0x73,0x72,0x71,0x3f]
543 s_cmp_lt_i32 s1, s2
544 // CHECK: [0x01,0x02,0x04,0xbf]
546 s_cmp_lt_i32 s101, s2
547 // CHECK: [0x65,0x02,0x04,0xbf]
549 s_cmp_lt_i32 flat_scratch_lo, s2
550 // CHECK: [0x66,0x02,0x04,0xbf]
552 s_cmp_lt_i32 flat_scratch_hi, s2
553 // CHECK: [0x67,0x02,0x04,0xbf]
555 s_cmp_lt_i32 vcc_lo, s2
556 // CHECK: [0x6a,0x02,0x04,0xbf]
558 s_cmp_lt_i32 vcc_hi, s2
559 // CHECK: [0x6b,0x02,0x04,0xbf]
561 s_cmp_lt_i32 tba_lo, s2
562 // CHECK: [0x6c,0x02,0x04,0xbf]
564 s_cmp_lt_i32 tba_hi, s2
565 // CHECK: [0x6d,0x02,0x04,0xbf]
567 s_cmp_lt_i32 tma_lo, s2
568 // CHECK: [0x6e,0x02,0x04,0xbf]
570 s_cmp_lt_i32 tma_hi, s2
571 // CHECK: [0x6f,0x02,0x04,0xbf]
573 s_cmp_lt_i32 ttmp11, s2
574 // CHECK: [0x7b,0x02,0x04,0xbf]
576 s_cmp_lt_i32 m0, s2
577 // CHECK: [0x7c,0x02,0x04,0xbf]
579 s_cmp_lt_i32 exec_lo, s2
580 // CHECK: [0x7e,0x02,0x04,0xbf]
582 s_cmp_lt_i32 exec_hi, s2
583 // CHECK: [0x7f,0x02,0x04,0xbf]
585 s_cmp_lt_i32 0, s2
586 // CHECK: [0x80,0x02,0x04,0xbf]
588 s_cmp_lt_i32 -1, s2
589 // CHECK: [0xc1,0x02,0x04,0xbf]
591 s_cmp_lt_i32 0.5, s2
592 // CHECK: [0xf0,0x02,0x04,0xbf]
594 s_cmp_lt_i32 -4.0, s2
595 // CHECK: [0xf7,0x02,0x04,0xbf]
597 s_cmp_lt_i32 src_vccz, s2
598 // CHECK: [0xfb,0x02,0x04,0xbf]
600 s_cmp_lt_i32 src_execz, s2
601 // CHECK: [0xfc,0x02,0x04,0xbf]
603 s_cmp_lt_i32 src_scc, s2
604 // CHECK: [0xfd,0x02,0x04,0xbf]
606 s_cmp_lt_i32 0xaf123456, s2
607 // CHECK: [0xff,0x02,0x04,0xbf,0x56,0x34,0x12,0xaf]
609 s_cmp_lt_i32 0x3f717273, s2
610 // CHECK: [0xff,0x02,0x04,0xbf,0x73,0x72,0x71,0x3f]
612 s_cmp_lt_i32 s1, s101
613 // CHECK: [0x01,0x65,0x04,0xbf]
615 s_cmp_lt_i32 s1, flat_scratch_lo
616 // CHECK: [0x01,0x66,0x04,0xbf]
618 s_cmp_lt_i32 s1, flat_scratch_hi
619 // CHECK: [0x01,0x67,0x04,0xbf]
621 s_cmp_lt_i32 s1, vcc_lo
622 // CHECK: [0x01,0x6a,0x04,0xbf]
624 s_cmp_lt_i32 s1, vcc_hi
625 // CHECK: [0x01,0x6b,0x04,0xbf]
627 s_cmp_lt_i32 s1, tba_lo
628 // CHECK: [0x01,0x6c,0x04,0xbf]
630 s_cmp_lt_i32 s1, tba_hi
631 // CHECK: [0x01,0x6d,0x04,0xbf]
633 s_cmp_lt_i32 s1, tma_lo
634 // CHECK: [0x01,0x6e,0x04,0xbf]
636 s_cmp_lt_i32 s1, tma_hi
637 // CHECK: [0x01,0x6f,0x04,0xbf]
639 s_cmp_lt_i32 s1, ttmp11
640 // CHECK: [0x01,0x7b,0x04,0xbf]
642 s_cmp_lt_i32 s1, m0
643 // CHECK: [0x01,0x7c,0x04,0xbf]
645 s_cmp_lt_i32 s1, exec_lo
646 // CHECK: [0x01,0x7e,0x04,0xbf]
648 s_cmp_lt_i32 s1, exec_hi
649 // CHECK: [0x01,0x7f,0x04,0xbf]
651 s_cmp_lt_i32 s1, 0
652 // CHECK: [0x01,0x80,0x04,0xbf]
654 s_cmp_lt_i32 s1, -1
655 // CHECK: [0x01,0xc1,0x04,0xbf]
657 s_cmp_lt_i32 s1, 0.5
658 // CHECK: [0x01,0xf0,0x04,0xbf]
660 s_cmp_lt_i32 s1, -4.0
661 // CHECK: [0x01,0xf7,0x04,0xbf]
663 s_cmp_lt_i32 s1, src_vccz
664 // CHECK: [0x01,0xfb,0x04,0xbf]
666 s_cmp_lt_i32 s1, src_execz
667 // CHECK: [0x01,0xfc,0x04,0xbf]
669 s_cmp_lt_i32 s1, src_scc
670 // CHECK: [0x01,0xfd,0x04,0xbf]
672 s_cmp_lt_i32 s1, 0xaf123456
673 // CHECK: [0x01,0xff,0x04,0xbf,0x56,0x34,0x12,0xaf]
675 s_cmp_lt_i32 s1, 0x3f717273
676 // CHECK: [0x01,0xff,0x04,0xbf,0x73,0x72,0x71,0x3f]
678 s_cmp_le_i32 s1, s2
679 // CHECK: [0x01,0x02,0x05,0xbf]
681 s_cmp_le_i32 s101, s2
682 // CHECK: [0x65,0x02,0x05,0xbf]
684 s_cmp_le_i32 flat_scratch_lo, s2
685 // CHECK: [0x66,0x02,0x05,0xbf]
687 s_cmp_le_i32 flat_scratch_hi, s2
688 // CHECK: [0x67,0x02,0x05,0xbf]
690 s_cmp_le_i32 vcc_lo, s2
691 // CHECK: [0x6a,0x02,0x05,0xbf]
693 s_cmp_le_i32 vcc_hi, s2
694 // CHECK: [0x6b,0x02,0x05,0xbf]
696 s_cmp_le_i32 tba_lo, s2
697 // CHECK: [0x6c,0x02,0x05,0xbf]
699 s_cmp_le_i32 tba_hi, s2
700 // CHECK: [0x6d,0x02,0x05,0xbf]
702 s_cmp_le_i32 tma_lo, s2
703 // CHECK: [0x6e,0x02,0x05,0xbf]
705 s_cmp_le_i32 tma_hi, s2
706 // CHECK: [0x6f,0x02,0x05,0xbf]
708 s_cmp_le_i32 ttmp11, s2
709 // CHECK: [0x7b,0x02,0x05,0xbf]
711 s_cmp_le_i32 m0, s2
712 // CHECK: [0x7c,0x02,0x05,0xbf]
714 s_cmp_le_i32 exec_lo, s2
715 // CHECK: [0x7e,0x02,0x05,0xbf]
717 s_cmp_le_i32 exec_hi, s2
718 // CHECK: [0x7f,0x02,0x05,0xbf]
720 s_cmp_le_i32 0, s2
721 // CHECK: [0x80,0x02,0x05,0xbf]
723 s_cmp_le_i32 -1, s2
724 // CHECK: [0xc1,0x02,0x05,0xbf]
726 s_cmp_le_i32 0.5, s2
727 // CHECK: [0xf0,0x02,0x05,0xbf]
729 s_cmp_le_i32 -4.0, s2
730 // CHECK: [0xf7,0x02,0x05,0xbf]
732 s_cmp_le_i32 src_vccz, s2
733 // CHECK: [0xfb,0x02,0x05,0xbf]
735 s_cmp_le_i32 src_execz, s2
736 // CHECK: [0xfc,0x02,0x05,0xbf]
738 s_cmp_le_i32 src_scc, s2
739 // CHECK: [0xfd,0x02,0x05,0xbf]
741 s_cmp_le_i32 0xaf123456, s2
742 // CHECK: [0xff,0x02,0x05,0xbf,0x56,0x34,0x12,0xaf]
744 s_cmp_le_i32 0x3f717273, s2
745 // CHECK: [0xff,0x02,0x05,0xbf,0x73,0x72,0x71,0x3f]
747 s_cmp_le_i32 s1, s101
748 // CHECK: [0x01,0x65,0x05,0xbf]
750 s_cmp_le_i32 s1, flat_scratch_lo
751 // CHECK: [0x01,0x66,0x05,0xbf]
753 s_cmp_le_i32 s1, flat_scratch_hi
754 // CHECK: [0x01,0x67,0x05,0xbf]
756 s_cmp_le_i32 s1, vcc_lo
757 // CHECK: [0x01,0x6a,0x05,0xbf]
759 s_cmp_le_i32 s1, vcc_hi
760 // CHECK: [0x01,0x6b,0x05,0xbf]
762 s_cmp_le_i32 s1, tba_lo
763 // CHECK: [0x01,0x6c,0x05,0xbf]
765 s_cmp_le_i32 s1, tba_hi
766 // CHECK: [0x01,0x6d,0x05,0xbf]
768 s_cmp_le_i32 s1, tma_lo
769 // CHECK: [0x01,0x6e,0x05,0xbf]
771 s_cmp_le_i32 s1, tma_hi
772 // CHECK: [0x01,0x6f,0x05,0xbf]
774 s_cmp_le_i32 s1, ttmp11
775 // CHECK: [0x01,0x7b,0x05,0xbf]
777 s_cmp_le_i32 s1, m0
778 // CHECK: [0x01,0x7c,0x05,0xbf]
780 s_cmp_le_i32 s1, exec_lo
781 // CHECK: [0x01,0x7e,0x05,0xbf]
783 s_cmp_le_i32 s1, exec_hi
784 // CHECK: [0x01,0x7f,0x05,0xbf]
786 s_cmp_le_i32 s1, 0
787 // CHECK: [0x01,0x80,0x05,0xbf]
789 s_cmp_le_i32 s1, -1
790 // CHECK: [0x01,0xc1,0x05,0xbf]
792 s_cmp_le_i32 s1, 0.5
793 // CHECK: [0x01,0xf0,0x05,0xbf]
795 s_cmp_le_i32 s1, -4.0
796 // CHECK: [0x01,0xf7,0x05,0xbf]
798 s_cmp_le_i32 s1, src_vccz
799 // CHECK: [0x01,0xfb,0x05,0xbf]
801 s_cmp_le_i32 s1, src_execz
802 // CHECK: [0x01,0xfc,0x05,0xbf]
804 s_cmp_le_i32 s1, src_scc
805 // CHECK: [0x01,0xfd,0x05,0xbf]
807 s_cmp_le_i32 s1, 0xaf123456
808 // CHECK: [0x01,0xff,0x05,0xbf,0x56,0x34,0x12,0xaf]
810 s_cmp_le_i32 s1, 0x3f717273
811 // CHECK: [0x01,0xff,0x05,0xbf,0x73,0x72,0x71,0x3f]
813 s_cmp_eq_u32 s1, s2
814 // CHECK: [0x01,0x02,0x06,0xbf]
816 s_cmp_eq_u32 s101, s2
817 // CHECK: [0x65,0x02,0x06,0xbf]
819 s_cmp_eq_u32 flat_scratch_lo, s2
820 // CHECK: [0x66,0x02,0x06,0xbf]
822 s_cmp_eq_u32 flat_scratch_hi, s2
823 // CHECK: [0x67,0x02,0x06,0xbf]
825 s_cmp_eq_u32 vcc_lo, s2
826 // CHECK: [0x6a,0x02,0x06,0xbf]
828 s_cmp_eq_u32 vcc_hi, s2
829 // CHECK: [0x6b,0x02,0x06,0xbf]
831 s_cmp_eq_u32 tba_lo, s2
832 // CHECK: [0x6c,0x02,0x06,0xbf]
834 s_cmp_eq_u32 tba_hi, s2
835 // CHECK: [0x6d,0x02,0x06,0xbf]
837 s_cmp_eq_u32 tma_lo, s2
838 // CHECK: [0x6e,0x02,0x06,0xbf]
840 s_cmp_eq_u32 tma_hi, s2
841 // CHECK: [0x6f,0x02,0x06,0xbf]
843 s_cmp_eq_u32 ttmp11, s2
844 // CHECK: [0x7b,0x02,0x06,0xbf]
846 s_cmp_eq_u32 m0, s2
847 // CHECK: [0x7c,0x02,0x06,0xbf]
849 s_cmp_eq_u32 exec_lo, s2
850 // CHECK: [0x7e,0x02,0x06,0xbf]
852 s_cmp_eq_u32 exec_hi, s2
853 // CHECK: [0x7f,0x02,0x06,0xbf]
855 s_cmp_eq_u32 0, s2
856 // CHECK: [0x80,0x02,0x06,0xbf]
858 s_cmp_eq_u32 -1, s2
859 // CHECK: [0xc1,0x02,0x06,0xbf]
861 s_cmp_eq_u32 0.5, s2
862 // CHECK: [0xf0,0x02,0x06,0xbf]
864 s_cmp_eq_u32 -4.0, s2
865 // CHECK: [0xf7,0x02,0x06,0xbf]
867 s_cmp_eq_u32 src_vccz, s2
868 // CHECK: [0xfb,0x02,0x06,0xbf]
870 s_cmp_eq_u32 src_execz, s2
871 // CHECK: [0xfc,0x02,0x06,0xbf]
873 s_cmp_eq_u32 src_scc, s2
874 // CHECK: [0xfd,0x02,0x06,0xbf]
876 s_cmp_eq_u32 0xaf123456, s2
877 // CHECK: [0xff,0x02,0x06,0xbf,0x56,0x34,0x12,0xaf]
879 s_cmp_eq_u32 0x3f717273, s2
880 // CHECK: [0xff,0x02,0x06,0xbf,0x73,0x72,0x71,0x3f]
882 s_cmp_eq_u32 s1, s101
883 // CHECK: [0x01,0x65,0x06,0xbf]
885 s_cmp_eq_u32 s1, flat_scratch_lo
886 // CHECK: [0x01,0x66,0x06,0xbf]
888 s_cmp_eq_u32 s1, flat_scratch_hi
889 // CHECK: [0x01,0x67,0x06,0xbf]
891 s_cmp_eq_u32 s1, vcc_lo
892 // CHECK: [0x01,0x6a,0x06,0xbf]
894 s_cmp_eq_u32 s1, vcc_hi
895 // CHECK: [0x01,0x6b,0x06,0xbf]
897 s_cmp_eq_u32 s1, tba_lo
898 // CHECK: [0x01,0x6c,0x06,0xbf]
900 s_cmp_eq_u32 s1, tba_hi
901 // CHECK: [0x01,0x6d,0x06,0xbf]
903 s_cmp_eq_u32 s1, tma_lo
904 // CHECK: [0x01,0x6e,0x06,0xbf]
906 s_cmp_eq_u32 s1, tma_hi
907 // CHECK: [0x01,0x6f,0x06,0xbf]
909 s_cmp_eq_u32 s1, ttmp11
910 // CHECK: [0x01,0x7b,0x06,0xbf]
912 s_cmp_eq_u32 s1, m0
913 // CHECK: [0x01,0x7c,0x06,0xbf]
915 s_cmp_eq_u32 s1, exec_lo
916 // CHECK: [0x01,0x7e,0x06,0xbf]
918 s_cmp_eq_u32 s1, exec_hi
919 // CHECK: [0x01,0x7f,0x06,0xbf]
921 s_cmp_eq_u32 s1, 0
922 // CHECK: [0x01,0x80,0x06,0xbf]
924 s_cmp_eq_u32 s1, -1
925 // CHECK: [0x01,0xc1,0x06,0xbf]
927 s_cmp_eq_u32 s1, 0.5
928 // CHECK: [0x01,0xf0,0x06,0xbf]
930 s_cmp_eq_u32 s1, -4.0
931 // CHECK: [0x01,0xf7,0x06,0xbf]
933 s_cmp_eq_u32 s1, src_vccz
934 // CHECK: [0x01,0xfb,0x06,0xbf]
936 s_cmp_eq_u32 s1, src_execz
937 // CHECK: [0x01,0xfc,0x06,0xbf]
939 s_cmp_eq_u32 s1, src_scc
940 // CHECK: [0x01,0xfd,0x06,0xbf]
942 s_cmp_eq_u32 s1, 0xaf123456
943 // CHECK: [0x01,0xff,0x06,0xbf,0x56,0x34,0x12,0xaf]
945 s_cmp_eq_u32 s1, 0x3f717273
946 // CHECK: [0x01,0xff,0x06,0xbf,0x73,0x72,0x71,0x3f]
948 s_cmp_lg_u32 s1, s2
949 // CHECK: [0x01,0x02,0x07,0xbf]
951 s_cmp_lg_u32 s101, s2
952 // CHECK: [0x65,0x02,0x07,0xbf]
954 s_cmp_lg_u32 flat_scratch_lo, s2
955 // CHECK: [0x66,0x02,0x07,0xbf]
957 s_cmp_lg_u32 flat_scratch_hi, s2
958 // CHECK: [0x67,0x02,0x07,0xbf]
960 s_cmp_lg_u32 vcc_lo, s2
961 // CHECK: [0x6a,0x02,0x07,0xbf]
963 s_cmp_lg_u32 vcc_hi, s2
964 // CHECK: [0x6b,0x02,0x07,0xbf]
966 s_cmp_lg_u32 tba_lo, s2
967 // CHECK: [0x6c,0x02,0x07,0xbf]
969 s_cmp_lg_u32 tba_hi, s2
970 // CHECK: [0x6d,0x02,0x07,0xbf]
972 s_cmp_lg_u32 tma_lo, s2
973 // CHECK: [0x6e,0x02,0x07,0xbf]
975 s_cmp_lg_u32 tma_hi, s2
976 // CHECK: [0x6f,0x02,0x07,0xbf]
978 s_cmp_lg_u32 ttmp11, s2
979 // CHECK: [0x7b,0x02,0x07,0xbf]
981 s_cmp_lg_u32 m0, s2
982 // CHECK: [0x7c,0x02,0x07,0xbf]
984 s_cmp_lg_u32 exec_lo, s2
985 // CHECK: [0x7e,0x02,0x07,0xbf]
987 s_cmp_lg_u32 exec_hi, s2
988 // CHECK: [0x7f,0x02,0x07,0xbf]
990 s_cmp_lg_u32 0, s2
991 // CHECK: [0x80,0x02,0x07,0xbf]
993 s_cmp_lg_u32 -1, s2
994 // CHECK: [0xc1,0x02,0x07,0xbf]
996 s_cmp_lg_u32 0.5, s2
997 // CHECK: [0xf0,0x02,0x07,0xbf]
999 s_cmp_lg_u32 -4.0, s2
1000 // CHECK: [0xf7,0x02,0x07,0xbf]
1002 s_cmp_lg_u32 src_vccz, s2
1003 // CHECK: [0xfb,0x02,0x07,0xbf]
1005 s_cmp_lg_u32 src_execz, s2
1006 // CHECK: [0xfc,0x02,0x07,0xbf]
1008 s_cmp_lg_u32 src_scc, s2
1009 // CHECK: [0xfd,0x02,0x07,0xbf]
1011 s_cmp_lg_u32 0xaf123456, s2
1012 // CHECK: [0xff,0x02,0x07,0xbf,0x56,0x34,0x12,0xaf]
1014 s_cmp_lg_u32 0x3f717273, s2
1015 // CHECK: [0xff,0x02,0x07,0xbf,0x73,0x72,0x71,0x3f]
1017 s_cmp_lg_u32 s1, s101
1018 // CHECK: [0x01,0x65,0x07,0xbf]
1020 s_cmp_lg_u32 s1, flat_scratch_lo
1021 // CHECK: [0x01,0x66,0x07,0xbf]
1023 s_cmp_lg_u32 s1, flat_scratch_hi
1024 // CHECK: [0x01,0x67,0x07,0xbf]
1026 s_cmp_lg_u32 s1, vcc_lo
1027 // CHECK: [0x01,0x6a,0x07,0xbf]
1029 s_cmp_lg_u32 s1, vcc_hi
1030 // CHECK: [0x01,0x6b,0x07,0xbf]
1032 s_cmp_lg_u32 s1, tba_lo
1033 // CHECK: [0x01,0x6c,0x07,0xbf]
1035 s_cmp_lg_u32 s1, tba_hi
1036 // CHECK: [0x01,0x6d,0x07,0xbf]
1038 s_cmp_lg_u32 s1, tma_lo
1039 // CHECK: [0x01,0x6e,0x07,0xbf]
1041 s_cmp_lg_u32 s1, tma_hi
1042 // CHECK: [0x01,0x6f,0x07,0xbf]
1044 s_cmp_lg_u32 s1, ttmp11
1045 // CHECK: [0x01,0x7b,0x07,0xbf]
1047 s_cmp_lg_u32 s1, m0
1048 // CHECK: [0x01,0x7c,0x07,0xbf]
1050 s_cmp_lg_u32 s1, exec_lo
1051 // CHECK: [0x01,0x7e,0x07,0xbf]
1053 s_cmp_lg_u32 s1, exec_hi
1054 // CHECK: [0x01,0x7f,0x07,0xbf]
1056 s_cmp_lg_u32 s1, 0
1057 // CHECK: [0x01,0x80,0x07,0xbf]
1059 s_cmp_lg_u32 s1, -1
1060 // CHECK: [0x01,0xc1,0x07,0xbf]
1062 s_cmp_lg_u32 s1, 0.5
1063 // CHECK: [0x01,0xf0,0x07,0xbf]
1065 s_cmp_lg_u32 s1, -4.0
1066 // CHECK: [0x01,0xf7,0x07,0xbf]
1068 s_cmp_lg_u32 s1, src_vccz
1069 // CHECK: [0x01,0xfb,0x07,0xbf]
1071 s_cmp_lg_u32 s1, src_execz
1072 // CHECK: [0x01,0xfc,0x07,0xbf]
1074 s_cmp_lg_u32 s1, src_scc
1075 // CHECK: [0x01,0xfd,0x07,0xbf]
1077 s_cmp_lg_u32 s1, 0xaf123456
1078 // CHECK: [0x01,0xff,0x07,0xbf,0x56,0x34,0x12,0xaf]
1080 s_cmp_lg_u32 s1, 0x3f717273
1081 // CHECK: [0x01,0xff,0x07,0xbf,0x73,0x72,0x71,0x3f]
1083 s_cmp_gt_u32 s1, s2
1084 // CHECK: [0x01,0x02,0x08,0xbf]
1086 s_cmp_gt_u32 s101, s2
1087 // CHECK: [0x65,0x02,0x08,0xbf]
1089 s_cmp_gt_u32 flat_scratch_lo, s2
1090 // CHECK: [0x66,0x02,0x08,0xbf]
1092 s_cmp_gt_u32 flat_scratch_hi, s2
1093 // CHECK: [0x67,0x02,0x08,0xbf]
1095 s_cmp_gt_u32 vcc_lo, s2
1096 // CHECK: [0x6a,0x02,0x08,0xbf]
1098 s_cmp_gt_u32 vcc_hi, s2
1099 // CHECK: [0x6b,0x02,0x08,0xbf]
1101 s_cmp_gt_u32 tba_lo, s2
1102 // CHECK: [0x6c,0x02,0x08,0xbf]
1104 s_cmp_gt_u32 tba_hi, s2
1105 // CHECK: [0x6d,0x02,0x08,0xbf]
1107 s_cmp_gt_u32 tma_lo, s2
1108 // CHECK: [0x6e,0x02,0x08,0xbf]
1110 s_cmp_gt_u32 tma_hi, s2
1111 // CHECK: [0x6f,0x02,0x08,0xbf]
1113 s_cmp_gt_u32 ttmp11, s2
1114 // CHECK: [0x7b,0x02,0x08,0xbf]
1116 s_cmp_gt_u32 m0, s2
1117 // CHECK: [0x7c,0x02,0x08,0xbf]
1119 s_cmp_gt_u32 exec_lo, s2
1120 // CHECK: [0x7e,0x02,0x08,0xbf]
1122 s_cmp_gt_u32 exec_hi, s2
1123 // CHECK: [0x7f,0x02,0x08,0xbf]
1125 s_cmp_gt_u32 0, s2
1126 // CHECK: [0x80,0x02,0x08,0xbf]
1128 s_cmp_gt_u32 -1, s2
1129 // CHECK: [0xc1,0x02,0x08,0xbf]
1131 s_cmp_gt_u32 0.5, s2
1132 // CHECK: [0xf0,0x02,0x08,0xbf]
1134 s_cmp_gt_u32 -4.0, s2
1135 // CHECK: [0xf7,0x02,0x08,0xbf]
1137 s_cmp_gt_u32 src_vccz, s2
1138 // CHECK: [0xfb,0x02,0x08,0xbf]
1140 s_cmp_gt_u32 src_execz, s2
1141 // CHECK: [0xfc,0x02,0x08,0xbf]
1143 s_cmp_gt_u32 src_scc, s2
1144 // CHECK: [0xfd,0x02,0x08,0xbf]
1146 s_cmp_gt_u32 0xaf123456, s2
1147 // CHECK: [0xff,0x02,0x08,0xbf,0x56,0x34,0x12,0xaf]
1149 s_cmp_gt_u32 0x3f717273, s2
1150 // CHECK: [0xff,0x02,0x08,0xbf,0x73,0x72,0x71,0x3f]
1152 s_cmp_gt_u32 s1, s101
1153 // CHECK: [0x01,0x65,0x08,0xbf]
1155 s_cmp_gt_u32 s1, flat_scratch_lo
1156 // CHECK: [0x01,0x66,0x08,0xbf]
1158 s_cmp_gt_u32 s1, flat_scratch_hi
1159 // CHECK: [0x01,0x67,0x08,0xbf]
1161 s_cmp_gt_u32 s1, vcc_lo
1162 // CHECK: [0x01,0x6a,0x08,0xbf]
1164 s_cmp_gt_u32 s1, vcc_hi
1165 // CHECK: [0x01,0x6b,0x08,0xbf]
1167 s_cmp_gt_u32 s1, tba_lo
1168 // CHECK: [0x01,0x6c,0x08,0xbf]
1170 s_cmp_gt_u32 s1, tba_hi
1171 // CHECK: [0x01,0x6d,0x08,0xbf]
1173 s_cmp_gt_u32 s1, tma_lo
1174 // CHECK: [0x01,0x6e,0x08,0xbf]
1176 s_cmp_gt_u32 s1, tma_hi
1177 // CHECK: [0x01,0x6f,0x08,0xbf]
1179 s_cmp_gt_u32 s1, ttmp11
1180 // CHECK: [0x01,0x7b,0x08,0xbf]
1182 s_cmp_gt_u32 s1, m0
1183 // CHECK: [0x01,0x7c,0x08,0xbf]
1185 s_cmp_gt_u32 s1, exec_lo
1186 // CHECK: [0x01,0x7e,0x08,0xbf]
1188 s_cmp_gt_u32 s1, exec_hi
1189 // CHECK: [0x01,0x7f,0x08,0xbf]
1191 s_cmp_gt_u32 s1, 0
1192 // CHECK: [0x01,0x80,0x08,0xbf]
1194 s_cmp_gt_u32 s1, -1
1195 // CHECK: [0x01,0xc1,0x08,0xbf]
1197 s_cmp_gt_u32 s1, 0.5
1198 // CHECK: [0x01,0xf0,0x08,0xbf]
1200 s_cmp_gt_u32 s1, -4.0
1201 // CHECK: [0x01,0xf7,0x08,0xbf]
1203 s_cmp_gt_u32 s1, src_vccz
1204 // CHECK: [0x01,0xfb,0x08,0xbf]
1206 s_cmp_gt_u32 s1, src_execz
1207 // CHECK: [0x01,0xfc,0x08,0xbf]
1209 s_cmp_gt_u32 s1, src_scc
1210 // CHECK: [0x01,0xfd,0x08,0xbf]
1212 s_cmp_gt_u32 s1, 0xaf123456
1213 // CHECK: [0x01,0xff,0x08,0xbf,0x56,0x34,0x12,0xaf]
1215 s_cmp_gt_u32 s1, 0x3f717273
1216 // CHECK: [0x01,0xff,0x08,0xbf,0x73,0x72,0x71,0x3f]
1218 s_cmp_ge_u32 s1, s2
1219 // CHECK: [0x01,0x02,0x09,0xbf]
1221 s_cmp_ge_u32 s101, s2
1222 // CHECK: [0x65,0x02,0x09,0xbf]
1224 s_cmp_ge_u32 flat_scratch_lo, s2
1225 // CHECK: [0x66,0x02,0x09,0xbf]
1227 s_cmp_ge_u32 flat_scratch_hi, s2
1228 // CHECK: [0x67,0x02,0x09,0xbf]
1230 s_cmp_ge_u32 vcc_lo, s2
1231 // CHECK: [0x6a,0x02,0x09,0xbf]
1233 s_cmp_ge_u32 vcc_hi, s2
1234 // CHECK: [0x6b,0x02,0x09,0xbf]
1236 s_cmp_ge_u32 tba_lo, s2
1237 // CHECK: [0x6c,0x02,0x09,0xbf]
1239 s_cmp_ge_u32 tba_hi, s2
1240 // CHECK: [0x6d,0x02,0x09,0xbf]
1242 s_cmp_ge_u32 tma_lo, s2
1243 // CHECK: [0x6e,0x02,0x09,0xbf]
1245 s_cmp_ge_u32 tma_hi, s2
1246 // CHECK: [0x6f,0x02,0x09,0xbf]
1248 s_cmp_ge_u32 ttmp11, s2
1249 // CHECK: [0x7b,0x02,0x09,0xbf]
1251 s_cmp_ge_u32 m0, s2
1252 // CHECK: [0x7c,0x02,0x09,0xbf]
1254 s_cmp_ge_u32 exec_lo, s2
1255 // CHECK: [0x7e,0x02,0x09,0xbf]
1257 s_cmp_ge_u32 exec_hi, s2
1258 // CHECK: [0x7f,0x02,0x09,0xbf]
1260 s_cmp_ge_u32 0, s2
1261 // CHECK: [0x80,0x02,0x09,0xbf]
1263 s_cmp_ge_u32 -1, s2
1264 // CHECK: [0xc1,0x02,0x09,0xbf]
1266 s_cmp_ge_u32 0.5, s2
1267 // CHECK: [0xf0,0x02,0x09,0xbf]
1269 s_cmp_ge_u32 -4.0, s2
1270 // CHECK: [0xf7,0x02,0x09,0xbf]
1272 s_cmp_ge_u32 src_vccz, s2
1273 // CHECK: [0xfb,0x02,0x09,0xbf]
1275 s_cmp_ge_u32 src_execz, s2
1276 // CHECK: [0xfc,0x02,0x09,0xbf]
1278 s_cmp_ge_u32 src_scc, s2
1279 // CHECK: [0xfd,0x02,0x09,0xbf]
1281 s_cmp_ge_u32 0xaf123456, s2
1282 // CHECK: [0xff,0x02,0x09,0xbf,0x56,0x34,0x12,0xaf]
1284 s_cmp_ge_u32 0x3f717273, s2
1285 // CHECK: [0xff,0x02,0x09,0xbf,0x73,0x72,0x71,0x3f]
1287 s_cmp_ge_u32 s1, s101
1288 // CHECK: [0x01,0x65,0x09,0xbf]
1290 s_cmp_ge_u32 s1, flat_scratch_lo
1291 // CHECK: [0x01,0x66,0x09,0xbf]
1293 s_cmp_ge_u32 s1, flat_scratch_hi
1294 // CHECK: [0x01,0x67,0x09,0xbf]
1296 s_cmp_ge_u32 s1, vcc_lo
1297 // CHECK: [0x01,0x6a,0x09,0xbf]
1299 s_cmp_ge_u32 s1, vcc_hi
1300 // CHECK: [0x01,0x6b,0x09,0xbf]
1302 s_cmp_ge_u32 s1, tba_lo
1303 // CHECK: [0x01,0x6c,0x09,0xbf]
1305 s_cmp_ge_u32 s1, tba_hi
1306 // CHECK: [0x01,0x6d,0x09,0xbf]
1308 s_cmp_ge_u32 s1, tma_lo
1309 // CHECK: [0x01,0x6e,0x09,0xbf]
1311 s_cmp_ge_u32 s1, tma_hi
1312 // CHECK: [0x01,0x6f,0x09,0xbf]
1314 s_cmp_ge_u32 s1, ttmp11
1315 // CHECK: [0x01,0x7b,0x09,0xbf]
1317 s_cmp_ge_u32 s1, m0
1318 // CHECK: [0x01,0x7c,0x09,0xbf]
1320 s_cmp_ge_u32 s1, exec_lo
1321 // CHECK: [0x01,0x7e,0x09,0xbf]
1323 s_cmp_ge_u32 s1, exec_hi
1324 // CHECK: [0x01,0x7f,0x09,0xbf]
1326 s_cmp_ge_u32 s1, 0
1327 // CHECK: [0x01,0x80,0x09,0xbf]
1329 s_cmp_ge_u32 s1, -1
1330 // CHECK: [0x01,0xc1,0x09,0xbf]
1332 s_cmp_ge_u32 s1, 0.5
1333 // CHECK: [0x01,0xf0,0x09,0xbf]
1335 s_cmp_ge_u32 s1, -4.0
1336 // CHECK: [0x01,0xf7,0x09,0xbf]
1338 s_cmp_ge_u32 s1, src_vccz
1339 // CHECK: [0x01,0xfb,0x09,0xbf]
1341 s_cmp_ge_u32 s1, src_execz
1342 // CHECK: [0x01,0xfc,0x09,0xbf]
1344 s_cmp_ge_u32 s1, src_scc
1345 // CHECK: [0x01,0xfd,0x09,0xbf]
1347 s_cmp_ge_u32 s1, 0xaf123456
1348 // CHECK: [0x01,0xff,0x09,0xbf,0x56,0x34,0x12,0xaf]
1350 s_cmp_ge_u32 s1, 0x3f717273
1351 // CHECK: [0x01,0xff,0x09,0xbf,0x73,0x72,0x71,0x3f]
1353 s_cmp_lt_u32 s1, s2
1354 // CHECK: [0x01,0x02,0x0a,0xbf]
1356 s_cmp_lt_u32 s101, s2
1357 // CHECK: [0x65,0x02,0x0a,0xbf]
1359 s_cmp_lt_u32 flat_scratch_lo, s2
1360 // CHECK: [0x66,0x02,0x0a,0xbf]
1362 s_cmp_lt_u32 flat_scratch_hi, s2
1363 // CHECK: [0x67,0x02,0x0a,0xbf]
1365 s_cmp_lt_u32 vcc_lo, s2
1366 // CHECK: [0x6a,0x02,0x0a,0xbf]
1368 s_cmp_lt_u32 vcc_hi, s2
1369 // CHECK: [0x6b,0x02,0x0a,0xbf]
1371 s_cmp_lt_u32 tba_lo, s2
1372 // CHECK: [0x6c,0x02,0x0a,0xbf]
1374 s_cmp_lt_u32 tba_hi, s2
1375 // CHECK: [0x6d,0x02,0x0a,0xbf]
1377 s_cmp_lt_u32 tma_lo, s2
1378 // CHECK: [0x6e,0x02,0x0a,0xbf]
1380 s_cmp_lt_u32 tma_hi, s2
1381 // CHECK: [0x6f,0x02,0x0a,0xbf]
1383 s_cmp_lt_u32 ttmp11, s2
1384 // CHECK: [0x7b,0x02,0x0a,0xbf]
1386 s_cmp_lt_u32 m0, s2
1387 // CHECK: [0x7c,0x02,0x0a,0xbf]
1389 s_cmp_lt_u32 exec_lo, s2
1390 // CHECK: [0x7e,0x02,0x0a,0xbf]
1392 s_cmp_lt_u32 exec_hi, s2
1393 // CHECK: [0x7f,0x02,0x0a,0xbf]
1395 s_cmp_lt_u32 0, s2
1396 // CHECK: [0x80,0x02,0x0a,0xbf]
1398 s_cmp_lt_u32 -1, s2
1399 // CHECK: [0xc1,0x02,0x0a,0xbf]
1401 s_cmp_lt_u32 0.5, s2
1402 // CHECK: [0xf0,0x02,0x0a,0xbf]
1404 s_cmp_lt_u32 -4.0, s2
1405 // CHECK: [0xf7,0x02,0x0a,0xbf]
1407 s_cmp_lt_u32 src_vccz, s2
1408 // CHECK: [0xfb,0x02,0x0a,0xbf]
1410 s_cmp_lt_u32 src_execz, s2
1411 // CHECK: [0xfc,0x02,0x0a,0xbf]
1413 s_cmp_lt_u32 src_scc, s2
1414 // CHECK: [0xfd,0x02,0x0a,0xbf]
1416 s_cmp_lt_u32 0xaf123456, s2
1417 // CHECK: [0xff,0x02,0x0a,0xbf,0x56,0x34,0x12,0xaf]
1419 s_cmp_lt_u32 0x3f717273, s2
1420 // CHECK: [0xff,0x02,0x0a,0xbf,0x73,0x72,0x71,0x3f]
1422 s_cmp_lt_u32 s1, s101
1423 // CHECK: [0x01,0x65,0x0a,0xbf]
1425 s_cmp_lt_u32 s1, flat_scratch_lo
1426 // CHECK: [0x01,0x66,0x0a,0xbf]
1428 s_cmp_lt_u32 s1, flat_scratch_hi
1429 // CHECK: [0x01,0x67,0x0a,0xbf]
1431 s_cmp_lt_u32 s1, vcc_lo
1432 // CHECK: [0x01,0x6a,0x0a,0xbf]
1434 s_cmp_lt_u32 s1, vcc_hi
1435 // CHECK: [0x01,0x6b,0x0a,0xbf]
1437 s_cmp_lt_u32 s1, tba_lo
1438 // CHECK: [0x01,0x6c,0x0a,0xbf]
1440 s_cmp_lt_u32 s1, tba_hi
1441 // CHECK: [0x01,0x6d,0x0a,0xbf]
1443 s_cmp_lt_u32 s1, tma_lo
1444 // CHECK: [0x01,0x6e,0x0a,0xbf]
1446 s_cmp_lt_u32 s1, tma_hi
1447 // CHECK: [0x01,0x6f,0x0a,0xbf]
1449 s_cmp_lt_u32 s1, ttmp11
1450 // CHECK: [0x01,0x7b,0x0a,0xbf]
1452 s_cmp_lt_u32 s1, m0
1453 // CHECK: [0x01,0x7c,0x0a,0xbf]
1455 s_cmp_lt_u32 s1, exec_lo
1456 // CHECK: [0x01,0x7e,0x0a,0xbf]
1458 s_cmp_lt_u32 s1, exec_hi
1459 // CHECK: [0x01,0x7f,0x0a,0xbf]
1461 s_cmp_lt_u32 s1, 0
1462 // CHECK: [0x01,0x80,0x0a,0xbf]
1464 s_cmp_lt_u32 s1, -1
1465 // CHECK: [0x01,0xc1,0x0a,0xbf]
1467 s_cmp_lt_u32 s1, 0.5
1468 // CHECK: [0x01,0xf0,0x0a,0xbf]
1470 s_cmp_lt_u32 s1, -4.0
1471 // CHECK: [0x01,0xf7,0x0a,0xbf]
1473 s_cmp_lt_u32 s1, src_vccz
1474 // CHECK: [0x01,0xfb,0x0a,0xbf]
1476 s_cmp_lt_u32 s1, src_execz
1477 // CHECK: [0x01,0xfc,0x0a,0xbf]
1479 s_cmp_lt_u32 s1, src_scc
1480 // CHECK: [0x01,0xfd,0x0a,0xbf]
1482 s_cmp_lt_u32 s1, 0xaf123456
1483 // CHECK: [0x01,0xff,0x0a,0xbf,0x56,0x34,0x12,0xaf]
1485 s_cmp_lt_u32 s1, 0x3f717273
1486 // CHECK: [0x01,0xff,0x0a,0xbf,0x73,0x72,0x71,0x3f]
1488 s_cmp_le_u32 s1, s2
1489 // CHECK: [0x01,0x02,0x0b,0xbf]
1491 s_cmp_le_u32 s101, s2
1492 // CHECK: [0x65,0x02,0x0b,0xbf]
1494 s_cmp_le_u32 flat_scratch_lo, s2
1495 // CHECK: [0x66,0x02,0x0b,0xbf]
1497 s_cmp_le_u32 flat_scratch_hi, s2
1498 // CHECK: [0x67,0x02,0x0b,0xbf]
1500 s_cmp_le_u32 vcc_lo, s2
1501 // CHECK: [0x6a,0x02,0x0b,0xbf]
1503 s_cmp_le_u32 vcc_hi, s2
1504 // CHECK: [0x6b,0x02,0x0b,0xbf]
1506 s_cmp_le_u32 tba_lo, s2
1507 // CHECK: [0x6c,0x02,0x0b,0xbf]
1509 s_cmp_le_u32 tba_hi, s2
1510 // CHECK: [0x6d,0x02,0x0b,0xbf]
1512 s_cmp_le_u32 tma_lo, s2
1513 // CHECK: [0x6e,0x02,0x0b,0xbf]
1515 s_cmp_le_u32 tma_hi, s2
1516 // CHECK: [0x6f,0x02,0x0b,0xbf]
1518 s_cmp_le_u32 ttmp11, s2
1519 // CHECK: [0x7b,0x02,0x0b,0xbf]
1521 s_cmp_le_u32 m0, s2
1522 // CHECK: [0x7c,0x02,0x0b,0xbf]
1524 s_cmp_le_u32 exec_lo, s2
1525 // CHECK: [0x7e,0x02,0x0b,0xbf]
1527 s_cmp_le_u32 exec_hi, s2
1528 // CHECK: [0x7f,0x02,0x0b,0xbf]
1530 s_cmp_le_u32 0, s2
1531 // CHECK: [0x80,0x02,0x0b,0xbf]
1533 s_cmp_le_u32 -1, s2
1534 // CHECK: [0xc1,0x02,0x0b,0xbf]
1536 s_cmp_le_u32 0.5, s2
1537 // CHECK: [0xf0,0x02,0x0b,0xbf]
1539 s_cmp_le_u32 -4.0, s2
1540 // CHECK: [0xf7,0x02,0x0b,0xbf]
1542 s_cmp_le_u32 src_vccz, s2
1543 // CHECK: [0xfb,0x02,0x0b,0xbf]
1545 s_cmp_le_u32 src_execz, s2
1546 // CHECK: [0xfc,0x02,0x0b,0xbf]
1548 s_cmp_le_u32 src_scc, s2
1549 // CHECK: [0xfd,0x02,0x0b,0xbf]
1551 s_cmp_le_u32 0xaf123456, s2
1552 // CHECK: [0xff,0x02,0x0b,0xbf,0x56,0x34,0x12,0xaf]
1554 s_cmp_le_u32 0x3f717273, s2
1555 // CHECK: [0xff,0x02,0x0b,0xbf,0x73,0x72,0x71,0x3f]
1557 s_cmp_le_u32 s1, s101
1558 // CHECK: [0x01,0x65,0x0b,0xbf]
1560 s_cmp_le_u32 s1, flat_scratch_lo
1561 // CHECK: [0x01,0x66,0x0b,0xbf]
1563 s_cmp_le_u32 s1, flat_scratch_hi
1564 // CHECK: [0x01,0x67,0x0b,0xbf]
1566 s_cmp_le_u32 s1, vcc_lo
1567 // CHECK: [0x01,0x6a,0x0b,0xbf]
1569 s_cmp_le_u32 s1, vcc_hi
1570 // CHECK: [0x01,0x6b,0x0b,0xbf]
1572 s_cmp_le_u32 s1, tba_lo
1573 // CHECK: [0x01,0x6c,0x0b,0xbf]
1575 s_cmp_le_u32 s1, tba_hi
1576 // CHECK: [0x01,0x6d,0x0b,0xbf]
1578 s_cmp_le_u32 s1, tma_lo
1579 // CHECK: [0x01,0x6e,0x0b,0xbf]
1581 s_cmp_le_u32 s1, tma_hi
1582 // CHECK: [0x01,0x6f,0x0b,0xbf]
1584 s_cmp_le_u32 s1, ttmp11
1585 // CHECK: [0x01,0x7b,0x0b,0xbf]
1587 s_cmp_le_u32 s1, m0
1588 // CHECK: [0x01,0x7c,0x0b,0xbf]
1590 s_cmp_le_u32 s1, exec_lo
1591 // CHECK: [0x01,0x7e,0x0b,0xbf]
1593 s_cmp_le_u32 s1, exec_hi
1594 // CHECK: [0x01,0x7f,0x0b,0xbf]
1596 s_cmp_le_u32 s1, 0
1597 // CHECK: [0x01,0x80,0x0b,0xbf]
1599 s_cmp_le_u32 s1, -1
1600 // CHECK: [0x01,0xc1,0x0b,0xbf]
1602 s_cmp_le_u32 s1, 0.5
1603 // CHECK: [0x01,0xf0,0x0b,0xbf]
1605 s_cmp_le_u32 s1, -4.0
1606 // CHECK: [0x01,0xf7,0x0b,0xbf]
1608 s_cmp_le_u32 s1, src_vccz
1609 // CHECK: [0x01,0xfb,0x0b,0xbf]
1611 s_cmp_le_u32 s1, src_execz
1612 // CHECK: [0x01,0xfc,0x0b,0xbf]
1614 s_cmp_le_u32 s1, src_scc
1615 // CHECK: [0x01,0xfd,0x0b,0xbf]
1617 s_cmp_le_u32 s1, 0xaf123456
1618 // CHECK: [0x01,0xff,0x0b,0xbf,0x56,0x34,0x12,0xaf]
1620 s_cmp_le_u32 s1, 0x3f717273
1621 // CHECK: [0x01,0xff,0x0b,0xbf,0x73,0x72,0x71,0x3f]
1623 s_bitcmp0_b32 s1, s2
1624 // CHECK: [0x01,0x02,0x0c,0xbf]
1626 s_bitcmp0_b32 s101, s2
1627 // CHECK: [0x65,0x02,0x0c,0xbf]
1629 s_bitcmp0_b32 flat_scratch_lo, s2
1630 // CHECK: [0x66,0x02,0x0c,0xbf]
1632 s_bitcmp0_b32 flat_scratch_hi, s2
1633 // CHECK: [0x67,0x02,0x0c,0xbf]
1635 s_bitcmp0_b32 vcc_lo, s2
1636 // CHECK: [0x6a,0x02,0x0c,0xbf]
1638 s_bitcmp0_b32 vcc_hi, s2
1639 // CHECK: [0x6b,0x02,0x0c,0xbf]
1641 s_bitcmp0_b32 tba_lo, s2
1642 // CHECK: [0x6c,0x02,0x0c,0xbf]
1644 s_bitcmp0_b32 tba_hi, s2
1645 // CHECK: [0x6d,0x02,0x0c,0xbf]
1647 s_bitcmp0_b32 tma_lo, s2
1648 // CHECK: [0x6e,0x02,0x0c,0xbf]
1650 s_bitcmp0_b32 tma_hi, s2
1651 // CHECK: [0x6f,0x02,0x0c,0xbf]
1653 s_bitcmp0_b32 ttmp11, s2
1654 // CHECK: [0x7b,0x02,0x0c,0xbf]
1656 s_bitcmp0_b32 m0, s2
1657 // CHECK: [0x7c,0x02,0x0c,0xbf]
1659 s_bitcmp0_b32 exec_lo, s2
1660 // CHECK: [0x7e,0x02,0x0c,0xbf]
1662 s_bitcmp0_b32 exec_hi, s2
1663 // CHECK: [0x7f,0x02,0x0c,0xbf]
1665 s_bitcmp0_b32 0, s2
1666 // CHECK: [0x80,0x02,0x0c,0xbf]
1668 s_bitcmp0_b32 -1, s2
1669 // CHECK: [0xc1,0x02,0x0c,0xbf]
1671 s_bitcmp0_b32 0.5, s2
1672 // CHECK: [0xf0,0x02,0x0c,0xbf]
1674 s_bitcmp0_b32 -4.0, s2
1675 // CHECK: [0xf7,0x02,0x0c,0xbf]
1677 s_bitcmp0_b32 src_vccz, s2
1678 // CHECK: [0xfb,0x02,0x0c,0xbf]
1680 s_bitcmp0_b32 src_execz, s2
1681 // CHECK: [0xfc,0x02,0x0c,0xbf]
1683 s_bitcmp0_b32 src_scc, s2
1684 // CHECK: [0xfd,0x02,0x0c,0xbf]
1686 s_bitcmp0_b32 0xaf123456, s2
1687 // CHECK: [0xff,0x02,0x0c,0xbf,0x56,0x34,0x12,0xaf]
1689 s_bitcmp0_b32 0x3f717273, s2
1690 // CHECK: [0xff,0x02,0x0c,0xbf,0x73,0x72,0x71,0x3f]
1692 s_bitcmp0_b32 s1, s101
1693 // CHECK: [0x01,0x65,0x0c,0xbf]
1695 s_bitcmp0_b32 s1, flat_scratch_lo
1696 // CHECK: [0x01,0x66,0x0c,0xbf]
1698 s_bitcmp0_b32 s1, flat_scratch_hi
1699 // CHECK: [0x01,0x67,0x0c,0xbf]
1701 s_bitcmp0_b32 s1, vcc_lo
1702 // CHECK: [0x01,0x6a,0x0c,0xbf]
1704 s_bitcmp0_b32 s1, vcc_hi
1705 // CHECK: [0x01,0x6b,0x0c,0xbf]
1707 s_bitcmp0_b32 s1, tba_lo
1708 // CHECK: [0x01,0x6c,0x0c,0xbf]
1710 s_bitcmp0_b32 s1, tba_hi
1711 // CHECK: [0x01,0x6d,0x0c,0xbf]
1713 s_bitcmp0_b32 s1, tma_lo
1714 // CHECK: [0x01,0x6e,0x0c,0xbf]
1716 s_bitcmp0_b32 s1, tma_hi
1717 // CHECK: [0x01,0x6f,0x0c,0xbf]
1719 s_bitcmp0_b32 s1, ttmp11
1720 // CHECK: [0x01,0x7b,0x0c,0xbf]
1722 s_bitcmp0_b32 s1, m0
1723 // CHECK: [0x01,0x7c,0x0c,0xbf]
1725 s_bitcmp0_b32 s1, exec_lo
1726 // CHECK: [0x01,0x7e,0x0c,0xbf]
1728 s_bitcmp0_b32 s1, exec_hi
1729 // CHECK: [0x01,0x7f,0x0c,0xbf]
1731 s_bitcmp0_b32 s1, 0
1732 // CHECK: [0x01,0x80,0x0c,0xbf]
1734 s_bitcmp0_b32 s1, -1
1735 // CHECK: [0x01,0xc1,0x0c,0xbf]
1737 s_bitcmp0_b32 s1, 0.5
1738 // CHECK: [0x01,0xf0,0x0c,0xbf]
1740 s_bitcmp0_b32 s1, -4.0
1741 // CHECK: [0x01,0xf7,0x0c,0xbf]
1743 s_bitcmp0_b32 s1, src_vccz
1744 // CHECK: [0x01,0xfb,0x0c,0xbf]
1746 s_bitcmp0_b32 s1, src_execz
1747 // CHECK: [0x01,0xfc,0x0c,0xbf]
1749 s_bitcmp0_b32 s1, src_scc
1750 // CHECK: [0x01,0xfd,0x0c,0xbf]
1752 s_bitcmp0_b32 s1, 0xaf123456
1753 // CHECK: [0x01,0xff,0x0c,0xbf,0x56,0x34,0x12,0xaf]
1755 s_bitcmp0_b32 s1, 0x3f717273
1756 // CHECK: [0x01,0xff,0x0c,0xbf,0x73,0x72,0x71,0x3f]
1758 s_bitcmp1_b32 s1, s2
1759 // CHECK: [0x01,0x02,0x0d,0xbf]
1761 s_bitcmp1_b32 s101, s2
1762 // CHECK: [0x65,0x02,0x0d,0xbf]
1764 s_bitcmp1_b32 flat_scratch_lo, s2
1765 // CHECK: [0x66,0x02,0x0d,0xbf]
1767 s_bitcmp1_b32 flat_scratch_hi, s2
1768 // CHECK: [0x67,0x02,0x0d,0xbf]
1770 s_bitcmp1_b32 vcc_lo, s2
1771 // CHECK: [0x6a,0x02,0x0d,0xbf]
1773 s_bitcmp1_b32 vcc_hi, s2
1774 // CHECK: [0x6b,0x02,0x0d,0xbf]
1776 s_bitcmp1_b32 tba_lo, s2
1777 // CHECK: [0x6c,0x02,0x0d,0xbf]
1779 s_bitcmp1_b32 tba_hi, s2
1780 // CHECK: [0x6d,0x02,0x0d,0xbf]
1782 s_bitcmp1_b32 tma_lo, s2
1783 // CHECK: [0x6e,0x02,0x0d,0xbf]
1785 s_bitcmp1_b32 tma_hi, s2
1786 // CHECK: [0x6f,0x02,0x0d,0xbf]
1788 s_bitcmp1_b32 ttmp11, s2
1789 // CHECK: [0x7b,0x02,0x0d,0xbf]
1791 s_bitcmp1_b32 m0, s2
1792 // CHECK: [0x7c,0x02,0x0d,0xbf]
1794 s_bitcmp1_b32 exec_lo, s2
1795 // CHECK: [0x7e,0x02,0x0d,0xbf]
1797 s_bitcmp1_b32 exec_hi, s2
1798 // CHECK: [0x7f,0x02,0x0d,0xbf]
1800 s_bitcmp1_b32 0, s2
1801 // CHECK: [0x80,0x02,0x0d,0xbf]
1803 s_bitcmp1_b32 -1, s2
1804 // CHECK: [0xc1,0x02,0x0d,0xbf]
1806 s_bitcmp1_b32 0.5, s2
1807 // CHECK: [0xf0,0x02,0x0d,0xbf]
1809 s_bitcmp1_b32 -4.0, s2
1810 // CHECK: [0xf7,0x02,0x0d,0xbf]
1812 s_bitcmp1_b32 src_vccz, s2
1813 // CHECK: [0xfb,0x02,0x0d,0xbf]
1815 s_bitcmp1_b32 src_execz, s2
1816 // CHECK: [0xfc,0x02,0x0d,0xbf]
1818 s_bitcmp1_b32 src_scc, s2
1819 // CHECK: [0xfd,0x02,0x0d,0xbf]
1821 s_bitcmp1_b32 0xaf123456, s2
1822 // CHECK: [0xff,0x02,0x0d,0xbf,0x56,0x34,0x12,0xaf]
1824 s_bitcmp1_b32 0x3f717273, s2
1825 // CHECK: [0xff,0x02,0x0d,0xbf,0x73,0x72,0x71,0x3f]
1827 s_bitcmp1_b32 s1, s101
1828 // CHECK: [0x01,0x65,0x0d,0xbf]
1830 s_bitcmp1_b32 s1, flat_scratch_lo
1831 // CHECK: [0x01,0x66,0x0d,0xbf]
1833 s_bitcmp1_b32 s1, flat_scratch_hi
1834 // CHECK: [0x01,0x67,0x0d,0xbf]
1836 s_bitcmp1_b32 s1, vcc_lo
1837 // CHECK: [0x01,0x6a,0x0d,0xbf]
1839 s_bitcmp1_b32 s1, vcc_hi
1840 // CHECK: [0x01,0x6b,0x0d,0xbf]
1842 s_bitcmp1_b32 s1, tba_lo
1843 // CHECK: [0x01,0x6c,0x0d,0xbf]
1845 s_bitcmp1_b32 s1, tba_hi
1846 // CHECK: [0x01,0x6d,0x0d,0xbf]
1848 s_bitcmp1_b32 s1, tma_lo
1849 // CHECK: [0x01,0x6e,0x0d,0xbf]
1851 s_bitcmp1_b32 s1, tma_hi
1852 // CHECK: [0x01,0x6f,0x0d,0xbf]
1854 s_bitcmp1_b32 s1, ttmp11
1855 // CHECK: [0x01,0x7b,0x0d,0xbf]
1857 s_bitcmp1_b32 s1, m0
1858 // CHECK: [0x01,0x7c,0x0d,0xbf]
1860 s_bitcmp1_b32 s1, exec_lo
1861 // CHECK: [0x01,0x7e,0x0d,0xbf]
1863 s_bitcmp1_b32 s1, exec_hi
1864 // CHECK: [0x01,0x7f,0x0d,0xbf]
1866 s_bitcmp1_b32 s1, 0
1867 // CHECK: [0x01,0x80,0x0d,0xbf]
1869 s_bitcmp1_b32 s1, -1
1870 // CHECK: [0x01,0xc1,0x0d,0xbf]
1872 s_bitcmp1_b32 s1, 0.5
1873 // CHECK: [0x01,0xf0,0x0d,0xbf]
1875 s_bitcmp1_b32 s1, -4.0
1876 // CHECK: [0x01,0xf7,0x0d,0xbf]
1878 s_bitcmp1_b32 s1, src_vccz
1879 // CHECK: [0x01,0xfb,0x0d,0xbf]
1881 s_bitcmp1_b32 s1, src_execz
1882 // CHECK: [0x01,0xfc,0x0d,0xbf]
1884 s_bitcmp1_b32 s1, src_scc
1885 // CHECK: [0x01,0xfd,0x0d,0xbf]
1887 s_bitcmp1_b32 s1, 0xaf123456
1888 // CHECK: [0x01,0xff,0x0d,0xbf,0x56,0x34,0x12,0xaf]
1890 s_bitcmp1_b32 s1, 0x3f717273
1891 // CHECK: [0x01,0xff,0x0d,0xbf,0x73,0x72,0x71,0x3f]
1893 s_bitcmp0_b64 s[2:3], s2
1894 // CHECK: [0x02,0x02,0x0e,0xbf]
1896 s_bitcmp0_b64 s[4:5], s2
1897 // CHECK: [0x04,0x02,0x0e,0xbf]
1899 s_bitcmp0_b64 s[100:101], s2
1900 // CHECK: [0x64,0x02,0x0e,0xbf]
1902 s_bitcmp0_b64 flat_scratch, s2
1903 // CHECK: [0x66,0x02,0x0e,0xbf]
1905 s_bitcmp0_b64 vcc, s2
1906 // CHECK: [0x6a,0x02,0x0e,0xbf]
1908 s_bitcmp0_b64 tba, s2
1909 // CHECK: [0x6c,0x02,0x0e,0xbf]
1911 s_bitcmp0_b64 tma, s2
1912 // CHECK: [0x6e,0x02,0x0e,0xbf]
1914 s_bitcmp0_b64 ttmp[10:11], s2
1915 // CHECK: [0x7a,0x02,0x0e,0xbf]
1917 s_bitcmp0_b64 exec, s2
1918 // CHECK: [0x7e,0x02,0x0e,0xbf]
1920 s_bitcmp0_b64 0, s2
1921 // CHECK: [0x80,0x02,0x0e,0xbf]
1923 s_bitcmp0_b64 -1, s2
1924 // CHECK: [0xc1,0x02,0x0e,0xbf]
1926 s_bitcmp0_b64 0.5, s2
1927 // CHECK: [0xf0,0x02,0x0e,0xbf]
1929 s_bitcmp0_b64 -4.0, s2
1930 // CHECK: [0xf7,0x02,0x0e,0xbf]
1932 s_bitcmp0_b64 src_vccz, s2
1933 // CHECK: [0xfb,0x02,0x0e,0xbf]
1935 s_bitcmp0_b64 src_execz, s2
1936 // CHECK: [0xfc,0x02,0x0e,0xbf]
1938 s_bitcmp0_b64 src_scc, s2
1939 // CHECK: [0xfd,0x02,0x0e,0xbf]
1941 s_bitcmp0_b64 0xaf123456, s2
1942 // CHECK: [0xff,0x02,0x0e,0xbf,0x56,0x34,0x12,0xaf]
1944 s_bitcmp0_b64 0x3f717273, s2
1945 // CHECK: [0xff,0x02,0x0e,0xbf,0x73,0x72,0x71,0x3f]
1947 s_bitcmp0_b64 s[2:3], s101
1948 // CHECK: [0x02,0x65,0x0e,0xbf]
1950 s_bitcmp0_b64 s[2:3], flat_scratch_lo
1951 // CHECK: [0x02,0x66,0x0e,0xbf]
1953 s_bitcmp0_b64 s[2:3], flat_scratch_hi
1954 // CHECK: [0x02,0x67,0x0e,0xbf]
1956 s_bitcmp0_b64 s[2:3], vcc_lo
1957 // CHECK: [0x02,0x6a,0x0e,0xbf]
1959 s_bitcmp0_b64 s[2:3], vcc_hi
1960 // CHECK: [0x02,0x6b,0x0e,0xbf]
1962 s_bitcmp0_b64 s[2:3], tba_lo
1963 // CHECK: [0x02,0x6c,0x0e,0xbf]
1965 s_bitcmp0_b64 s[2:3], tba_hi
1966 // CHECK: [0x02,0x6d,0x0e,0xbf]
1968 s_bitcmp0_b64 s[2:3], tma_lo
1969 // CHECK: [0x02,0x6e,0x0e,0xbf]
1971 s_bitcmp0_b64 s[2:3], tma_hi
1972 // CHECK: [0x02,0x6f,0x0e,0xbf]
1974 s_bitcmp0_b64 s[2:3], ttmp11
1975 // CHECK: [0x02,0x7b,0x0e,0xbf]
1977 s_bitcmp0_b64 s[2:3], m0
1978 // CHECK: [0x02,0x7c,0x0e,0xbf]
1980 s_bitcmp0_b64 s[2:3], exec_lo
1981 // CHECK: [0x02,0x7e,0x0e,0xbf]
1983 s_bitcmp0_b64 s[2:3], exec_hi
1984 // CHECK: [0x02,0x7f,0x0e,0xbf]
1986 s_bitcmp0_b64 s[2:3], 0
1987 // CHECK: [0x02,0x80,0x0e,0xbf]
1989 s_bitcmp0_b64 s[2:3], -1
1990 // CHECK: [0x02,0xc1,0x0e,0xbf]
1992 s_bitcmp0_b64 s[2:3], 0.5
1993 // CHECK: [0x02,0xf0,0x0e,0xbf]
1995 s_bitcmp0_b64 s[2:3], -4.0
1996 // CHECK: [0x02,0xf7,0x0e,0xbf]
1998 s_bitcmp0_b64 s[2:3], src_vccz
1999 // CHECK: [0x02,0xfb,0x0e,0xbf]
2001 s_bitcmp0_b64 s[2:3], src_execz
2002 // CHECK: [0x02,0xfc,0x0e,0xbf]
2004 s_bitcmp0_b64 s[2:3], src_scc
2005 // CHECK: [0x02,0xfd,0x0e,0xbf]
2007 s_bitcmp0_b64 s[2:3], 0xaf123456
2008 // CHECK: [0x02,0xff,0x0e,0xbf,0x56,0x34,0x12,0xaf]
2010 s_bitcmp0_b64 s[2:3], 0x3f717273
2011 // CHECK: [0x02,0xff,0x0e,0xbf,0x73,0x72,0x71,0x3f]
2013 s_bitcmp1_b64 s[2:3], s2
2014 // CHECK: [0x02,0x02,0x0f,0xbf]
2016 s_bitcmp1_b64 s[4:5], s2
2017 // CHECK: [0x04,0x02,0x0f,0xbf]
2019 s_bitcmp1_b64 s[100:101], s2
2020 // CHECK: [0x64,0x02,0x0f,0xbf]
2022 s_bitcmp1_b64 flat_scratch, s2
2023 // CHECK: [0x66,0x02,0x0f,0xbf]
2025 s_bitcmp1_b64 vcc, s2
2026 // CHECK: [0x6a,0x02,0x0f,0xbf]
2028 s_bitcmp1_b64 tba, s2
2029 // CHECK: [0x6c,0x02,0x0f,0xbf]
2031 s_bitcmp1_b64 tma, s2
2032 // CHECK: [0x6e,0x02,0x0f,0xbf]
2034 s_bitcmp1_b64 ttmp[10:11], s2
2035 // CHECK: [0x7a,0x02,0x0f,0xbf]
2037 s_bitcmp1_b64 exec, s2
2038 // CHECK: [0x7e,0x02,0x0f,0xbf]
2040 s_bitcmp1_b64 0, s2
2041 // CHECK: [0x80,0x02,0x0f,0xbf]
2043 s_bitcmp1_b64 -1, s2
2044 // CHECK: [0xc1,0x02,0x0f,0xbf]
2046 s_bitcmp1_b64 0.5, s2
2047 // CHECK: [0xf0,0x02,0x0f,0xbf]
2049 s_bitcmp1_b64 -4.0, s2
2050 // CHECK: [0xf7,0x02,0x0f,0xbf]
2052 s_bitcmp1_b64 src_vccz, s2
2053 // CHECK: [0xfb,0x02,0x0f,0xbf]
2055 s_bitcmp1_b64 src_execz, s2
2056 // CHECK: [0xfc,0x02,0x0f,0xbf]
2058 s_bitcmp1_b64 src_scc, s2
2059 // CHECK: [0xfd,0x02,0x0f,0xbf]
2061 s_bitcmp1_b64 0xaf123456, s2
2062 // CHECK: [0xff,0x02,0x0f,0xbf,0x56,0x34,0x12,0xaf]
2064 s_bitcmp1_b64 0x3f717273, s2
2065 // CHECK: [0xff,0x02,0x0f,0xbf,0x73,0x72,0x71,0x3f]
2067 s_bitcmp1_b64 s[2:3], s101
2068 // CHECK: [0x02,0x65,0x0f,0xbf]
2070 s_bitcmp1_b64 s[2:3], flat_scratch_lo
2071 // CHECK: [0x02,0x66,0x0f,0xbf]
2073 s_bitcmp1_b64 s[2:3], flat_scratch_hi
2074 // CHECK: [0x02,0x67,0x0f,0xbf]
2076 s_bitcmp1_b64 s[2:3], vcc_lo
2077 // CHECK: [0x02,0x6a,0x0f,0xbf]
2079 s_bitcmp1_b64 s[2:3], vcc_hi
2080 // CHECK: [0x02,0x6b,0x0f,0xbf]
2082 s_bitcmp1_b64 s[2:3], tba_lo
2083 // CHECK: [0x02,0x6c,0x0f,0xbf]
2085 s_bitcmp1_b64 s[2:3], tba_hi
2086 // CHECK: [0x02,0x6d,0x0f,0xbf]
2088 s_bitcmp1_b64 s[2:3], tma_lo
2089 // CHECK: [0x02,0x6e,0x0f,0xbf]
2091 s_bitcmp1_b64 s[2:3], tma_hi
2092 // CHECK: [0x02,0x6f,0x0f,0xbf]
2094 s_bitcmp1_b64 s[2:3], ttmp11
2095 // CHECK: [0x02,0x7b,0x0f,0xbf]
2097 s_bitcmp1_b64 s[2:3], m0
2098 // CHECK: [0x02,0x7c,0x0f,0xbf]
2100 s_bitcmp1_b64 s[2:3], exec_lo
2101 // CHECK: [0x02,0x7e,0x0f,0xbf]
2103 s_bitcmp1_b64 s[2:3], exec_hi
2104 // CHECK: [0x02,0x7f,0x0f,0xbf]
2106 s_bitcmp1_b64 s[2:3], 0
2107 // CHECK: [0x02,0x80,0x0f,0xbf]
2109 s_bitcmp1_b64 s[2:3], -1
2110 // CHECK: [0x02,0xc1,0x0f,0xbf]
2112 s_bitcmp1_b64 s[2:3], 0.5
2113 // CHECK: [0x02,0xf0,0x0f,0xbf]
2115 s_bitcmp1_b64 s[2:3], -4.0
2116 // CHECK: [0x02,0xf7,0x0f,0xbf]
2118 s_bitcmp1_b64 s[2:3], src_vccz
2119 // CHECK: [0x02,0xfb,0x0f,0xbf]
2121 s_bitcmp1_b64 s[2:3], src_execz
2122 // CHECK: [0x02,0xfc,0x0f,0xbf]
2124 s_bitcmp1_b64 s[2:3], src_scc
2125 // CHECK: [0x02,0xfd,0x0f,0xbf]
2127 s_bitcmp1_b64 s[2:3], 0xaf123456
2128 // CHECK: [0x02,0xff,0x0f,0xbf,0x56,0x34,0x12,0xaf]
2130 s_bitcmp1_b64 s[2:3], 0x3f717273
2131 // CHECK: [0x02,0xff,0x0f,0xbf,0x73,0x72,0x71,0x3f]
2133 s_setvskip s1, s2
2134 // CHECK: [0x01,0x02,0x10,0xbf]
2136 s_setvskip s101, s2
2137 // CHECK: [0x65,0x02,0x10,0xbf]
2139 s_setvskip flat_scratch_lo, s2
2140 // CHECK: [0x66,0x02,0x10,0xbf]
2142 s_setvskip flat_scratch_hi, s2
2143 // CHECK: [0x67,0x02,0x10,0xbf]
2145 s_setvskip vcc_lo, s2
2146 // CHECK: [0x6a,0x02,0x10,0xbf]
2148 s_setvskip vcc_hi, s2
2149 // CHECK: [0x6b,0x02,0x10,0xbf]
2151 s_setvskip tba_lo, s2
2152 // CHECK: [0x6c,0x02,0x10,0xbf]
2154 s_setvskip tba_hi, s2
2155 // CHECK: [0x6d,0x02,0x10,0xbf]
2157 s_setvskip tma_lo, s2
2158 // CHECK: [0x6e,0x02,0x10,0xbf]
2160 s_setvskip tma_hi, s2
2161 // CHECK: [0x6f,0x02,0x10,0xbf]
2163 s_setvskip ttmp11, s2
2164 // CHECK: [0x7b,0x02,0x10,0xbf]
2166 s_setvskip m0, s2
2167 // CHECK: [0x7c,0x02,0x10,0xbf]
2169 s_setvskip exec_lo, s2
2170 // CHECK: [0x7e,0x02,0x10,0xbf]
2172 s_setvskip exec_hi, s2
2173 // CHECK: [0x7f,0x02,0x10,0xbf]
2175 s_setvskip 0, s2
2176 // CHECK: [0x80,0x02,0x10,0xbf]
2178 s_setvskip -1, s2
2179 // CHECK: [0xc1,0x02,0x10,0xbf]
2181 s_setvskip 0.5, s2
2182 // CHECK: [0xf0,0x02,0x10,0xbf]
2184 s_setvskip -4.0, s2
2185 // CHECK: [0xf7,0x02,0x10,0xbf]
2187 s_setvskip src_vccz, s2
2188 // CHECK: [0xfb,0x02,0x10,0xbf]
2190 s_setvskip src_execz, s2
2191 // CHECK: [0xfc,0x02,0x10,0xbf]
2193 s_setvskip src_scc, s2
2194 // CHECK: [0xfd,0x02,0x10,0xbf]
2196 s_setvskip 0xaf123456, s2
2197 // CHECK: [0xff,0x02,0x10,0xbf,0x56,0x34,0x12,0xaf]
2199 s_setvskip 0x3f717273, s2
2200 // CHECK: [0xff,0x02,0x10,0xbf,0x73,0x72,0x71,0x3f]
2202 s_setvskip s1, s101
2203 // CHECK: [0x01,0x65,0x10,0xbf]
2205 s_setvskip s1, flat_scratch_lo
2206 // CHECK: [0x01,0x66,0x10,0xbf]
2208 s_setvskip s1, flat_scratch_hi
2209 // CHECK: [0x01,0x67,0x10,0xbf]
2211 s_setvskip s1, vcc_lo
2212 // CHECK: [0x01,0x6a,0x10,0xbf]
2214 s_setvskip s1, vcc_hi
2215 // CHECK: [0x01,0x6b,0x10,0xbf]
2217 s_setvskip s1, tba_lo
2218 // CHECK: [0x01,0x6c,0x10,0xbf]
2220 s_setvskip s1, tba_hi
2221 // CHECK: [0x01,0x6d,0x10,0xbf]
2223 s_setvskip s1, tma_lo
2224 // CHECK: [0x01,0x6e,0x10,0xbf]
2226 s_setvskip s1, tma_hi
2227 // CHECK: [0x01,0x6f,0x10,0xbf]
2229 s_setvskip s1, ttmp11
2230 // CHECK: [0x01,0x7b,0x10,0xbf]
2232 s_setvskip s1, m0
2233 // CHECK: [0x01,0x7c,0x10,0xbf]
2235 s_setvskip s1, exec_lo
2236 // CHECK: [0x01,0x7e,0x10,0xbf]
2238 s_setvskip s1, exec_hi
2239 // CHECK: [0x01,0x7f,0x10,0xbf]
2241 s_setvskip s1, 0
2242 // CHECK: [0x01,0x80,0x10,0xbf]
2244 s_setvskip s1, -1
2245 // CHECK: [0x01,0xc1,0x10,0xbf]
2247 s_setvskip s1, 0.5
2248 // CHECK: [0x01,0xf0,0x10,0xbf]
2250 s_setvskip s1, -4.0
2251 // CHECK: [0x01,0xf7,0x10,0xbf]
2253 s_setvskip s1, src_vccz
2254 // CHECK: [0x01,0xfb,0x10,0xbf]
2256 s_setvskip s1, src_execz
2257 // CHECK: [0x01,0xfc,0x10,0xbf]
2259 s_setvskip s1, src_scc
2260 // CHECK: [0x01,0xfd,0x10,0xbf]
2262 s_setvskip s1, 0xaf123456
2263 // CHECK: [0x01,0xff,0x10,0xbf,0x56,0x34,0x12,0xaf]
2265 s_setvskip s1, 0x3f717273
2266 // CHECK: [0x01,0xff,0x10,0xbf,0x73,0x72,0x71,0x3f]
2268 s_set_gpr_idx_on s1, 0x0
2269 // CHECK: [0x01,0x00,0x11,0xbf]
2271 s_set_gpr_idx_on s101, 0x0
2272 // CHECK: [0x65,0x00,0x11,0xbf]
2274 s_set_gpr_idx_on flat_scratch_lo, 0x0
2275 // CHECK: [0x66,0x00,0x11,0xbf]
2277 s_set_gpr_idx_on flat_scratch_hi, 0x0
2278 // CHECK: [0x67,0x00,0x11,0xbf]
2280 s_set_gpr_idx_on vcc_lo, 0x0
2281 // CHECK: [0x6a,0x00,0x11,0xbf]
2283 s_set_gpr_idx_on vcc_hi, 0x0
2284 // CHECK: [0x6b,0x00,0x11,0xbf]
2286 s_set_gpr_idx_on tba_lo, 0x0
2287 // CHECK: [0x6c,0x00,0x11,0xbf]
2289 s_set_gpr_idx_on tba_hi, 0x0
2290 // CHECK: [0x6d,0x00,0x11,0xbf]
2292 s_set_gpr_idx_on tma_lo, 0x0
2293 // CHECK: [0x6e,0x00,0x11,0xbf]
2295 s_set_gpr_idx_on tma_hi, 0x0
2296 // CHECK: [0x6f,0x00,0x11,0xbf]
2298 s_set_gpr_idx_on ttmp11, 0x0
2299 // CHECK: [0x7b,0x00,0x11,0xbf]
2301 s_set_gpr_idx_on m0, 0x0
2302 // CHECK: [0x7c,0x00,0x11,0xbf]
2304 s_set_gpr_idx_on 0, 0x0
2305 // CHECK: [0x80,0x00,0x11,0xbf]
2307 s_set_gpr_idx_on -1, 0x0
2308 // CHECK: [0xc1,0x00,0x11,0xbf]
2310 s_set_gpr_idx_on 0.5, 0x0
2311 // CHECK: [0xf0,0x00,0x11,0xbf]
2313 s_set_gpr_idx_on -4.0, 0x0
2314 // CHECK: [0xf7,0x00,0x11,0xbf]
2316 s_set_gpr_idx_on src_vccz, 0x0
2317 // CHECK: [0xfb,0x00,0x11,0xbf]
2319 s_set_gpr_idx_on src_execz, 0x0
2320 // CHECK: [0xfc,0x00,0x11,0xbf]
2322 s_set_gpr_idx_on src_scc, 0x0
2323 // CHECK: [0xfd,0x00,0x11,0xbf]
2325 s_set_gpr_idx_on 0xaf123456, 0x0
2326 // CHECK: [0xff,0x00,0x11,0xbf,0x56,0x34,0x12,0xaf]
2328 s_set_gpr_idx_on 0x3f717273, 0x0
2329 // CHECK: [0xff,0x00,0x11,0xbf,0x73,0x72,0x71,0x3f]
2331 s_set_gpr_idx_on s1, 0x1
2332 // CHECK: [0x01,0x01,0x11,0xbf]
2334 s_set_gpr_idx_on s1, 0xF
2335 // CHECK: [0x01,0x0f,0x11,0xbf]
2337 s_cmp_eq_u64 s[2:3], s[4:5]
2338 // CHECK: [0x02,0x04,0x12,0xbf]
2340 s_cmp_eq_u64 s[4:5], s[4:5]
2341 // CHECK: [0x04,0x04,0x12,0xbf]
2343 s_cmp_eq_u64 s[100:101], s[4:5]
2344 // CHECK: [0x64,0x04,0x12,0xbf]
2346 s_cmp_eq_u64 flat_scratch, s[4:5]
2347 // CHECK: [0x66,0x04,0x12,0xbf]
2349 s_cmp_eq_u64 vcc, s[4:5]
2350 // CHECK: [0x6a,0x04,0x12,0xbf]
2352 s_cmp_eq_u64 tba, s[4:5]
2353 // CHECK: [0x6c,0x04,0x12,0xbf]
2355 s_cmp_eq_u64 tma, s[4:5]
2356 // CHECK: [0x6e,0x04,0x12,0xbf]
2358 s_cmp_eq_u64 ttmp[10:11], s[4:5]
2359 // CHECK: [0x7a,0x04,0x12,0xbf]
2361 s_cmp_eq_u64 exec, s[4:5]
2362 // CHECK: [0x7e,0x04,0x12,0xbf]
2364 s_cmp_eq_u64 0, s[4:5]
2365 // CHECK: [0x80,0x04,0x12,0xbf]
2367 s_cmp_eq_u64 -1, s[4:5]
2368 // CHECK: [0xc1,0x04,0x12,0xbf]
2370 s_cmp_eq_u64 0.5, s[4:5]
2371 // CHECK: [0xf0,0x04,0x12,0xbf]
2373 s_cmp_eq_u64 -4.0, s[4:5]
2374 // CHECK: [0xf7,0x04,0x12,0xbf]
2376 s_cmp_eq_u64 src_vccz, s[4:5]
2377 // CHECK: [0xfb,0x04,0x12,0xbf]
2379 s_cmp_eq_u64 src_execz, s[4:5]
2380 // CHECK: [0xfc,0x04,0x12,0xbf]
2382 s_cmp_eq_u64 src_scc, s[4:5]
2383 // CHECK: [0xfd,0x04,0x12,0xbf]
2385 s_cmp_eq_u64 0xaf123456, s[4:5]
2386 // CHECK: [0xff,0x04,0x12,0xbf,0x56,0x34,0x12,0xaf]
2388 s_cmp_eq_u64 0x3f717273, s[4:5]
2389 // CHECK: [0xff,0x04,0x12,0xbf,0x73,0x72,0x71,0x3f]
2391 s_cmp_eq_u64 s[2:3], s[6:7]
2392 // CHECK: [0x02,0x06,0x12,0xbf]
2394 s_cmp_eq_u64 s[2:3], s[100:101]
2395 // CHECK: [0x02,0x64,0x12,0xbf]
2397 s_cmp_eq_u64 s[2:3], flat_scratch
2398 // CHECK: [0x02,0x66,0x12,0xbf]
2400 s_cmp_eq_u64 s[2:3], vcc
2401 // CHECK: [0x02,0x6a,0x12,0xbf]
2403 s_cmp_eq_u64 s[2:3], tba
2404 // CHECK: [0x02,0x6c,0x12,0xbf]
2406 s_cmp_eq_u64 s[2:3], tma
2407 // CHECK: [0x02,0x6e,0x12,0xbf]
2409 s_cmp_eq_u64 s[2:3], ttmp[10:11]
2410 // CHECK: [0x02,0x7a,0x12,0xbf]
2412 s_cmp_eq_u64 s[2:3], exec
2413 // CHECK: [0x02,0x7e,0x12,0xbf]
2415 s_cmp_eq_u64 s[2:3], 0
2416 // CHECK: [0x02,0x80,0x12,0xbf]
2418 s_cmp_eq_u64 s[2:3], -1
2419 // CHECK: [0x02,0xc1,0x12,0xbf]
2421 s_cmp_eq_u64 s[2:3], 0.5
2422 // CHECK: [0x02,0xf0,0x12,0xbf]
2424 s_cmp_eq_u64 s[2:3], -4.0
2425 // CHECK: [0x02,0xf7,0x12,0xbf]
2427 s_cmp_eq_u64 s[2:3], src_vccz
2428 // CHECK: [0x02,0xfb,0x12,0xbf]
2430 s_cmp_eq_u64 s[2:3], src_execz
2431 // CHECK: [0x02,0xfc,0x12,0xbf]
2433 s_cmp_eq_u64 s[2:3], src_scc
2434 // CHECK: [0x02,0xfd,0x12,0xbf]
2436 s_cmp_eq_u64 s[2:3], 0xaf123456
2437 // CHECK: [0x02,0xff,0x12,0xbf,0x56,0x34,0x12,0xaf]
2439 s_cmp_eq_u64 s[2:3], 0x3f717273
2440 // CHECK: [0x02,0xff,0x12,0xbf,0x73,0x72,0x71,0x3f]
2442 s_cmp_lg_u64 s[2:3], s[4:5]
2443 // CHECK: [0x02,0x04,0x13,0xbf]
2445 s_cmp_lg_u64 s[4:5], s[4:5]
2446 // CHECK: [0x04,0x04,0x13,0xbf]
2448 s_cmp_lg_u64 s[100:101], s[4:5]
2449 // CHECK: [0x64,0x04,0x13,0xbf]
2451 s_cmp_lg_u64 flat_scratch, s[4:5]
2452 // CHECK: [0x66,0x04,0x13,0xbf]
2454 s_cmp_lg_u64 vcc, s[4:5]
2455 // CHECK: [0x6a,0x04,0x13,0xbf]
2457 s_cmp_lg_u64 tba, s[4:5]
2458 // CHECK: [0x6c,0x04,0x13,0xbf]
2460 s_cmp_lg_u64 tma, s[4:5]
2461 // CHECK: [0x6e,0x04,0x13,0xbf]
2463 s_cmp_lg_u64 ttmp[10:11], s[4:5]
2464 // CHECK: [0x7a,0x04,0x13,0xbf]
2466 s_cmp_lg_u64 exec, s[4:5]
2467 // CHECK: [0x7e,0x04,0x13,0xbf]
2469 s_cmp_lg_u64 0, s[4:5]
2470 // CHECK: [0x80,0x04,0x13,0xbf]
2472 s_cmp_lg_u64 -1, s[4:5]
2473 // CHECK: [0xc1,0x04,0x13,0xbf]
2475 s_cmp_lg_u64 0.5, s[4:5]
2476 // CHECK: [0xf0,0x04,0x13,0xbf]
2478 s_cmp_lg_u64 -4.0, s[4:5]
2479 // CHECK: [0xf7,0x04,0x13,0xbf]
2481 s_cmp_lg_u64 src_vccz, s[4:5]
2482 // CHECK: [0xfb,0x04,0x13,0xbf]
2484 s_cmp_lg_u64 src_execz, s[4:5]
2485 // CHECK: [0xfc,0x04,0x13,0xbf]
2487 s_cmp_lg_u64 src_scc, s[4:5]
2488 // CHECK: [0xfd,0x04,0x13,0xbf]
2490 s_cmp_lg_u64 0xaf123456, s[4:5]
2491 // CHECK: [0xff,0x04,0x13,0xbf,0x56,0x34,0x12,0xaf]
2493 s_cmp_lg_u64 0x3f717273, s[4:5]
2494 // CHECK: [0xff,0x04,0x13,0xbf,0x73,0x72,0x71,0x3f]
2496 s_cmp_lg_u64 s[2:3], s[6:7]
2497 // CHECK: [0x02,0x06,0x13,0xbf]
2499 s_cmp_lg_u64 s[2:3], s[100:101]
2500 // CHECK: [0x02,0x64,0x13,0xbf]
2502 s_cmp_lg_u64 s[2:3], flat_scratch
2503 // CHECK: [0x02,0x66,0x13,0xbf]
2505 s_cmp_lg_u64 s[2:3], vcc
2506 // CHECK: [0x02,0x6a,0x13,0xbf]
2508 s_cmp_lg_u64 s[2:3], tba
2509 // CHECK: [0x02,0x6c,0x13,0xbf]
2511 s_cmp_lg_u64 s[2:3], tma
2512 // CHECK: [0x02,0x6e,0x13,0xbf]
2514 s_cmp_lg_u64 s[2:3], ttmp[10:11]
2515 // CHECK: [0x02,0x7a,0x13,0xbf]
2517 s_cmp_lg_u64 s[2:3], exec
2518 // CHECK: [0x02,0x7e,0x13,0xbf]
2520 s_cmp_lg_u64 s[2:3], 0
2521 // CHECK: [0x02,0x80,0x13,0xbf]
2523 s_cmp_lg_u64 s[2:3], -1
2524 // CHECK: [0x02,0xc1,0x13,0xbf]
2526 s_cmp_lg_u64 s[2:3], 0.5
2527 // CHECK: [0x02,0xf0,0x13,0xbf]
2529 s_cmp_lg_u64 s[2:3], -4.0
2530 // CHECK: [0x02,0xf7,0x13,0xbf]
2532 s_cmp_lg_u64 s[2:3], src_vccz
2533 // CHECK: [0x02,0xfb,0x13,0xbf]
2535 s_cmp_lg_u64 s[2:3], src_execz
2536 // CHECK: [0x02,0xfc,0x13,0xbf]
2538 s_cmp_lg_u64 s[2:3], src_scc
2539 // CHECK: [0x02,0xfd,0x13,0xbf]
2541 s_cmp_lg_u64 s[2:3], 0xaf123456
2542 // CHECK: [0x02,0xff,0x13,0xbf,0x56,0x34,0x12,0xaf]
2544 s_cmp_lg_u64 s[2:3], 0x3f717273
2545 // CHECK: [0x02,0xff,0x13,0xbf,0x73,0x72,0x71,0x3f]