xref: /llvm-project/llvm/test/MC/AMDGPU/gfx11_asm_sopc.s (revision 252c42354eca54274ed7b10c32c73c6937478e8b)
1// RUN: llvm-mc -triple=amdgcn -show-encoding -mcpu=gfx1100 %s | FileCheck --check-prefix=GFX11 %s
2
3s_cmp_eq_i32 s0, s1
4// GFX11: encoding: [0x00,0x01,0x00,0xbf]
5
6s_cmp_eq_i32 s105, s104
7// GFX11: encoding: [0x69,0x68,0x00,0xbf]
8
9s_cmp_eq_i32 s0, s104
10// GFX11: encoding: [0x00,0x68,0x00,0xbf]
11
12s_cmp_eq_i32 s105, s1
13// GFX11: encoding: [0x69,0x01,0x00,0xbf]
14
15s_cmp_eq_i32 exec_lo, s1
16// GFX11: encoding: [0x7e,0x01,0x00,0xbf]
17
18s_cmp_eq_i32 exec_hi, s1
19// GFX11: encoding: [0x7f,0x01,0x00,0xbf]
20
21s_cmp_eq_i32 vcc_lo, s1
22// GFX11: encoding: [0x6a,0x01,0x00,0xbf]
23
24s_cmp_eq_i32 vcc_hi, s1
25// GFX11: encoding: [0x6b,0x01,0x00,0xbf]
26
27s_cmp_eq_i32 m0, s1
28// GFX11: encoding: [0x7d,0x01,0x00,0xbf]
29
30s_cmp_eq_i32 s0, exec_lo
31// GFX11: encoding: [0x00,0x7e,0x00,0xbf]
32
33s_cmp_eq_i32 s0, exec_hi
34// GFX11: encoding: [0x00,0x7f,0x00,0xbf]
35
36s_cmp_eq_i32 s0, vcc_lo
37// GFX11: encoding: [0x00,0x6a,0x00,0xbf]
38
39s_cmp_eq_i32 s0, vcc_hi
40// GFX11: encoding: [0x00,0x6b,0x00,0xbf]
41
42s_cmp_eq_i32 s0, m0
43// GFX11: encoding: [0x00,0x7d,0x00,0xbf]
44
45s_cmp_eq_i32 s0, 0
46// GFX11: encoding: [0x00,0x80,0x00,0xbf]
47
48s_cmp_eq_i32 s0, -1
49// GFX11: encoding: [0x00,0xc1,0x00,0xbf]
50
51s_cmp_eq_i32 s0, 0.5
52// GFX11: encoding: [0x00,0xf0,0x00,0xbf]
53
54s_cmp_eq_i32 s0, -4.0
55// GFX11: encoding: [0x00,0xf7,0x00,0xbf]
56
57s_cmp_eq_i32 s0, 0x3f717273
58// GFX11: encoding: [0x00,0xff,0x00,0xbf,0x73,0x72,0x71,0x3f]
59
60s_cmp_eq_i32 s0, 0xaf123456
61// GFX11: encoding: [0x00,0xff,0x00,0xbf,0x56,0x34,0x12,0xaf]
62
63s_cmp_lg_i32 s0, s1
64// GFX11: encoding: [0x00,0x01,0x01,0xbf]
65
66s_cmp_lg_i32 s105, s104
67// GFX11: encoding: [0x69,0x68,0x01,0xbf]
68
69s_cmp_lg_i32 s0, s104
70// GFX11: encoding: [0x00,0x68,0x01,0xbf]
71
72s_cmp_lg_i32 s105, s1
73// GFX11: encoding: [0x69,0x01,0x01,0xbf]
74
75s_cmp_lg_i32 exec_lo, s1
76// GFX11: encoding: [0x7e,0x01,0x01,0xbf]
77
78s_cmp_lg_i32 exec_hi, s1
79// GFX11: encoding: [0x7f,0x01,0x01,0xbf]
80
81s_cmp_lg_i32 vcc_lo, s1
82// GFX11: encoding: [0x6a,0x01,0x01,0xbf]
83
84s_cmp_lg_i32 vcc_hi, s1
85// GFX11: encoding: [0x6b,0x01,0x01,0xbf]
86
87s_cmp_lg_i32 m0, s1
88// GFX11: encoding: [0x7d,0x01,0x01,0xbf]
89
90s_cmp_lg_i32 s0, exec_lo
91// GFX11: encoding: [0x00,0x7e,0x01,0xbf]
92
93s_cmp_lg_i32 s0, exec_hi
94// GFX11: encoding: [0x00,0x7f,0x01,0xbf]
95
96s_cmp_lg_i32 s0, vcc_lo
97// GFX11: encoding: [0x00,0x6a,0x01,0xbf]
98
99s_cmp_lg_i32 s0, vcc_hi
100// GFX11: encoding: [0x00,0x6b,0x01,0xbf]
101
102s_cmp_lg_i32 s0, m0
103// GFX11: encoding: [0x00,0x7d,0x01,0xbf]
104
105s_cmp_lg_i32 s0, 0
106// GFX11: encoding: [0x00,0x80,0x01,0xbf]
107
108s_cmp_lg_i32 s0, -1
109// GFX11: encoding: [0x00,0xc1,0x01,0xbf]
110
111s_cmp_lg_i32 s0, 0.5
112// GFX11: encoding: [0x00,0xf0,0x01,0xbf]
113
114s_cmp_lg_i32 s0, -4.0
115// GFX11: encoding: [0x00,0xf7,0x01,0xbf]
116
117s_cmp_lg_i32 s0, 0x3f717273
118// GFX11: encoding: [0x00,0xff,0x01,0xbf,0x73,0x72,0x71,0x3f]
119
120s_cmp_lg_i32 s0, 0xaf123456
121// GFX11: encoding: [0x00,0xff,0x01,0xbf,0x56,0x34,0x12,0xaf]
122
123s_cmp_gt_i32 s0, s1
124// GFX11: encoding: [0x00,0x01,0x02,0xbf]
125
126s_cmp_gt_i32 s105, s104
127// GFX11: encoding: [0x69,0x68,0x02,0xbf]
128
129s_cmp_gt_i32 s0, s104
130// GFX11: encoding: [0x00,0x68,0x02,0xbf]
131
132s_cmp_gt_i32 s105, s1
133// GFX11: encoding: [0x69,0x01,0x02,0xbf]
134
135s_cmp_gt_i32 exec_lo, s1
136// GFX11: encoding: [0x7e,0x01,0x02,0xbf]
137
138s_cmp_gt_i32 exec_hi, s1
139// GFX11: encoding: [0x7f,0x01,0x02,0xbf]
140
141s_cmp_gt_i32 vcc_lo, s1
142// GFX11: encoding: [0x6a,0x01,0x02,0xbf]
143
144s_cmp_gt_i32 vcc_hi, s1
145// GFX11: encoding: [0x6b,0x01,0x02,0xbf]
146
147s_cmp_gt_i32 m0, s1
148// GFX11: encoding: [0x7d,0x01,0x02,0xbf]
149
150s_cmp_gt_i32 s0, exec_lo
151// GFX11: encoding: [0x00,0x7e,0x02,0xbf]
152
153s_cmp_gt_i32 s0, exec_hi
154// GFX11: encoding: [0x00,0x7f,0x02,0xbf]
155
156s_cmp_gt_i32 s0, vcc_lo
157// GFX11: encoding: [0x00,0x6a,0x02,0xbf]
158
159s_cmp_gt_i32 s0, vcc_hi
160// GFX11: encoding: [0x00,0x6b,0x02,0xbf]
161
162s_cmp_gt_i32 s0, m0
163// GFX11: encoding: [0x00,0x7d,0x02,0xbf]
164
165s_cmp_gt_i32 s0, 0
166// GFX11: encoding: [0x00,0x80,0x02,0xbf]
167
168s_cmp_gt_i32 s0, -1
169// GFX11: encoding: [0x00,0xc1,0x02,0xbf]
170
171s_cmp_gt_i32 s0, 0.5
172// GFX11: encoding: [0x00,0xf0,0x02,0xbf]
173
174s_cmp_gt_i32 s0, -4.0
175// GFX11: encoding: [0x00,0xf7,0x02,0xbf]
176
177s_cmp_gt_i32 s0, 0x3f717273
178// GFX11: encoding: [0x00,0xff,0x02,0xbf,0x73,0x72,0x71,0x3f]
179
180s_cmp_gt_i32 s0, 0xaf123456
181// GFX11: encoding: [0x00,0xff,0x02,0xbf,0x56,0x34,0x12,0xaf]
182
183s_cmp_ge_i32 s0, s1
184// GFX11: encoding: [0x00,0x01,0x03,0xbf]
185
186s_cmp_ge_i32 s105, s104
187// GFX11: encoding: [0x69,0x68,0x03,0xbf]
188
189s_cmp_ge_i32 s0, s104
190// GFX11: encoding: [0x00,0x68,0x03,0xbf]
191
192s_cmp_ge_i32 s105, s1
193// GFX11: encoding: [0x69,0x01,0x03,0xbf]
194
195s_cmp_ge_i32 exec_lo, s1
196// GFX11: encoding: [0x7e,0x01,0x03,0xbf]
197
198s_cmp_ge_i32 exec_hi, s1
199// GFX11: encoding: [0x7f,0x01,0x03,0xbf]
200
201s_cmp_ge_i32 vcc_lo, s1
202// GFX11: encoding: [0x6a,0x01,0x03,0xbf]
203
204s_cmp_ge_i32 vcc_hi, s1
205// GFX11: encoding: [0x6b,0x01,0x03,0xbf]
206
207s_cmp_ge_i32 m0, s1
208// GFX11: encoding: [0x7d,0x01,0x03,0xbf]
209
210s_cmp_ge_i32 s0, exec_lo
211// GFX11: encoding: [0x00,0x7e,0x03,0xbf]
212
213s_cmp_ge_i32 s0, exec_hi
214// GFX11: encoding: [0x00,0x7f,0x03,0xbf]
215
216s_cmp_ge_i32 s0, vcc_lo
217// GFX11: encoding: [0x00,0x6a,0x03,0xbf]
218
219s_cmp_ge_i32 s0, vcc_hi
220// GFX11: encoding: [0x00,0x6b,0x03,0xbf]
221
222s_cmp_ge_i32 s0, m0
223// GFX11: encoding: [0x00,0x7d,0x03,0xbf]
224
225s_cmp_ge_i32 s0, 0
226// GFX11: encoding: [0x00,0x80,0x03,0xbf]
227
228s_cmp_ge_i32 s0, -1
229// GFX11: encoding: [0x00,0xc1,0x03,0xbf]
230
231s_cmp_ge_i32 s0, 0.5
232// GFX11: encoding: [0x00,0xf0,0x03,0xbf]
233
234s_cmp_ge_i32 s0, -4.0
235// GFX11: encoding: [0x00,0xf7,0x03,0xbf]
236
237s_cmp_ge_i32 s0, 0x3f717273
238// GFX11: encoding: [0x00,0xff,0x03,0xbf,0x73,0x72,0x71,0x3f]
239
240s_cmp_ge_i32 s0, 0xaf123456
241// GFX11: encoding: [0x00,0xff,0x03,0xbf,0x56,0x34,0x12,0xaf]
242
243s_cmp_lt_i32 s0, s1
244// GFX11: encoding: [0x00,0x01,0x04,0xbf]
245
246s_cmp_lt_i32 s105, s104
247// GFX11: encoding: [0x69,0x68,0x04,0xbf]
248
249s_cmp_lt_i32 s0, s104
250// GFX11: encoding: [0x00,0x68,0x04,0xbf]
251
252s_cmp_lt_i32 s105, s1
253// GFX11: encoding: [0x69,0x01,0x04,0xbf]
254
255s_cmp_lt_i32 exec_lo, s1
256// GFX11: encoding: [0x7e,0x01,0x04,0xbf]
257
258s_cmp_lt_i32 exec_hi, s1
259// GFX11: encoding: [0x7f,0x01,0x04,0xbf]
260
261s_cmp_lt_i32 vcc_lo, s1
262// GFX11: encoding: [0x6a,0x01,0x04,0xbf]
263
264s_cmp_lt_i32 vcc_hi, s1
265// GFX11: encoding: [0x6b,0x01,0x04,0xbf]
266
267s_cmp_lt_i32 m0, s1
268// GFX11: encoding: [0x7d,0x01,0x04,0xbf]
269
270s_cmp_lt_i32 s0, exec_lo
271// GFX11: encoding: [0x00,0x7e,0x04,0xbf]
272
273s_cmp_lt_i32 s0, exec_hi
274// GFX11: encoding: [0x00,0x7f,0x04,0xbf]
275
276s_cmp_lt_i32 s0, vcc_lo
277// GFX11: encoding: [0x00,0x6a,0x04,0xbf]
278
279s_cmp_lt_i32 s0, vcc_hi
280// GFX11: encoding: [0x00,0x6b,0x04,0xbf]
281
282s_cmp_lt_i32 s0, m0
283// GFX11: encoding: [0x00,0x7d,0x04,0xbf]
284
285s_cmp_lt_i32 s0, 0
286// GFX11: encoding: [0x00,0x80,0x04,0xbf]
287
288s_cmp_lt_i32 s0, -1
289// GFX11: encoding: [0x00,0xc1,0x04,0xbf]
290
291s_cmp_lt_i32 s0, 0.5
292// GFX11: encoding: [0x00,0xf0,0x04,0xbf]
293
294s_cmp_lt_i32 s0, -4.0
295// GFX11: encoding: [0x00,0xf7,0x04,0xbf]
296
297s_cmp_lt_i32 s0, 0x3f717273
298// GFX11: encoding: [0x00,0xff,0x04,0xbf,0x73,0x72,0x71,0x3f]
299
300s_cmp_lt_i32 s0, 0xaf123456
301// GFX11: encoding: [0x00,0xff,0x04,0xbf,0x56,0x34,0x12,0xaf]
302
303s_cmp_le_i32 s0, s1
304// GFX11: encoding: [0x00,0x01,0x05,0xbf]
305
306s_cmp_le_i32 s105, s104
307// GFX11: encoding: [0x69,0x68,0x05,0xbf]
308
309s_cmp_le_i32 s0, s104
310// GFX11: encoding: [0x00,0x68,0x05,0xbf]
311
312s_cmp_le_i32 s105, s1
313// GFX11: encoding: [0x69,0x01,0x05,0xbf]
314
315s_cmp_le_i32 exec_lo, s1
316// GFX11: encoding: [0x7e,0x01,0x05,0xbf]
317
318s_cmp_le_i32 exec_hi, s1
319// GFX11: encoding: [0x7f,0x01,0x05,0xbf]
320
321s_cmp_le_i32 vcc_lo, s1
322// GFX11: encoding: [0x6a,0x01,0x05,0xbf]
323
324s_cmp_le_i32 vcc_hi, s1
325// GFX11: encoding: [0x6b,0x01,0x05,0xbf]
326
327s_cmp_le_i32 m0, s1
328// GFX11: encoding: [0x7d,0x01,0x05,0xbf]
329
330s_cmp_le_i32 s0, exec_lo
331// GFX11: encoding: [0x00,0x7e,0x05,0xbf]
332
333s_cmp_le_i32 s0, exec_hi
334// GFX11: encoding: [0x00,0x7f,0x05,0xbf]
335
336s_cmp_le_i32 s0, vcc_lo
337// GFX11: encoding: [0x00,0x6a,0x05,0xbf]
338
339s_cmp_le_i32 s0, vcc_hi
340// GFX11: encoding: [0x00,0x6b,0x05,0xbf]
341
342s_cmp_le_i32 s0, m0
343// GFX11: encoding: [0x00,0x7d,0x05,0xbf]
344
345s_cmp_le_i32 s0, 0
346// GFX11: encoding: [0x00,0x80,0x05,0xbf]
347
348s_cmp_le_i32 s0, -1
349// GFX11: encoding: [0x00,0xc1,0x05,0xbf]
350
351s_cmp_le_i32 s0, 0.5
352// GFX11: encoding: [0x00,0xf0,0x05,0xbf]
353
354s_cmp_le_i32 s0, -4.0
355// GFX11: encoding: [0x00,0xf7,0x05,0xbf]
356
357s_cmp_le_i32 s0, 0x3f717273
358// GFX11: encoding: [0x00,0xff,0x05,0xbf,0x73,0x72,0x71,0x3f]
359
360s_cmp_le_i32 s0, 0xaf123456
361// GFX11: encoding: [0x00,0xff,0x05,0xbf,0x56,0x34,0x12,0xaf]
362
363s_cmp_eq_u32 s0, s1
364// GFX11: encoding: [0x00,0x01,0x06,0xbf]
365
366s_cmp_eq_u32 s105, s104
367// GFX11: encoding: [0x69,0x68,0x06,0xbf]
368
369s_cmp_eq_u32 s0, s104
370// GFX11: encoding: [0x00,0x68,0x06,0xbf]
371
372s_cmp_eq_u32 s105, s1
373// GFX11: encoding: [0x69,0x01,0x06,0xbf]
374
375s_cmp_eq_u32 exec_lo, s1
376// GFX11: encoding: [0x7e,0x01,0x06,0xbf]
377
378s_cmp_eq_u32 exec_hi, s1
379// GFX11: encoding: [0x7f,0x01,0x06,0xbf]
380
381s_cmp_eq_u32 vcc_lo, s1
382// GFX11: encoding: [0x6a,0x01,0x06,0xbf]
383
384s_cmp_eq_u32 vcc_hi, s1
385// GFX11: encoding: [0x6b,0x01,0x06,0xbf]
386
387s_cmp_eq_u32 m0, s1
388// GFX11: encoding: [0x7d,0x01,0x06,0xbf]
389
390s_cmp_eq_u32 s0, exec_lo
391// GFX11: encoding: [0x00,0x7e,0x06,0xbf]
392
393s_cmp_eq_u32 s0, exec_hi
394// GFX11: encoding: [0x00,0x7f,0x06,0xbf]
395
396s_cmp_eq_u32 s0, vcc_lo
397// GFX11: encoding: [0x00,0x6a,0x06,0xbf]
398
399s_cmp_eq_u32 s0, vcc_hi
400// GFX11: encoding: [0x00,0x6b,0x06,0xbf]
401
402s_cmp_eq_u32 s0, m0
403// GFX11: encoding: [0x00,0x7d,0x06,0xbf]
404
405s_cmp_eq_u32 s0, 0
406// GFX11: encoding: [0x00,0x80,0x06,0xbf]
407
408s_cmp_eq_u32 s0, -1
409// GFX11: encoding: [0x00,0xc1,0x06,0xbf]
410
411s_cmp_eq_u32 s0, 0.5
412// GFX11: encoding: [0x00,0xf0,0x06,0xbf]
413
414s_cmp_eq_u32 s0, -4.0
415// GFX11: encoding: [0x00,0xf7,0x06,0xbf]
416
417s_cmp_eq_u32 s0, 0x3f717273
418// GFX11: encoding: [0x00,0xff,0x06,0xbf,0x73,0x72,0x71,0x3f]
419
420s_cmp_eq_u32 s0, 0xaf123456
421// GFX11: encoding: [0x00,0xff,0x06,0xbf,0x56,0x34,0x12,0xaf]
422
423s_cmp_lg_u32 s0, s1
424// GFX11: encoding: [0x00,0x01,0x07,0xbf]
425
426s_cmp_lg_u32 s105, s104
427// GFX11: encoding: [0x69,0x68,0x07,0xbf]
428
429s_cmp_lg_u32 s0, s104
430// GFX11: encoding: [0x00,0x68,0x07,0xbf]
431
432s_cmp_lg_u32 s105, s1
433// GFX11: encoding: [0x69,0x01,0x07,0xbf]
434
435s_cmp_lg_u32 exec_lo, s1
436// GFX11: encoding: [0x7e,0x01,0x07,0xbf]
437
438s_cmp_lg_u32 exec_hi, s1
439// GFX11: encoding: [0x7f,0x01,0x07,0xbf]
440
441s_cmp_lg_u32 vcc_lo, s1
442// GFX11: encoding: [0x6a,0x01,0x07,0xbf]
443
444s_cmp_lg_u32 vcc_hi, s1
445// GFX11: encoding: [0x6b,0x01,0x07,0xbf]
446
447s_cmp_lg_u32 m0, s1
448// GFX11: encoding: [0x7d,0x01,0x07,0xbf]
449
450s_cmp_lg_u32 s0, exec_lo
451// GFX11: encoding: [0x00,0x7e,0x07,0xbf]
452
453s_cmp_lg_u32 s0, exec_hi
454// GFX11: encoding: [0x00,0x7f,0x07,0xbf]
455
456s_cmp_lg_u32 s0, vcc_lo
457// GFX11: encoding: [0x00,0x6a,0x07,0xbf]
458
459s_cmp_lg_u32 s0, vcc_hi
460// GFX11: encoding: [0x00,0x6b,0x07,0xbf]
461
462s_cmp_lg_u32 s0, m0
463// GFX11: encoding: [0x00,0x7d,0x07,0xbf]
464
465s_cmp_lg_u32 s0, 0
466// GFX11: encoding: [0x00,0x80,0x07,0xbf]
467
468s_cmp_lg_u32 s0, -1
469// GFX11: encoding: [0x00,0xc1,0x07,0xbf]
470
471s_cmp_lg_u32 s0, 0.5
472// GFX11: encoding: [0x00,0xf0,0x07,0xbf]
473
474s_cmp_lg_u32 s0, -4.0
475// GFX11: encoding: [0x00,0xf7,0x07,0xbf]
476
477s_cmp_lg_u32 s0, 0x3f717273
478// GFX11: encoding: [0x00,0xff,0x07,0xbf,0x73,0x72,0x71,0x3f]
479
480s_cmp_lg_u32 s0, 0xaf123456
481// GFX11: encoding: [0x00,0xff,0x07,0xbf,0x56,0x34,0x12,0xaf]
482
483s_cmp_gt_u32 s0, s1
484// GFX11: encoding: [0x00,0x01,0x08,0xbf]
485
486s_cmp_gt_u32 s105, s104
487// GFX11: encoding: [0x69,0x68,0x08,0xbf]
488
489s_cmp_gt_u32 s0, s104
490// GFX11: encoding: [0x00,0x68,0x08,0xbf]
491
492s_cmp_gt_u32 s105, s1
493// GFX11: encoding: [0x69,0x01,0x08,0xbf]
494
495s_cmp_gt_u32 exec_lo, s1
496// GFX11: encoding: [0x7e,0x01,0x08,0xbf]
497
498s_cmp_gt_u32 exec_hi, s1
499// GFX11: encoding: [0x7f,0x01,0x08,0xbf]
500
501s_cmp_gt_u32 vcc_lo, s1
502// GFX11: encoding: [0x6a,0x01,0x08,0xbf]
503
504s_cmp_gt_u32 vcc_hi, s1
505// GFX11: encoding: [0x6b,0x01,0x08,0xbf]
506
507s_cmp_gt_u32 m0, s1
508// GFX11: encoding: [0x7d,0x01,0x08,0xbf]
509
510s_cmp_gt_u32 s0, exec_lo
511// GFX11: encoding: [0x00,0x7e,0x08,0xbf]
512
513s_cmp_gt_u32 s0, exec_hi
514// GFX11: encoding: [0x00,0x7f,0x08,0xbf]
515
516s_cmp_gt_u32 s0, vcc_lo
517// GFX11: encoding: [0x00,0x6a,0x08,0xbf]
518
519s_cmp_gt_u32 s0, vcc_hi
520// GFX11: encoding: [0x00,0x6b,0x08,0xbf]
521
522s_cmp_gt_u32 s0, m0
523// GFX11: encoding: [0x00,0x7d,0x08,0xbf]
524
525s_cmp_gt_u32 s0, 0
526// GFX11: encoding: [0x00,0x80,0x08,0xbf]
527
528s_cmp_gt_u32 s0, -1
529// GFX11: encoding: [0x00,0xc1,0x08,0xbf]
530
531s_cmp_gt_u32 s0, 0.5
532// GFX11: encoding: [0x00,0xf0,0x08,0xbf]
533
534s_cmp_gt_u32 s0, -4.0
535// GFX11: encoding: [0x00,0xf7,0x08,0xbf]
536
537s_cmp_gt_u32 s0, 0x3f717273
538// GFX11: encoding: [0x00,0xff,0x08,0xbf,0x73,0x72,0x71,0x3f]
539
540s_cmp_gt_u32 s0, 0xaf123456
541// GFX11: encoding: [0x00,0xff,0x08,0xbf,0x56,0x34,0x12,0xaf]
542
543s_cmp_ge_u32 s0, s1
544// GFX11: encoding: [0x00,0x01,0x09,0xbf]
545
546s_cmp_ge_u32 s105, s104
547// GFX11: encoding: [0x69,0x68,0x09,0xbf]
548
549s_cmp_ge_u32 s0, s104
550// GFX11: encoding: [0x00,0x68,0x09,0xbf]
551
552s_cmp_ge_u32 s105, s1
553// GFX11: encoding: [0x69,0x01,0x09,0xbf]
554
555s_cmp_ge_u32 exec_lo, s1
556// GFX11: encoding: [0x7e,0x01,0x09,0xbf]
557
558s_cmp_ge_u32 exec_hi, s1
559// GFX11: encoding: [0x7f,0x01,0x09,0xbf]
560
561s_cmp_ge_u32 vcc_lo, s1
562// GFX11: encoding: [0x6a,0x01,0x09,0xbf]
563
564s_cmp_ge_u32 vcc_hi, s1
565// GFX11: encoding: [0x6b,0x01,0x09,0xbf]
566
567s_cmp_ge_u32 m0, s1
568// GFX11: encoding: [0x7d,0x01,0x09,0xbf]
569
570s_cmp_ge_u32 s0, exec_lo
571// GFX11: encoding: [0x00,0x7e,0x09,0xbf]
572
573s_cmp_ge_u32 s0, exec_hi
574// GFX11: encoding: [0x00,0x7f,0x09,0xbf]
575
576s_cmp_ge_u32 s0, vcc_lo
577// GFX11: encoding: [0x00,0x6a,0x09,0xbf]
578
579s_cmp_ge_u32 s0, vcc_hi
580// GFX11: encoding: [0x00,0x6b,0x09,0xbf]
581
582s_cmp_ge_u32 s0, m0
583// GFX11: encoding: [0x00,0x7d,0x09,0xbf]
584
585s_cmp_ge_u32 s0, 0
586// GFX11: encoding: [0x00,0x80,0x09,0xbf]
587
588s_cmp_ge_u32 s0, -1
589// GFX11: encoding: [0x00,0xc1,0x09,0xbf]
590
591s_cmp_ge_u32 s0, 0.5
592// GFX11: encoding: [0x00,0xf0,0x09,0xbf]
593
594s_cmp_ge_u32 s0, -4.0
595// GFX11: encoding: [0x00,0xf7,0x09,0xbf]
596
597s_cmp_ge_u32 s0, 0x3f717273
598// GFX11: encoding: [0x00,0xff,0x09,0xbf,0x73,0x72,0x71,0x3f]
599
600s_cmp_ge_u32 s0, 0xaf123456
601// GFX11: encoding: [0x00,0xff,0x09,0xbf,0x56,0x34,0x12,0xaf]
602
603s_cmp_lt_u32 s0, s1
604// GFX11: encoding: [0x00,0x01,0x0a,0xbf]
605
606s_cmp_lt_u32 s105, s104
607// GFX11: encoding: [0x69,0x68,0x0a,0xbf]
608
609s_cmp_lt_u32 s0, s104
610// GFX11: encoding: [0x00,0x68,0x0a,0xbf]
611
612s_cmp_lt_u32 s105, s1
613// GFX11: encoding: [0x69,0x01,0x0a,0xbf]
614
615s_cmp_lt_u32 exec_lo, s1
616// GFX11: encoding: [0x7e,0x01,0x0a,0xbf]
617
618s_cmp_lt_u32 exec_hi, s1
619// GFX11: encoding: [0x7f,0x01,0x0a,0xbf]
620
621s_cmp_lt_u32 vcc_lo, s1
622// GFX11: encoding: [0x6a,0x01,0x0a,0xbf]
623
624s_cmp_lt_u32 vcc_hi, s1
625// GFX11: encoding: [0x6b,0x01,0x0a,0xbf]
626
627s_cmp_lt_u32 m0, s1
628// GFX11: encoding: [0x7d,0x01,0x0a,0xbf]
629
630s_cmp_lt_u32 s0, exec_lo
631// GFX11: encoding: [0x00,0x7e,0x0a,0xbf]
632
633s_cmp_lt_u32 s0, exec_hi
634// GFX11: encoding: [0x00,0x7f,0x0a,0xbf]
635
636s_cmp_lt_u32 s0, vcc_lo
637// GFX11: encoding: [0x00,0x6a,0x0a,0xbf]
638
639s_cmp_lt_u32 s0, vcc_hi
640// GFX11: encoding: [0x00,0x6b,0x0a,0xbf]
641
642s_cmp_lt_u32 s0, m0
643// GFX11: encoding: [0x00,0x7d,0x0a,0xbf]
644
645s_cmp_lt_u32 s0, 0
646// GFX11: encoding: [0x00,0x80,0x0a,0xbf]
647
648s_cmp_lt_u32 s0, -1
649// GFX11: encoding: [0x00,0xc1,0x0a,0xbf]
650
651s_cmp_lt_u32 s0, 0.5
652// GFX11: encoding: [0x00,0xf0,0x0a,0xbf]
653
654s_cmp_lt_u32 s0, -4.0
655// GFX11: encoding: [0x00,0xf7,0x0a,0xbf]
656
657s_cmp_lt_u32 s0, 0x3f717273
658// GFX11: encoding: [0x00,0xff,0x0a,0xbf,0x73,0x72,0x71,0x3f]
659
660s_cmp_lt_u32 s0, 0xaf123456
661// GFX11: encoding: [0x00,0xff,0x0a,0xbf,0x56,0x34,0x12,0xaf]
662
663s_cmp_le_u32 s0, s1
664// GFX11: encoding: [0x00,0x01,0x0b,0xbf]
665
666s_cmp_le_u32 s105, s104
667// GFX11: encoding: [0x69,0x68,0x0b,0xbf]
668
669s_cmp_le_u32 s0, s104
670// GFX11: encoding: [0x00,0x68,0x0b,0xbf]
671
672s_cmp_le_u32 s105, s1
673// GFX11: encoding: [0x69,0x01,0x0b,0xbf]
674
675s_cmp_le_u32 exec_lo, s1
676// GFX11: encoding: [0x7e,0x01,0x0b,0xbf]
677
678s_cmp_le_u32 exec_hi, s1
679// GFX11: encoding: [0x7f,0x01,0x0b,0xbf]
680
681s_cmp_le_u32 vcc_lo, s1
682// GFX11: encoding: [0x6a,0x01,0x0b,0xbf]
683
684s_cmp_le_u32 vcc_hi, s1
685// GFX11: encoding: [0x6b,0x01,0x0b,0xbf]
686
687s_cmp_le_u32 m0, s1
688// GFX11: encoding: [0x7d,0x01,0x0b,0xbf]
689
690s_cmp_le_u32 s0, exec_lo
691// GFX11: encoding: [0x00,0x7e,0x0b,0xbf]
692
693s_cmp_le_u32 s0, exec_hi
694// GFX11: encoding: [0x00,0x7f,0x0b,0xbf]
695
696s_cmp_le_u32 s0, vcc_lo
697// GFX11: encoding: [0x00,0x6a,0x0b,0xbf]
698
699s_cmp_le_u32 s0, vcc_hi
700// GFX11: encoding: [0x00,0x6b,0x0b,0xbf]
701
702s_cmp_le_u32 s0, m0
703// GFX11: encoding: [0x00,0x7d,0x0b,0xbf]
704
705s_cmp_le_u32 s0, 0
706// GFX11: encoding: [0x00,0x80,0x0b,0xbf]
707
708s_cmp_le_u32 s0, -1
709// GFX11: encoding: [0x00,0xc1,0x0b,0xbf]
710
711s_cmp_le_u32 s0, 0.5
712// GFX11: encoding: [0x00,0xf0,0x0b,0xbf]
713
714s_cmp_le_u32 s0, -4.0
715// GFX11: encoding: [0x00,0xf7,0x0b,0xbf]
716
717s_cmp_le_u32 s0, 0x3f717273
718// GFX11: encoding: [0x00,0xff,0x0b,0xbf,0x73,0x72,0x71,0x3f]
719
720s_cmp_le_u32 s0, 0xaf123456
721// GFX11: encoding: [0x00,0xff,0x0b,0xbf,0x56,0x34,0x12,0xaf]
722
723s_bitcmp0_b32 s0, s1
724// GFX11: encoding: [0x00,0x01,0x0c,0xbf]
725
726s_bitcmp0_b32 s105, s104
727// GFX11: encoding: [0x69,0x68,0x0c,0xbf]
728
729s_bitcmp0_b32 s0, s104
730// GFX11: encoding: [0x00,0x68,0x0c,0xbf]
731
732s_bitcmp0_b32 s105, s1
733// GFX11: encoding: [0x69,0x01,0x0c,0xbf]
734
735s_bitcmp0_b32 exec_lo, s1
736// GFX11: encoding: [0x7e,0x01,0x0c,0xbf]
737
738s_bitcmp0_b32 exec_hi, s1
739// GFX11: encoding: [0x7f,0x01,0x0c,0xbf]
740
741s_bitcmp0_b32 vcc_lo, s1
742// GFX11: encoding: [0x6a,0x01,0x0c,0xbf]
743
744s_bitcmp0_b32 vcc_hi, s1
745// GFX11: encoding: [0x6b,0x01,0x0c,0xbf]
746
747s_bitcmp0_b32 m0, s1
748// GFX11: encoding: [0x7d,0x01,0x0c,0xbf]
749
750s_bitcmp0_b32 s0, exec_lo
751// GFX11: encoding: [0x00,0x7e,0x0c,0xbf]
752
753s_bitcmp0_b32 s0, exec_hi
754// GFX11: encoding: [0x00,0x7f,0x0c,0xbf]
755
756s_bitcmp0_b32 s0, vcc_lo
757// GFX11: encoding: [0x00,0x6a,0x0c,0xbf]
758
759s_bitcmp0_b32 s0, vcc_hi
760// GFX11: encoding: [0x00,0x6b,0x0c,0xbf]
761
762s_bitcmp0_b32 s0, m0
763// GFX11: encoding: [0x00,0x7d,0x0c,0xbf]
764
765s_bitcmp0_b32 s0, 0
766// GFX11: encoding: [0x00,0x80,0x0c,0xbf]
767
768s_bitcmp0_b32 s0, -1
769// GFX11: encoding: [0x00,0xc1,0x0c,0xbf]
770
771s_bitcmp0_b32 s0, 0.5
772// GFX11: encoding: [0x00,0xf0,0x0c,0xbf]
773
774s_bitcmp0_b32 s0, -4.0
775// GFX11: encoding: [0x00,0xf7,0x0c,0xbf]
776
777s_bitcmp0_b32 s0, 0x3f717273
778// GFX11: encoding: [0x00,0xff,0x0c,0xbf,0x73,0x72,0x71,0x3f]
779
780s_bitcmp0_b32 s0, 0xaf123456
781// GFX11: encoding: [0x00,0xff,0x0c,0xbf,0x56,0x34,0x12,0xaf]
782
783s_bitcmp1_b32 s0, s1
784// GFX11: encoding: [0x00,0x01,0x0d,0xbf]
785
786s_bitcmp1_b32 s105, s104
787// GFX11: encoding: [0x69,0x68,0x0d,0xbf]
788
789s_bitcmp1_b32 s0, s104
790// GFX11: encoding: [0x00,0x68,0x0d,0xbf]
791
792s_bitcmp1_b32 s105, s1
793// GFX11: encoding: [0x69,0x01,0x0d,0xbf]
794
795s_bitcmp1_b32 exec_lo, s1
796// GFX11: encoding: [0x7e,0x01,0x0d,0xbf]
797
798s_bitcmp1_b32 exec_hi, s1
799// GFX11: encoding: [0x7f,0x01,0x0d,0xbf]
800
801s_bitcmp1_b32 vcc_lo, s1
802// GFX11: encoding: [0x6a,0x01,0x0d,0xbf]
803
804s_bitcmp1_b32 vcc_hi, s1
805// GFX11: encoding: [0x6b,0x01,0x0d,0xbf]
806
807s_bitcmp1_b32 m0, s1
808// GFX11: encoding: [0x7d,0x01,0x0d,0xbf]
809
810s_bitcmp1_b32 s0, exec_lo
811// GFX11: encoding: [0x00,0x7e,0x0d,0xbf]
812
813s_bitcmp1_b32 s0, exec_hi
814// GFX11: encoding: [0x00,0x7f,0x0d,0xbf]
815
816s_bitcmp1_b32 s0, vcc_lo
817// GFX11: encoding: [0x00,0x6a,0x0d,0xbf]
818
819s_bitcmp1_b32 s0, vcc_hi
820// GFX11: encoding: [0x00,0x6b,0x0d,0xbf]
821
822s_bitcmp1_b32 s0, m0
823// GFX11: encoding: [0x00,0x7d,0x0d,0xbf]
824
825s_bitcmp1_b32 s0, 0
826// GFX11: encoding: [0x00,0x80,0x0d,0xbf]
827
828s_bitcmp1_b32 s0, -1
829// GFX11: encoding: [0x00,0xc1,0x0d,0xbf]
830
831s_bitcmp1_b32 s0, 0.5
832// GFX11: encoding: [0x00,0xf0,0x0d,0xbf]
833
834s_bitcmp1_b32 s0, -4.0
835// GFX11: encoding: [0x00,0xf7,0x0d,0xbf]
836
837s_bitcmp1_b32 s0, 0x3f717273
838// GFX11: encoding: [0x00,0xff,0x0d,0xbf,0x73,0x72,0x71,0x3f]
839
840s_bitcmp1_b32 s0, 0xaf123456
841// GFX11: encoding: [0x00,0xff,0x0d,0xbf,0x56,0x34,0x12,0xaf]
842
843s_bitcmp0_b64 s[0:1], s2
844// GFX11: encoding: [0x00,0x02,0x0e,0xbf]
845
846s_bitcmp0_b64 s[104:105], s102
847// GFX11: encoding: [0x68,0x66,0x0e,0xbf]
848
849s_bitcmp0_b64 s[0:1], s102
850// GFX11: encoding: [0x00,0x66,0x0e,0xbf]
851
852s_bitcmp0_b64 s[104:105], s2
853// GFX11: encoding: [0x68,0x02,0x0e,0xbf]
854
855s_bitcmp0_b64 exec, s2
856// GFX11: encoding: [0x7e,0x02,0x0e,0xbf]
857
858s_bitcmp0_b64 vcc, s2
859// GFX11: encoding: [0x6a,0x02,0x0e,0xbf]
860
861s_bitcmp0_b64 s[0:1], exec_lo
862// GFX11: encoding: [0x00,0x7e,0x0e,0xbf]
863
864s_bitcmp0_b64 s[0:1], exec_hi
865// GFX11: encoding: [0x00,0x7f,0x0e,0xbf]
866
867s_bitcmp0_b64 s[0:1], vcc_lo
868// GFX11: encoding: [0x00,0x6a,0x0e,0xbf]
869
870s_bitcmp0_b64 s[0:1], vcc_hi
871// GFX11: encoding: [0x00,0x6b,0x0e,0xbf]
872
873s_bitcmp0_b64 s[0:1], m0
874// GFX11: encoding: [0x00,0x7d,0x0e,0xbf]
875
876s_bitcmp0_b64 s[0:1], 0
877// GFX11: encoding: [0x00,0x80,0x0e,0xbf]
878
879s_bitcmp0_b64 s[0:1], -1
880// GFX11: encoding: [0x00,0xc1,0x0e,0xbf]
881
882s_bitcmp0_b64 s[0:1], 0.5
883// GFX11: encoding: [0x00,0xf0,0x0e,0xbf]
884
885s_bitcmp0_b64 s[0:1], -4.0
886// GFX11: encoding: [0x00,0xf7,0x0e,0xbf]
887
888s_bitcmp0_b64 s[0:1], 0x3f717273
889// GFX11: encoding: [0x00,0xff,0x0e,0xbf,0x73,0x72,0x71,0x3f]
890
891s_bitcmp0_b64 s[0:1], 0xaf123456
892// GFX11: encoding: [0x00,0xff,0x0e,0xbf,0x56,0x34,0x12,0xaf]
893
894s_bitcmp1_b64 s[0:1], s2
895// GFX11: encoding: [0x00,0x02,0x0f,0xbf]
896
897s_bitcmp1_b64 s[104:105], s102
898// GFX11: encoding: [0x68,0x66,0x0f,0xbf]
899
900s_bitcmp1_b64 s[0:1], s102
901// GFX11: encoding: [0x00,0x66,0x0f,0xbf]
902
903s_bitcmp1_b64 s[104:105], s2
904// GFX11: encoding: [0x68,0x02,0x0f,0xbf]
905
906s_bitcmp1_b64 exec, s2
907// GFX11: encoding: [0x7e,0x02,0x0f,0xbf]
908
909s_bitcmp1_b64 vcc, s2
910// GFX11: encoding: [0x6a,0x02,0x0f,0xbf]
911
912s_bitcmp1_b64 s[0:1], exec_lo
913// GFX11: encoding: [0x00,0x7e,0x0f,0xbf]
914
915s_bitcmp1_b64 s[0:1], exec_hi
916// GFX11: encoding: [0x00,0x7f,0x0f,0xbf]
917
918s_bitcmp1_b64 s[0:1], vcc_lo
919// GFX11: encoding: [0x00,0x6a,0x0f,0xbf]
920
921s_bitcmp1_b64 s[0:1], vcc_hi
922// GFX11: encoding: [0x00,0x6b,0x0f,0xbf]
923
924s_bitcmp1_b64 s[0:1], m0
925// GFX11: encoding: [0x00,0x7d,0x0f,0xbf]
926
927s_bitcmp1_b64 s[0:1], 0
928// GFX11: encoding: [0x00,0x80,0x0f,0xbf]
929
930s_bitcmp1_b64 s[0:1], -1
931// GFX11: encoding: [0x00,0xc1,0x0f,0xbf]
932
933s_bitcmp1_b64 s[0:1], 0.5
934// GFX11: encoding: [0x00,0xf0,0x0f,0xbf]
935
936s_bitcmp1_b64 s[0:1], -4.0
937// GFX11: encoding: [0x00,0xf7,0x0f,0xbf]
938
939s_bitcmp1_b64 s[0:1], 0x3f717273
940// GFX11: encoding: [0x00,0xff,0x0f,0xbf,0x73,0x72,0x71,0x3f]
941
942s_bitcmp1_b64 s[0:1], 0xaf123456
943// GFX11: encoding: [0x00,0xff,0x0f,0xbf,0x56,0x34,0x12,0xaf]
944
945s_cmp_eq_u64 s[0:1], s[2:3]
946// GFX11: encoding: [0x00,0x02,0x10,0xbf]
947
948s_cmp_eq_u64 s[104:105], s[102:103]
949// GFX11: encoding: [0x68,0x66,0x10,0xbf]
950
951s_cmp_eq_u64 s[0:1], s[102:103]
952// GFX11: encoding: [0x00,0x66,0x10,0xbf]
953
954s_cmp_eq_u64 s[104:105], s[2:3]
955// GFX11: encoding: [0x68,0x02,0x10,0xbf]
956
957s_cmp_eq_u64 exec, s[2:3]
958// GFX11: encoding: [0x7e,0x02,0x10,0xbf]
959
960s_cmp_eq_u64 vcc, s[2:3]
961// GFX11: encoding: [0x6a,0x02,0x10,0xbf]
962
963s_cmp_eq_u64 s[0:1], exec
964// GFX11: encoding: [0x00,0x7e,0x10,0xbf]
965
966s_cmp_eq_u64 s[0:1], vcc
967// GFX11: encoding: [0x00,0x6a,0x10,0xbf]
968
969s_cmp_eq_u64 s[0:1], 0
970// GFX11: encoding: [0x00,0x80,0x10,0xbf]
971
972s_cmp_eq_u64 s[0:1], -1
973// GFX11: encoding: [0x00,0xc1,0x10,0xbf]
974
975s_cmp_eq_u64 s[0:1], 0.5
976// GFX11: encoding: [0x00,0xf0,0x10,0xbf]
977
978s_cmp_eq_u64 s[0:1], -4.0
979// GFX11: encoding: [0x00,0xf7,0x10,0xbf]
980
981s_cmp_eq_u64 s[0:1], 0x3f717273
982// GFX11: encoding: [0x00,0xff,0x10,0xbf,0x73,0x72,0x71,0x3f]
983
984s_cmp_eq_u64 s[0:1], 0xaf123456
985// GFX11: encoding: [0x00,0xff,0x10,0xbf,0x56,0x34,0x12,0xaf]
986
987s_cmp_lg_u64 s[0:1], s[2:3]
988// GFX11: encoding: [0x00,0x02,0x11,0xbf]
989
990s_cmp_lg_u64 s[104:105], s[102:103]
991// GFX11: encoding: [0x68,0x66,0x11,0xbf]
992
993s_cmp_lg_u64 s[0:1], s[102:103]
994// GFX11: encoding: [0x00,0x66,0x11,0xbf]
995
996s_cmp_lg_u64 s[104:105], s[2:3]
997// GFX11: encoding: [0x68,0x02,0x11,0xbf]
998
999s_cmp_lg_u64 exec, s[2:3]
1000// GFX11: encoding: [0x7e,0x02,0x11,0xbf]
1001
1002s_cmp_lg_u64 vcc, s[2:3]
1003// GFX11: encoding: [0x6a,0x02,0x11,0xbf]
1004
1005s_cmp_lg_u64 s[0:1], exec
1006// GFX11: encoding: [0x00,0x7e,0x11,0xbf]
1007
1008s_cmp_lg_u64 s[0:1], vcc
1009// GFX11: encoding: [0x00,0x6a,0x11,0xbf]
1010
1011s_cmp_lg_u64 s[0:1], 0
1012// GFX11: encoding: [0x00,0x80,0x11,0xbf]
1013
1014s_cmp_lg_u64 s[0:1], -1
1015// GFX11: encoding: [0x00,0xc1,0x11,0xbf]
1016
1017s_cmp_lg_u64 s[0:1], 0.5
1018// GFX11: encoding: [0x00,0xf0,0x11,0xbf]
1019
1020s_cmp_lg_u64 s[0:1], -4.0
1021// GFX11: encoding: [0x00,0xf7,0x11,0xbf]
1022
1023s_cmp_lg_u64 s[0:1], 0x3f717273
1024// GFX11: encoding: [0x00,0xff,0x11,0xbf,0x73,0x72,0x71,0x3f]
1025
1026s_cmp_lg_u64 s[0:1], 0xaf123456
1027// GFX11: encoding: [0x00,0xff,0x11,0xbf,0x56,0x34,0x12,0xaf]
1028