[RemoveDIs][DebugInfo] Update SROA to handle DPVAssigns (#78475)
[llvm-project.git] / llvm / test / MC / AMDGPU / gfx11_asm_sopc.s
blobae83782a24c5ce8976aa89ab48b6e4b107c8fe28
1 // RUN: llvm-mc -triple=amdgcn -show-encoding -mcpu=gfx1100 %s | FileCheck --check-prefix=GFX11 %s
3 s_cmp_eq_i32 s0, s1
4 // GFX11: encoding: [0x00,0x01,0x00,0xbf]
6 s_cmp_eq_i32 s105, s104
7 // GFX11: encoding: [0x69,0x68,0x00,0xbf]
9 s_cmp_eq_i32 s0, s104
10 // GFX11: encoding: [0x00,0x68,0x00,0xbf]
12 s_cmp_eq_i32 s105, s1
13 // GFX11: encoding: [0x69,0x01,0x00,0xbf]
15 s_cmp_eq_i32 exec_lo, s1
16 // GFX11: encoding: [0x7e,0x01,0x00,0xbf]
18 s_cmp_eq_i32 exec_hi, s1
19 // GFX11: encoding: [0x7f,0x01,0x00,0xbf]
21 s_cmp_eq_i32 vcc_lo, s1
22 // GFX11: encoding: [0x6a,0x01,0x00,0xbf]
24 s_cmp_eq_i32 vcc_hi, s1
25 // GFX11: encoding: [0x6b,0x01,0x00,0xbf]
27 s_cmp_eq_i32 m0, s1
28 // GFX11: encoding: [0x7d,0x01,0x00,0xbf]
30 s_cmp_eq_i32 s0, exec_lo
31 // GFX11: encoding: [0x00,0x7e,0x00,0xbf]
33 s_cmp_eq_i32 s0, exec_hi
34 // GFX11: encoding: [0x00,0x7f,0x00,0xbf]
36 s_cmp_eq_i32 s0, vcc_lo
37 // GFX11: encoding: [0x00,0x6a,0x00,0xbf]
39 s_cmp_eq_i32 s0, vcc_hi
40 // GFX11: encoding: [0x00,0x6b,0x00,0xbf]
42 s_cmp_eq_i32 s0, m0
43 // GFX11: encoding: [0x00,0x7d,0x00,0xbf]
45 s_cmp_eq_i32 s0, 0
46 // GFX11: encoding: [0x00,0x80,0x00,0xbf]
48 s_cmp_eq_i32 s0, -1
49 // GFX11: encoding: [0x00,0xc1,0x00,0xbf]
51 s_cmp_eq_i32 s0, 0.5
52 // GFX11: encoding: [0x00,0xf0,0x00,0xbf]
54 s_cmp_eq_i32 s0, -4.0
55 // GFX11: encoding: [0x00,0xf7,0x00,0xbf]
57 s_cmp_eq_i32 s0, 0x3f717273
58 // GFX11: encoding: [0x00,0xff,0x00,0xbf,0x73,0x72,0x71,0x3f]
60 s_cmp_eq_i32 s0, 0xaf123456
61 // GFX11: encoding: [0x00,0xff,0x00,0xbf,0x56,0x34,0x12,0xaf]
63 s_cmp_lg_i32 s0, s1
64 // GFX11: encoding: [0x00,0x01,0x01,0xbf]
66 s_cmp_lg_i32 s105, s104
67 // GFX11: encoding: [0x69,0x68,0x01,0xbf]
69 s_cmp_lg_i32 s0, s104
70 // GFX11: encoding: [0x00,0x68,0x01,0xbf]
72 s_cmp_lg_i32 s105, s1
73 // GFX11: encoding: [0x69,0x01,0x01,0xbf]
75 s_cmp_lg_i32 exec_lo, s1
76 // GFX11: encoding: [0x7e,0x01,0x01,0xbf]
78 s_cmp_lg_i32 exec_hi, s1
79 // GFX11: encoding: [0x7f,0x01,0x01,0xbf]
81 s_cmp_lg_i32 vcc_lo, s1
82 // GFX11: encoding: [0x6a,0x01,0x01,0xbf]
84 s_cmp_lg_i32 vcc_hi, s1
85 // GFX11: encoding: [0x6b,0x01,0x01,0xbf]
87 s_cmp_lg_i32 m0, s1
88 // GFX11: encoding: [0x7d,0x01,0x01,0xbf]
90 s_cmp_lg_i32 s0, exec_lo
91 // GFX11: encoding: [0x00,0x7e,0x01,0xbf]
93 s_cmp_lg_i32 s0, exec_hi
94 // GFX11: encoding: [0x00,0x7f,0x01,0xbf]
96 s_cmp_lg_i32 s0, vcc_lo
97 // GFX11: encoding: [0x00,0x6a,0x01,0xbf]
99 s_cmp_lg_i32 s0, vcc_hi
100 // GFX11: encoding: [0x00,0x6b,0x01,0xbf]
102 s_cmp_lg_i32 s0, m0
103 // GFX11: encoding: [0x00,0x7d,0x01,0xbf]
105 s_cmp_lg_i32 s0, 0
106 // GFX11: encoding: [0x00,0x80,0x01,0xbf]
108 s_cmp_lg_i32 s0, -1
109 // GFX11: encoding: [0x00,0xc1,0x01,0xbf]
111 s_cmp_lg_i32 s0, 0.5
112 // GFX11: encoding: [0x00,0xf0,0x01,0xbf]
114 s_cmp_lg_i32 s0, -4.0
115 // GFX11: encoding: [0x00,0xf7,0x01,0xbf]
117 s_cmp_lg_i32 s0, 0x3f717273
118 // GFX11: encoding: [0x00,0xff,0x01,0xbf,0x73,0x72,0x71,0x3f]
120 s_cmp_lg_i32 s0, 0xaf123456
121 // GFX11: encoding: [0x00,0xff,0x01,0xbf,0x56,0x34,0x12,0xaf]
123 s_cmp_gt_i32 s0, s1
124 // GFX11: encoding: [0x00,0x01,0x02,0xbf]
126 s_cmp_gt_i32 s105, s104
127 // GFX11: encoding: [0x69,0x68,0x02,0xbf]
129 s_cmp_gt_i32 s0, s104
130 // GFX11: encoding: [0x00,0x68,0x02,0xbf]
132 s_cmp_gt_i32 s105, s1
133 // GFX11: encoding: [0x69,0x01,0x02,0xbf]
135 s_cmp_gt_i32 exec_lo, s1
136 // GFX11: encoding: [0x7e,0x01,0x02,0xbf]
138 s_cmp_gt_i32 exec_hi, s1
139 // GFX11: encoding: [0x7f,0x01,0x02,0xbf]
141 s_cmp_gt_i32 vcc_lo, s1
142 // GFX11: encoding: [0x6a,0x01,0x02,0xbf]
144 s_cmp_gt_i32 vcc_hi, s1
145 // GFX11: encoding: [0x6b,0x01,0x02,0xbf]
147 s_cmp_gt_i32 m0, s1
148 // GFX11: encoding: [0x7d,0x01,0x02,0xbf]
150 s_cmp_gt_i32 s0, exec_lo
151 // GFX11: encoding: [0x00,0x7e,0x02,0xbf]
153 s_cmp_gt_i32 s0, exec_hi
154 // GFX11: encoding: [0x00,0x7f,0x02,0xbf]
156 s_cmp_gt_i32 s0, vcc_lo
157 // GFX11: encoding: [0x00,0x6a,0x02,0xbf]
159 s_cmp_gt_i32 s0, vcc_hi
160 // GFX11: encoding: [0x00,0x6b,0x02,0xbf]
162 s_cmp_gt_i32 s0, m0
163 // GFX11: encoding: [0x00,0x7d,0x02,0xbf]
165 s_cmp_gt_i32 s0, 0
166 // GFX11: encoding: [0x00,0x80,0x02,0xbf]
168 s_cmp_gt_i32 s0, -1
169 // GFX11: encoding: [0x00,0xc1,0x02,0xbf]
171 s_cmp_gt_i32 s0, 0.5
172 // GFX11: encoding: [0x00,0xf0,0x02,0xbf]
174 s_cmp_gt_i32 s0, -4.0
175 // GFX11: encoding: [0x00,0xf7,0x02,0xbf]
177 s_cmp_gt_i32 s0, 0x3f717273
178 // GFX11: encoding: [0x00,0xff,0x02,0xbf,0x73,0x72,0x71,0x3f]
180 s_cmp_gt_i32 s0, 0xaf123456
181 // GFX11: encoding: [0x00,0xff,0x02,0xbf,0x56,0x34,0x12,0xaf]
183 s_cmp_ge_i32 s0, s1
184 // GFX11: encoding: [0x00,0x01,0x03,0xbf]
186 s_cmp_ge_i32 s105, s104
187 // GFX11: encoding: [0x69,0x68,0x03,0xbf]
189 s_cmp_ge_i32 s0, s104
190 // GFX11: encoding: [0x00,0x68,0x03,0xbf]
192 s_cmp_ge_i32 s105, s1
193 // GFX11: encoding: [0x69,0x01,0x03,0xbf]
195 s_cmp_ge_i32 exec_lo, s1
196 // GFX11: encoding: [0x7e,0x01,0x03,0xbf]
198 s_cmp_ge_i32 exec_hi, s1
199 // GFX11: encoding: [0x7f,0x01,0x03,0xbf]
201 s_cmp_ge_i32 vcc_lo, s1
202 // GFX11: encoding: [0x6a,0x01,0x03,0xbf]
204 s_cmp_ge_i32 vcc_hi, s1
205 // GFX11: encoding: [0x6b,0x01,0x03,0xbf]
207 s_cmp_ge_i32 m0, s1
208 // GFX11: encoding: [0x7d,0x01,0x03,0xbf]
210 s_cmp_ge_i32 s0, exec_lo
211 // GFX11: encoding: [0x00,0x7e,0x03,0xbf]
213 s_cmp_ge_i32 s0, exec_hi
214 // GFX11: encoding: [0x00,0x7f,0x03,0xbf]
216 s_cmp_ge_i32 s0, vcc_lo
217 // GFX11: encoding: [0x00,0x6a,0x03,0xbf]
219 s_cmp_ge_i32 s0, vcc_hi
220 // GFX11: encoding: [0x00,0x6b,0x03,0xbf]
222 s_cmp_ge_i32 s0, m0
223 // GFX11: encoding: [0x00,0x7d,0x03,0xbf]
225 s_cmp_ge_i32 s0, 0
226 // GFX11: encoding: [0x00,0x80,0x03,0xbf]
228 s_cmp_ge_i32 s0, -1
229 // GFX11: encoding: [0x00,0xc1,0x03,0xbf]
231 s_cmp_ge_i32 s0, 0.5
232 // GFX11: encoding: [0x00,0xf0,0x03,0xbf]
234 s_cmp_ge_i32 s0, -4.0
235 // GFX11: encoding: [0x00,0xf7,0x03,0xbf]
237 s_cmp_ge_i32 s0, 0x3f717273
238 // GFX11: encoding: [0x00,0xff,0x03,0xbf,0x73,0x72,0x71,0x3f]
240 s_cmp_ge_i32 s0, 0xaf123456
241 // GFX11: encoding: [0x00,0xff,0x03,0xbf,0x56,0x34,0x12,0xaf]
243 s_cmp_lt_i32 s0, s1
244 // GFX11: encoding: [0x00,0x01,0x04,0xbf]
246 s_cmp_lt_i32 s105, s104
247 // GFX11: encoding: [0x69,0x68,0x04,0xbf]
249 s_cmp_lt_i32 s0, s104
250 // GFX11: encoding: [0x00,0x68,0x04,0xbf]
252 s_cmp_lt_i32 s105, s1
253 // GFX11: encoding: [0x69,0x01,0x04,0xbf]
255 s_cmp_lt_i32 exec_lo, s1
256 // GFX11: encoding: [0x7e,0x01,0x04,0xbf]
258 s_cmp_lt_i32 exec_hi, s1
259 // GFX11: encoding: [0x7f,0x01,0x04,0xbf]
261 s_cmp_lt_i32 vcc_lo, s1
262 // GFX11: encoding: [0x6a,0x01,0x04,0xbf]
264 s_cmp_lt_i32 vcc_hi, s1
265 // GFX11: encoding: [0x6b,0x01,0x04,0xbf]
267 s_cmp_lt_i32 m0, s1
268 // GFX11: encoding: [0x7d,0x01,0x04,0xbf]
270 s_cmp_lt_i32 s0, exec_lo
271 // GFX11: encoding: [0x00,0x7e,0x04,0xbf]
273 s_cmp_lt_i32 s0, exec_hi
274 // GFX11: encoding: [0x00,0x7f,0x04,0xbf]
276 s_cmp_lt_i32 s0, vcc_lo
277 // GFX11: encoding: [0x00,0x6a,0x04,0xbf]
279 s_cmp_lt_i32 s0, vcc_hi
280 // GFX11: encoding: [0x00,0x6b,0x04,0xbf]
282 s_cmp_lt_i32 s0, m0
283 // GFX11: encoding: [0x00,0x7d,0x04,0xbf]
285 s_cmp_lt_i32 s0, 0
286 // GFX11: encoding: [0x00,0x80,0x04,0xbf]
288 s_cmp_lt_i32 s0, -1
289 // GFX11: encoding: [0x00,0xc1,0x04,0xbf]
291 s_cmp_lt_i32 s0, 0.5
292 // GFX11: encoding: [0x00,0xf0,0x04,0xbf]
294 s_cmp_lt_i32 s0, -4.0
295 // GFX11: encoding: [0x00,0xf7,0x04,0xbf]
297 s_cmp_lt_i32 s0, 0x3f717273
298 // GFX11: encoding: [0x00,0xff,0x04,0xbf,0x73,0x72,0x71,0x3f]
300 s_cmp_lt_i32 s0, 0xaf123456
301 // GFX11: encoding: [0x00,0xff,0x04,0xbf,0x56,0x34,0x12,0xaf]
303 s_cmp_le_i32 s0, s1
304 // GFX11: encoding: [0x00,0x01,0x05,0xbf]
306 s_cmp_le_i32 s105, s104
307 // GFX11: encoding: [0x69,0x68,0x05,0xbf]
309 s_cmp_le_i32 s0, s104
310 // GFX11: encoding: [0x00,0x68,0x05,0xbf]
312 s_cmp_le_i32 s105, s1
313 // GFX11: encoding: [0x69,0x01,0x05,0xbf]
315 s_cmp_le_i32 exec_lo, s1
316 // GFX11: encoding: [0x7e,0x01,0x05,0xbf]
318 s_cmp_le_i32 exec_hi, s1
319 // GFX11: encoding: [0x7f,0x01,0x05,0xbf]
321 s_cmp_le_i32 vcc_lo, s1
322 // GFX11: encoding: [0x6a,0x01,0x05,0xbf]
324 s_cmp_le_i32 vcc_hi, s1
325 // GFX11: encoding: [0x6b,0x01,0x05,0xbf]
327 s_cmp_le_i32 m0, s1
328 // GFX11: encoding: [0x7d,0x01,0x05,0xbf]
330 s_cmp_le_i32 s0, exec_lo
331 // GFX11: encoding: [0x00,0x7e,0x05,0xbf]
333 s_cmp_le_i32 s0, exec_hi
334 // GFX11: encoding: [0x00,0x7f,0x05,0xbf]
336 s_cmp_le_i32 s0, vcc_lo
337 // GFX11: encoding: [0x00,0x6a,0x05,0xbf]
339 s_cmp_le_i32 s0, vcc_hi
340 // GFX11: encoding: [0x00,0x6b,0x05,0xbf]
342 s_cmp_le_i32 s0, m0
343 // GFX11: encoding: [0x00,0x7d,0x05,0xbf]
345 s_cmp_le_i32 s0, 0
346 // GFX11: encoding: [0x00,0x80,0x05,0xbf]
348 s_cmp_le_i32 s0, -1
349 // GFX11: encoding: [0x00,0xc1,0x05,0xbf]
351 s_cmp_le_i32 s0, 0.5
352 // GFX11: encoding: [0x00,0xf0,0x05,0xbf]
354 s_cmp_le_i32 s0, -4.0
355 // GFX11: encoding: [0x00,0xf7,0x05,0xbf]
357 s_cmp_le_i32 s0, 0x3f717273
358 // GFX11: encoding: [0x00,0xff,0x05,0xbf,0x73,0x72,0x71,0x3f]
360 s_cmp_le_i32 s0, 0xaf123456
361 // GFX11: encoding: [0x00,0xff,0x05,0xbf,0x56,0x34,0x12,0xaf]
363 s_cmp_eq_u32 s0, s1
364 // GFX11: encoding: [0x00,0x01,0x06,0xbf]
366 s_cmp_eq_u32 s105, s104
367 // GFX11: encoding: [0x69,0x68,0x06,0xbf]
369 s_cmp_eq_u32 s0, s104
370 // GFX11: encoding: [0x00,0x68,0x06,0xbf]
372 s_cmp_eq_u32 s105, s1
373 // GFX11: encoding: [0x69,0x01,0x06,0xbf]
375 s_cmp_eq_u32 exec_lo, s1
376 // GFX11: encoding: [0x7e,0x01,0x06,0xbf]
378 s_cmp_eq_u32 exec_hi, s1
379 // GFX11: encoding: [0x7f,0x01,0x06,0xbf]
381 s_cmp_eq_u32 vcc_lo, s1
382 // GFX11: encoding: [0x6a,0x01,0x06,0xbf]
384 s_cmp_eq_u32 vcc_hi, s1
385 // GFX11: encoding: [0x6b,0x01,0x06,0xbf]
387 s_cmp_eq_u32 m0, s1
388 // GFX11: encoding: [0x7d,0x01,0x06,0xbf]
390 s_cmp_eq_u32 s0, exec_lo
391 // GFX11: encoding: [0x00,0x7e,0x06,0xbf]
393 s_cmp_eq_u32 s0, exec_hi
394 // GFX11: encoding: [0x00,0x7f,0x06,0xbf]
396 s_cmp_eq_u32 s0, vcc_lo
397 // GFX11: encoding: [0x00,0x6a,0x06,0xbf]
399 s_cmp_eq_u32 s0, vcc_hi
400 // GFX11: encoding: [0x00,0x6b,0x06,0xbf]
402 s_cmp_eq_u32 s0, m0
403 // GFX11: encoding: [0x00,0x7d,0x06,0xbf]
405 s_cmp_eq_u32 s0, 0
406 // GFX11: encoding: [0x00,0x80,0x06,0xbf]
408 s_cmp_eq_u32 s0, -1
409 // GFX11: encoding: [0x00,0xc1,0x06,0xbf]
411 s_cmp_eq_u32 s0, 0.5
412 // GFX11: encoding: [0x00,0xf0,0x06,0xbf]
414 s_cmp_eq_u32 s0, -4.0
415 // GFX11: encoding: [0x00,0xf7,0x06,0xbf]
417 s_cmp_eq_u32 s0, 0x3f717273
418 // GFX11: encoding: [0x00,0xff,0x06,0xbf,0x73,0x72,0x71,0x3f]
420 s_cmp_eq_u32 s0, 0xaf123456
421 // GFX11: encoding: [0x00,0xff,0x06,0xbf,0x56,0x34,0x12,0xaf]
423 s_cmp_lg_u32 s0, s1
424 // GFX11: encoding: [0x00,0x01,0x07,0xbf]
426 s_cmp_lg_u32 s105, s104
427 // GFX11: encoding: [0x69,0x68,0x07,0xbf]
429 s_cmp_lg_u32 s0, s104
430 // GFX11: encoding: [0x00,0x68,0x07,0xbf]
432 s_cmp_lg_u32 s105, s1
433 // GFX11: encoding: [0x69,0x01,0x07,0xbf]
435 s_cmp_lg_u32 exec_lo, s1
436 // GFX11: encoding: [0x7e,0x01,0x07,0xbf]
438 s_cmp_lg_u32 exec_hi, s1
439 // GFX11: encoding: [0x7f,0x01,0x07,0xbf]
441 s_cmp_lg_u32 vcc_lo, s1
442 // GFX11: encoding: [0x6a,0x01,0x07,0xbf]
444 s_cmp_lg_u32 vcc_hi, s1
445 // GFX11: encoding: [0x6b,0x01,0x07,0xbf]
447 s_cmp_lg_u32 m0, s1
448 // GFX11: encoding: [0x7d,0x01,0x07,0xbf]
450 s_cmp_lg_u32 s0, exec_lo
451 // GFX11: encoding: [0x00,0x7e,0x07,0xbf]
453 s_cmp_lg_u32 s0, exec_hi
454 // GFX11: encoding: [0x00,0x7f,0x07,0xbf]
456 s_cmp_lg_u32 s0, vcc_lo
457 // GFX11: encoding: [0x00,0x6a,0x07,0xbf]
459 s_cmp_lg_u32 s0, vcc_hi
460 // GFX11: encoding: [0x00,0x6b,0x07,0xbf]
462 s_cmp_lg_u32 s0, m0
463 // GFX11: encoding: [0x00,0x7d,0x07,0xbf]
465 s_cmp_lg_u32 s0, 0
466 // GFX11: encoding: [0x00,0x80,0x07,0xbf]
468 s_cmp_lg_u32 s0, -1
469 // GFX11: encoding: [0x00,0xc1,0x07,0xbf]
471 s_cmp_lg_u32 s0, 0.5
472 // GFX11: encoding: [0x00,0xf0,0x07,0xbf]
474 s_cmp_lg_u32 s0, -4.0
475 // GFX11: encoding: [0x00,0xf7,0x07,0xbf]
477 s_cmp_lg_u32 s0, 0x3f717273
478 // GFX11: encoding: [0x00,0xff,0x07,0xbf,0x73,0x72,0x71,0x3f]
480 s_cmp_lg_u32 s0, 0xaf123456
481 // GFX11: encoding: [0x00,0xff,0x07,0xbf,0x56,0x34,0x12,0xaf]
483 s_cmp_gt_u32 s0, s1
484 // GFX11: encoding: [0x00,0x01,0x08,0xbf]
486 s_cmp_gt_u32 s105, s104
487 // GFX11: encoding: [0x69,0x68,0x08,0xbf]
489 s_cmp_gt_u32 s0, s104
490 // GFX11: encoding: [0x00,0x68,0x08,0xbf]
492 s_cmp_gt_u32 s105, s1
493 // GFX11: encoding: [0x69,0x01,0x08,0xbf]
495 s_cmp_gt_u32 exec_lo, s1
496 // GFX11: encoding: [0x7e,0x01,0x08,0xbf]
498 s_cmp_gt_u32 exec_hi, s1
499 // GFX11: encoding: [0x7f,0x01,0x08,0xbf]
501 s_cmp_gt_u32 vcc_lo, s1
502 // GFX11: encoding: [0x6a,0x01,0x08,0xbf]
504 s_cmp_gt_u32 vcc_hi, s1
505 // GFX11: encoding: [0x6b,0x01,0x08,0xbf]
507 s_cmp_gt_u32 m0, s1
508 // GFX11: encoding: [0x7d,0x01,0x08,0xbf]
510 s_cmp_gt_u32 s0, exec_lo
511 // GFX11: encoding: [0x00,0x7e,0x08,0xbf]
513 s_cmp_gt_u32 s0, exec_hi
514 // GFX11: encoding: [0x00,0x7f,0x08,0xbf]
516 s_cmp_gt_u32 s0, vcc_lo
517 // GFX11: encoding: [0x00,0x6a,0x08,0xbf]
519 s_cmp_gt_u32 s0, vcc_hi
520 // GFX11: encoding: [0x00,0x6b,0x08,0xbf]
522 s_cmp_gt_u32 s0, m0
523 // GFX11: encoding: [0x00,0x7d,0x08,0xbf]
525 s_cmp_gt_u32 s0, 0
526 // GFX11: encoding: [0x00,0x80,0x08,0xbf]
528 s_cmp_gt_u32 s0, -1
529 // GFX11: encoding: [0x00,0xc1,0x08,0xbf]
531 s_cmp_gt_u32 s0, 0.5
532 // GFX11: encoding: [0x00,0xf0,0x08,0xbf]
534 s_cmp_gt_u32 s0, -4.0
535 // GFX11: encoding: [0x00,0xf7,0x08,0xbf]
537 s_cmp_gt_u32 s0, 0x3f717273
538 // GFX11: encoding: [0x00,0xff,0x08,0xbf,0x73,0x72,0x71,0x3f]
540 s_cmp_gt_u32 s0, 0xaf123456
541 // GFX11: encoding: [0x00,0xff,0x08,0xbf,0x56,0x34,0x12,0xaf]
543 s_cmp_ge_u32 s0, s1
544 // GFX11: encoding: [0x00,0x01,0x09,0xbf]
546 s_cmp_ge_u32 s105, s104
547 // GFX11: encoding: [0x69,0x68,0x09,0xbf]
549 s_cmp_ge_u32 s0, s104
550 // GFX11: encoding: [0x00,0x68,0x09,0xbf]
552 s_cmp_ge_u32 s105, s1
553 // GFX11: encoding: [0x69,0x01,0x09,0xbf]
555 s_cmp_ge_u32 exec_lo, s1
556 // GFX11: encoding: [0x7e,0x01,0x09,0xbf]
558 s_cmp_ge_u32 exec_hi, s1
559 // GFX11: encoding: [0x7f,0x01,0x09,0xbf]
561 s_cmp_ge_u32 vcc_lo, s1
562 // GFX11: encoding: [0x6a,0x01,0x09,0xbf]
564 s_cmp_ge_u32 vcc_hi, s1
565 // GFX11: encoding: [0x6b,0x01,0x09,0xbf]
567 s_cmp_ge_u32 m0, s1
568 // GFX11: encoding: [0x7d,0x01,0x09,0xbf]
570 s_cmp_ge_u32 s0, exec_lo
571 // GFX11: encoding: [0x00,0x7e,0x09,0xbf]
573 s_cmp_ge_u32 s0, exec_hi
574 // GFX11: encoding: [0x00,0x7f,0x09,0xbf]
576 s_cmp_ge_u32 s0, vcc_lo
577 // GFX11: encoding: [0x00,0x6a,0x09,0xbf]
579 s_cmp_ge_u32 s0, vcc_hi
580 // GFX11: encoding: [0x00,0x6b,0x09,0xbf]
582 s_cmp_ge_u32 s0, m0
583 // GFX11: encoding: [0x00,0x7d,0x09,0xbf]
585 s_cmp_ge_u32 s0, 0
586 // GFX11: encoding: [0x00,0x80,0x09,0xbf]
588 s_cmp_ge_u32 s0, -1
589 // GFX11: encoding: [0x00,0xc1,0x09,0xbf]
591 s_cmp_ge_u32 s0, 0.5
592 // GFX11: encoding: [0x00,0xf0,0x09,0xbf]
594 s_cmp_ge_u32 s0, -4.0
595 // GFX11: encoding: [0x00,0xf7,0x09,0xbf]
597 s_cmp_ge_u32 s0, 0x3f717273
598 // GFX11: encoding: [0x00,0xff,0x09,0xbf,0x73,0x72,0x71,0x3f]
600 s_cmp_ge_u32 s0, 0xaf123456
601 // GFX11: encoding: [0x00,0xff,0x09,0xbf,0x56,0x34,0x12,0xaf]
603 s_cmp_lt_u32 s0, s1
604 // GFX11: encoding: [0x00,0x01,0x0a,0xbf]
606 s_cmp_lt_u32 s105, s104
607 // GFX11: encoding: [0x69,0x68,0x0a,0xbf]
609 s_cmp_lt_u32 s0, s104
610 // GFX11: encoding: [0x00,0x68,0x0a,0xbf]
612 s_cmp_lt_u32 s105, s1
613 // GFX11: encoding: [0x69,0x01,0x0a,0xbf]
615 s_cmp_lt_u32 exec_lo, s1
616 // GFX11: encoding: [0x7e,0x01,0x0a,0xbf]
618 s_cmp_lt_u32 exec_hi, s1
619 // GFX11: encoding: [0x7f,0x01,0x0a,0xbf]
621 s_cmp_lt_u32 vcc_lo, s1
622 // GFX11: encoding: [0x6a,0x01,0x0a,0xbf]
624 s_cmp_lt_u32 vcc_hi, s1
625 // GFX11: encoding: [0x6b,0x01,0x0a,0xbf]
627 s_cmp_lt_u32 m0, s1
628 // GFX11: encoding: [0x7d,0x01,0x0a,0xbf]
630 s_cmp_lt_u32 s0, exec_lo
631 // GFX11: encoding: [0x00,0x7e,0x0a,0xbf]
633 s_cmp_lt_u32 s0, exec_hi
634 // GFX11: encoding: [0x00,0x7f,0x0a,0xbf]
636 s_cmp_lt_u32 s0, vcc_lo
637 // GFX11: encoding: [0x00,0x6a,0x0a,0xbf]
639 s_cmp_lt_u32 s0, vcc_hi
640 // GFX11: encoding: [0x00,0x6b,0x0a,0xbf]
642 s_cmp_lt_u32 s0, m0
643 // GFX11: encoding: [0x00,0x7d,0x0a,0xbf]
645 s_cmp_lt_u32 s0, 0
646 // GFX11: encoding: [0x00,0x80,0x0a,0xbf]
648 s_cmp_lt_u32 s0, -1
649 // GFX11: encoding: [0x00,0xc1,0x0a,0xbf]
651 s_cmp_lt_u32 s0, 0.5
652 // GFX11: encoding: [0x00,0xf0,0x0a,0xbf]
654 s_cmp_lt_u32 s0, -4.0
655 // GFX11: encoding: [0x00,0xf7,0x0a,0xbf]
657 s_cmp_lt_u32 s0, 0x3f717273
658 // GFX11: encoding: [0x00,0xff,0x0a,0xbf,0x73,0x72,0x71,0x3f]
660 s_cmp_lt_u32 s0, 0xaf123456
661 // GFX11: encoding: [0x00,0xff,0x0a,0xbf,0x56,0x34,0x12,0xaf]
663 s_cmp_le_u32 s0, s1
664 // GFX11: encoding: [0x00,0x01,0x0b,0xbf]
666 s_cmp_le_u32 s105, s104
667 // GFX11: encoding: [0x69,0x68,0x0b,0xbf]
669 s_cmp_le_u32 s0, s104
670 // GFX11: encoding: [0x00,0x68,0x0b,0xbf]
672 s_cmp_le_u32 s105, s1
673 // GFX11: encoding: [0x69,0x01,0x0b,0xbf]
675 s_cmp_le_u32 exec_lo, s1
676 // GFX11: encoding: [0x7e,0x01,0x0b,0xbf]
678 s_cmp_le_u32 exec_hi, s1
679 // GFX11: encoding: [0x7f,0x01,0x0b,0xbf]
681 s_cmp_le_u32 vcc_lo, s1
682 // GFX11: encoding: [0x6a,0x01,0x0b,0xbf]
684 s_cmp_le_u32 vcc_hi, s1
685 // GFX11: encoding: [0x6b,0x01,0x0b,0xbf]
687 s_cmp_le_u32 m0, s1
688 // GFX11: encoding: [0x7d,0x01,0x0b,0xbf]
690 s_cmp_le_u32 s0, exec_lo
691 // GFX11: encoding: [0x00,0x7e,0x0b,0xbf]
693 s_cmp_le_u32 s0, exec_hi
694 // GFX11: encoding: [0x00,0x7f,0x0b,0xbf]
696 s_cmp_le_u32 s0, vcc_lo
697 // GFX11: encoding: [0x00,0x6a,0x0b,0xbf]
699 s_cmp_le_u32 s0, vcc_hi
700 // GFX11: encoding: [0x00,0x6b,0x0b,0xbf]
702 s_cmp_le_u32 s0, m0
703 // GFX11: encoding: [0x00,0x7d,0x0b,0xbf]
705 s_cmp_le_u32 s0, 0
706 // GFX11: encoding: [0x00,0x80,0x0b,0xbf]
708 s_cmp_le_u32 s0, -1
709 // GFX11: encoding: [0x00,0xc1,0x0b,0xbf]
711 s_cmp_le_u32 s0, 0.5
712 // GFX11: encoding: [0x00,0xf0,0x0b,0xbf]
714 s_cmp_le_u32 s0, -4.0
715 // GFX11: encoding: [0x00,0xf7,0x0b,0xbf]
717 s_cmp_le_u32 s0, 0x3f717273
718 // GFX11: encoding: [0x00,0xff,0x0b,0xbf,0x73,0x72,0x71,0x3f]
720 s_cmp_le_u32 s0, 0xaf123456
721 // GFX11: encoding: [0x00,0xff,0x0b,0xbf,0x56,0x34,0x12,0xaf]
723 s_bitcmp0_b32 s0, s1
724 // GFX11: encoding: [0x00,0x01,0x0c,0xbf]
726 s_bitcmp0_b32 s105, s104
727 // GFX11: encoding: [0x69,0x68,0x0c,0xbf]
729 s_bitcmp0_b32 s0, s104
730 // GFX11: encoding: [0x00,0x68,0x0c,0xbf]
732 s_bitcmp0_b32 s105, s1
733 // GFX11: encoding: [0x69,0x01,0x0c,0xbf]
735 s_bitcmp0_b32 exec_lo, s1
736 // GFX11: encoding: [0x7e,0x01,0x0c,0xbf]
738 s_bitcmp0_b32 exec_hi, s1
739 // GFX11: encoding: [0x7f,0x01,0x0c,0xbf]
741 s_bitcmp0_b32 vcc_lo, s1
742 // GFX11: encoding: [0x6a,0x01,0x0c,0xbf]
744 s_bitcmp0_b32 vcc_hi, s1
745 // GFX11: encoding: [0x6b,0x01,0x0c,0xbf]
747 s_bitcmp0_b32 m0, s1
748 // GFX11: encoding: [0x7d,0x01,0x0c,0xbf]
750 s_bitcmp0_b32 s0, exec_lo
751 // GFX11: encoding: [0x00,0x7e,0x0c,0xbf]
753 s_bitcmp0_b32 s0, exec_hi
754 // GFX11: encoding: [0x00,0x7f,0x0c,0xbf]
756 s_bitcmp0_b32 s0, vcc_lo
757 // GFX11: encoding: [0x00,0x6a,0x0c,0xbf]
759 s_bitcmp0_b32 s0, vcc_hi
760 // GFX11: encoding: [0x00,0x6b,0x0c,0xbf]
762 s_bitcmp0_b32 s0, m0
763 // GFX11: encoding: [0x00,0x7d,0x0c,0xbf]
765 s_bitcmp0_b32 s0, 0
766 // GFX11: encoding: [0x00,0x80,0x0c,0xbf]
768 s_bitcmp0_b32 s0, -1
769 // GFX11: encoding: [0x00,0xc1,0x0c,0xbf]
771 s_bitcmp0_b32 s0, 0.5
772 // GFX11: encoding: [0x00,0xf0,0x0c,0xbf]
774 s_bitcmp0_b32 s0, -4.0
775 // GFX11: encoding: [0x00,0xf7,0x0c,0xbf]
777 s_bitcmp0_b32 s0, 0x3f717273
778 // GFX11: encoding: [0x00,0xff,0x0c,0xbf,0x73,0x72,0x71,0x3f]
780 s_bitcmp0_b32 s0, 0xaf123456
781 // GFX11: encoding: [0x00,0xff,0x0c,0xbf,0x56,0x34,0x12,0xaf]
783 s_bitcmp1_b32 s0, s1
784 // GFX11: encoding: [0x00,0x01,0x0d,0xbf]
786 s_bitcmp1_b32 s105, s104
787 // GFX11: encoding: [0x69,0x68,0x0d,0xbf]
789 s_bitcmp1_b32 s0, s104
790 // GFX11: encoding: [0x00,0x68,0x0d,0xbf]
792 s_bitcmp1_b32 s105, s1
793 // GFX11: encoding: [0x69,0x01,0x0d,0xbf]
795 s_bitcmp1_b32 exec_lo, s1
796 // GFX11: encoding: [0x7e,0x01,0x0d,0xbf]
798 s_bitcmp1_b32 exec_hi, s1
799 // GFX11: encoding: [0x7f,0x01,0x0d,0xbf]
801 s_bitcmp1_b32 vcc_lo, s1
802 // GFX11: encoding: [0x6a,0x01,0x0d,0xbf]
804 s_bitcmp1_b32 vcc_hi, s1
805 // GFX11: encoding: [0x6b,0x01,0x0d,0xbf]
807 s_bitcmp1_b32 m0, s1
808 // GFX11: encoding: [0x7d,0x01,0x0d,0xbf]
810 s_bitcmp1_b32 s0, exec_lo
811 // GFX11: encoding: [0x00,0x7e,0x0d,0xbf]
813 s_bitcmp1_b32 s0, exec_hi
814 // GFX11: encoding: [0x00,0x7f,0x0d,0xbf]
816 s_bitcmp1_b32 s0, vcc_lo
817 // GFX11: encoding: [0x00,0x6a,0x0d,0xbf]
819 s_bitcmp1_b32 s0, vcc_hi
820 // GFX11: encoding: [0x00,0x6b,0x0d,0xbf]
822 s_bitcmp1_b32 s0, m0
823 // GFX11: encoding: [0x00,0x7d,0x0d,0xbf]
825 s_bitcmp1_b32 s0, 0
826 // GFX11: encoding: [0x00,0x80,0x0d,0xbf]
828 s_bitcmp1_b32 s0, -1
829 // GFX11: encoding: [0x00,0xc1,0x0d,0xbf]
831 s_bitcmp1_b32 s0, 0.5
832 // GFX11: encoding: [0x00,0xf0,0x0d,0xbf]
834 s_bitcmp1_b32 s0, -4.0
835 // GFX11: encoding: [0x00,0xf7,0x0d,0xbf]
837 s_bitcmp1_b32 s0, 0x3f717273
838 // GFX11: encoding: [0x00,0xff,0x0d,0xbf,0x73,0x72,0x71,0x3f]
840 s_bitcmp1_b32 s0, 0xaf123456
841 // GFX11: encoding: [0x00,0xff,0x0d,0xbf,0x56,0x34,0x12,0xaf]
843 s_bitcmp0_b64 s[0:1], s2
844 // GFX11: encoding: [0x00,0x02,0x0e,0xbf]
846 s_bitcmp0_b64 s[104:105], s102
847 // GFX11: encoding: [0x68,0x66,0x0e,0xbf]
849 s_bitcmp0_b64 s[0:1], s102
850 // GFX11: encoding: [0x00,0x66,0x0e,0xbf]
852 s_bitcmp0_b64 s[104:105], s2
853 // GFX11: encoding: [0x68,0x02,0x0e,0xbf]
855 s_bitcmp0_b64 exec, s2
856 // GFX11: encoding: [0x7e,0x02,0x0e,0xbf]
858 s_bitcmp0_b64 vcc, s2
859 // GFX11: encoding: [0x6a,0x02,0x0e,0xbf]
861 s_bitcmp0_b64 s[0:1], exec_lo
862 // GFX11: encoding: [0x00,0x7e,0x0e,0xbf]
864 s_bitcmp0_b64 s[0:1], exec_hi
865 // GFX11: encoding: [0x00,0x7f,0x0e,0xbf]
867 s_bitcmp0_b64 s[0:1], vcc_lo
868 // GFX11: encoding: [0x00,0x6a,0x0e,0xbf]
870 s_bitcmp0_b64 s[0:1], vcc_hi
871 // GFX11: encoding: [0x00,0x6b,0x0e,0xbf]
873 s_bitcmp0_b64 s[0:1], m0
874 // GFX11: encoding: [0x00,0x7d,0x0e,0xbf]
876 s_bitcmp0_b64 s[0:1], 0
877 // GFX11: encoding: [0x00,0x80,0x0e,0xbf]
879 s_bitcmp0_b64 s[0:1], -1
880 // GFX11: encoding: [0x00,0xc1,0x0e,0xbf]
882 s_bitcmp0_b64 s[0:1], 0.5
883 // GFX11: encoding: [0x00,0xf0,0x0e,0xbf]
885 s_bitcmp0_b64 s[0:1], -4.0
886 // GFX11: encoding: [0x00,0xf7,0x0e,0xbf]
888 s_bitcmp0_b64 s[0:1], 0x3f717273
889 // GFX11: encoding: [0x00,0xff,0x0e,0xbf,0x73,0x72,0x71,0x3f]
891 s_bitcmp0_b64 s[0:1], 0xaf123456
892 // GFX11: encoding: [0x00,0xff,0x0e,0xbf,0x56,0x34,0x12,0xaf]
894 s_bitcmp1_b64 s[0:1], s2
895 // GFX11: encoding: [0x00,0x02,0x0f,0xbf]
897 s_bitcmp1_b64 s[104:105], s102
898 // GFX11: encoding: [0x68,0x66,0x0f,0xbf]
900 s_bitcmp1_b64 s[0:1], s102
901 // GFX11: encoding: [0x00,0x66,0x0f,0xbf]
903 s_bitcmp1_b64 s[104:105], s2
904 // GFX11: encoding: [0x68,0x02,0x0f,0xbf]
906 s_bitcmp1_b64 exec, s2
907 // GFX11: encoding: [0x7e,0x02,0x0f,0xbf]
909 s_bitcmp1_b64 vcc, s2
910 // GFX11: encoding: [0x6a,0x02,0x0f,0xbf]
912 s_bitcmp1_b64 s[0:1], exec_lo
913 // GFX11: encoding: [0x00,0x7e,0x0f,0xbf]
915 s_bitcmp1_b64 s[0:1], exec_hi
916 // GFX11: encoding: [0x00,0x7f,0x0f,0xbf]
918 s_bitcmp1_b64 s[0:1], vcc_lo
919 // GFX11: encoding: [0x00,0x6a,0x0f,0xbf]
921 s_bitcmp1_b64 s[0:1], vcc_hi
922 // GFX11: encoding: [0x00,0x6b,0x0f,0xbf]
924 s_bitcmp1_b64 s[0:1], m0
925 // GFX11: encoding: [0x00,0x7d,0x0f,0xbf]
927 s_bitcmp1_b64 s[0:1], 0
928 // GFX11: encoding: [0x00,0x80,0x0f,0xbf]
930 s_bitcmp1_b64 s[0:1], -1
931 // GFX11: encoding: [0x00,0xc1,0x0f,0xbf]
933 s_bitcmp1_b64 s[0:1], 0.5
934 // GFX11: encoding: [0x00,0xf0,0x0f,0xbf]
936 s_bitcmp1_b64 s[0:1], -4.0
937 // GFX11: encoding: [0x00,0xf7,0x0f,0xbf]
939 s_bitcmp1_b64 s[0:1], 0x3f717273
940 // GFX11: encoding: [0x00,0xff,0x0f,0xbf,0x73,0x72,0x71,0x3f]
942 s_bitcmp1_b64 s[0:1], 0xaf123456
943 // GFX11: encoding: [0x00,0xff,0x0f,0xbf,0x56,0x34,0x12,0xaf]
945 s_cmp_eq_u64 s[0:1], s[2:3]
946 // GFX11: encoding: [0x00,0x02,0x10,0xbf]
948 s_cmp_eq_u64 s[104:105], s[102:103]
949 // GFX11: encoding: [0x68,0x66,0x10,0xbf]
951 s_cmp_eq_u64 s[0:1], s[102:103]
952 // GFX11: encoding: [0x00,0x66,0x10,0xbf]
954 s_cmp_eq_u64 s[104:105], s[2:3]
955 // GFX11: encoding: [0x68,0x02,0x10,0xbf]
957 s_cmp_eq_u64 exec, s[2:3]
958 // GFX11: encoding: [0x7e,0x02,0x10,0xbf]
960 s_cmp_eq_u64 vcc, s[2:3]
961 // GFX11: encoding: [0x6a,0x02,0x10,0xbf]
963 s_cmp_eq_u64 s[0:1], exec
964 // GFX11: encoding: [0x00,0x7e,0x10,0xbf]
966 s_cmp_eq_u64 s[0:1], vcc
967 // GFX11: encoding: [0x00,0x6a,0x10,0xbf]
969 s_cmp_eq_u64 s[0:1], 0
970 // GFX11: encoding: [0x00,0x80,0x10,0xbf]
972 s_cmp_eq_u64 s[0:1], -1
973 // GFX11: encoding: [0x00,0xc1,0x10,0xbf]
975 s_cmp_eq_u64 s[0:1], 0.5
976 // GFX11: encoding: [0x00,0xf0,0x10,0xbf]
978 s_cmp_eq_u64 s[0:1], -4.0
979 // GFX11: encoding: [0x00,0xf7,0x10,0xbf]
981 s_cmp_eq_u64 s[0:1], 0x3f717273
982 // GFX11: encoding: [0x00,0xff,0x10,0xbf,0x73,0x72,0x71,0x3f]
984 s_cmp_eq_u64 s[0:1], 0xaf123456
985 // GFX11: encoding: [0x00,0xff,0x10,0xbf,0x56,0x34,0x12,0xaf]
987 s_cmp_lg_u64 s[0:1], s[2:3]
988 // GFX11: encoding: [0x00,0x02,0x11,0xbf]
990 s_cmp_lg_u64 s[104:105], s[102:103]
991 // GFX11: encoding: [0x68,0x66,0x11,0xbf]
993 s_cmp_lg_u64 s[0:1], s[102:103]
994 // GFX11: encoding: [0x00,0x66,0x11,0xbf]
996 s_cmp_lg_u64 s[104:105], s[2:3]
997 // GFX11: encoding: [0x68,0x02,0x11,0xbf]
999 s_cmp_lg_u64 exec, s[2:3]
1000 // GFX11: encoding: [0x7e,0x02,0x11,0xbf]
1002 s_cmp_lg_u64 vcc, s[2:3]
1003 // GFX11: encoding: [0x6a,0x02,0x11,0xbf]
1005 s_cmp_lg_u64 s[0:1], exec
1006 // GFX11: encoding: [0x00,0x7e,0x11,0xbf]
1008 s_cmp_lg_u64 s[0:1], vcc
1009 // GFX11: encoding: [0x00,0x6a,0x11,0xbf]
1011 s_cmp_lg_u64 s[0:1], 0
1012 // GFX11: encoding: [0x00,0x80,0x11,0xbf]
1014 s_cmp_lg_u64 s[0:1], -1
1015 // GFX11: encoding: [0x00,0xc1,0x11,0xbf]
1017 s_cmp_lg_u64 s[0:1], 0.5
1018 // GFX11: encoding: [0x00,0xf0,0x11,0xbf]
1020 s_cmp_lg_u64 s[0:1], -4.0
1021 // GFX11: encoding: [0x00,0xf7,0x11,0xbf]
1023 s_cmp_lg_u64 s[0:1], 0x3f717273
1024 // GFX11: encoding: [0x00,0xff,0x11,0xbf,0x73,0x72,0x71,0x3f]
1026 s_cmp_lg_u64 s[0:1], 0xaf123456
1027 // GFX11: encoding: [0x00,0xff,0x11,0xbf,0x56,0x34,0x12,0xaf]