xref: /llvm-project/llvm/test/MC/Disassembler/AMDGPU/gfx8_sop2.txt (revision 252c42354eca54274ed7b10c32c73c6937478e8b)
1# RUN: llvm-mc -triple=amdgcn -mcpu=tonga -disassemble -show-encoding < %s | FileCheck -strict-whitespace %s
2
3# CHECK: s_add_u32 s5, s1, s2                    ; encoding: [0x01,0x02,0x05,0x80]
40x01,0x02,0x05,0x80
5
6# CHECK: s_add_u32 s101, s1, s2                  ; encoding: [0x01,0x02,0x65,0x80]
70x01,0x02,0x65,0x80
8
9# CHECK: s_add_u32 flat_scratch_lo, s1, s2       ; encoding: [0x01,0x02,0x66,0x80]
100x01,0x02,0x66,0x80
11
12# CHECK: s_add_u32 flat_scratch_hi, s1, s2       ; encoding: [0x01,0x02,0x67,0x80]
130x01,0x02,0x67,0x80
14
15# CHECK: s_add_u32 vcc_lo, s1, s2                ; encoding: [0x01,0x02,0x6a,0x80]
160x01,0x02,0x6a,0x80
17
18# CHECK: s_add_u32 vcc_hi, s1, s2                ; encoding: [0x01,0x02,0x6b,0x80]
190x01,0x02,0x6b,0x80
20
21# CHECK: s_add_u32 tba_lo, s1, s2                ; encoding: [0x01,0x02,0x6c,0x80]
220x01,0x02,0x6c,0x80
23
24# CHECK: s_add_u32 tba_hi, s1, s2                ; encoding: [0x01,0x02,0x6d,0x80]
250x01,0x02,0x6d,0x80
26
27# CHECK: s_add_u32 tma_lo, s1, s2                ; encoding: [0x01,0x02,0x6e,0x80]
280x01,0x02,0x6e,0x80
29
30# CHECK: s_add_u32 tma_hi, s1, s2                ; encoding: [0x01,0x02,0x6f,0x80]
310x01,0x02,0x6f,0x80
32
33# CHECK: s_add_u32 ttmp11, s1, s2                ; encoding: [0x01,0x02,0x7b,0x80]
340x01,0x02,0x7b,0x80
35
36# CHECK: s_add_u32 m0, s1, s2                    ; encoding: [0x01,0x02,0x7c,0x80]
370x01,0x02,0x7c,0x80
38
39# CHECK: s_add_u32 exec_lo, s1, s2               ; encoding: [0x01,0x02,0x7e,0x80]
400x01,0x02,0x7e,0x80
41
42# CHECK: s_add_u32 exec_hi, s1, s2               ; encoding: [0x01,0x02,0x7f,0x80]
430x01,0x02,0x7f,0x80
44
45# CHECK: s_add_u32 s5, s101, s2                  ; encoding: [0x65,0x02,0x05,0x80]
460x65,0x02,0x05,0x80
47
48# CHECK: s_add_u32 s5, flat_scratch_lo, s2       ; encoding: [0x66,0x02,0x05,0x80]
490x66,0x02,0x05,0x80
50
51# CHECK: s_add_u32 s5, flat_scratch_hi, s2       ; encoding: [0x67,0x02,0x05,0x80]
520x67,0x02,0x05,0x80
53
54# CHECK: s_add_u32 s5, vcc_lo, s2                ; encoding: [0x6a,0x02,0x05,0x80]
550x6a,0x02,0x05,0x80
56
57# CHECK: s_add_u32 s5, vcc_hi, s2                ; encoding: [0x6b,0x02,0x05,0x80]
580x6b,0x02,0x05,0x80
59
60# CHECK: s_add_u32 s5, tba_lo, s2                ; encoding: [0x6c,0x02,0x05,0x80]
610x6c,0x02,0x05,0x80
62
63# CHECK: s_add_u32 s5, tba_hi, s2                ; encoding: [0x6d,0x02,0x05,0x80]
640x6d,0x02,0x05,0x80
65
66# CHECK: s_add_u32 s5, tma_lo, s2                ; encoding: [0x6e,0x02,0x05,0x80]
670x6e,0x02,0x05,0x80
68
69# CHECK: s_add_u32 s5, tma_hi, s2                ; encoding: [0x6f,0x02,0x05,0x80]
700x6f,0x02,0x05,0x80
71
72# CHECK: s_add_u32 s5, ttmp11, s2                ; encoding: [0x7b,0x02,0x05,0x80]
730x7b,0x02,0x05,0x80
74
75# CHECK: s_add_u32 s5, m0, s2                    ; encoding: [0x7c,0x02,0x05,0x80]
760x7c,0x02,0x05,0x80
77
78# CHECK: s_add_u32 s5, exec_lo, s2               ; encoding: [0x7e,0x02,0x05,0x80]
790x7e,0x02,0x05,0x80
80
81# CHECK: s_add_u32 s5, exec_hi, s2               ; encoding: [0x7f,0x02,0x05,0x80]
820x7f,0x02,0x05,0x80
83
84# CHECK: s_add_u32 s5, 0, s2                     ; encoding: [0x80,0x02,0x05,0x80]
850x80,0x02,0x05,0x80
86
87# CHECK: s_add_u32 s5, -1, s2                    ; encoding: [0xc1,0x02,0x05,0x80]
880xc1,0x02,0x05,0x80
89
90# CHECK: s_add_u32 s5, 0.5, s2                   ; encoding: [0xf0,0x02,0x05,0x80]
910xf0,0x02,0x05,0x80
92
93# CHECK: s_add_u32 s5, -4.0, s2                  ; encoding: [0xf7,0x02,0x05,0x80]
940xf7,0x02,0x05,0x80
95
96# CHECK: s_add_u32 s5, 0xaf123456, s2            ; encoding: [0xff,0x02,0x05,0x80,0x56,0x34,0x12,0xaf]
970xff,0x02,0x05,0x80,0x56,0x34,0x12,0xaf
98
99# CHECK: s_add_u32 s5, 0x3f717273, s2            ; encoding: [0xff,0x02,0x05,0x80,0x73,0x72,0x71,0x3f]
1000xff,0x02,0x05,0x80,0x73,0x72,0x71,0x3f
101
102# CHECK: s_add_u32 s5, s1, s101                  ; encoding: [0x01,0x65,0x05,0x80]
1030x01,0x65,0x05,0x80
104
105# CHECK: s_add_u32 s5, s1, flat_scratch_lo       ; encoding: [0x01,0x66,0x05,0x80]
1060x01,0x66,0x05,0x80
107
108# CHECK: s_add_u32 s5, s1, flat_scratch_hi       ; encoding: [0x01,0x67,0x05,0x80]
1090x01,0x67,0x05,0x80
110
111# CHECK: s_add_u32 s5, s1, vcc_lo                ; encoding: [0x01,0x6a,0x05,0x80]
1120x01,0x6a,0x05,0x80
113
114# CHECK: s_add_u32 s5, s1, vcc_hi                ; encoding: [0x01,0x6b,0x05,0x80]
1150x01,0x6b,0x05,0x80
116
117# CHECK: s_add_u32 s5, s1, tba_lo                ; encoding: [0x01,0x6c,0x05,0x80]
1180x01,0x6c,0x05,0x80
119
120# CHECK: s_add_u32 s5, s1, tba_hi                ; encoding: [0x01,0x6d,0x05,0x80]
1210x01,0x6d,0x05,0x80
122
123# CHECK: s_add_u32 s5, s1, tma_lo                ; encoding: [0x01,0x6e,0x05,0x80]
1240x01,0x6e,0x05,0x80
125
126# CHECK: s_add_u32 s5, s1, tma_hi                ; encoding: [0x01,0x6f,0x05,0x80]
1270x01,0x6f,0x05,0x80
128
129# CHECK: s_add_u32 s5, s1, ttmp11                ; encoding: [0x01,0x7b,0x05,0x80]
1300x01,0x7b,0x05,0x80
131
132# CHECK: s_add_u32 s5, s1, m0                    ; encoding: [0x01,0x7c,0x05,0x80]
1330x01,0x7c,0x05,0x80
134
135# CHECK: s_add_u32 s5, s1, exec_lo               ; encoding: [0x01,0x7e,0x05,0x80]
1360x01,0x7e,0x05,0x80
137
138# CHECK: s_add_u32 s5, s1, exec_hi               ; encoding: [0x01,0x7f,0x05,0x80]
1390x01,0x7f,0x05,0x80
140
141# CHECK: s_add_u32 s5, s1, 0                     ; encoding: [0x01,0x80,0x05,0x80]
1420x01,0x80,0x05,0x80
143
144# CHECK: s_add_u32 s5, s1, -1                    ; encoding: [0x01,0xc1,0x05,0x80]
1450x01,0xc1,0x05,0x80
146
147# CHECK: s_add_u32 s5, s1, 0.5                   ; encoding: [0x01,0xf0,0x05,0x80]
1480x01,0xf0,0x05,0x80
149
150# CHECK: s_add_u32 s5, s1, -4.0                  ; encoding: [0x01,0xf7,0x05,0x80]
1510x01,0xf7,0x05,0x80
152
153# CHECK: s_add_u32 s5, s1, 0xaf123456            ; encoding: [0x01,0xff,0x05,0x80,0x56,0x34,0x12,0xaf]
1540x01,0xff,0x05,0x80,0x56,0x34,0x12,0xaf
155
156# CHECK: s_add_u32 s5, s1, 0x3f717273            ; encoding: [0x01,0xff,0x05,0x80,0x73,0x72,0x71,0x3f]
1570x01,0xff,0x05,0x80,0x73,0x72,0x71,0x3f
158
159# CHECK: s_sub_u32 s5, s1, s2                    ; encoding: [0x01,0x02,0x85,0x80]
1600x01,0x02,0x85,0x80
161
162# CHECK: s_sub_u32 s101, s1, s2                  ; encoding: [0x01,0x02,0xe5,0x80]
1630x01,0x02,0xe5,0x80
164
165# CHECK: s_sub_u32 flat_scratch_lo, s1, s2       ; encoding: [0x01,0x02,0xe6,0x80]
1660x01,0x02,0xe6,0x80
167
168# CHECK: s_sub_u32 flat_scratch_hi, s1, s2       ; encoding: [0x01,0x02,0xe7,0x80]
1690x01,0x02,0xe7,0x80
170
171# CHECK: s_sub_u32 vcc_lo, s1, s2                ; encoding: [0x01,0x02,0xea,0x80]
1720x01,0x02,0xea,0x80
173
174# CHECK: s_sub_u32 vcc_hi, s1, s2                ; encoding: [0x01,0x02,0xeb,0x80]
1750x01,0x02,0xeb,0x80
176
177# CHECK: s_sub_u32 tba_lo, s1, s2                ; encoding: [0x01,0x02,0xec,0x80]
1780x01,0x02,0xec,0x80
179
180# CHECK: s_sub_u32 tba_hi, s1, s2                ; encoding: [0x01,0x02,0xed,0x80]
1810x01,0x02,0xed,0x80
182
183# CHECK: s_sub_u32 tma_lo, s1, s2                ; encoding: [0x01,0x02,0xee,0x80]
1840x01,0x02,0xee,0x80
185
186# CHECK: s_sub_u32 tma_hi, s1, s2                ; encoding: [0x01,0x02,0xef,0x80]
1870x01,0x02,0xef,0x80
188
189# CHECK: s_sub_u32 ttmp11, s1, s2                ; encoding: [0x01,0x02,0xfb,0x80]
1900x01,0x02,0xfb,0x80
191
192# CHECK: s_sub_u32 m0, s1, s2                    ; encoding: [0x01,0x02,0xfc,0x80]
1930x01,0x02,0xfc,0x80
194
195# CHECK: s_sub_u32 exec_lo, s1, s2               ; encoding: [0x01,0x02,0xfe,0x80]
1960x01,0x02,0xfe,0x80
197
198# CHECK: s_sub_u32 exec_hi, s1, s2               ; encoding: [0x01,0x02,0xff,0x80]
1990x01,0x02,0xff,0x80
200
201# CHECK: s_sub_u32 s5, s101, s2                  ; encoding: [0x65,0x02,0x85,0x80]
2020x65,0x02,0x85,0x80
203
204# CHECK: s_sub_u32 s5, flat_scratch_lo, s2       ; encoding: [0x66,0x02,0x85,0x80]
2050x66,0x02,0x85,0x80
206
207# CHECK: s_sub_u32 s5, flat_scratch_hi, s2       ; encoding: [0x67,0x02,0x85,0x80]
2080x67,0x02,0x85,0x80
209
210# CHECK: s_sub_u32 s5, vcc_lo, s2                ; encoding: [0x6a,0x02,0x85,0x80]
2110x6a,0x02,0x85,0x80
212
213# CHECK: s_sub_u32 s5, vcc_hi, s2                ; encoding: [0x6b,0x02,0x85,0x80]
2140x6b,0x02,0x85,0x80
215
216# CHECK: s_sub_u32 s5, tba_lo, s2                ; encoding: [0x6c,0x02,0x85,0x80]
2170x6c,0x02,0x85,0x80
218
219# CHECK: s_sub_u32 s5, tba_hi, s2                ; encoding: [0x6d,0x02,0x85,0x80]
2200x6d,0x02,0x85,0x80
221
222# CHECK: s_sub_u32 s5, tma_lo, s2                ; encoding: [0x6e,0x02,0x85,0x80]
2230x6e,0x02,0x85,0x80
224
225# CHECK: s_sub_u32 s5, tma_hi, s2                ; encoding: [0x6f,0x02,0x85,0x80]
2260x6f,0x02,0x85,0x80
227
228# CHECK: s_sub_u32 s5, ttmp11, s2                ; encoding: [0x7b,0x02,0x85,0x80]
2290x7b,0x02,0x85,0x80
230
231# CHECK: s_sub_u32 s5, m0, s2                    ; encoding: [0x7c,0x02,0x85,0x80]
2320x7c,0x02,0x85,0x80
233
234# CHECK: s_sub_u32 s5, exec_lo, s2               ; encoding: [0x7e,0x02,0x85,0x80]
2350x7e,0x02,0x85,0x80
236
237# CHECK: s_sub_u32 s5, exec_hi, s2               ; encoding: [0x7f,0x02,0x85,0x80]
2380x7f,0x02,0x85,0x80
239
240# CHECK: s_sub_u32 s5, 0, s2                     ; encoding: [0x80,0x02,0x85,0x80]
2410x80,0x02,0x85,0x80
242
243# CHECK: s_sub_u32 s5, -1, s2                    ; encoding: [0xc1,0x02,0x85,0x80]
2440xc1,0x02,0x85,0x80
245
246# CHECK: s_sub_u32 s5, 0.5, s2                   ; encoding: [0xf0,0x02,0x85,0x80]
2470xf0,0x02,0x85,0x80
248
249# CHECK: s_sub_u32 s5, -4.0, s2                  ; encoding: [0xf7,0x02,0x85,0x80]
2500xf7,0x02,0x85,0x80
251
252# CHECK: s_sub_u32 s5, 0xaf123456, s2            ; encoding: [0xff,0x02,0x85,0x80,0x56,0x34,0x12,0xaf]
2530xff,0x02,0x85,0x80,0x56,0x34,0x12,0xaf
254
255# CHECK: s_sub_u32 s5, 0x3f717273, s2            ; encoding: [0xff,0x02,0x85,0x80,0x73,0x72,0x71,0x3f]
2560xff,0x02,0x85,0x80,0x73,0x72,0x71,0x3f
257
258# CHECK: s_sub_u32 s5, s1, s101                  ; encoding: [0x01,0x65,0x85,0x80]
2590x01,0x65,0x85,0x80
260
261# CHECK: s_sub_u32 s5, s1, flat_scratch_lo       ; encoding: [0x01,0x66,0x85,0x80]
2620x01,0x66,0x85,0x80
263
264# CHECK: s_sub_u32 s5, s1, flat_scratch_hi       ; encoding: [0x01,0x67,0x85,0x80]
2650x01,0x67,0x85,0x80
266
267# CHECK: s_sub_u32 s5, s1, vcc_lo                ; encoding: [0x01,0x6a,0x85,0x80]
2680x01,0x6a,0x85,0x80
269
270# CHECK: s_sub_u32 s5, s1, vcc_hi                ; encoding: [0x01,0x6b,0x85,0x80]
2710x01,0x6b,0x85,0x80
272
273# CHECK: s_sub_u32 s5, s1, tba_lo                ; encoding: [0x01,0x6c,0x85,0x80]
2740x01,0x6c,0x85,0x80
275
276# CHECK: s_sub_u32 s5, s1, tba_hi                ; encoding: [0x01,0x6d,0x85,0x80]
2770x01,0x6d,0x85,0x80
278
279# CHECK: s_sub_u32 s5, s1, tma_lo                ; encoding: [0x01,0x6e,0x85,0x80]
2800x01,0x6e,0x85,0x80
281
282# CHECK: s_sub_u32 s5, s1, tma_hi                ; encoding: [0x01,0x6f,0x85,0x80]
2830x01,0x6f,0x85,0x80
284
285# CHECK: s_sub_u32 s5, s1, ttmp11                ; encoding: [0x01,0x7b,0x85,0x80]
2860x01,0x7b,0x85,0x80
287
288# CHECK: s_sub_u32 s5, s1, m0                    ; encoding: [0x01,0x7c,0x85,0x80]
2890x01,0x7c,0x85,0x80
290
291# CHECK: s_sub_u32 s5, s1, exec_lo               ; encoding: [0x01,0x7e,0x85,0x80]
2920x01,0x7e,0x85,0x80
293
294# CHECK: s_sub_u32 s5, s1, exec_hi               ; encoding: [0x01,0x7f,0x85,0x80]
2950x01,0x7f,0x85,0x80
296
297# CHECK: s_sub_u32 s5, s1, 0                     ; encoding: [0x01,0x80,0x85,0x80]
2980x01,0x80,0x85,0x80
299
300# CHECK: s_sub_u32 s5, s1, -1                    ; encoding: [0x01,0xc1,0x85,0x80]
3010x01,0xc1,0x85,0x80
302
303# CHECK: s_sub_u32 s5, s1, 0.5                   ; encoding: [0x01,0xf0,0x85,0x80]
3040x01,0xf0,0x85,0x80
305
306# CHECK: s_sub_u32 s5, s1, -4.0                  ; encoding: [0x01,0xf7,0x85,0x80]
3070x01,0xf7,0x85,0x80
308
309# CHECK: s_sub_u32 s5, s1, 0xaf123456            ; encoding: [0x01,0xff,0x85,0x80,0x56,0x34,0x12,0xaf]
3100x01,0xff,0x85,0x80,0x56,0x34,0x12,0xaf
311
312# CHECK: s_sub_u32 s5, s1, 0x3f717273            ; encoding: [0x01,0xff,0x85,0x80,0x73,0x72,0x71,0x3f]
3130x01,0xff,0x85,0x80,0x73,0x72,0x71,0x3f
314
315# CHECK: s_add_i32 s5, s1, s2                    ; encoding: [0x01,0x02,0x05,0x81]
3160x01,0x02,0x05,0x81
317
318# CHECK: s_add_i32 s101, s1, s2                  ; encoding: [0x01,0x02,0x65,0x81]
3190x01,0x02,0x65,0x81
320
321# CHECK: s_add_i32 flat_scratch_lo, s1, s2       ; encoding: [0x01,0x02,0x66,0x81]
3220x01,0x02,0x66,0x81
323
324# CHECK: s_add_i32 flat_scratch_hi, s1, s2       ; encoding: [0x01,0x02,0x67,0x81]
3250x01,0x02,0x67,0x81
326
327# CHECK: s_add_i32 vcc_lo, s1, s2                ; encoding: [0x01,0x02,0x6a,0x81]
3280x01,0x02,0x6a,0x81
329
330# CHECK: s_add_i32 vcc_hi, s1, s2                ; encoding: [0x01,0x02,0x6b,0x81]
3310x01,0x02,0x6b,0x81
332
333# CHECK: s_add_i32 tba_lo, s1, s2                ; encoding: [0x01,0x02,0x6c,0x81]
3340x01,0x02,0x6c,0x81
335
336# CHECK: s_add_i32 tba_hi, s1, s2                ; encoding: [0x01,0x02,0x6d,0x81]
3370x01,0x02,0x6d,0x81
338
339# CHECK: s_add_i32 tma_lo, s1, s2                ; encoding: [0x01,0x02,0x6e,0x81]
3400x01,0x02,0x6e,0x81
341
342# CHECK: s_add_i32 tma_hi, s1, s2                ; encoding: [0x01,0x02,0x6f,0x81]
3430x01,0x02,0x6f,0x81
344
345# CHECK: s_add_i32 ttmp11, s1, s2                ; encoding: [0x01,0x02,0x7b,0x81]
3460x01,0x02,0x7b,0x81
347
348# CHECK: s_add_i32 m0, s1, s2                    ; encoding: [0x01,0x02,0x7c,0x81]
3490x01,0x02,0x7c,0x81
350
351# CHECK: s_add_i32 exec_lo, s1, s2               ; encoding: [0x01,0x02,0x7e,0x81]
3520x01,0x02,0x7e,0x81
353
354# CHECK: s_add_i32 exec_hi, s1, s2               ; encoding: [0x01,0x02,0x7f,0x81]
3550x01,0x02,0x7f,0x81
356
357# CHECK: s_add_i32 s5, s101, s2                  ; encoding: [0x65,0x02,0x05,0x81]
3580x65,0x02,0x05,0x81
359
360# CHECK: s_add_i32 s5, flat_scratch_lo, s2       ; encoding: [0x66,0x02,0x05,0x81]
3610x66,0x02,0x05,0x81
362
363# CHECK: s_add_i32 s5, flat_scratch_hi, s2       ; encoding: [0x67,0x02,0x05,0x81]
3640x67,0x02,0x05,0x81
365
366# CHECK: s_add_i32 s5, vcc_lo, s2                ; encoding: [0x6a,0x02,0x05,0x81]
3670x6a,0x02,0x05,0x81
368
369# CHECK: s_add_i32 s5, vcc_hi, s2                ; encoding: [0x6b,0x02,0x05,0x81]
3700x6b,0x02,0x05,0x81
371
372# CHECK: s_add_i32 s5, tba_lo, s2                ; encoding: [0x6c,0x02,0x05,0x81]
3730x6c,0x02,0x05,0x81
374
375# CHECK: s_add_i32 s5, tba_hi, s2                ; encoding: [0x6d,0x02,0x05,0x81]
3760x6d,0x02,0x05,0x81
377
378# CHECK: s_add_i32 s5, tma_lo, s2                ; encoding: [0x6e,0x02,0x05,0x81]
3790x6e,0x02,0x05,0x81
380
381# CHECK: s_add_i32 s5, tma_hi, s2                ; encoding: [0x6f,0x02,0x05,0x81]
3820x6f,0x02,0x05,0x81
383
384# CHECK: s_add_i32 s5, ttmp11, s2                ; encoding: [0x7b,0x02,0x05,0x81]
3850x7b,0x02,0x05,0x81
386
387# CHECK: s_add_i32 s5, m0, s2                    ; encoding: [0x7c,0x02,0x05,0x81]
3880x7c,0x02,0x05,0x81
389
390# CHECK: s_add_i32 s5, exec_lo, s2               ; encoding: [0x7e,0x02,0x05,0x81]
3910x7e,0x02,0x05,0x81
392
393# CHECK: s_add_i32 s5, exec_hi, s2               ; encoding: [0x7f,0x02,0x05,0x81]
3940x7f,0x02,0x05,0x81
395
396# CHECK: s_add_i32 s5, 0, s2                     ; encoding: [0x80,0x02,0x05,0x81]
3970x80,0x02,0x05,0x81
398
399# CHECK: s_add_i32 s5, -1, s2                    ; encoding: [0xc1,0x02,0x05,0x81]
4000xc1,0x02,0x05,0x81
401
402# CHECK: s_add_i32 s5, 0.5, s2                   ; encoding: [0xf0,0x02,0x05,0x81]
4030xf0,0x02,0x05,0x81
404
405# CHECK: s_add_i32 s5, -4.0, s2                  ; encoding: [0xf7,0x02,0x05,0x81]
4060xf7,0x02,0x05,0x81
407
408# CHECK: s_add_i32 s5, 0xaf123456, s2            ; encoding: [0xff,0x02,0x05,0x81,0x56,0x34,0x12,0xaf]
4090xff,0x02,0x05,0x81,0x56,0x34,0x12,0xaf
410
411# CHECK: s_add_i32 s5, 0x3f717273, s2            ; encoding: [0xff,0x02,0x05,0x81,0x73,0x72,0x71,0x3f]
4120xff,0x02,0x05,0x81,0x73,0x72,0x71,0x3f
413
414# CHECK: s_add_i32 s5, s1, s101                  ; encoding: [0x01,0x65,0x05,0x81]
4150x01,0x65,0x05,0x81
416
417# CHECK: s_add_i32 s5, s1, flat_scratch_lo       ; encoding: [0x01,0x66,0x05,0x81]
4180x01,0x66,0x05,0x81
419
420# CHECK: s_add_i32 s5, s1, flat_scratch_hi       ; encoding: [0x01,0x67,0x05,0x81]
4210x01,0x67,0x05,0x81
422
423# CHECK: s_add_i32 s5, s1, vcc_lo                ; encoding: [0x01,0x6a,0x05,0x81]
4240x01,0x6a,0x05,0x81
425
426# CHECK: s_add_i32 s5, s1, vcc_hi                ; encoding: [0x01,0x6b,0x05,0x81]
4270x01,0x6b,0x05,0x81
428
429# CHECK: s_add_i32 s5, s1, tba_lo                ; encoding: [0x01,0x6c,0x05,0x81]
4300x01,0x6c,0x05,0x81
431
432# CHECK: s_add_i32 s5, s1, tba_hi                ; encoding: [0x01,0x6d,0x05,0x81]
4330x01,0x6d,0x05,0x81
434
435# CHECK: s_add_i32 s5, s1, tma_lo                ; encoding: [0x01,0x6e,0x05,0x81]
4360x01,0x6e,0x05,0x81
437
438# CHECK: s_add_i32 s5, s1, tma_hi                ; encoding: [0x01,0x6f,0x05,0x81]
4390x01,0x6f,0x05,0x81
440
441# CHECK: s_add_i32 s5, s1, ttmp11                ; encoding: [0x01,0x7b,0x05,0x81]
4420x01,0x7b,0x05,0x81
443
444# CHECK: s_add_i32 s5, s1, m0                    ; encoding: [0x01,0x7c,0x05,0x81]
4450x01,0x7c,0x05,0x81
446
447# CHECK: s_add_i32 s5, s1, exec_lo               ; encoding: [0x01,0x7e,0x05,0x81]
4480x01,0x7e,0x05,0x81
449
450# CHECK: s_add_i32 s5, s1, exec_hi               ; encoding: [0x01,0x7f,0x05,0x81]
4510x01,0x7f,0x05,0x81
452
453# CHECK: s_add_i32 s5, s1, 0                     ; encoding: [0x01,0x80,0x05,0x81]
4540x01,0x80,0x05,0x81
455
456# CHECK: s_add_i32 s5, s1, -1                    ; encoding: [0x01,0xc1,0x05,0x81]
4570x01,0xc1,0x05,0x81
458
459# CHECK: s_add_i32 s5, s1, 0.5                   ; encoding: [0x01,0xf0,0x05,0x81]
4600x01,0xf0,0x05,0x81
461
462# CHECK: s_add_i32 s5, s1, -4.0                  ; encoding: [0x01,0xf7,0x05,0x81]
4630x01,0xf7,0x05,0x81
464
465# CHECK: s_add_i32 s5, s1, 0xaf123456            ; encoding: [0x01,0xff,0x05,0x81,0x56,0x34,0x12,0xaf]
4660x01,0xff,0x05,0x81,0x56,0x34,0x12,0xaf
467
468# CHECK: s_add_i32 s5, s1, 0x3f717273            ; encoding: [0x01,0xff,0x05,0x81,0x73,0x72,0x71,0x3f]
4690x01,0xff,0x05,0x81,0x73,0x72,0x71,0x3f
470
471# CHECK: s_sub_i32 s5, s1, s2                    ; encoding: [0x01,0x02,0x85,0x81]
4720x01,0x02,0x85,0x81
473
474# CHECK: s_sub_i32 s101, s1, s2                  ; encoding: [0x01,0x02,0xe5,0x81]
4750x01,0x02,0xe5,0x81
476
477# CHECK: s_sub_i32 flat_scratch_lo, s1, s2       ; encoding: [0x01,0x02,0xe6,0x81]
4780x01,0x02,0xe6,0x81
479
480# CHECK: s_sub_i32 flat_scratch_hi, s1, s2       ; encoding: [0x01,0x02,0xe7,0x81]
4810x01,0x02,0xe7,0x81
482
483# CHECK: s_sub_i32 vcc_lo, s1, s2                ; encoding: [0x01,0x02,0xea,0x81]
4840x01,0x02,0xea,0x81
485
486# CHECK: s_sub_i32 vcc_hi, s1, s2                ; encoding: [0x01,0x02,0xeb,0x81]
4870x01,0x02,0xeb,0x81
488
489# CHECK: s_sub_i32 tba_lo, s1, s2                ; encoding: [0x01,0x02,0xec,0x81]
4900x01,0x02,0xec,0x81
491
492# CHECK: s_sub_i32 tba_hi, s1, s2                ; encoding: [0x01,0x02,0xed,0x81]
4930x01,0x02,0xed,0x81
494
495# CHECK: s_sub_i32 tma_lo, s1, s2                ; encoding: [0x01,0x02,0xee,0x81]
4960x01,0x02,0xee,0x81
497
498# CHECK: s_sub_i32 tma_hi, s1, s2                ; encoding: [0x01,0x02,0xef,0x81]
4990x01,0x02,0xef,0x81
500
501# CHECK: s_sub_i32 ttmp11, s1, s2                ; encoding: [0x01,0x02,0xfb,0x81]
5020x01,0x02,0xfb,0x81
503
504# CHECK: s_sub_i32 m0, s1, s2                    ; encoding: [0x01,0x02,0xfc,0x81]
5050x01,0x02,0xfc,0x81
506
507# CHECK: s_sub_i32 exec_lo, s1, s2               ; encoding: [0x01,0x02,0xfe,0x81]
5080x01,0x02,0xfe,0x81
509
510# CHECK: s_sub_i32 exec_hi, s1, s2               ; encoding: [0x01,0x02,0xff,0x81]
5110x01,0x02,0xff,0x81
512
513# CHECK: s_sub_i32 s5, s101, s2                  ; encoding: [0x65,0x02,0x85,0x81]
5140x65,0x02,0x85,0x81
515
516# CHECK: s_sub_i32 s5, flat_scratch_lo, s2       ; encoding: [0x66,0x02,0x85,0x81]
5170x66,0x02,0x85,0x81
518
519# CHECK: s_sub_i32 s5, flat_scratch_hi, s2       ; encoding: [0x67,0x02,0x85,0x81]
5200x67,0x02,0x85,0x81
521
522# CHECK: s_sub_i32 s5, vcc_lo, s2                ; encoding: [0x6a,0x02,0x85,0x81]
5230x6a,0x02,0x85,0x81
524
525# CHECK: s_sub_i32 s5, vcc_hi, s2                ; encoding: [0x6b,0x02,0x85,0x81]
5260x6b,0x02,0x85,0x81
527
528# CHECK: s_sub_i32 s5, tba_lo, s2                ; encoding: [0x6c,0x02,0x85,0x81]
5290x6c,0x02,0x85,0x81
530
531# CHECK: s_sub_i32 s5, tba_hi, s2                ; encoding: [0x6d,0x02,0x85,0x81]
5320x6d,0x02,0x85,0x81
533
534# CHECK: s_sub_i32 s5, tma_lo, s2                ; encoding: [0x6e,0x02,0x85,0x81]
5350x6e,0x02,0x85,0x81
536
537# CHECK: s_sub_i32 s5, tma_hi, s2                ; encoding: [0x6f,0x02,0x85,0x81]
5380x6f,0x02,0x85,0x81
539
540# CHECK: s_sub_i32 s5, ttmp11, s2                ; encoding: [0x7b,0x02,0x85,0x81]
5410x7b,0x02,0x85,0x81
542
543# CHECK: s_sub_i32 s5, m0, s2                    ; encoding: [0x7c,0x02,0x85,0x81]
5440x7c,0x02,0x85,0x81
545
546# CHECK: s_sub_i32 s5, exec_lo, s2               ; encoding: [0x7e,0x02,0x85,0x81]
5470x7e,0x02,0x85,0x81
548
549# CHECK: s_sub_i32 s5, exec_hi, s2               ; encoding: [0x7f,0x02,0x85,0x81]
5500x7f,0x02,0x85,0x81
551
552# CHECK: s_sub_i32 s5, 0, s2                     ; encoding: [0x80,0x02,0x85,0x81]
5530x80,0x02,0x85,0x81
554
555# CHECK: s_sub_i32 s5, -1, s2                    ; encoding: [0xc1,0x02,0x85,0x81]
5560xc1,0x02,0x85,0x81
557
558# CHECK: s_sub_i32 s5, 0.5, s2                   ; encoding: [0xf0,0x02,0x85,0x81]
5590xf0,0x02,0x85,0x81
560
561# CHECK: s_sub_i32 s5, -4.0, s2                  ; encoding: [0xf7,0x02,0x85,0x81]
5620xf7,0x02,0x85,0x81
563
564# CHECK: s_sub_i32 s5, 0xaf123456, s2            ; encoding: [0xff,0x02,0x85,0x81,0x56,0x34,0x12,0xaf]
5650xff,0x02,0x85,0x81,0x56,0x34,0x12,0xaf
566
567# CHECK: s_sub_i32 s5, 0x3f717273, s2            ; encoding: [0xff,0x02,0x85,0x81,0x73,0x72,0x71,0x3f]
5680xff,0x02,0x85,0x81,0x73,0x72,0x71,0x3f
569
570# CHECK: s_sub_i32 s5, s1, s101                  ; encoding: [0x01,0x65,0x85,0x81]
5710x01,0x65,0x85,0x81
572
573# CHECK: s_sub_i32 s5, s1, flat_scratch_lo       ; encoding: [0x01,0x66,0x85,0x81]
5740x01,0x66,0x85,0x81
575
576# CHECK: s_sub_i32 s5, s1, flat_scratch_hi       ; encoding: [0x01,0x67,0x85,0x81]
5770x01,0x67,0x85,0x81
578
579# CHECK: s_sub_i32 s5, s1, vcc_lo                ; encoding: [0x01,0x6a,0x85,0x81]
5800x01,0x6a,0x85,0x81
581
582# CHECK: s_sub_i32 s5, s1, vcc_hi                ; encoding: [0x01,0x6b,0x85,0x81]
5830x01,0x6b,0x85,0x81
584
585# CHECK: s_sub_i32 s5, s1, tba_lo                ; encoding: [0x01,0x6c,0x85,0x81]
5860x01,0x6c,0x85,0x81
587
588# CHECK: s_sub_i32 s5, s1, tba_hi                ; encoding: [0x01,0x6d,0x85,0x81]
5890x01,0x6d,0x85,0x81
590
591# CHECK: s_sub_i32 s5, s1, tma_lo                ; encoding: [0x01,0x6e,0x85,0x81]
5920x01,0x6e,0x85,0x81
593
594# CHECK: s_sub_i32 s5, s1, tma_hi                ; encoding: [0x01,0x6f,0x85,0x81]
5950x01,0x6f,0x85,0x81
596
597# CHECK: s_sub_i32 s5, s1, ttmp11                ; encoding: [0x01,0x7b,0x85,0x81]
5980x01,0x7b,0x85,0x81
599
600# CHECK: s_sub_i32 s5, s1, m0                    ; encoding: [0x01,0x7c,0x85,0x81]
6010x01,0x7c,0x85,0x81
602
603# CHECK: s_sub_i32 s5, s1, exec_lo               ; encoding: [0x01,0x7e,0x85,0x81]
6040x01,0x7e,0x85,0x81
605
606# CHECK: s_sub_i32 s5, s1, exec_hi               ; encoding: [0x01,0x7f,0x85,0x81]
6070x01,0x7f,0x85,0x81
608
609# CHECK: s_sub_i32 s5, s1, 0                     ; encoding: [0x01,0x80,0x85,0x81]
6100x01,0x80,0x85,0x81
611
612# CHECK: s_sub_i32 s5, s1, -1                    ; encoding: [0x01,0xc1,0x85,0x81]
6130x01,0xc1,0x85,0x81
614
615# CHECK: s_sub_i32 s5, s1, 0.5                   ; encoding: [0x01,0xf0,0x85,0x81]
6160x01,0xf0,0x85,0x81
617
618# CHECK: s_sub_i32 s5, s1, -4.0                  ; encoding: [0x01,0xf7,0x85,0x81]
6190x01,0xf7,0x85,0x81
620
621# CHECK: s_sub_i32 s5, s1, 0xaf123456            ; encoding: [0x01,0xff,0x85,0x81,0x56,0x34,0x12,0xaf]
6220x01,0xff,0x85,0x81,0x56,0x34,0x12,0xaf
623
624# CHECK: s_sub_i32 s5, s1, 0x3f717273            ; encoding: [0x01,0xff,0x85,0x81,0x73,0x72,0x71,0x3f]
6250x01,0xff,0x85,0x81,0x73,0x72,0x71,0x3f
626
627# CHECK: s_addc_u32 s5, s1, s2                   ; encoding: [0x01,0x02,0x05,0x82]
6280x01,0x02,0x05,0x82
629
630# CHECK: s_addc_u32 s101, s1, s2                 ; encoding: [0x01,0x02,0x65,0x82]
6310x01,0x02,0x65,0x82
632
633# CHECK: s_addc_u32 flat_scratch_lo, s1, s2      ; encoding: [0x01,0x02,0x66,0x82]
6340x01,0x02,0x66,0x82
635
636# CHECK: s_addc_u32 flat_scratch_hi, s1, s2      ; encoding: [0x01,0x02,0x67,0x82]
6370x01,0x02,0x67,0x82
638
639# CHECK: s_addc_u32 vcc_lo, s1, s2               ; encoding: [0x01,0x02,0x6a,0x82]
6400x01,0x02,0x6a,0x82
641
642# CHECK: s_addc_u32 vcc_hi, s1, s2               ; encoding: [0x01,0x02,0x6b,0x82]
6430x01,0x02,0x6b,0x82
644
645# CHECK: s_addc_u32 tba_lo, s1, s2               ; encoding: [0x01,0x02,0x6c,0x82]
6460x01,0x02,0x6c,0x82
647
648# CHECK: s_addc_u32 tba_hi, s1, s2               ; encoding: [0x01,0x02,0x6d,0x82]
6490x01,0x02,0x6d,0x82
650
651# CHECK: s_addc_u32 tma_lo, s1, s2               ; encoding: [0x01,0x02,0x6e,0x82]
6520x01,0x02,0x6e,0x82
653
654# CHECK: s_addc_u32 tma_hi, s1, s2               ; encoding: [0x01,0x02,0x6f,0x82]
6550x01,0x02,0x6f,0x82
656
657# CHECK: s_addc_u32 ttmp11, s1, s2               ; encoding: [0x01,0x02,0x7b,0x82]
6580x01,0x02,0x7b,0x82
659
660# CHECK: s_addc_u32 m0, s1, s2                   ; encoding: [0x01,0x02,0x7c,0x82]
6610x01,0x02,0x7c,0x82
662
663# CHECK: s_addc_u32 exec_lo, s1, s2              ; encoding: [0x01,0x02,0x7e,0x82]
6640x01,0x02,0x7e,0x82
665
666# CHECK: s_addc_u32 exec_hi, s1, s2              ; encoding: [0x01,0x02,0x7f,0x82]
6670x01,0x02,0x7f,0x82
668
669# CHECK: s_addc_u32 s5, s101, s2                 ; encoding: [0x65,0x02,0x05,0x82]
6700x65,0x02,0x05,0x82
671
672# CHECK: s_addc_u32 s5, flat_scratch_lo, s2      ; encoding: [0x66,0x02,0x05,0x82]
6730x66,0x02,0x05,0x82
674
675# CHECK: s_addc_u32 s5, flat_scratch_hi, s2      ; encoding: [0x67,0x02,0x05,0x82]
6760x67,0x02,0x05,0x82
677
678# CHECK: s_addc_u32 s5, vcc_lo, s2               ; encoding: [0x6a,0x02,0x05,0x82]
6790x6a,0x02,0x05,0x82
680
681# CHECK: s_addc_u32 s5, vcc_hi, s2               ; encoding: [0x6b,0x02,0x05,0x82]
6820x6b,0x02,0x05,0x82
683
684# CHECK: s_addc_u32 s5, tba_lo, s2               ; encoding: [0x6c,0x02,0x05,0x82]
6850x6c,0x02,0x05,0x82
686
687# CHECK: s_addc_u32 s5, tba_hi, s2               ; encoding: [0x6d,0x02,0x05,0x82]
6880x6d,0x02,0x05,0x82
689
690# CHECK: s_addc_u32 s5, tma_lo, s2               ; encoding: [0x6e,0x02,0x05,0x82]
6910x6e,0x02,0x05,0x82
692
693# CHECK: s_addc_u32 s5, tma_hi, s2               ; encoding: [0x6f,0x02,0x05,0x82]
6940x6f,0x02,0x05,0x82
695
696# CHECK: s_addc_u32 s5, ttmp11, s2               ; encoding: [0x7b,0x02,0x05,0x82]
6970x7b,0x02,0x05,0x82
698
699# CHECK: s_addc_u32 s5, m0, s2                   ; encoding: [0x7c,0x02,0x05,0x82]
7000x7c,0x02,0x05,0x82
701
702# CHECK: s_addc_u32 s5, exec_lo, s2              ; encoding: [0x7e,0x02,0x05,0x82]
7030x7e,0x02,0x05,0x82
704
705# CHECK: s_addc_u32 s5, exec_hi, s2              ; encoding: [0x7f,0x02,0x05,0x82]
7060x7f,0x02,0x05,0x82
707
708# CHECK: s_addc_u32 s5, 0, s2                    ; encoding: [0x80,0x02,0x05,0x82]
7090x80,0x02,0x05,0x82
710
711# CHECK: s_addc_u32 s5, -1, s2                   ; encoding: [0xc1,0x02,0x05,0x82]
7120xc1,0x02,0x05,0x82
713
714# CHECK: s_addc_u32 s5, 0.5, s2                  ; encoding: [0xf0,0x02,0x05,0x82]
7150xf0,0x02,0x05,0x82
716
717# CHECK: s_addc_u32 s5, -4.0, s2                 ; encoding: [0xf7,0x02,0x05,0x82]
7180xf7,0x02,0x05,0x82
719
720# CHECK: s_addc_u32 s5, 0xaf123456, s2           ; encoding: [0xff,0x02,0x05,0x82,0x56,0x34,0x12,0xaf]
7210xff,0x02,0x05,0x82,0x56,0x34,0x12,0xaf
722
723# CHECK: s_addc_u32 s5, 0x3f717273, s2           ; encoding: [0xff,0x02,0x05,0x82,0x73,0x72,0x71,0x3f]
7240xff,0x02,0x05,0x82,0x73,0x72,0x71,0x3f
725
726# CHECK: s_addc_u32 s5, s1, s101                 ; encoding: [0x01,0x65,0x05,0x82]
7270x01,0x65,0x05,0x82
728
729# CHECK: s_addc_u32 s5, s1, flat_scratch_lo      ; encoding: [0x01,0x66,0x05,0x82]
7300x01,0x66,0x05,0x82
731
732# CHECK: s_addc_u32 s5, s1, flat_scratch_hi      ; encoding: [0x01,0x67,0x05,0x82]
7330x01,0x67,0x05,0x82
734
735# CHECK: s_addc_u32 s5, s1, vcc_lo               ; encoding: [0x01,0x6a,0x05,0x82]
7360x01,0x6a,0x05,0x82
737
738# CHECK: s_addc_u32 s5, s1, vcc_hi               ; encoding: [0x01,0x6b,0x05,0x82]
7390x01,0x6b,0x05,0x82
740
741# CHECK: s_addc_u32 s5, s1, tba_lo               ; encoding: [0x01,0x6c,0x05,0x82]
7420x01,0x6c,0x05,0x82
743
744# CHECK: s_addc_u32 s5, s1, tba_hi               ; encoding: [0x01,0x6d,0x05,0x82]
7450x01,0x6d,0x05,0x82
746
747# CHECK: s_addc_u32 s5, s1, tma_lo               ; encoding: [0x01,0x6e,0x05,0x82]
7480x01,0x6e,0x05,0x82
749
750# CHECK: s_addc_u32 s5, s1, tma_hi               ; encoding: [0x01,0x6f,0x05,0x82]
7510x01,0x6f,0x05,0x82
752
753# CHECK: s_addc_u32 s5, s1, ttmp11               ; encoding: [0x01,0x7b,0x05,0x82]
7540x01,0x7b,0x05,0x82
755
756# CHECK: s_addc_u32 s5, s1, m0                   ; encoding: [0x01,0x7c,0x05,0x82]
7570x01,0x7c,0x05,0x82
758
759# CHECK: s_addc_u32 s5, s1, exec_lo              ; encoding: [0x01,0x7e,0x05,0x82]
7600x01,0x7e,0x05,0x82
761
762# CHECK: s_addc_u32 s5, s1, exec_hi              ; encoding: [0x01,0x7f,0x05,0x82]
7630x01,0x7f,0x05,0x82
764
765# CHECK: s_addc_u32 s5, s1, 0                    ; encoding: [0x01,0x80,0x05,0x82]
7660x01,0x80,0x05,0x82
767
768# CHECK: s_addc_u32 s5, s1, -1                   ; encoding: [0x01,0xc1,0x05,0x82]
7690x01,0xc1,0x05,0x82
770
771# CHECK: s_addc_u32 s5, s1, 0.5                  ; encoding: [0x01,0xf0,0x05,0x82]
7720x01,0xf0,0x05,0x82
773
774# CHECK: s_addc_u32 s5, s1, -4.0                 ; encoding: [0x01,0xf7,0x05,0x82]
7750x01,0xf7,0x05,0x82
776
777# CHECK: s_addc_u32 s5, s1, 0xaf123456           ; encoding: [0x01,0xff,0x05,0x82,0x56,0x34,0x12,0xaf]
7780x01,0xff,0x05,0x82,0x56,0x34,0x12,0xaf
779
780# CHECK: s_addc_u32 s5, s1, 0x3f717273           ; encoding: [0x01,0xff,0x05,0x82,0x73,0x72,0x71,0x3f]
7810x01,0xff,0x05,0x82,0x73,0x72,0x71,0x3f
782
783# CHECK: s_subb_u32 s5, s1, s2                   ; encoding: [0x01,0x02,0x85,0x82]
7840x01,0x02,0x85,0x82
785
786# CHECK: s_subb_u32 s101, s1, s2                 ; encoding: [0x01,0x02,0xe5,0x82]
7870x01,0x02,0xe5,0x82
788
789# CHECK: s_subb_u32 flat_scratch_lo, s1, s2      ; encoding: [0x01,0x02,0xe6,0x82]
7900x01,0x02,0xe6,0x82
791
792# CHECK: s_subb_u32 flat_scratch_hi, s1, s2      ; encoding: [0x01,0x02,0xe7,0x82]
7930x01,0x02,0xe7,0x82
794
795# CHECK: s_subb_u32 vcc_lo, s1, s2               ; encoding: [0x01,0x02,0xea,0x82]
7960x01,0x02,0xea,0x82
797
798# CHECK: s_subb_u32 vcc_hi, s1, s2               ; encoding: [0x01,0x02,0xeb,0x82]
7990x01,0x02,0xeb,0x82
800
801# CHECK: s_subb_u32 tba_lo, s1, s2               ; encoding: [0x01,0x02,0xec,0x82]
8020x01,0x02,0xec,0x82
803
804# CHECK: s_subb_u32 tba_hi, s1, s2               ; encoding: [0x01,0x02,0xed,0x82]
8050x01,0x02,0xed,0x82
806
807# CHECK: s_subb_u32 tma_lo, s1, s2               ; encoding: [0x01,0x02,0xee,0x82]
8080x01,0x02,0xee,0x82
809
810# CHECK: s_subb_u32 tma_hi, s1, s2               ; encoding: [0x01,0x02,0xef,0x82]
8110x01,0x02,0xef,0x82
812
813# CHECK: s_subb_u32 ttmp11, s1, s2               ; encoding: [0x01,0x02,0xfb,0x82]
8140x01,0x02,0xfb,0x82
815
816# CHECK: s_subb_u32 m0, s1, s2                   ; encoding: [0x01,0x02,0xfc,0x82]
8170x01,0x02,0xfc,0x82
818
819# CHECK: s_subb_u32 exec_lo, s1, s2              ; encoding: [0x01,0x02,0xfe,0x82]
8200x01,0x02,0xfe,0x82
821
822# CHECK: s_subb_u32 exec_hi, s1, s2              ; encoding: [0x01,0x02,0xff,0x82]
8230x01,0x02,0xff,0x82
824
825# CHECK: s_subb_u32 s5, s101, s2                 ; encoding: [0x65,0x02,0x85,0x82]
8260x65,0x02,0x85,0x82
827
828# CHECK: s_subb_u32 s5, flat_scratch_lo, s2      ; encoding: [0x66,0x02,0x85,0x82]
8290x66,0x02,0x85,0x82
830
831# CHECK: s_subb_u32 s5, flat_scratch_hi, s2      ; encoding: [0x67,0x02,0x85,0x82]
8320x67,0x02,0x85,0x82
833
834# CHECK: s_subb_u32 s5, vcc_lo, s2               ; encoding: [0x6a,0x02,0x85,0x82]
8350x6a,0x02,0x85,0x82
836
837# CHECK: s_subb_u32 s5, vcc_hi, s2               ; encoding: [0x6b,0x02,0x85,0x82]
8380x6b,0x02,0x85,0x82
839
840# CHECK: s_subb_u32 s5, tba_lo, s2               ; encoding: [0x6c,0x02,0x85,0x82]
8410x6c,0x02,0x85,0x82
842
843# CHECK: s_subb_u32 s5, tba_hi, s2               ; encoding: [0x6d,0x02,0x85,0x82]
8440x6d,0x02,0x85,0x82
845
846# CHECK: s_subb_u32 s5, tma_lo, s2               ; encoding: [0x6e,0x02,0x85,0x82]
8470x6e,0x02,0x85,0x82
848
849# CHECK: s_subb_u32 s5, tma_hi, s2               ; encoding: [0x6f,0x02,0x85,0x82]
8500x6f,0x02,0x85,0x82
851
852# CHECK: s_subb_u32 s5, ttmp11, s2               ; encoding: [0x7b,0x02,0x85,0x82]
8530x7b,0x02,0x85,0x82
854
855# CHECK: s_subb_u32 s5, m0, s2                   ; encoding: [0x7c,0x02,0x85,0x82]
8560x7c,0x02,0x85,0x82
857
858# CHECK: s_subb_u32 s5, exec_lo, s2              ; encoding: [0x7e,0x02,0x85,0x82]
8590x7e,0x02,0x85,0x82
860
861# CHECK: s_subb_u32 s5, exec_hi, s2              ; encoding: [0x7f,0x02,0x85,0x82]
8620x7f,0x02,0x85,0x82
863
864# CHECK: s_subb_u32 s5, 0, s2                    ; encoding: [0x80,0x02,0x85,0x82]
8650x80,0x02,0x85,0x82
866
867# CHECK: s_subb_u32 s5, -1, s2                   ; encoding: [0xc1,0x02,0x85,0x82]
8680xc1,0x02,0x85,0x82
869
870# CHECK: s_subb_u32 s5, 0.5, s2                  ; encoding: [0xf0,0x02,0x85,0x82]
8710xf0,0x02,0x85,0x82
872
873# CHECK: s_subb_u32 s5, -4.0, s2                 ; encoding: [0xf7,0x02,0x85,0x82]
8740xf7,0x02,0x85,0x82
875
876# CHECK: s_subb_u32 s5, 0xaf123456, s2           ; encoding: [0xff,0x02,0x85,0x82,0x56,0x34,0x12,0xaf]
8770xff,0x02,0x85,0x82,0x56,0x34,0x12,0xaf
878
879# CHECK: s_subb_u32 s5, 0x3f717273, s2           ; encoding: [0xff,0x02,0x85,0x82,0x73,0x72,0x71,0x3f]
8800xff,0x02,0x85,0x82,0x73,0x72,0x71,0x3f
881
882# CHECK: s_subb_u32 s5, s1, s101                 ; encoding: [0x01,0x65,0x85,0x82]
8830x01,0x65,0x85,0x82
884
885# CHECK: s_subb_u32 s5, s1, flat_scratch_lo      ; encoding: [0x01,0x66,0x85,0x82]
8860x01,0x66,0x85,0x82
887
888# CHECK: s_subb_u32 s5, s1, flat_scratch_hi      ; encoding: [0x01,0x67,0x85,0x82]
8890x01,0x67,0x85,0x82
890
891# CHECK: s_subb_u32 s5, s1, vcc_lo               ; encoding: [0x01,0x6a,0x85,0x82]
8920x01,0x6a,0x85,0x82
893
894# CHECK: s_subb_u32 s5, s1, vcc_hi               ; encoding: [0x01,0x6b,0x85,0x82]
8950x01,0x6b,0x85,0x82
896
897# CHECK: s_subb_u32 s5, s1, tba_lo               ; encoding: [0x01,0x6c,0x85,0x82]
8980x01,0x6c,0x85,0x82
899
900# CHECK: s_subb_u32 s5, s1, tba_hi               ; encoding: [0x01,0x6d,0x85,0x82]
9010x01,0x6d,0x85,0x82
902
903# CHECK: s_subb_u32 s5, s1, tma_lo               ; encoding: [0x01,0x6e,0x85,0x82]
9040x01,0x6e,0x85,0x82
905
906# CHECK: s_subb_u32 s5, s1, tma_hi               ; encoding: [0x01,0x6f,0x85,0x82]
9070x01,0x6f,0x85,0x82
908
909# CHECK: s_subb_u32 s5, s1, ttmp11               ; encoding: [0x01,0x7b,0x85,0x82]
9100x01,0x7b,0x85,0x82
911
912# CHECK: s_subb_u32 s5, s1, m0                   ; encoding: [0x01,0x7c,0x85,0x82]
9130x01,0x7c,0x85,0x82
914
915# CHECK: s_subb_u32 s5, s1, exec_lo              ; encoding: [0x01,0x7e,0x85,0x82]
9160x01,0x7e,0x85,0x82
917
918# CHECK: s_subb_u32 s5, s1, exec_hi              ; encoding: [0x01,0x7f,0x85,0x82]
9190x01,0x7f,0x85,0x82
920
921# CHECK: s_subb_u32 s5, s1, 0                    ; encoding: [0x01,0x80,0x85,0x82]
9220x01,0x80,0x85,0x82
923
924# CHECK: s_subb_u32 s5, s1, -1                   ; encoding: [0x01,0xc1,0x85,0x82]
9250x01,0xc1,0x85,0x82
926
927# CHECK: s_subb_u32 s5, s1, 0.5                  ; encoding: [0x01,0xf0,0x85,0x82]
9280x01,0xf0,0x85,0x82
929
930# CHECK: s_subb_u32 s5, s1, -4.0                 ; encoding: [0x01,0xf7,0x85,0x82]
9310x01,0xf7,0x85,0x82
932
933# CHECK: s_subb_u32 s5, s1, 0xaf123456           ; encoding: [0x01,0xff,0x85,0x82,0x56,0x34,0x12,0xaf]
9340x01,0xff,0x85,0x82,0x56,0x34,0x12,0xaf
935
936# CHECK: s_subb_u32 s5, s1, 0x3f717273           ; encoding: [0x01,0xff,0x85,0x82,0x73,0x72,0x71,0x3f]
9370x01,0xff,0x85,0x82,0x73,0x72,0x71,0x3f
938
939# CHECK: s_min_i32 s5, s1, s2                    ; encoding: [0x01,0x02,0x05,0x83]
9400x01,0x02,0x05,0x83
941
942# CHECK: s_min_i32 s101, s1, s2                  ; encoding: [0x01,0x02,0x65,0x83]
9430x01,0x02,0x65,0x83
944
945# CHECK: s_min_i32 flat_scratch_lo, s1, s2       ; encoding: [0x01,0x02,0x66,0x83]
9460x01,0x02,0x66,0x83
947
948# CHECK: s_min_i32 flat_scratch_hi, s1, s2       ; encoding: [0x01,0x02,0x67,0x83]
9490x01,0x02,0x67,0x83
950
951# CHECK: s_min_i32 vcc_lo, s1, s2                ; encoding: [0x01,0x02,0x6a,0x83]
9520x01,0x02,0x6a,0x83
953
954# CHECK: s_min_i32 vcc_hi, s1, s2                ; encoding: [0x01,0x02,0x6b,0x83]
9550x01,0x02,0x6b,0x83
956
957# CHECK: s_min_i32 tba_lo, s1, s2                ; encoding: [0x01,0x02,0x6c,0x83]
9580x01,0x02,0x6c,0x83
959
960# CHECK: s_min_i32 tba_hi, s1, s2                ; encoding: [0x01,0x02,0x6d,0x83]
9610x01,0x02,0x6d,0x83
962
963# CHECK: s_min_i32 tma_lo, s1, s2                ; encoding: [0x01,0x02,0x6e,0x83]
9640x01,0x02,0x6e,0x83
965
966# CHECK: s_min_i32 tma_hi, s1, s2                ; encoding: [0x01,0x02,0x6f,0x83]
9670x01,0x02,0x6f,0x83
968
969# CHECK: s_min_i32 ttmp11, s1, s2                ; encoding: [0x01,0x02,0x7b,0x83]
9700x01,0x02,0x7b,0x83
971
972# CHECK: s_min_i32 m0, s1, s2                    ; encoding: [0x01,0x02,0x7c,0x83]
9730x01,0x02,0x7c,0x83
974
975# CHECK: s_min_i32 exec_lo, s1, s2               ; encoding: [0x01,0x02,0x7e,0x83]
9760x01,0x02,0x7e,0x83
977
978# CHECK: s_min_i32 exec_hi, s1, s2               ; encoding: [0x01,0x02,0x7f,0x83]
9790x01,0x02,0x7f,0x83
980
981# CHECK: s_min_i32 s5, s101, s2                  ; encoding: [0x65,0x02,0x05,0x83]
9820x65,0x02,0x05,0x83
983
984# CHECK: s_min_i32 s5, flat_scratch_lo, s2       ; encoding: [0x66,0x02,0x05,0x83]
9850x66,0x02,0x05,0x83
986
987# CHECK: s_min_i32 s5, flat_scratch_hi, s2       ; encoding: [0x67,0x02,0x05,0x83]
9880x67,0x02,0x05,0x83
989
990# CHECK: s_min_i32 s5, vcc_lo, s2                ; encoding: [0x6a,0x02,0x05,0x83]
9910x6a,0x02,0x05,0x83
992
993# CHECK: s_min_i32 s5, vcc_hi, s2                ; encoding: [0x6b,0x02,0x05,0x83]
9940x6b,0x02,0x05,0x83
995
996# CHECK: s_min_i32 s5, tba_lo, s2                ; encoding: [0x6c,0x02,0x05,0x83]
9970x6c,0x02,0x05,0x83
998
999# CHECK: s_min_i32 s5, tba_hi, s2                ; encoding: [0x6d,0x02,0x05,0x83]
10000x6d,0x02,0x05,0x83
1001
1002# CHECK: s_min_i32 s5, tma_lo, s2                ; encoding: [0x6e,0x02,0x05,0x83]
10030x6e,0x02,0x05,0x83
1004
1005# CHECK: s_min_i32 s5, tma_hi, s2                ; encoding: [0x6f,0x02,0x05,0x83]
10060x6f,0x02,0x05,0x83
1007
1008# CHECK: s_min_i32 s5, ttmp11, s2                ; encoding: [0x7b,0x02,0x05,0x83]
10090x7b,0x02,0x05,0x83
1010
1011# CHECK: s_min_i32 s5, m0, s2                    ; encoding: [0x7c,0x02,0x05,0x83]
10120x7c,0x02,0x05,0x83
1013
1014# CHECK: s_min_i32 s5, exec_lo, s2               ; encoding: [0x7e,0x02,0x05,0x83]
10150x7e,0x02,0x05,0x83
1016
1017# CHECK: s_min_i32 s5, exec_hi, s2               ; encoding: [0x7f,0x02,0x05,0x83]
10180x7f,0x02,0x05,0x83
1019
1020# CHECK: s_min_i32 s5, 0, s2                     ; encoding: [0x80,0x02,0x05,0x83]
10210x80,0x02,0x05,0x83
1022
1023# CHECK: s_min_i32 s5, -1, s2                    ; encoding: [0xc1,0x02,0x05,0x83]
10240xc1,0x02,0x05,0x83
1025
1026# CHECK: s_min_i32 s5, 0.5, s2                   ; encoding: [0xf0,0x02,0x05,0x83]
10270xf0,0x02,0x05,0x83
1028
1029# CHECK: s_min_i32 s5, -4.0, s2                  ; encoding: [0xf7,0x02,0x05,0x83]
10300xf7,0x02,0x05,0x83
1031
1032# CHECK: s_min_i32 s5, 0xaf123456, s2            ; encoding: [0xff,0x02,0x05,0x83,0x56,0x34,0x12,0xaf]
10330xff,0x02,0x05,0x83,0x56,0x34,0x12,0xaf
1034
1035# CHECK: s_min_i32 s5, 0x3f717273, s2            ; encoding: [0xff,0x02,0x05,0x83,0x73,0x72,0x71,0x3f]
10360xff,0x02,0x05,0x83,0x73,0x72,0x71,0x3f
1037
1038# CHECK: s_min_i32 s5, s1, s101                  ; encoding: [0x01,0x65,0x05,0x83]
10390x01,0x65,0x05,0x83
1040
1041# CHECK: s_min_i32 s5, s1, flat_scratch_lo       ; encoding: [0x01,0x66,0x05,0x83]
10420x01,0x66,0x05,0x83
1043
1044# CHECK: s_min_i32 s5, s1, flat_scratch_hi       ; encoding: [0x01,0x67,0x05,0x83]
10450x01,0x67,0x05,0x83
1046
1047# CHECK: s_min_i32 s5, s1, vcc_lo                ; encoding: [0x01,0x6a,0x05,0x83]
10480x01,0x6a,0x05,0x83
1049
1050# CHECK: s_min_i32 s5, s1, vcc_hi                ; encoding: [0x01,0x6b,0x05,0x83]
10510x01,0x6b,0x05,0x83
1052
1053# CHECK: s_min_i32 s5, s1, tba_lo                ; encoding: [0x01,0x6c,0x05,0x83]
10540x01,0x6c,0x05,0x83
1055
1056# CHECK: s_min_i32 s5, s1, tba_hi                ; encoding: [0x01,0x6d,0x05,0x83]
10570x01,0x6d,0x05,0x83
1058
1059# CHECK: s_min_i32 s5, s1, tma_lo                ; encoding: [0x01,0x6e,0x05,0x83]
10600x01,0x6e,0x05,0x83
1061
1062# CHECK: s_min_i32 s5, s1, tma_hi                ; encoding: [0x01,0x6f,0x05,0x83]
10630x01,0x6f,0x05,0x83
1064
1065# CHECK: s_min_i32 s5, s1, ttmp11                ; encoding: [0x01,0x7b,0x05,0x83]
10660x01,0x7b,0x05,0x83
1067
1068# CHECK: s_min_i32 s5, s1, m0                    ; encoding: [0x01,0x7c,0x05,0x83]
10690x01,0x7c,0x05,0x83
1070
1071# CHECK: s_min_i32 s5, s1, exec_lo               ; encoding: [0x01,0x7e,0x05,0x83]
10720x01,0x7e,0x05,0x83
1073
1074# CHECK: s_min_i32 s5, s1, exec_hi               ; encoding: [0x01,0x7f,0x05,0x83]
10750x01,0x7f,0x05,0x83
1076
1077# CHECK: s_min_i32 s5, s1, 0                     ; encoding: [0x01,0x80,0x05,0x83]
10780x01,0x80,0x05,0x83
1079
1080# CHECK: s_min_i32 s5, s1, -1                    ; encoding: [0x01,0xc1,0x05,0x83]
10810x01,0xc1,0x05,0x83
1082
1083# CHECK: s_min_i32 s5, s1, 0.5                   ; encoding: [0x01,0xf0,0x05,0x83]
10840x01,0xf0,0x05,0x83
1085
1086# CHECK: s_min_i32 s5, s1, -4.0                  ; encoding: [0x01,0xf7,0x05,0x83]
10870x01,0xf7,0x05,0x83
1088
1089# CHECK: s_min_i32 s5, s1, 0xaf123456            ; encoding: [0x01,0xff,0x05,0x83,0x56,0x34,0x12,0xaf]
10900x01,0xff,0x05,0x83,0x56,0x34,0x12,0xaf
1091
1092# CHECK: s_min_i32 s5, s1, 0x3f717273            ; encoding: [0x01,0xff,0x05,0x83,0x73,0x72,0x71,0x3f]
10930x01,0xff,0x05,0x83,0x73,0x72,0x71,0x3f
1094
1095# CHECK: s_min_u32 s5, s1, s2                    ; encoding: [0x01,0x02,0x85,0x83]
10960x01,0x02,0x85,0x83
1097
1098# CHECK: s_min_u32 s101, s1, s2                  ; encoding: [0x01,0x02,0xe5,0x83]
10990x01,0x02,0xe5,0x83
1100
1101# CHECK: s_min_u32 flat_scratch_lo, s1, s2       ; encoding: [0x01,0x02,0xe6,0x83]
11020x01,0x02,0xe6,0x83
1103
1104# CHECK: s_min_u32 flat_scratch_hi, s1, s2       ; encoding: [0x01,0x02,0xe7,0x83]
11050x01,0x02,0xe7,0x83
1106
1107# CHECK: s_min_u32 vcc_lo, s1, s2                ; encoding: [0x01,0x02,0xea,0x83]
11080x01,0x02,0xea,0x83
1109
1110# CHECK: s_min_u32 vcc_hi, s1, s2                ; encoding: [0x01,0x02,0xeb,0x83]
11110x01,0x02,0xeb,0x83
1112
1113# CHECK: s_min_u32 tba_lo, s1, s2                ; encoding: [0x01,0x02,0xec,0x83]
11140x01,0x02,0xec,0x83
1115
1116# CHECK: s_min_u32 tba_hi, s1, s2                ; encoding: [0x01,0x02,0xed,0x83]
11170x01,0x02,0xed,0x83
1118
1119# CHECK: s_min_u32 tma_lo, s1, s2                ; encoding: [0x01,0x02,0xee,0x83]
11200x01,0x02,0xee,0x83
1121
1122# CHECK: s_min_u32 tma_hi, s1, s2                ; encoding: [0x01,0x02,0xef,0x83]
11230x01,0x02,0xef,0x83
1124
1125# CHECK: s_min_u32 ttmp11, s1, s2                ; encoding: [0x01,0x02,0xfb,0x83]
11260x01,0x02,0xfb,0x83
1127
1128# CHECK: s_min_u32 m0, s1, s2                    ; encoding: [0x01,0x02,0xfc,0x83]
11290x01,0x02,0xfc,0x83
1130
1131# CHECK: s_min_u32 exec_lo, s1, s2               ; encoding: [0x01,0x02,0xfe,0x83]
11320x01,0x02,0xfe,0x83
1133
1134# CHECK: s_min_u32 exec_hi, s1, s2               ; encoding: [0x01,0x02,0xff,0x83]
11350x01,0x02,0xff,0x83
1136
1137# CHECK: s_min_u32 s5, s101, s2                  ; encoding: [0x65,0x02,0x85,0x83]
11380x65,0x02,0x85,0x83
1139
1140# CHECK: s_min_u32 s5, flat_scratch_lo, s2       ; encoding: [0x66,0x02,0x85,0x83]
11410x66,0x02,0x85,0x83
1142
1143# CHECK: s_min_u32 s5, flat_scratch_hi, s2       ; encoding: [0x67,0x02,0x85,0x83]
11440x67,0x02,0x85,0x83
1145
1146# CHECK: s_min_u32 s5, vcc_lo, s2                ; encoding: [0x6a,0x02,0x85,0x83]
11470x6a,0x02,0x85,0x83
1148
1149# CHECK: s_min_u32 s5, vcc_hi, s2                ; encoding: [0x6b,0x02,0x85,0x83]
11500x6b,0x02,0x85,0x83
1151
1152# CHECK: s_min_u32 s5, tba_lo, s2                ; encoding: [0x6c,0x02,0x85,0x83]
11530x6c,0x02,0x85,0x83
1154
1155# CHECK: s_min_u32 s5, tba_hi, s2                ; encoding: [0x6d,0x02,0x85,0x83]
11560x6d,0x02,0x85,0x83
1157
1158# CHECK: s_min_u32 s5, tma_lo, s2                ; encoding: [0x6e,0x02,0x85,0x83]
11590x6e,0x02,0x85,0x83
1160
1161# CHECK: s_min_u32 s5, tma_hi, s2                ; encoding: [0x6f,0x02,0x85,0x83]
11620x6f,0x02,0x85,0x83
1163
1164# CHECK: s_min_u32 s5, ttmp11, s2                ; encoding: [0x7b,0x02,0x85,0x83]
11650x7b,0x02,0x85,0x83
1166
1167# CHECK: s_min_u32 s5, m0, s2                    ; encoding: [0x7c,0x02,0x85,0x83]
11680x7c,0x02,0x85,0x83
1169
1170# CHECK: s_min_u32 s5, exec_lo, s2               ; encoding: [0x7e,0x02,0x85,0x83]
11710x7e,0x02,0x85,0x83
1172
1173# CHECK: s_min_u32 s5, exec_hi, s2               ; encoding: [0x7f,0x02,0x85,0x83]
11740x7f,0x02,0x85,0x83
1175
1176# CHECK: s_min_u32 s5, 0, s2                     ; encoding: [0x80,0x02,0x85,0x83]
11770x80,0x02,0x85,0x83
1178
1179# CHECK: s_min_u32 s5, -1, s2                    ; encoding: [0xc1,0x02,0x85,0x83]
11800xc1,0x02,0x85,0x83
1181
1182# CHECK: s_min_u32 s5, 0.5, s2                   ; encoding: [0xf0,0x02,0x85,0x83]
11830xf0,0x02,0x85,0x83
1184
1185# CHECK: s_min_u32 s5, -4.0, s2                  ; encoding: [0xf7,0x02,0x85,0x83]
11860xf7,0x02,0x85,0x83
1187
1188# CHECK: s_min_u32 s5, 0xaf123456, s2            ; encoding: [0xff,0x02,0x85,0x83,0x56,0x34,0x12,0xaf]
11890xff,0x02,0x85,0x83,0x56,0x34,0x12,0xaf
1190
1191# CHECK: s_min_u32 s5, 0x3f717273, s2            ; encoding: [0xff,0x02,0x85,0x83,0x73,0x72,0x71,0x3f]
11920xff,0x02,0x85,0x83,0x73,0x72,0x71,0x3f
1193
1194# CHECK: s_min_u32 s5, s1, s101                  ; encoding: [0x01,0x65,0x85,0x83]
11950x01,0x65,0x85,0x83
1196
1197# CHECK: s_min_u32 s5, s1, flat_scratch_lo       ; encoding: [0x01,0x66,0x85,0x83]
11980x01,0x66,0x85,0x83
1199
1200# CHECK: s_min_u32 s5, s1, flat_scratch_hi       ; encoding: [0x01,0x67,0x85,0x83]
12010x01,0x67,0x85,0x83
1202
1203# CHECK: s_min_u32 s5, s1, vcc_lo                ; encoding: [0x01,0x6a,0x85,0x83]
12040x01,0x6a,0x85,0x83
1205
1206# CHECK: s_min_u32 s5, s1, vcc_hi                ; encoding: [0x01,0x6b,0x85,0x83]
12070x01,0x6b,0x85,0x83
1208
1209# CHECK: s_min_u32 s5, s1, tba_lo                ; encoding: [0x01,0x6c,0x85,0x83]
12100x01,0x6c,0x85,0x83
1211
1212# CHECK: s_min_u32 s5, s1, tba_hi                ; encoding: [0x01,0x6d,0x85,0x83]
12130x01,0x6d,0x85,0x83
1214
1215# CHECK: s_min_u32 s5, s1, tma_lo                ; encoding: [0x01,0x6e,0x85,0x83]
12160x01,0x6e,0x85,0x83
1217
1218# CHECK: s_min_u32 s5, s1, tma_hi                ; encoding: [0x01,0x6f,0x85,0x83]
12190x01,0x6f,0x85,0x83
1220
1221# CHECK: s_min_u32 s5, s1, ttmp11                ; encoding: [0x01,0x7b,0x85,0x83]
12220x01,0x7b,0x85,0x83
1223
1224# CHECK: s_min_u32 s5, s1, m0                    ; encoding: [0x01,0x7c,0x85,0x83]
12250x01,0x7c,0x85,0x83
1226
1227# CHECK: s_min_u32 s5, s1, exec_lo               ; encoding: [0x01,0x7e,0x85,0x83]
12280x01,0x7e,0x85,0x83
1229
1230# CHECK: s_min_u32 s5, s1, exec_hi               ; encoding: [0x01,0x7f,0x85,0x83]
12310x01,0x7f,0x85,0x83
1232
1233# CHECK: s_min_u32 s5, s1, 0                     ; encoding: [0x01,0x80,0x85,0x83]
12340x01,0x80,0x85,0x83
1235
1236# CHECK: s_min_u32 s5, s1, -1                    ; encoding: [0x01,0xc1,0x85,0x83]
12370x01,0xc1,0x85,0x83
1238
1239# CHECK: s_min_u32 s5, s1, 0.5                   ; encoding: [0x01,0xf0,0x85,0x83]
12400x01,0xf0,0x85,0x83
1241
1242# CHECK: s_min_u32 s5, s1, -4.0                  ; encoding: [0x01,0xf7,0x85,0x83]
12430x01,0xf7,0x85,0x83
1244
1245# CHECK: s_min_u32 s5, s1, 0xaf123456            ; encoding: [0x01,0xff,0x85,0x83,0x56,0x34,0x12,0xaf]
12460x01,0xff,0x85,0x83,0x56,0x34,0x12,0xaf
1247
1248# CHECK: s_min_u32 s5, s1, 0x3f717273            ; encoding: [0x01,0xff,0x85,0x83,0x73,0x72,0x71,0x3f]
12490x01,0xff,0x85,0x83,0x73,0x72,0x71,0x3f
1250
1251# CHECK: s_max_i32 s5, s1, s2                    ; encoding: [0x01,0x02,0x05,0x84]
12520x01,0x02,0x05,0x84
1253
1254# CHECK: s_max_i32 s101, s1, s2                  ; encoding: [0x01,0x02,0x65,0x84]
12550x01,0x02,0x65,0x84
1256
1257# CHECK: s_max_i32 flat_scratch_lo, s1, s2       ; encoding: [0x01,0x02,0x66,0x84]
12580x01,0x02,0x66,0x84
1259
1260# CHECK: s_max_i32 flat_scratch_hi, s1, s2       ; encoding: [0x01,0x02,0x67,0x84]
12610x01,0x02,0x67,0x84
1262
1263# CHECK: s_max_i32 vcc_lo, s1, s2                ; encoding: [0x01,0x02,0x6a,0x84]
12640x01,0x02,0x6a,0x84
1265
1266# CHECK: s_max_i32 vcc_hi, s1, s2                ; encoding: [0x01,0x02,0x6b,0x84]
12670x01,0x02,0x6b,0x84
1268
1269# CHECK: s_max_i32 tba_lo, s1, s2                ; encoding: [0x01,0x02,0x6c,0x84]
12700x01,0x02,0x6c,0x84
1271
1272# CHECK: s_max_i32 tba_hi, s1, s2                ; encoding: [0x01,0x02,0x6d,0x84]
12730x01,0x02,0x6d,0x84
1274
1275# CHECK: s_max_i32 tma_lo, s1, s2                ; encoding: [0x01,0x02,0x6e,0x84]
12760x01,0x02,0x6e,0x84
1277
1278# CHECK: s_max_i32 tma_hi, s1, s2                ; encoding: [0x01,0x02,0x6f,0x84]
12790x01,0x02,0x6f,0x84
1280
1281# CHECK: s_max_i32 ttmp11, s1, s2                ; encoding: [0x01,0x02,0x7b,0x84]
12820x01,0x02,0x7b,0x84
1283
1284# CHECK: s_max_i32 m0, s1, s2                    ; encoding: [0x01,0x02,0x7c,0x84]
12850x01,0x02,0x7c,0x84
1286
1287# CHECK: s_max_i32 exec_lo, s1, s2               ; encoding: [0x01,0x02,0x7e,0x84]
12880x01,0x02,0x7e,0x84
1289
1290# CHECK: s_max_i32 exec_hi, s1, s2               ; encoding: [0x01,0x02,0x7f,0x84]
12910x01,0x02,0x7f,0x84
1292
1293# CHECK: s_max_i32 s5, s101, s2                  ; encoding: [0x65,0x02,0x05,0x84]
12940x65,0x02,0x05,0x84
1295
1296# CHECK: s_max_i32 s5, flat_scratch_lo, s2       ; encoding: [0x66,0x02,0x05,0x84]
12970x66,0x02,0x05,0x84
1298
1299# CHECK: s_max_i32 s5, flat_scratch_hi, s2       ; encoding: [0x67,0x02,0x05,0x84]
13000x67,0x02,0x05,0x84
1301
1302# CHECK: s_max_i32 s5, vcc_lo, s2                ; encoding: [0x6a,0x02,0x05,0x84]
13030x6a,0x02,0x05,0x84
1304
1305# CHECK: s_max_i32 s5, vcc_hi, s2                ; encoding: [0x6b,0x02,0x05,0x84]
13060x6b,0x02,0x05,0x84
1307
1308# CHECK: s_max_i32 s5, tba_lo, s2                ; encoding: [0x6c,0x02,0x05,0x84]
13090x6c,0x02,0x05,0x84
1310
1311# CHECK: s_max_i32 s5, tba_hi, s2                ; encoding: [0x6d,0x02,0x05,0x84]
13120x6d,0x02,0x05,0x84
1313
1314# CHECK: s_max_i32 s5, tma_lo, s2                ; encoding: [0x6e,0x02,0x05,0x84]
13150x6e,0x02,0x05,0x84
1316
1317# CHECK: s_max_i32 s5, tma_hi, s2                ; encoding: [0x6f,0x02,0x05,0x84]
13180x6f,0x02,0x05,0x84
1319
1320# CHECK: s_max_i32 s5, ttmp11, s2                ; encoding: [0x7b,0x02,0x05,0x84]
13210x7b,0x02,0x05,0x84
1322
1323# CHECK: s_max_i32 s5, m0, s2                    ; encoding: [0x7c,0x02,0x05,0x84]
13240x7c,0x02,0x05,0x84
1325
1326# CHECK: s_max_i32 s5, exec_lo, s2               ; encoding: [0x7e,0x02,0x05,0x84]
13270x7e,0x02,0x05,0x84
1328
1329# CHECK: s_max_i32 s5, exec_hi, s2               ; encoding: [0x7f,0x02,0x05,0x84]
13300x7f,0x02,0x05,0x84
1331
1332# CHECK: s_max_i32 s5, 0, s2                     ; encoding: [0x80,0x02,0x05,0x84]
13330x80,0x02,0x05,0x84
1334
1335# CHECK: s_max_i32 s5, -1, s2                    ; encoding: [0xc1,0x02,0x05,0x84]
13360xc1,0x02,0x05,0x84
1337
1338# CHECK: s_max_i32 s5, 0.5, s2                   ; encoding: [0xf0,0x02,0x05,0x84]
13390xf0,0x02,0x05,0x84
1340
1341# CHECK: s_max_i32 s5, -4.0, s2                  ; encoding: [0xf7,0x02,0x05,0x84]
13420xf7,0x02,0x05,0x84
1343
1344# CHECK: s_max_i32 s5, 0xaf123456, s2            ; encoding: [0xff,0x02,0x05,0x84,0x56,0x34,0x12,0xaf]
13450xff,0x02,0x05,0x84,0x56,0x34,0x12,0xaf
1346
1347# CHECK: s_max_i32 s5, 0x3f717273, s2            ; encoding: [0xff,0x02,0x05,0x84,0x73,0x72,0x71,0x3f]
13480xff,0x02,0x05,0x84,0x73,0x72,0x71,0x3f
1349
1350# CHECK: s_max_i32 s5, s1, s101                  ; encoding: [0x01,0x65,0x05,0x84]
13510x01,0x65,0x05,0x84
1352
1353# CHECK: s_max_i32 s5, s1, flat_scratch_lo       ; encoding: [0x01,0x66,0x05,0x84]
13540x01,0x66,0x05,0x84
1355
1356# CHECK: s_max_i32 s5, s1, flat_scratch_hi       ; encoding: [0x01,0x67,0x05,0x84]
13570x01,0x67,0x05,0x84
1358
1359# CHECK: s_max_i32 s5, s1, vcc_lo                ; encoding: [0x01,0x6a,0x05,0x84]
13600x01,0x6a,0x05,0x84
1361
1362# CHECK: s_max_i32 s5, s1, vcc_hi                ; encoding: [0x01,0x6b,0x05,0x84]
13630x01,0x6b,0x05,0x84
1364
1365# CHECK: s_max_i32 s5, s1, tba_lo                ; encoding: [0x01,0x6c,0x05,0x84]
13660x01,0x6c,0x05,0x84
1367
1368# CHECK: s_max_i32 s5, s1, tba_hi                ; encoding: [0x01,0x6d,0x05,0x84]
13690x01,0x6d,0x05,0x84
1370
1371# CHECK: s_max_i32 s5, s1, tma_lo                ; encoding: [0x01,0x6e,0x05,0x84]
13720x01,0x6e,0x05,0x84
1373
1374# CHECK: s_max_i32 s5, s1, tma_hi                ; encoding: [0x01,0x6f,0x05,0x84]
13750x01,0x6f,0x05,0x84
1376
1377# CHECK: s_max_i32 s5, s1, ttmp11                ; encoding: [0x01,0x7b,0x05,0x84]
13780x01,0x7b,0x05,0x84
1379
1380# CHECK: s_max_i32 s5, s1, m0                    ; encoding: [0x01,0x7c,0x05,0x84]
13810x01,0x7c,0x05,0x84
1382
1383# CHECK: s_max_i32 s5, s1, exec_lo               ; encoding: [0x01,0x7e,0x05,0x84]
13840x01,0x7e,0x05,0x84
1385
1386# CHECK: s_max_i32 s5, s1, exec_hi               ; encoding: [0x01,0x7f,0x05,0x84]
13870x01,0x7f,0x05,0x84
1388
1389# CHECK: s_max_i32 s5, s1, 0                     ; encoding: [0x01,0x80,0x05,0x84]
13900x01,0x80,0x05,0x84
1391
1392# CHECK: s_max_i32 s5, s1, -1                    ; encoding: [0x01,0xc1,0x05,0x84]
13930x01,0xc1,0x05,0x84
1394
1395# CHECK: s_max_i32 s5, s1, 0.5                   ; encoding: [0x01,0xf0,0x05,0x84]
13960x01,0xf0,0x05,0x84
1397
1398# CHECK: s_max_i32 s5, s1, -4.0                  ; encoding: [0x01,0xf7,0x05,0x84]
13990x01,0xf7,0x05,0x84
1400
1401# CHECK: s_max_i32 s5, s1, 0xaf123456            ; encoding: [0x01,0xff,0x05,0x84,0x56,0x34,0x12,0xaf]
14020x01,0xff,0x05,0x84,0x56,0x34,0x12,0xaf
1403
1404# CHECK: s_max_i32 s5, s1, 0x3f717273            ; encoding: [0x01,0xff,0x05,0x84,0x73,0x72,0x71,0x3f]
14050x01,0xff,0x05,0x84,0x73,0x72,0x71,0x3f
1406
1407# CHECK: s_max_u32 s5, s1, s2                    ; encoding: [0x01,0x02,0x85,0x84]
14080x01,0x02,0x85,0x84
1409
1410# CHECK: s_max_u32 s101, s1, s2                  ; encoding: [0x01,0x02,0xe5,0x84]
14110x01,0x02,0xe5,0x84
1412
1413# CHECK: s_max_u32 flat_scratch_lo, s1, s2       ; encoding: [0x01,0x02,0xe6,0x84]
14140x01,0x02,0xe6,0x84
1415
1416# CHECK: s_max_u32 flat_scratch_hi, s1, s2       ; encoding: [0x01,0x02,0xe7,0x84]
14170x01,0x02,0xe7,0x84
1418
1419# CHECK: s_max_u32 vcc_lo, s1, s2                ; encoding: [0x01,0x02,0xea,0x84]
14200x01,0x02,0xea,0x84
1421
1422# CHECK: s_max_u32 vcc_hi, s1, s2                ; encoding: [0x01,0x02,0xeb,0x84]
14230x01,0x02,0xeb,0x84
1424
1425# CHECK: s_max_u32 tba_lo, s1, s2                ; encoding: [0x01,0x02,0xec,0x84]
14260x01,0x02,0xec,0x84
1427
1428# CHECK: s_max_u32 tba_hi, s1, s2                ; encoding: [0x01,0x02,0xed,0x84]
14290x01,0x02,0xed,0x84
1430
1431# CHECK: s_max_u32 tma_lo, s1, s2                ; encoding: [0x01,0x02,0xee,0x84]
14320x01,0x02,0xee,0x84
1433
1434# CHECK: s_max_u32 tma_hi, s1, s2                ; encoding: [0x01,0x02,0xef,0x84]
14350x01,0x02,0xef,0x84
1436
1437# CHECK: s_max_u32 ttmp11, s1, s2                ; encoding: [0x01,0x02,0xfb,0x84]
14380x01,0x02,0xfb,0x84
1439
1440# CHECK: s_max_u32 m0, s1, s2                    ; encoding: [0x01,0x02,0xfc,0x84]
14410x01,0x02,0xfc,0x84
1442
1443# CHECK: s_max_u32 exec_lo, s1, s2               ; encoding: [0x01,0x02,0xfe,0x84]
14440x01,0x02,0xfe,0x84
1445
1446# CHECK: s_max_u32 exec_hi, s1, s2               ; encoding: [0x01,0x02,0xff,0x84]
14470x01,0x02,0xff,0x84
1448
1449# CHECK: s_max_u32 s5, s101, s2                  ; encoding: [0x65,0x02,0x85,0x84]
14500x65,0x02,0x85,0x84
1451
1452# CHECK: s_max_u32 s5, flat_scratch_lo, s2       ; encoding: [0x66,0x02,0x85,0x84]
14530x66,0x02,0x85,0x84
1454
1455# CHECK: s_max_u32 s5, flat_scratch_hi, s2       ; encoding: [0x67,0x02,0x85,0x84]
14560x67,0x02,0x85,0x84
1457
1458# CHECK: s_max_u32 s5, vcc_lo, s2                ; encoding: [0x6a,0x02,0x85,0x84]
14590x6a,0x02,0x85,0x84
1460
1461# CHECK: s_max_u32 s5, vcc_hi, s2                ; encoding: [0x6b,0x02,0x85,0x84]
14620x6b,0x02,0x85,0x84
1463
1464# CHECK: s_max_u32 s5, tba_lo, s2                ; encoding: [0x6c,0x02,0x85,0x84]
14650x6c,0x02,0x85,0x84
1466
1467# CHECK: s_max_u32 s5, tba_hi, s2                ; encoding: [0x6d,0x02,0x85,0x84]
14680x6d,0x02,0x85,0x84
1469
1470# CHECK: s_max_u32 s5, tma_lo, s2                ; encoding: [0x6e,0x02,0x85,0x84]
14710x6e,0x02,0x85,0x84
1472
1473# CHECK: s_max_u32 s5, tma_hi, s2                ; encoding: [0x6f,0x02,0x85,0x84]
14740x6f,0x02,0x85,0x84
1475
1476# CHECK: s_max_u32 s5, ttmp11, s2                ; encoding: [0x7b,0x02,0x85,0x84]
14770x7b,0x02,0x85,0x84
1478
1479# CHECK: s_max_u32 s5, m0, s2                    ; encoding: [0x7c,0x02,0x85,0x84]
14800x7c,0x02,0x85,0x84
1481
1482# CHECK: s_max_u32 s5, exec_lo, s2               ; encoding: [0x7e,0x02,0x85,0x84]
14830x7e,0x02,0x85,0x84
1484
1485# CHECK: s_max_u32 s5, exec_hi, s2               ; encoding: [0x7f,0x02,0x85,0x84]
14860x7f,0x02,0x85,0x84
1487
1488# CHECK: s_max_u32 s5, 0, s2                     ; encoding: [0x80,0x02,0x85,0x84]
14890x80,0x02,0x85,0x84
1490
1491# CHECK: s_max_u32 s5, -1, s2                    ; encoding: [0xc1,0x02,0x85,0x84]
14920xc1,0x02,0x85,0x84
1493
1494# CHECK: s_max_u32 s5, 0.5, s2                   ; encoding: [0xf0,0x02,0x85,0x84]
14950xf0,0x02,0x85,0x84
1496
1497# CHECK: s_max_u32 s5, -4.0, s2                  ; encoding: [0xf7,0x02,0x85,0x84]
14980xf7,0x02,0x85,0x84
1499
1500# CHECK: s_max_u32 s5, 0xaf123456, s2            ; encoding: [0xff,0x02,0x85,0x84,0x56,0x34,0x12,0xaf]
15010xff,0x02,0x85,0x84,0x56,0x34,0x12,0xaf
1502
1503# CHECK: s_max_u32 s5, 0x3f717273, s2            ; encoding: [0xff,0x02,0x85,0x84,0x73,0x72,0x71,0x3f]
15040xff,0x02,0x85,0x84,0x73,0x72,0x71,0x3f
1505
1506# CHECK: s_max_u32 s5, s1, s101                  ; encoding: [0x01,0x65,0x85,0x84]
15070x01,0x65,0x85,0x84
1508
1509# CHECK: s_max_u32 s5, s1, flat_scratch_lo       ; encoding: [0x01,0x66,0x85,0x84]
15100x01,0x66,0x85,0x84
1511
1512# CHECK: s_max_u32 s5, s1, flat_scratch_hi       ; encoding: [0x01,0x67,0x85,0x84]
15130x01,0x67,0x85,0x84
1514
1515# CHECK: s_max_u32 s5, s1, vcc_lo                ; encoding: [0x01,0x6a,0x85,0x84]
15160x01,0x6a,0x85,0x84
1517
1518# CHECK: s_max_u32 s5, s1, vcc_hi                ; encoding: [0x01,0x6b,0x85,0x84]
15190x01,0x6b,0x85,0x84
1520
1521# CHECK: s_max_u32 s5, s1, tba_lo                ; encoding: [0x01,0x6c,0x85,0x84]
15220x01,0x6c,0x85,0x84
1523
1524# CHECK: s_max_u32 s5, s1, tba_hi                ; encoding: [0x01,0x6d,0x85,0x84]
15250x01,0x6d,0x85,0x84
1526
1527# CHECK: s_max_u32 s5, s1, tma_lo                ; encoding: [0x01,0x6e,0x85,0x84]
15280x01,0x6e,0x85,0x84
1529
1530# CHECK: s_max_u32 s5, s1, tma_hi                ; encoding: [0x01,0x6f,0x85,0x84]
15310x01,0x6f,0x85,0x84
1532
1533# CHECK: s_max_u32 s5, s1, ttmp11                ; encoding: [0x01,0x7b,0x85,0x84]
15340x01,0x7b,0x85,0x84
1535
1536# CHECK: s_max_u32 s5, s1, m0                    ; encoding: [0x01,0x7c,0x85,0x84]
15370x01,0x7c,0x85,0x84
1538
1539# CHECK: s_max_u32 s5, s1, exec_lo               ; encoding: [0x01,0x7e,0x85,0x84]
15400x01,0x7e,0x85,0x84
1541
1542# CHECK: s_max_u32 s5, s1, exec_hi               ; encoding: [0x01,0x7f,0x85,0x84]
15430x01,0x7f,0x85,0x84
1544
1545# CHECK: s_max_u32 s5, s1, 0                     ; encoding: [0x01,0x80,0x85,0x84]
15460x01,0x80,0x85,0x84
1547
1548# CHECK: s_max_u32 s5, s1, -1                    ; encoding: [0x01,0xc1,0x85,0x84]
15490x01,0xc1,0x85,0x84
1550
1551# CHECK: s_max_u32 s5, s1, 0.5                   ; encoding: [0x01,0xf0,0x85,0x84]
15520x01,0xf0,0x85,0x84
1553
1554# CHECK: s_max_u32 s5, s1, -4.0                  ; encoding: [0x01,0xf7,0x85,0x84]
15550x01,0xf7,0x85,0x84
1556
1557# CHECK: s_max_u32 s5, s1, 0xaf123456            ; encoding: [0x01,0xff,0x85,0x84,0x56,0x34,0x12,0xaf]
15580x01,0xff,0x85,0x84,0x56,0x34,0x12,0xaf
1559
1560# CHECK: s_max_u32 s5, s1, 0x3f717273            ; encoding: [0x01,0xff,0x85,0x84,0x73,0x72,0x71,0x3f]
15610x01,0xff,0x85,0x84,0x73,0x72,0x71,0x3f
1562
1563# CHECK: s_cselect_b32 s5, s1, s2                ; encoding: [0x01,0x02,0x05,0x85]
15640x01,0x02,0x05,0x85
1565
1566# CHECK: s_cselect_b32 s101, s1, s2              ; encoding: [0x01,0x02,0x65,0x85]
15670x01,0x02,0x65,0x85
1568
1569# CHECK: s_cselect_b32 flat_scratch_lo, s1, s2   ; encoding: [0x01,0x02,0x66,0x85]
15700x01,0x02,0x66,0x85
1571
1572# CHECK: s_cselect_b32 flat_scratch_hi, s1, s2   ; encoding: [0x01,0x02,0x67,0x85]
15730x01,0x02,0x67,0x85
1574
1575# CHECK: s_cselect_b32 vcc_lo, s1, s2            ; encoding: [0x01,0x02,0x6a,0x85]
15760x01,0x02,0x6a,0x85
1577
1578# CHECK: s_cselect_b32 vcc_hi, s1, s2            ; encoding: [0x01,0x02,0x6b,0x85]
15790x01,0x02,0x6b,0x85
1580
1581# CHECK: s_cselect_b32 tba_lo, s1, s2            ; encoding: [0x01,0x02,0x6c,0x85]
15820x01,0x02,0x6c,0x85
1583
1584# CHECK: s_cselect_b32 tba_hi, s1, s2            ; encoding: [0x01,0x02,0x6d,0x85]
15850x01,0x02,0x6d,0x85
1586
1587# CHECK: s_cselect_b32 tma_lo, s1, s2            ; encoding: [0x01,0x02,0x6e,0x85]
15880x01,0x02,0x6e,0x85
1589
1590# CHECK: s_cselect_b32 tma_hi, s1, s2            ; encoding: [0x01,0x02,0x6f,0x85]
15910x01,0x02,0x6f,0x85
1592
1593# CHECK: s_cselect_b32 ttmp11, s1, s2            ; encoding: [0x01,0x02,0x7b,0x85]
15940x01,0x02,0x7b,0x85
1595
1596# CHECK: s_cselect_b32 m0, s1, s2                ; encoding: [0x01,0x02,0x7c,0x85]
15970x01,0x02,0x7c,0x85
1598
1599# CHECK: s_cselect_b32 exec_lo, s1, s2           ; encoding: [0x01,0x02,0x7e,0x85]
16000x01,0x02,0x7e,0x85
1601
1602# CHECK: s_cselect_b32 exec_hi, s1, s2           ; encoding: [0x01,0x02,0x7f,0x85]
16030x01,0x02,0x7f,0x85
1604
1605# CHECK: s_cselect_b32 s5, s101, s2              ; encoding: [0x65,0x02,0x05,0x85]
16060x65,0x02,0x05,0x85
1607
1608# CHECK: s_cselect_b32 s5, flat_scratch_lo, s2   ; encoding: [0x66,0x02,0x05,0x85]
16090x66,0x02,0x05,0x85
1610
1611# CHECK: s_cselect_b32 s5, flat_scratch_hi, s2   ; encoding: [0x67,0x02,0x05,0x85]
16120x67,0x02,0x05,0x85
1613
1614# CHECK: s_cselect_b32 s5, vcc_lo, s2            ; encoding: [0x6a,0x02,0x05,0x85]
16150x6a,0x02,0x05,0x85
1616
1617# CHECK: s_cselect_b32 s5, vcc_hi, s2            ; encoding: [0x6b,0x02,0x05,0x85]
16180x6b,0x02,0x05,0x85
1619
1620# CHECK: s_cselect_b32 s5, tba_lo, s2            ; encoding: [0x6c,0x02,0x05,0x85]
16210x6c,0x02,0x05,0x85
1622
1623# CHECK: s_cselect_b32 s5, tba_hi, s2            ; encoding: [0x6d,0x02,0x05,0x85]
16240x6d,0x02,0x05,0x85
1625
1626# CHECK: s_cselect_b32 s5, tma_lo, s2            ; encoding: [0x6e,0x02,0x05,0x85]
16270x6e,0x02,0x05,0x85
1628
1629# CHECK: s_cselect_b32 s5, tma_hi, s2            ; encoding: [0x6f,0x02,0x05,0x85]
16300x6f,0x02,0x05,0x85
1631
1632# CHECK: s_cselect_b32 s5, ttmp11, s2            ; encoding: [0x7b,0x02,0x05,0x85]
16330x7b,0x02,0x05,0x85
1634
1635# CHECK: s_cselect_b32 s5, m0, s2                ; encoding: [0x7c,0x02,0x05,0x85]
16360x7c,0x02,0x05,0x85
1637
1638# CHECK: s_cselect_b32 s5, exec_lo, s2           ; encoding: [0x7e,0x02,0x05,0x85]
16390x7e,0x02,0x05,0x85
1640
1641# CHECK: s_cselect_b32 s5, exec_hi, s2           ; encoding: [0x7f,0x02,0x05,0x85]
16420x7f,0x02,0x05,0x85
1643
1644# CHECK: s_cselect_b32 s5, 0, s2                 ; encoding: [0x80,0x02,0x05,0x85]
16450x80,0x02,0x05,0x85
1646
1647# CHECK: s_cselect_b32 s5, -1, s2                ; encoding: [0xc1,0x02,0x05,0x85]
16480xc1,0x02,0x05,0x85
1649
1650# CHECK: s_cselect_b32 s5, 0.5, s2               ; encoding: [0xf0,0x02,0x05,0x85]
16510xf0,0x02,0x05,0x85
1652
1653# CHECK: s_cselect_b32 s5, -4.0, s2              ; encoding: [0xf7,0x02,0x05,0x85]
16540xf7,0x02,0x05,0x85
1655
1656# CHECK: s_cselect_b32 s5, 0xaf123456, s2        ; encoding: [0xff,0x02,0x05,0x85,0x56,0x34,0x12,0xaf]
16570xff,0x02,0x05,0x85,0x56,0x34,0x12,0xaf
1658
1659# CHECK: s_cselect_b32 s5, 0x3f717273, s2        ; encoding: [0xff,0x02,0x05,0x85,0x73,0x72,0x71,0x3f]
16600xff,0x02,0x05,0x85,0x73,0x72,0x71,0x3f
1661
1662# CHECK: s_cselect_b32 s5, s1, s101              ; encoding: [0x01,0x65,0x05,0x85]
16630x01,0x65,0x05,0x85
1664
1665# CHECK: s_cselect_b32 s5, s1, flat_scratch_lo   ; encoding: [0x01,0x66,0x05,0x85]
16660x01,0x66,0x05,0x85
1667
1668# CHECK: s_cselect_b32 s5, s1, flat_scratch_hi   ; encoding: [0x01,0x67,0x05,0x85]
16690x01,0x67,0x05,0x85
1670
1671# CHECK: s_cselect_b32 s5, s1, vcc_lo            ; encoding: [0x01,0x6a,0x05,0x85]
16720x01,0x6a,0x05,0x85
1673
1674# CHECK: s_cselect_b32 s5, s1, vcc_hi            ; encoding: [0x01,0x6b,0x05,0x85]
16750x01,0x6b,0x05,0x85
1676
1677# CHECK: s_cselect_b32 s5, s1, tba_lo            ; encoding: [0x01,0x6c,0x05,0x85]
16780x01,0x6c,0x05,0x85
1679
1680# CHECK: s_cselect_b32 s5, s1, tba_hi            ; encoding: [0x01,0x6d,0x05,0x85]
16810x01,0x6d,0x05,0x85
1682
1683# CHECK: s_cselect_b32 s5, s1, tma_lo            ; encoding: [0x01,0x6e,0x05,0x85]
16840x01,0x6e,0x05,0x85
1685
1686# CHECK: s_cselect_b32 s5, s1, tma_hi            ; encoding: [0x01,0x6f,0x05,0x85]
16870x01,0x6f,0x05,0x85
1688
1689# CHECK: s_cselect_b32 s5, s1, ttmp11            ; encoding: [0x01,0x7b,0x05,0x85]
16900x01,0x7b,0x05,0x85
1691
1692# CHECK: s_cselect_b32 s5, s1, m0                ; encoding: [0x01,0x7c,0x05,0x85]
16930x01,0x7c,0x05,0x85
1694
1695# CHECK: s_cselect_b32 s5, s1, exec_lo           ; encoding: [0x01,0x7e,0x05,0x85]
16960x01,0x7e,0x05,0x85
1697
1698# CHECK: s_cselect_b32 s5, s1, exec_hi           ; encoding: [0x01,0x7f,0x05,0x85]
16990x01,0x7f,0x05,0x85
1700
1701# CHECK: s_cselect_b32 s5, s1, 0                 ; encoding: [0x01,0x80,0x05,0x85]
17020x01,0x80,0x05,0x85
1703
1704# CHECK: s_cselect_b32 s5, s1, -1                ; encoding: [0x01,0xc1,0x05,0x85]
17050x01,0xc1,0x05,0x85
1706
1707# CHECK: s_cselect_b32 s5, s1, 0.5               ; encoding: [0x01,0xf0,0x05,0x85]
17080x01,0xf0,0x05,0x85
1709
1710# CHECK: s_cselect_b32 s5, s1, -4.0              ; encoding: [0x01,0xf7,0x05,0x85]
17110x01,0xf7,0x05,0x85
1712
1713# CHECK: s_cselect_b32 s5, s1, 0xaf123456        ; encoding: [0x01,0xff,0x05,0x85,0x56,0x34,0x12,0xaf]
17140x01,0xff,0x05,0x85,0x56,0x34,0x12,0xaf
1715
1716# CHECK: s_cselect_b32 s5, s1, 0x3f717273        ; encoding: [0x01,0xff,0x05,0x85,0x73,0x72,0x71,0x3f]
17170x01,0xff,0x05,0x85,0x73,0x72,0x71,0x3f
1718
1719# CHECK: s_cselect_b64 s[10:11], s[2:3], s[4:5]  ; encoding: [0x02,0x04,0x8a,0x85]
17200x02,0x04,0x8a,0x85
1721
1722# CHECK: s_cselect_b64 s[12:13], s[2:3], s[4:5]  ; encoding: [0x02,0x04,0x8c,0x85]
17230x02,0x04,0x8c,0x85
1724
1725# CHECK: s_cselect_b64 s[100:101], s[2:3], s[4:5] ; encoding: [0x02,0x04,0xe4,0x85]
17260x02,0x04,0xe4,0x85
1727
1728# CHECK: s_cselect_b64 flat_scratch, s[2:3], s[4:5] ; encoding: [0x02,0x04,0xe6,0x85]
17290x02,0x04,0xe6,0x85
1730
1731# CHECK: s_cselect_b64 vcc, s[2:3], s[4:5]       ; encoding: [0x02,0x04,0xea,0x85]
17320x02,0x04,0xea,0x85
1733
1734# CHECK: s_cselect_b64 tba, s[2:3], s[4:5]       ; encoding: [0x02,0x04,0xec,0x85]
17350x02,0x04,0xec,0x85
1736
1737# CHECK: s_cselect_b64 tma, s[2:3], s[4:5]       ; encoding: [0x02,0x04,0xee,0x85]
17380x02,0x04,0xee,0x85
1739
1740# CHECK: s_cselect_b64 ttmp[10:11], s[2:3], s[4:5] ; encoding: [0x02,0x04,0xfa,0x85]
17410x02,0x04,0xfa,0x85
1742
1743# CHECK: s_cselect_b64 exec, s[2:3], s[4:5]      ; encoding: [0x02,0x04,0xfe,0x85]
17440x02,0x04,0xfe,0x85
1745
1746# CHECK: s_cselect_b64 s[10:11], s[4:5], s[4:5]  ; encoding: [0x04,0x04,0x8a,0x85]
17470x04,0x04,0x8a,0x85
1748
1749# CHECK: s_cselect_b64 s[10:11], s[100:101], s[4:5] ; encoding: [0x64,0x04,0x8a,0x85]
17500x64,0x04,0x8a,0x85
1751
1752# CHECK: s_cselect_b64 s[10:11], flat_scratch, s[4:5] ; encoding: [0x66,0x04,0x8a,0x85]
17530x66,0x04,0x8a,0x85
1754
1755# CHECK: s_cselect_b64 s[10:11], vcc, s[4:5]     ; encoding: [0x6a,0x04,0x8a,0x85]
17560x6a,0x04,0x8a,0x85
1757
1758# CHECK: s_cselect_b64 s[10:11], tba, s[4:5]     ; encoding: [0x6c,0x04,0x8a,0x85]
17590x6c,0x04,0x8a,0x85
1760
1761# CHECK: s_cselect_b64 s[10:11], tma, s[4:5]     ; encoding: [0x6e,0x04,0x8a,0x85]
17620x6e,0x04,0x8a,0x85
1763
1764# CHECK: s_cselect_b64 s[10:11], ttmp[10:11], s[4:5] ; encoding: [0x7a,0x04,0x8a,0x85]
17650x7a,0x04,0x8a,0x85
1766
1767# CHECK: s_cselect_b64 s[10:11], exec, s[4:5]    ; encoding: [0x7e,0x04,0x8a,0x85]
17680x7e,0x04,0x8a,0x85
1769
1770# CHECK: s_cselect_b64 s[10:11], 0, s[4:5]       ; encoding: [0x80,0x04,0x8a,0x85]
17710x80,0x04,0x8a,0x85
1772
1773# CHECK: s_cselect_b64 s[10:11], -1, s[4:5]      ; encoding: [0xc1,0x04,0x8a,0x85]
17740xc1,0x04,0x8a,0x85
1775
1776# CHECK: s_cselect_b64 s[10:11], 0.5, s[4:5]     ; encoding: [0xf0,0x04,0x8a,0x85]
17770xf0,0x04,0x8a,0x85
1778
1779# CHECK: s_cselect_b64 s[10:11], -4.0, s[4:5]    ; encoding: [0xf7,0x04,0x8a,0x85]
17800xf7,0x04,0x8a,0x85
1781
1782# CHECK: s_cselect_b64 s[10:11], 0xaf123456, s[4:5] ; encoding: [0xff,0x04,0x8a,0x85,0x56,0x34,0x12,0xaf]
17830xff,0x04,0x8a,0x85,0x56,0x34,0x12,0xaf
1784
1785# CHECK: s_cselect_b64 s[10:11], 0x3f717273, s[4:5] ; encoding: [0xff,0x04,0x8a,0x85,0x73,0x72,0x71,0x3f]
17860xff,0x04,0x8a,0x85,0x73,0x72,0x71,0x3f
1787
1788# CHECK: s_cselect_b64 s[10:11], s[2:3], s[6:7]  ; encoding: [0x02,0x06,0x8a,0x85]
17890x02,0x06,0x8a,0x85
1790
1791# CHECK: s_cselect_b64 s[10:11], s[2:3], s[100:101] ; encoding: [0x02,0x64,0x8a,0x85]
17920x02,0x64,0x8a,0x85
1793
1794# CHECK: s_cselect_b64 s[10:11], s[2:3], flat_scratch ; encoding: [0x02,0x66,0x8a,0x85]
17950x02,0x66,0x8a,0x85
1796
1797# CHECK: s_cselect_b64 s[10:11], s[2:3], vcc     ; encoding: [0x02,0x6a,0x8a,0x85]
17980x02,0x6a,0x8a,0x85
1799
1800# CHECK: s_cselect_b64 s[10:11], s[2:3], tba     ; encoding: [0x02,0x6c,0x8a,0x85]
18010x02,0x6c,0x8a,0x85
1802
1803# CHECK: s_cselect_b64 s[10:11], s[2:3], tma     ; encoding: [0x02,0x6e,0x8a,0x85]
18040x02,0x6e,0x8a,0x85
1805
1806# CHECK: s_cselect_b64 s[10:11], s[2:3], ttmp[10:11] ; encoding: [0x02,0x7a,0x8a,0x85]
18070x02,0x7a,0x8a,0x85
1808
1809# CHECK: s_cselect_b64 s[10:11], s[2:3], exec    ; encoding: [0x02,0x7e,0x8a,0x85]
18100x02,0x7e,0x8a,0x85
1811
1812# CHECK: s_cselect_b64 s[10:11], s[2:3], 0       ; encoding: [0x02,0x80,0x8a,0x85]
18130x02,0x80,0x8a,0x85
1814
1815# CHECK: s_cselect_b64 s[10:11], s[2:3], -1      ; encoding: [0x02,0xc1,0x8a,0x85]
18160x02,0xc1,0x8a,0x85
1817
1818# CHECK: s_cselect_b64 s[10:11], s[2:3], 0.5     ; encoding: [0x02,0xf0,0x8a,0x85]
18190x02,0xf0,0x8a,0x85
1820
1821# CHECK: s_cselect_b64 s[10:11], s[2:3], -4.0    ; encoding: [0x02,0xf7,0x8a,0x85]
18220x02,0xf7,0x8a,0x85
1823
1824# CHECK: s_cselect_b64 s[10:11], s[2:3], 0xaf123456 ; encoding: [0x02,0xff,0x8a,0x85,0x56,0x34,0x12,0xaf]
18250x02,0xff,0x8a,0x85,0x56,0x34,0x12,0xaf
1826
1827# CHECK: s_cselect_b64 s[10:11], s[2:3], 0x3f717273 ; encoding: [0x02,0xff,0x8a,0x85,0x73,0x72,0x71,0x3f]
18280x02,0xff,0x8a,0x85,0x73,0x72,0x71,0x3f
1829
1830# CHECK: s_and_b32 s5, s1, s2                    ; encoding: [0x01,0x02,0x05,0x86]
18310x01,0x02,0x05,0x86
1832
1833# CHECK: s_and_b32 s101, s1, s2                  ; encoding: [0x01,0x02,0x65,0x86]
18340x01,0x02,0x65,0x86
1835
1836# CHECK: s_and_b32 flat_scratch_lo, s1, s2       ; encoding: [0x01,0x02,0x66,0x86]
18370x01,0x02,0x66,0x86
1838
1839# CHECK: s_and_b32 flat_scratch_hi, s1, s2       ; encoding: [0x01,0x02,0x67,0x86]
18400x01,0x02,0x67,0x86
1841
1842# CHECK: s_and_b32 vcc_lo, s1, s2                ; encoding: [0x01,0x02,0x6a,0x86]
18430x01,0x02,0x6a,0x86
1844
1845# CHECK: s_and_b32 vcc_hi, s1, s2                ; encoding: [0x01,0x02,0x6b,0x86]
18460x01,0x02,0x6b,0x86
1847
1848# CHECK: s_and_b32 tba_lo, s1, s2                ; encoding: [0x01,0x02,0x6c,0x86]
18490x01,0x02,0x6c,0x86
1850
1851# CHECK: s_and_b32 tba_hi, s1, s2                ; encoding: [0x01,0x02,0x6d,0x86]
18520x01,0x02,0x6d,0x86
1853
1854# CHECK: s_and_b32 tma_lo, s1, s2                ; encoding: [0x01,0x02,0x6e,0x86]
18550x01,0x02,0x6e,0x86
1856
1857# CHECK: s_and_b32 tma_hi, s1, s2                ; encoding: [0x01,0x02,0x6f,0x86]
18580x01,0x02,0x6f,0x86
1859
1860# CHECK: s_and_b32 ttmp11, s1, s2                ; encoding: [0x01,0x02,0x7b,0x86]
18610x01,0x02,0x7b,0x86
1862
1863# CHECK: s_and_b32 m0, s1, s2                    ; encoding: [0x01,0x02,0x7c,0x86]
18640x01,0x02,0x7c,0x86
1865
1866# CHECK: s_and_b32 exec_lo, s1, s2               ; encoding: [0x01,0x02,0x7e,0x86]
18670x01,0x02,0x7e,0x86
1868
1869# CHECK: s_and_b32 exec_hi, s1, s2               ; encoding: [0x01,0x02,0x7f,0x86]
18700x01,0x02,0x7f,0x86
1871
1872# CHECK: s_and_b32 s5, s101, s2                  ; encoding: [0x65,0x02,0x05,0x86]
18730x65,0x02,0x05,0x86
1874
1875# CHECK: s_and_b32 s5, flat_scratch_lo, s2       ; encoding: [0x66,0x02,0x05,0x86]
18760x66,0x02,0x05,0x86
1877
1878# CHECK: s_and_b32 s5, flat_scratch_hi, s2       ; encoding: [0x67,0x02,0x05,0x86]
18790x67,0x02,0x05,0x86
1880
1881# CHECK: s_and_b32 s5, vcc_lo, s2                ; encoding: [0x6a,0x02,0x05,0x86]
18820x6a,0x02,0x05,0x86
1883
1884# CHECK: s_and_b32 s5, vcc_hi, s2                ; encoding: [0x6b,0x02,0x05,0x86]
18850x6b,0x02,0x05,0x86
1886
1887# CHECK: s_and_b32 s5, tba_lo, s2                ; encoding: [0x6c,0x02,0x05,0x86]
18880x6c,0x02,0x05,0x86
1889
1890# CHECK: s_and_b32 s5, tba_hi, s2                ; encoding: [0x6d,0x02,0x05,0x86]
18910x6d,0x02,0x05,0x86
1892
1893# CHECK: s_and_b32 s5, tma_lo, s2                ; encoding: [0x6e,0x02,0x05,0x86]
18940x6e,0x02,0x05,0x86
1895
1896# CHECK: s_and_b32 s5, tma_hi, s2                ; encoding: [0x6f,0x02,0x05,0x86]
18970x6f,0x02,0x05,0x86
1898
1899# CHECK: s_and_b32 s5, ttmp11, s2                ; encoding: [0x7b,0x02,0x05,0x86]
19000x7b,0x02,0x05,0x86
1901
1902# CHECK: s_and_b32 s5, m0, s2                    ; encoding: [0x7c,0x02,0x05,0x86]
19030x7c,0x02,0x05,0x86
1904
1905# CHECK: s_and_b32 s5, exec_lo, s2               ; encoding: [0x7e,0x02,0x05,0x86]
19060x7e,0x02,0x05,0x86
1907
1908# CHECK: s_and_b32 s5, exec_hi, s2               ; encoding: [0x7f,0x02,0x05,0x86]
19090x7f,0x02,0x05,0x86
1910
1911# CHECK: s_and_b32 s5, 0, s2                     ; encoding: [0x80,0x02,0x05,0x86]
19120x80,0x02,0x05,0x86
1913
1914# CHECK: s_and_b32 s5, -1, s2                    ; encoding: [0xc1,0x02,0x05,0x86]
19150xc1,0x02,0x05,0x86
1916
1917# CHECK: s_and_b32 s5, 0.5, s2                   ; encoding: [0xf0,0x02,0x05,0x86]
19180xf0,0x02,0x05,0x86
1919
1920# CHECK: s_and_b32 s5, -4.0, s2                  ; encoding: [0xf7,0x02,0x05,0x86]
19210xf7,0x02,0x05,0x86
1922
1923# CHECK: s_and_b32 s5, 0xaf123456, s2            ; encoding: [0xff,0x02,0x05,0x86,0x56,0x34,0x12,0xaf]
19240xff,0x02,0x05,0x86,0x56,0x34,0x12,0xaf
1925
1926# CHECK: s_and_b32 s5, 0x3f717273, s2            ; encoding: [0xff,0x02,0x05,0x86,0x73,0x72,0x71,0x3f]
19270xff,0x02,0x05,0x86,0x73,0x72,0x71,0x3f
1928
1929# CHECK: s_and_b32 s5, s1, s101                  ; encoding: [0x01,0x65,0x05,0x86]
19300x01,0x65,0x05,0x86
1931
1932# CHECK: s_and_b32 s5, s1, flat_scratch_lo       ; encoding: [0x01,0x66,0x05,0x86]
19330x01,0x66,0x05,0x86
1934
1935# CHECK: s_and_b32 s5, s1, flat_scratch_hi       ; encoding: [0x01,0x67,0x05,0x86]
19360x01,0x67,0x05,0x86
1937
1938# CHECK: s_and_b32 s5, s1, vcc_lo                ; encoding: [0x01,0x6a,0x05,0x86]
19390x01,0x6a,0x05,0x86
1940
1941# CHECK: s_and_b32 s5, s1, vcc_hi                ; encoding: [0x01,0x6b,0x05,0x86]
19420x01,0x6b,0x05,0x86
1943
1944# CHECK: s_and_b32 s5, s1, tba_lo                ; encoding: [0x01,0x6c,0x05,0x86]
19450x01,0x6c,0x05,0x86
1946
1947# CHECK: s_and_b32 s5, s1, tba_hi                ; encoding: [0x01,0x6d,0x05,0x86]
19480x01,0x6d,0x05,0x86
1949
1950# CHECK: s_and_b32 s5, s1, tma_lo                ; encoding: [0x01,0x6e,0x05,0x86]
19510x01,0x6e,0x05,0x86
1952
1953# CHECK: s_and_b32 s5, s1, tma_hi                ; encoding: [0x01,0x6f,0x05,0x86]
19540x01,0x6f,0x05,0x86
1955
1956# CHECK: s_and_b32 s5, s1, ttmp11                ; encoding: [0x01,0x7b,0x05,0x86]
19570x01,0x7b,0x05,0x86
1958
1959# CHECK: s_and_b32 s5, s1, m0                    ; encoding: [0x01,0x7c,0x05,0x86]
19600x01,0x7c,0x05,0x86
1961
1962# CHECK: s_and_b32 s5, s1, exec_lo               ; encoding: [0x01,0x7e,0x05,0x86]
19630x01,0x7e,0x05,0x86
1964
1965# CHECK: s_and_b32 s5, s1, exec_hi               ; encoding: [0x01,0x7f,0x05,0x86]
19660x01,0x7f,0x05,0x86
1967
1968# CHECK: s_and_b32 s5, s1, 0                     ; encoding: [0x01,0x80,0x05,0x86]
19690x01,0x80,0x05,0x86
1970
1971# CHECK: s_and_b32 s5, s1, -1                    ; encoding: [0x01,0xc1,0x05,0x86]
19720x01,0xc1,0x05,0x86
1973
1974# CHECK: s_and_b32 s5, s1, 0.5                   ; encoding: [0x01,0xf0,0x05,0x86]
19750x01,0xf0,0x05,0x86
1976
1977# CHECK: s_and_b32 s5, s1, -4.0                  ; encoding: [0x01,0xf7,0x05,0x86]
19780x01,0xf7,0x05,0x86
1979
1980# CHECK: s_and_b32 s5, s1, 0xaf123456            ; encoding: [0x01,0xff,0x05,0x86,0x56,0x34,0x12,0xaf]
19810x01,0xff,0x05,0x86,0x56,0x34,0x12,0xaf
1982
1983# CHECK: s_and_b32 s5, s1, 0x3f717273            ; encoding: [0x01,0xff,0x05,0x86,0x73,0x72,0x71,0x3f]
19840x01,0xff,0x05,0x86,0x73,0x72,0x71,0x3f
1985
1986# CHECK: s_and_b64 s[10:11], s[2:3], s[4:5]      ; encoding: [0x02,0x04,0x8a,0x86]
19870x02,0x04,0x8a,0x86
1988
1989# CHECK: s_and_b64 s[12:13], s[2:3], s[4:5]      ; encoding: [0x02,0x04,0x8c,0x86]
19900x02,0x04,0x8c,0x86
1991
1992# CHECK: s_and_b64 s[100:101], s[2:3], s[4:5]    ; encoding: [0x02,0x04,0xe4,0x86]
19930x02,0x04,0xe4,0x86
1994
1995# CHECK: s_and_b64 flat_scratch, s[2:3], s[4:5]  ; encoding: [0x02,0x04,0xe6,0x86]
19960x02,0x04,0xe6,0x86
1997
1998# CHECK: s_and_b64 vcc, s[2:3], s[4:5]           ; encoding: [0x02,0x04,0xea,0x86]
19990x02,0x04,0xea,0x86
2000
2001# CHECK: s_and_b64 tba, s[2:3], s[4:5]           ; encoding: [0x02,0x04,0xec,0x86]
20020x02,0x04,0xec,0x86
2003
2004# CHECK: s_and_b64 tma, s[2:3], s[4:5]           ; encoding: [0x02,0x04,0xee,0x86]
20050x02,0x04,0xee,0x86
2006
2007# CHECK: s_and_b64 ttmp[10:11], s[2:3], s[4:5]   ; encoding: [0x02,0x04,0xfa,0x86]
20080x02,0x04,0xfa,0x86
2009
2010# CHECK: s_and_b64 exec, s[2:3], s[4:5]          ; encoding: [0x02,0x04,0xfe,0x86]
20110x02,0x04,0xfe,0x86
2012
2013# CHECK: s_and_b64 s[10:11], s[4:5], s[4:5]      ; encoding: [0x04,0x04,0x8a,0x86]
20140x04,0x04,0x8a,0x86
2015
2016# CHECK: s_and_b64 s[10:11], s[100:101], s[4:5]  ; encoding: [0x64,0x04,0x8a,0x86]
20170x64,0x04,0x8a,0x86
2018
2019# CHECK: s_and_b64 s[10:11], flat_scratch, s[4:5] ; encoding: [0x66,0x04,0x8a,0x86]
20200x66,0x04,0x8a,0x86
2021
2022# CHECK: s_and_b64 s[10:11], vcc, s[4:5]         ; encoding: [0x6a,0x04,0x8a,0x86]
20230x6a,0x04,0x8a,0x86
2024
2025# CHECK: s_and_b64 s[10:11], tba, s[4:5]         ; encoding: [0x6c,0x04,0x8a,0x86]
20260x6c,0x04,0x8a,0x86
2027
2028# CHECK: s_and_b64 s[10:11], tma, s[4:5]         ; encoding: [0x6e,0x04,0x8a,0x86]
20290x6e,0x04,0x8a,0x86
2030
2031# CHECK: s_and_b64 s[10:11], ttmp[10:11], s[4:5] ; encoding: [0x7a,0x04,0x8a,0x86]
20320x7a,0x04,0x8a,0x86
2033
2034# CHECK: s_and_b64 s[10:11], exec, s[4:5]        ; encoding: [0x7e,0x04,0x8a,0x86]
20350x7e,0x04,0x8a,0x86
2036
2037# CHECK: s_and_b64 s[10:11], 0, s[4:5]           ; encoding: [0x80,0x04,0x8a,0x86]
20380x80,0x04,0x8a,0x86
2039
2040# CHECK: s_and_b64 s[10:11], -1, s[4:5]          ; encoding: [0xc1,0x04,0x8a,0x86]
20410xc1,0x04,0x8a,0x86
2042
2043# CHECK: s_and_b64 s[10:11], 0.5, s[4:5]         ; encoding: [0xf0,0x04,0x8a,0x86]
20440xf0,0x04,0x8a,0x86
2045
2046# CHECK: s_and_b64 s[10:11], -4.0, s[4:5]        ; encoding: [0xf7,0x04,0x8a,0x86]
20470xf7,0x04,0x8a,0x86
2048
2049# CHECK: s_and_b64 s[10:11], 0xaf123456, s[4:5]  ; encoding: [0xff,0x04,0x8a,0x86,0x56,0x34,0x12,0xaf]
20500xff,0x04,0x8a,0x86,0x56,0x34,0x12,0xaf
2051
2052# CHECK: s_and_b64 s[10:11], 0x3f717273, s[4:5]  ; encoding: [0xff,0x04,0x8a,0x86,0x73,0x72,0x71,0x3f]
20530xff,0x04,0x8a,0x86,0x73,0x72,0x71,0x3f
2054
2055# CHECK: s_and_b64 s[10:11], s[2:3], s[6:7]      ; encoding: [0x02,0x06,0x8a,0x86]
20560x02,0x06,0x8a,0x86
2057
2058# CHECK: s_and_b64 s[10:11], s[2:3], s[100:101]  ; encoding: [0x02,0x64,0x8a,0x86]
20590x02,0x64,0x8a,0x86
2060
2061# CHECK: s_and_b64 s[10:11], s[2:3], flat_scratch ; encoding: [0x02,0x66,0x8a,0x86]
20620x02,0x66,0x8a,0x86
2063
2064# CHECK: s_and_b64 s[10:11], s[2:3], vcc         ; encoding: [0x02,0x6a,0x8a,0x86]
20650x02,0x6a,0x8a,0x86
2066
2067# CHECK: s_and_b64 s[10:11], s[2:3], tba         ; encoding: [0x02,0x6c,0x8a,0x86]
20680x02,0x6c,0x8a,0x86
2069
2070# CHECK: s_and_b64 s[10:11], s[2:3], tma         ; encoding: [0x02,0x6e,0x8a,0x86]
20710x02,0x6e,0x8a,0x86
2072
2073# CHECK: s_and_b64 s[10:11], s[2:3], ttmp[10:11] ; encoding: [0x02,0x7a,0x8a,0x86]
20740x02,0x7a,0x8a,0x86
2075
2076# CHECK: s_and_b64 s[10:11], s[2:3], exec        ; encoding: [0x02,0x7e,0x8a,0x86]
20770x02,0x7e,0x8a,0x86
2078
2079# CHECK: s_and_b64 s[10:11], s[2:3], 0           ; encoding: [0x02,0x80,0x8a,0x86]
20800x02,0x80,0x8a,0x86
2081
2082# CHECK: s_and_b64 s[10:11], s[2:3], -1          ; encoding: [0x02,0xc1,0x8a,0x86]
20830x02,0xc1,0x8a,0x86
2084
2085# CHECK: s_and_b64 s[10:11], s[2:3], 0.5         ; encoding: [0x02,0xf0,0x8a,0x86]
20860x02,0xf0,0x8a,0x86
2087
2088# CHECK: s_and_b64 s[10:11], s[2:3], -4.0        ; encoding: [0x02,0xf7,0x8a,0x86]
20890x02,0xf7,0x8a,0x86
2090
2091# CHECK: s_and_b64 s[10:11], s[2:3], 0xaf123456  ; encoding: [0x02,0xff,0x8a,0x86,0x56,0x34,0x12,0xaf]
20920x02,0xff,0x8a,0x86,0x56,0x34,0x12,0xaf
2093
2094# CHECK: s_and_b64 s[10:11], s[2:3], 0x3f717273  ; encoding: [0x02,0xff,0x8a,0x86,0x73,0x72,0x71,0x3f]
20950x02,0xff,0x8a,0x86,0x73,0x72,0x71,0x3f
2096
2097# CHECK: s_or_b32 s5, s1, s2                     ; encoding: [0x01,0x02,0x05,0x87]
20980x01,0x02,0x05,0x87
2099
2100# CHECK: s_or_b32 s101, s1, s2                   ; encoding: [0x01,0x02,0x65,0x87]
21010x01,0x02,0x65,0x87
2102
2103# CHECK: s_or_b32 flat_scratch_lo, s1, s2        ; encoding: [0x01,0x02,0x66,0x87]
21040x01,0x02,0x66,0x87
2105
2106# CHECK: s_or_b32 flat_scratch_hi, s1, s2        ; encoding: [0x01,0x02,0x67,0x87]
21070x01,0x02,0x67,0x87
2108
2109# CHECK: s_or_b32 vcc_lo, s1, s2                 ; encoding: [0x01,0x02,0x6a,0x87]
21100x01,0x02,0x6a,0x87
2111
2112# CHECK: s_or_b32 vcc_hi, s1, s2                 ; encoding: [0x01,0x02,0x6b,0x87]
21130x01,0x02,0x6b,0x87
2114
2115# CHECK: s_or_b32 tba_lo, s1, s2                 ; encoding: [0x01,0x02,0x6c,0x87]
21160x01,0x02,0x6c,0x87
2117
2118# CHECK: s_or_b32 tba_hi, s1, s2                 ; encoding: [0x01,0x02,0x6d,0x87]
21190x01,0x02,0x6d,0x87
2120
2121# CHECK: s_or_b32 tma_lo, s1, s2                 ; encoding: [0x01,0x02,0x6e,0x87]
21220x01,0x02,0x6e,0x87
2123
2124# CHECK: s_or_b32 tma_hi, s1, s2                 ; encoding: [0x01,0x02,0x6f,0x87]
21250x01,0x02,0x6f,0x87
2126
2127# CHECK: s_or_b32 ttmp11, s1, s2                 ; encoding: [0x01,0x02,0x7b,0x87]
21280x01,0x02,0x7b,0x87
2129
2130# CHECK: s_or_b32 m0, s1, s2                     ; encoding: [0x01,0x02,0x7c,0x87]
21310x01,0x02,0x7c,0x87
2132
2133# CHECK: s_or_b32 exec_lo, s1, s2                ; encoding: [0x01,0x02,0x7e,0x87]
21340x01,0x02,0x7e,0x87
2135
2136# CHECK: s_or_b32 exec_hi, s1, s2                ; encoding: [0x01,0x02,0x7f,0x87]
21370x01,0x02,0x7f,0x87
2138
2139# CHECK: s_or_b32 s5, s101, s2                   ; encoding: [0x65,0x02,0x05,0x87]
21400x65,0x02,0x05,0x87
2141
2142# CHECK: s_or_b32 s5, flat_scratch_lo, s2        ; encoding: [0x66,0x02,0x05,0x87]
21430x66,0x02,0x05,0x87
2144
2145# CHECK: s_or_b32 s5, flat_scratch_hi, s2        ; encoding: [0x67,0x02,0x05,0x87]
21460x67,0x02,0x05,0x87
2147
2148# CHECK: s_or_b32 s5, vcc_lo, s2                 ; encoding: [0x6a,0x02,0x05,0x87]
21490x6a,0x02,0x05,0x87
2150
2151# CHECK: s_or_b32 s5, vcc_hi, s2                 ; encoding: [0x6b,0x02,0x05,0x87]
21520x6b,0x02,0x05,0x87
2153
2154# CHECK: s_or_b32 s5, tba_lo, s2                 ; encoding: [0x6c,0x02,0x05,0x87]
21550x6c,0x02,0x05,0x87
2156
2157# CHECK: s_or_b32 s5, tba_hi, s2                 ; encoding: [0x6d,0x02,0x05,0x87]
21580x6d,0x02,0x05,0x87
2159
2160# CHECK: s_or_b32 s5, tma_lo, s2                 ; encoding: [0x6e,0x02,0x05,0x87]
21610x6e,0x02,0x05,0x87
2162
2163# CHECK: s_or_b32 s5, tma_hi, s2                 ; encoding: [0x6f,0x02,0x05,0x87]
21640x6f,0x02,0x05,0x87
2165
2166# CHECK: s_or_b32 s5, ttmp11, s2                 ; encoding: [0x7b,0x02,0x05,0x87]
21670x7b,0x02,0x05,0x87
2168
2169# CHECK: s_or_b32 s5, m0, s2                     ; encoding: [0x7c,0x02,0x05,0x87]
21700x7c,0x02,0x05,0x87
2171
2172# CHECK: s_or_b32 s5, exec_lo, s2                ; encoding: [0x7e,0x02,0x05,0x87]
21730x7e,0x02,0x05,0x87
2174
2175# CHECK: s_or_b32 s5, exec_hi, s2                ; encoding: [0x7f,0x02,0x05,0x87]
21760x7f,0x02,0x05,0x87
2177
2178# CHECK: s_or_b32 s5, 0, s2                      ; encoding: [0x80,0x02,0x05,0x87]
21790x80,0x02,0x05,0x87
2180
2181# CHECK: s_or_b32 s5, -1, s2                     ; encoding: [0xc1,0x02,0x05,0x87]
21820xc1,0x02,0x05,0x87
2183
2184# CHECK: s_or_b32 s5, 0.5, s2                    ; encoding: [0xf0,0x02,0x05,0x87]
21850xf0,0x02,0x05,0x87
2186
2187# CHECK: s_or_b32 s5, -4.0, s2                   ; encoding: [0xf7,0x02,0x05,0x87]
21880xf7,0x02,0x05,0x87
2189
2190# CHECK: s_or_b32 s5, 0xaf123456, s2             ; encoding: [0xff,0x02,0x05,0x87,0x56,0x34,0x12,0xaf]
21910xff,0x02,0x05,0x87,0x56,0x34,0x12,0xaf
2192
2193# CHECK: s_or_b32 s5, 0x3f717273, s2             ; encoding: [0xff,0x02,0x05,0x87,0x73,0x72,0x71,0x3f]
21940xff,0x02,0x05,0x87,0x73,0x72,0x71,0x3f
2195
2196# CHECK: s_or_b32 s5, s1, s101                   ; encoding: [0x01,0x65,0x05,0x87]
21970x01,0x65,0x05,0x87
2198
2199# CHECK: s_or_b32 s5, s1, flat_scratch_lo        ; encoding: [0x01,0x66,0x05,0x87]
22000x01,0x66,0x05,0x87
2201
2202# CHECK: s_or_b32 s5, s1, flat_scratch_hi        ; encoding: [0x01,0x67,0x05,0x87]
22030x01,0x67,0x05,0x87
2204
2205# CHECK: s_or_b32 s5, s1, vcc_lo                 ; encoding: [0x01,0x6a,0x05,0x87]
22060x01,0x6a,0x05,0x87
2207
2208# CHECK: s_or_b32 s5, s1, vcc_hi                 ; encoding: [0x01,0x6b,0x05,0x87]
22090x01,0x6b,0x05,0x87
2210
2211# CHECK: s_or_b32 s5, s1, tba_lo                 ; encoding: [0x01,0x6c,0x05,0x87]
22120x01,0x6c,0x05,0x87
2213
2214# CHECK: s_or_b32 s5, s1, tba_hi                 ; encoding: [0x01,0x6d,0x05,0x87]
22150x01,0x6d,0x05,0x87
2216
2217# CHECK: s_or_b32 s5, s1, tma_lo                 ; encoding: [0x01,0x6e,0x05,0x87]
22180x01,0x6e,0x05,0x87
2219
2220# CHECK: s_or_b32 s5, s1, tma_hi                 ; encoding: [0x01,0x6f,0x05,0x87]
22210x01,0x6f,0x05,0x87
2222
2223# CHECK: s_or_b32 s5, s1, ttmp11                 ; encoding: [0x01,0x7b,0x05,0x87]
22240x01,0x7b,0x05,0x87
2225
2226# CHECK: s_or_b32 s5, s1, m0                     ; encoding: [0x01,0x7c,0x05,0x87]
22270x01,0x7c,0x05,0x87
2228
2229# CHECK: s_or_b32 s5, s1, exec_lo                ; encoding: [0x01,0x7e,0x05,0x87]
22300x01,0x7e,0x05,0x87
2231
2232# CHECK: s_or_b32 s5, s1, exec_hi                ; encoding: [0x01,0x7f,0x05,0x87]
22330x01,0x7f,0x05,0x87
2234
2235# CHECK: s_or_b32 s5, s1, 0                      ; encoding: [0x01,0x80,0x05,0x87]
22360x01,0x80,0x05,0x87
2237
2238# CHECK: s_or_b32 s5, s1, -1                     ; encoding: [0x01,0xc1,0x05,0x87]
22390x01,0xc1,0x05,0x87
2240
2241# CHECK: s_or_b32 s5, s1, 0.5                    ; encoding: [0x01,0xf0,0x05,0x87]
22420x01,0xf0,0x05,0x87
2243
2244# CHECK: s_or_b32 s5, s1, -4.0                   ; encoding: [0x01,0xf7,0x05,0x87]
22450x01,0xf7,0x05,0x87
2246
2247# CHECK: s_or_b32 s5, s1, 0xaf123456             ; encoding: [0x01,0xff,0x05,0x87,0x56,0x34,0x12,0xaf]
22480x01,0xff,0x05,0x87,0x56,0x34,0x12,0xaf
2249
2250# CHECK: s_or_b32 s5, s1, 0x3f717273             ; encoding: [0x01,0xff,0x05,0x87,0x73,0x72,0x71,0x3f]
22510x01,0xff,0x05,0x87,0x73,0x72,0x71,0x3f
2252
2253# CHECK: s_or_b64 s[10:11], s[2:3], s[4:5]       ; encoding: [0x02,0x04,0x8a,0x87]
22540x02,0x04,0x8a,0x87
2255
2256# CHECK: s_or_b64 s[12:13], s[2:3], s[4:5]       ; encoding: [0x02,0x04,0x8c,0x87]
22570x02,0x04,0x8c,0x87
2258
2259# CHECK: s_or_b64 s[100:101], s[2:3], s[4:5]     ; encoding: [0x02,0x04,0xe4,0x87]
22600x02,0x04,0xe4,0x87
2261
2262# CHECK: s_or_b64 flat_scratch, s[2:3], s[4:5]   ; encoding: [0x02,0x04,0xe6,0x87]
22630x02,0x04,0xe6,0x87
2264
2265# CHECK: s_or_b64 vcc, s[2:3], s[4:5]            ; encoding: [0x02,0x04,0xea,0x87]
22660x02,0x04,0xea,0x87
2267
2268# CHECK: s_or_b64 tba, s[2:3], s[4:5]            ; encoding: [0x02,0x04,0xec,0x87]
22690x02,0x04,0xec,0x87
2270
2271# CHECK: s_or_b64 tma, s[2:3], s[4:5]            ; encoding: [0x02,0x04,0xee,0x87]
22720x02,0x04,0xee,0x87
2273
2274# CHECK: s_or_b64 ttmp[10:11], s[2:3], s[4:5]    ; encoding: [0x02,0x04,0xfa,0x87]
22750x02,0x04,0xfa,0x87
2276
2277# CHECK: s_or_b64 exec, s[2:3], s[4:5]           ; encoding: [0x02,0x04,0xfe,0x87]
22780x02,0x04,0xfe,0x87
2279
2280# CHECK: s_or_b64 s[10:11], s[4:5], s[4:5]       ; encoding: [0x04,0x04,0x8a,0x87]
22810x04,0x04,0x8a,0x87
2282
2283# CHECK: s_or_b64 s[10:11], s[100:101], s[4:5]   ; encoding: [0x64,0x04,0x8a,0x87]
22840x64,0x04,0x8a,0x87
2285
2286# CHECK: s_or_b64 s[10:11], flat_scratch, s[4:5] ; encoding: [0x66,0x04,0x8a,0x87]
22870x66,0x04,0x8a,0x87
2288
2289# CHECK: s_or_b64 s[10:11], vcc, s[4:5]          ; encoding: [0x6a,0x04,0x8a,0x87]
22900x6a,0x04,0x8a,0x87
2291
2292# CHECK: s_or_b64 s[10:11], tba, s[4:5]          ; encoding: [0x6c,0x04,0x8a,0x87]
22930x6c,0x04,0x8a,0x87
2294
2295# CHECK: s_or_b64 s[10:11], tma, s[4:5]          ; encoding: [0x6e,0x04,0x8a,0x87]
22960x6e,0x04,0x8a,0x87
2297
2298# CHECK: s_or_b64 s[10:11], ttmp[10:11], s[4:5]  ; encoding: [0x7a,0x04,0x8a,0x87]
22990x7a,0x04,0x8a,0x87
2300
2301# CHECK: s_or_b64 s[10:11], exec, s[4:5]         ; encoding: [0x7e,0x04,0x8a,0x87]
23020x7e,0x04,0x8a,0x87
2303
2304# CHECK: s_or_b64 s[10:11], 0, s[4:5]            ; encoding: [0x80,0x04,0x8a,0x87]
23050x80,0x04,0x8a,0x87
2306
2307# CHECK: s_or_b64 s[10:11], -1, s[4:5]           ; encoding: [0xc1,0x04,0x8a,0x87]
23080xc1,0x04,0x8a,0x87
2309
2310# CHECK: s_or_b64 s[10:11], 0.5, s[4:5]          ; encoding: [0xf0,0x04,0x8a,0x87]
23110xf0,0x04,0x8a,0x87
2312
2313# CHECK: s_or_b64 s[10:11], -4.0, s[4:5]         ; encoding: [0xf7,0x04,0x8a,0x87]
23140xf7,0x04,0x8a,0x87
2315
2316# CHECK: s_or_b64 s[10:11], 0xaf123456, s[4:5]   ; encoding: [0xff,0x04,0x8a,0x87,0x56,0x34,0x12,0xaf]
23170xff,0x04,0x8a,0x87,0x56,0x34,0x12,0xaf
2318
2319# CHECK: s_or_b64 s[10:11], 0x3f717273, s[4:5]   ; encoding: [0xff,0x04,0x8a,0x87,0x73,0x72,0x71,0x3f]
23200xff,0x04,0x8a,0x87,0x73,0x72,0x71,0x3f
2321
2322# CHECK: s_or_b64 s[10:11], s[2:3], s[6:7]       ; encoding: [0x02,0x06,0x8a,0x87]
23230x02,0x06,0x8a,0x87
2324
2325# CHECK: s_or_b64 s[10:11], s[2:3], s[100:101]   ; encoding: [0x02,0x64,0x8a,0x87]
23260x02,0x64,0x8a,0x87
2327
2328# CHECK: s_or_b64 s[10:11], s[2:3], flat_scratch ; encoding: [0x02,0x66,0x8a,0x87]
23290x02,0x66,0x8a,0x87
2330
2331# CHECK: s_or_b64 s[10:11], s[2:3], vcc          ; encoding: [0x02,0x6a,0x8a,0x87]
23320x02,0x6a,0x8a,0x87
2333
2334# CHECK: s_or_b64 s[10:11], s[2:3], tba          ; encoding: [0x02,0x6c,0x8a,0x87]
23350x02,0x6c,0x8a,0x87
2336
2337# CHECK: s_or_b64 s[10:11], s[2:3], tma          ; encoding: [0x02,0x6e,0x8a,0x87]
23380x02,0x6e,0x8a,0x87
2339
2340# CHECK: s_or_b64 s[10:11], s[2:3], ttmp[10:11]  ; encoding: [0x02,0x7a,0x8a,0x87]
23410x02,0x7a,0x8a,0x87
2342
2343# CHECK: s_or_b64 s[10:11], s[2:3], exec         ; encoding: [0x02,0x7e,0x8a,0x87]
23440x02,0x7e,0x8a,0x87
2345
2346# CHECK: s_or_b64 s[10:11], s[2:3], 0            ; encoding: [0x02,0x80,0x8a,0x87]
23470x02,0x80,0x8a,0x87
2348
2349# CHECK: s_or_b64 s[10:11], s[2:3], -1           ; encoding: [0x02,0xc1,0x8a,0x87]
23500x02,0xc1,0x8a,0x87
2351
2352# CHECK: s_or_b64 s[10:11], s[2:3], 0.5          ; encoding: [0x02,0xf0,0x8a,0x87]
23530x02,0xf0,0x8a,0x87
2354
2355# CHECK: s_or_b64 s[10:11], s[2:3], -4.0         ; encoding: [0x02,0xf7,0x8a,0x87]
23560x02,0xf7,0x8a,0x87
2357
2358# CHECK: s_or_b64 s[10:11], s[2:3], 0xaf123456   ; encoding: [0x02,0xff,0x8a,0x87,0x56,0x34,0x12,0xaf]
23590x02,0xff,0x8a,0x87,0x56,0x34,0x12,0xaf
2360
2361# CHECK: s_or_b64 s[10:11], s[2:3], 0x3f717273   ; encoding: [0x02,0xff,0x8a,0x87,0x73,0x72,0x71,0x3f]
23620x02,0xff,0x8a,0x87,0x73,0x72,0x71,0x3f
2363
2364# CHECK: s_xor_b32 s5, s1, s2                    ; encoding: [0x01,0x02,0x05,0x88]
23650x01,0x02,0x05,0x88
2366
2367# CHECK: s_xor_b32 s101, s1, s2                  ; encoding: [0x01,0x02,0x65,0x88]
23680x01,0x02,0x65,0x88
2369
2370# CHECK: s_xor_b32 flat_scratch_lo, s1, s2       ; encoding: [0x01,0x02,0x66,0x88]
23710x01,0x02,0x66,0x88
2372
2373# CHECK: s_xor_b32 flat_scratch_hi, s1, s2       ; encoding: [0x01,0x02,0x67,0x88]
23740x01,0x02,0x67,0x88
2375
2376# CHECK: s_xor_b32 vcc_lo, s1, s2                ; encoding: [0x01,0x02,0x6a,0x88]
23770x01,0x02,0x6a,0x88
2378
2379# CHECK: s_xor_b32 vcc_hi, s1, s2                ; encoding: [0x01,0x02,0x6b,0x88]
23800x01,0x02,0x6b,0x88
2381
2382# CHECK: s_xor_b32 tba_lo, s1, s2                ; encoding: [0x01,0x02,0x6c,0x88]
23830x01,0x02,0x6c,0x88
2384
2385# CHECK: s_xor_b32 tba_hi, s1, s2                ; encoding: [0x01,0x02,0x6d,0x88]
23860x01,0x02,0x6d,0x88
2387
2388# CHECK: s_xor_b32 tma_lo, s1, s2                ; encoding: [0x01,0x02,0x6e,0x88]
23890x01,0x02,0x6e,0x88
2390
2391# CHECK: s_xor_b32 tma_hi, s1, s2                ; encoding: [0x01,0x02,0x6f,0x88]
23920x01,0x02,0x6f,0x88
2393
2394# CHECK: s_xor_b32 ttmp11, s1, s2                ; encoding: [0x01,0x02,0x7b,0x88]
23950x01,0x02,0x7b,0x88
2396
2397# CHECK: s_xor_b32 m0, s1, s2                    ; encoding: [0x01,0x02,0x7c,0x88]
23980x01,0x02,0x7c,0x88
2399
2400# CHECK: s_xor_b32 exec_lo, s1, s2               ; encoding: [0x01,0x02,0x7e,0x88]
24010x01,0x02,0x7e,0x88
2402
2403# CHECK: s_xor_b32 exec_hi, s1, s2               ; encoding: [0x01,0x02,0x7f,0x88]
24040x01,0x02,0x7f,0x88
2405
2406# CHECK: s_xor_b32 s5, s101, s2                  ; encoding: [0x65,0x02,0x05,0x88]
24070x65,0x02,0x05,0x88
2408
2409# CHECK: s_xor_b32 s5, flat_scratch_lo, s2       ; encoding: [0x66,0x02,0x05,0x88]
24100x66,0x02,0x05,0x88
2411
2412# CHECK: s_xor_b32 s5, flat_scratch_hi, s2       ; encoding: [0x67,0x02,0x05,0x88]
24130x67,0x02,0x05,0x88
2414
2415# CHECK: s_xor_b32 s5, vcc_lo, s2                ; encoding: [0x6a,0x02,0x05,0x88]
24160x6a,0x02,0x05,0x88
2417
2418# CHECK: s_xor_b32 s5, vcc_hi, s2                ; encoding: [0x6b,0x02,0x05,0x88]
24190x6b,0x02,0x05,0x88
2420
2421# CHECK: s_xor_b32 s5, tba_lo, s2                ; encoding: [0x6c,0x02,0x05,0x88]
24220x6c,0x02,0x05,0x88
2423
2424# CHECK: s_xor_b32 s5, tba_hi, s2                ; encoding: [0x6d,0x02,0x05,0x88]
24250x6d,0x02,0x05,0x88
2426
2427# CHECK: s_xor_b32 s5, tma_lo, s2                ; encoding: [0x6e,0x02,0x05,0x88]
24280x6e,0x02,0x05,0x88
2429
2430# CHECK: s_xor_b32 s5, tma_hi, s2                ; encoding: [0x6f,0x02,0x05,0x88]
24310x6f,0x02,0x05,0x88
2432
2433# CHECK: s_xor_b32 s5, ttmp11, s2                ; encoding: [0x7b,0x02,0x05,0x88]
24340x7b,0x02,0x05,0x88
2435
2436# CHECK: s_xor_b32 s5, m0, s2                    ; encoding: [0x7c,0x02,0x05,0x88]
24370x7c,0x02,0x05,0x88
2438
2439# CHECK: s_xor_b32 s5, exec_lo, s2               ; encoding: [0x7e,0x02,0x05,0x88]
24400x7e,0x02,0x05,0x88
2441
2442# CHECK: s_xor_b32 s5, exec_hi, s2               ; encoding: [0x7f,0x02,0x05,0x88]
24430x7f,0x02,0x05,0x88
2444
2445# CHECK: s_xor_b32 s5, 0, s2                     ; encoding: [0x80,0x02,0x05,0x88]
24460x80,0x02,0x05,0x88
2447
2448# CHECK: s_xor_b32 s5, -1, s2                    ; encoding: [0xc1,0x02,0x05,0x88]
24490xc1,0x02,0x05,0x88
2450
2451# CHECK: s_xor_b32 s5, 0.5, s2                   ; encoding: [0xf0,0x02,0x05,0x88]
24520xf0,0x02,0x05,0x88
2453
2454# CHECK: s_xor_b32 s5, -4.0, s2                  ; encoding: [0xf7,0x02,0x05,0x88]
24550xf7,0x02,0x05,0x88
2456
2457# CHECK: s_xor_b32 s5, 0xaf123456, s2            ; encoding: [0xff,0x02,0x05,0x88,0x56,0x34,0x12,0xaf]
24580xff,0x02,0x05,0x88,0x56,0x34,0x12,0xaf
2459
2460# CHECK: s_xor_b32 s5, 0x3f717273, s2            ; encoding: [0xff,0x02,0x05,0x88,0x73,0x72,0x71,0x3f]
24610xff,0x02,0x05,0x88,0x73,0x72,0x71,0x3f
2462
2463# CHECK: s_xor_b32 s5, s1, s101                  ; encoding: [0x01,0x65,0x05,0x88]
24640x01,0x65,0x05,0x88
2465
2466# CHECK: s_xor_b32 s5, s1, flat_scratch_lo       ; encoding: [0x01,0x66,0x05,0x88]
24670x01,0x66,0x05,0x88
2468
2469# CHECK: s_xor_b32 s5, s1, flat_scratch_hi       ; encoding: [0x01,0x67,0x05,0x88]
24700x01,0x67,0x05,0x88
2471
2472# CHECK: s_xor_b32 s5, s1, vcc_lo                ; encoding: [0x01,0x6a,0x05,0x88]
24730x01,0x6a,0x05,0x88
2474
2475# CHECK: s_xor_b32 s5, s1, vcc_hi                ; encoding: [0x01,0x6b,0x05,0x88]
24760x01,0x6b,0x05,0x88
2477
2478# CHECK: s_xor_b32 s5, s1, tba_lo                ; encoding: [0x01,0x6c,0x05,0x88]
24790x01,0x6c,0x05,0x88
2480
2481# CHECK: s_xor_b32 s5, s1, tba_hi                ; encoding: [0x01,0x6d,0x05,0x88]
24820x01,0x6d,0x05,0x88
2483
2484# CHECK: s_xor_b32 s5, s1, tma_lo                ; encoding: [0x01,0x6e,0x05,0x88]
24850x01,0x6e,0x05,0x88
2486
2487# CHECK: s_xor_b32 s5, s1, tma_hi                ; encoding: [0x01,0x6f,0x05,0x88]
24880x01,0x6f,0x05,0x88
2489
2490# CHECK: s_xor_b32 s5, s1, ttmp11                ; encoding: [0x01,0x7b,0x05,0x88]
24910x01,0x7b,0x05,0x88
2492
2493# CHECK: s_xor_b32 s5, s1, m0                    ; encoding: [0x01,0x7c,0x05,0x88]
24940x01,0x7c,0x05,0x88
2495
2496# CHECK: s_xor_b32 s5, s1, exec_lo               ; encoding: [0x01,0x7e,0x05,0x88]
24970x01,0x7e,0x05,0x88
2498
2499# CHECK: s_xor_b32 s5, s1, exec_hi               ; encoding: [0x01,0x7f,0x05,0x88]
25000x01,0x7f,0x05,0x88
2501
2502# CHECK: s_xor_b32 s5, s1, 0                     ; encoding: [0x01,0x80,0x05,0x88]
25030x01,0x80,0x05,0x88
2504
2505# CHECK: s_xor_b32 s5, s1, -1                    ; encoding: [0x01,0xc1,0x05,0x88]
25060x01,0xc1,0x05,0x88
2507
2508# CHECK: s_xor_b32 s5, s1, 0.5                   ; encoding: [0x01,0xf0,0x05,0x88]
25090x01,0xf0,0x05,0x88
2510
2511# CHECK: s_xor_b32 s5, s1, -4.0                  ; encoding: [0x01,0xf7,0x05,0x88]
25120x01,0xf7,0x05,0x88
2513
2514# CHECK: s_xor_b32 s5, s1, 0xaf123456            ; encoding: [0x01,0xff,0x05,0x88,0x56,0x34,0x12,0xaf]
25150x01,0xff,0x05,0x88,0x56,0x34,0x12,0xaf
2516
2517# CHECK: s_xor_b32 s5, s1, 0x3f717273            ; encoding: [0x01,0xff,0x05,0x88,0x73,0x72,0x71,0x3f]
25180x01,0xff,0x05,0x88,0x73,0x72,0x71,0x3f
2519
2520# CHECK: s_xor_b64 s[10:11], s[2:3], s[4:5]      ; encoding: [0x02,0x04,0x8a,0x88]
25210x02,0x04,0x8a,0x88
2522
2523# CHECK: s_xor_b64 s[12:13], s[2:3], s[4:5]      ; encoding: [0x02,0x04,0x8c,0x88]
25240x02,0x04,0x8c,0x88
2525
2526# CHECK: s_xor_b64 s[100:101], s[2:3], s[4:5]    ; encoding: [0x02,0x04,0xe4,0x88]
25270x02,0x04,0xe4,0x88
2528
2529# CHECK: s_xor_b64 flat_scratch, s[2:3], s[4:5]  ; encoding: [0x02,0x04,0xe6,0x88]
25300x02,0x04,0xe6,0x88
2531
2532# CHECK: s_xor_b64 vcc, s[2:3], s[4:5]           ; encoding: [0x02,0x04,0xea,0x88]
25330x02,0x04,0xea,0x88
2534
2535# CHECK: s_xor_b64 tba, s[2:3], s[4:5]           ; encoding: [0x02,0x04,0xec,0x88]
25360x02,0x04,0xec,0x88
2537
2538# CHECK: s_xor_b64 tma, s[2:3], s[4:5]           ; encoding: [0x02,0x04,0xee,0x88]
25390x02,0x04,0xee,0x88
2540
2541# CHECK: s_xor_b64 ttmp[10:11], s[2:3], s[4:5]   ; encoding: [0x02,0x04,0xfa,0x88]
25420x02,0x04,0xfa,0x88
2543
2544# CHECK: s_xor_b64 exec, s[2:3], s[4:5]          ; encoding: [0x02,0x04,0xfe,0x88]
25450x02,0x04,0xfe,0x88
2546
2547# CHECK: s_xor_b64 s[10:11], s[4:5], s[4:5]      ; encoding: [0x04,0x04,0x8a,0x88]
25480x04,0x04,0x8a,0x88
2549
2550# CHECK: s_xor_b64 s[10:11], s[100:101], s[4:5]  ; encoding: [0x64,0x04,0x8a,0x88]
25510x64,0x04,0x8a,0x88
2552
2553# CHECK: s_xor_b64 s[10:11], flat_scratch, s[4:5] ; encoding: [0x66,0x04,0x8a,0x88]
25540x66,0x04,0x8a,0x88
2555
2556# CHECK: s_xor_b64 s[10:11], vcc, s[4:5]         ; encoding: [0x6a,0x04,0x8a,0x88]
25570x6a,0x04,0x8a,0x88
2558
2559# CHECK: s_xor_b64 s[10:11], tba, s[4:5]         ; encoding: [0x6c,0x04,0x8a,0x88]
25600x6c,0x04,0x8a,0x88
2561
2562# CHECK: s_xor_b64 s[10:11], tma, s[4:5]         ; encoding: [0x6e,0x04,0x8a,0x88]
25630x6e,0x04,0x8a,0x88
2564
2565# CHECK: s_xor_b64 s[10:11], ttmp[10:11], s[4:5] ; encoding: [0x7a,0x04,0x8a,0x88]
25660x7a,0x04,0x8a,0x88
2567
2568# CHECK: s_xor_b64 s[10:11], exec, s[4:5]        ; encoding: [0x7e,0x04,0x8a,0x88]
25690x7e,0x04,0x8a,0x88
2570
2571# CHECK: s_xor_b64 s[10:11], 0, s[4:5]           ; encoding: [0x80,0x04,0x8a,0x88]
25720x80,0x04,0x8a,0x88
2573
2574# CHECK: s_xor_b64 s[10:11], -1, s[4:5]          ; encoding: [0xc1,0x04,0x8a,0x88]
25750xc1,0x04,0x8a,0x88
2576
2577# CHECK: s_xor_b64 s[10:11], 0.5, s[4:5]         ; encoding: [0xf0,0x04,0x8a,0x88]
25780xf0,0x04,0x8a,0x88
2579
2580# CHECK: s_xor_b64 s[10:11], -4.0, s[4:5]        ; encoding: [0xf7,0x04,0x8a,0x88]
25810xf7,0x04,0x8a,0x88
2582
2583# CHECK: s_xor_b64 s[10:11], 0xaf123456, s[4:5]  ; encoding: [0xff,0x04,0x8a,0x88,0x56,0x34,0x12,0xaf]
25840xff,0x04,0x8a,0x88,0x56,0x34,0x12,0xaf
2585
2586# CHECK: s_xor_b64 s[10:11], 0x3f717273, s[4:5]  ; encoding: [0xff,0x04,0x8a,0x88,0x73,0x72,0x71,0x3f]
25870xff,0x04,0x8a,0x88,0x73,0x72,0x71,0x3f
2588
2589# CHECK: s_xor_b64 s[10:11], s[2:3], s[6:7]      ; encoding: [0x02,0x06,0x8a,0x88]
25900x02,0x06,0x8a,0x88
2591
2592# CHECK: s_xor_b64 s[10:11], s[2:3], s[100:101]  ; encoding: [0x02,0x64,0x8a,0x88]
25930x02,0x64,0x8a,0x88
2594
2595# CHECK: s_xor_b64 s[10:11], s[2:3], flat_scratch ; encoding: [0x02,0x66,0x8a,0x88]
25960x02,0x66,0x8a,0x88
2597
2598# CHECK: s_xor_b64 s[10:11], s[2:3], vcc         ; encoding: [0x02,0x6a,0x8a,0x88]
25990x02,0x6a,0x8a,0x88
2600
2601# CHECK: s_xor_b64 s[10:11], s[2:3], tba         ; encoding: [0x02,0x6c,0x8a,0x88]
26020x02,0x6c,0x8a,0x88
2603
2604# CHECK: s_xor_b64 s[10:11], s[2:3], tma         ; encoding: [0x02,0x6e,0x8a,0x88]
26050x02,0x6e,0x8a,0x88
2606
2607# CHECK: s_xor_b64 s[10:11], s[2:3], ttmp[10:11] ; encoding: [0x02,0x7a,0x8a,0x88]
26080x02,0x7a,0x8a,0x88
2609
2610# CHECK: s_xor_b64 s[10:11], s[2:3], exec        ; encoding: [0x02,0x7e,0x8a,0x88]
26110x02,0x7e,0x8a,0x88
2612
2613# CHECK: s_xor_b64 s[10:11], s[2:3], 0           ; encoding: [0x02,0x80,0x8a,0x88]
26140x02,0x80,0x8a,0x88
2615
2616# CHECK: s_xor_b64 s[10:11], s[2:3], -1          ; encoding: [0x02,0xc1,0x8a,0x88]
26170x02,0xc1,0x8a,0x88
2618
2619# CHECK: s_xor_b64 s[10:11], s[2:3], 0.5         ; encoding: [0x02,0xf0,0x8a,0x88]
26200x02,0xf0,0x8a,0x88
2621
2622# CHECK: s_xor_b64 s[10:11], s[2:3], -4.0        ; encoding: [0x02,0xf7,0x8a,0x88]
26230x02,0xf7,0x8a,0x88
2624
2625# CHECK: s_xor_b64 s[10:11], s[2:3], 0xaf123456  ; encoding: [0x02,0xff,0x8a,0x88,0x56,0x34,0x12,0xaf]
26260x02,0xff,0x8a,0x88,0x56,0x34,0x12,0xaf
2627
2628# CHECK: s_xor_b64 s[10:11], s[2:3], 0x3f717273  ; encoding: [0x02,0xff,0x8a,0x88,0x73,0x72,0x71,0x3f]
26290x02,0xff,0x8a,0x88,0x73,0x72,0x71,0x3f
2630
2631# CHECK: s_andn2_b32 s5, s1, s2                  ; encoding: [0x01,0x02,0x05,0x89]
26320x01,0x02,0x05,0x89
2633
2634# CHECK: s_andn2_b32 s101, s1, s2                ; encoding: [0x01,0x02,0x65,0x89]
26350x01,0x02,0x65,0x89
2636
2637# CHECK: s_andn2_b32 flat_scratch_lo, s1, s2     ; encoding: [0x01,0x02,0x66,0x89]
26380x01,0x02,0x66,0x89
2639
2640# CHECK: s_andn2_b32 flat_scratch_hi, s1, s2     ; encoding: [0x01,0x02,0x67,0x89]
26410x01,0x02,0x67,0x89
2642
2643# CHECK: s_andn2_b32 vcc_lo, s1, s2              ; encoding: [0x01,0x02,0x6a,0x89]
26440x01,0x02,0x6a,0x89
2645
2646# CHECK: s_andn2_b32 vcc_hi, s1, s2              ; encoding: [0x01,0x02,0x6b,0x89]
26470x01,0x02,0x6b,0x89
2648
2649# CHECK: s_andn2_b32 tba_lo, s1, s2              ; encoding: [0x01,0x02,0x6c,0x89]
26500x01,0x02,0x6c,0x89
2651
2652# CHECK: s_andn2_b32 tba_hi, s1, s2              ; encoding: [0x01,0x02,0x6d,0x89]
26530x01,0x02,0x6d,0x89
2654
2655# CHECK: s_andn2_b32 tma_lo, s1, s2              ; encoding: [0x01,0x02,0x6e,0x89]
26560x01,0x02,0x6e,0x89
2657
2658# CHECK: s_andn2_b32 tma_hi, s1, s2              ; encoding: [0x01,0x02,0x6f,0x89]
26590x01,0x02,0x6f,0x89
2660
2661# CHECK: s_andn2_b32 ttmp11, s1, s2              ; encoding: [0x01,0x02,0x7b,0x89]
26620x01,0x02,0x7b,0x89
2663
2664# CHECK: s_andn2_b32 m0, s1, s2                  ; encoding: [0x01,0x02,0x7c,0x89]
26650x01,0x02,0x7c,0x89
2666
2667# CHECK: s_andn2_b32 exec_lo, s1, s2             ; encoding: [0x01,0x02,0x7e,0x89]
26680x01,0x02,0x7e,0x89
2669
2670# CHECK: s_andn2_b32 exec_hi, s1, s2             ; encoding: [0x01,0x02,0x7f,0x89]
26710x01,0x02,0x7f,0x89
2672
2673# CHECK: s_andn2_b32 s5, s101, s2                ; encoding: [0x65,0x02,0x05,0x89]
26740x65,0x02,0x05,0x89
2675
2676# CHECK: s_andn2_b32 s5, flat_scratch_lo, s2     ; encoding: [0x66,0x02,0x05,0x89]
26770x66,0x02,0x05,0x89
2678
2679# CHECK: s_andn2_b32 s5, flat_scratch_hi, s2     ; encoding: [0x67,0x02,0x05,0x89]
26800x67,0x02,0x05,0x89
2681
2682# CHECK: s_andn2_b32 s5, vcc_lo, s2              ; encoding: [0x6a,0x02,0x05,0x89]
26830x6a,0x02,0x05,0x89
2684
2685# CHECK: s_andn2_b32 s5, vcc_hi, s2              ; encoding: [0x6b,0x02,0x05,0x89]
26860x6b,0x02,0x05,0x89
2687
2688# CHECK: s_andn2_b32 s5, tba_lo, s2              ; encoding: [0x6c,0x02,0x05,0x89]
26890x6c,0x02,0x05,0x89
2690
2691# CHECK: s_andn2_b32 s5, tba_hi, s2              ; encoding: [0x6d,0x02,0x05,0x89]
26920x6d,0x02,0x05,0x89
2693
2694# CHECK: s_andn2_b32 s5, tma_lo, s2              ; encoding: [0x6e,0x02,0x05,0x89]
26950x6e,0x02,0x05,0x89
2696
2697# CHECK: s_andn2_b32 s5, tma_hi, s2              ; encoding: [0x6f,0x02,0x05,0x89]
26980x6f,0x02,0x05,0x89
2699
2700# CHECK: s_andn2_b32 s5, ttmp11, s2              ; encoding: [0x7b,0x02,0x05,0x89]
27010x7b,0x02,0x05,0x89
2702
2703# CHECK: s_andn2_b32 s5, m0, s2                  ; encoding: [0x7c,0x02,0x05,0x89]
27040x7c,0x02,0x05,0x89
2705
2706# CHECK: s_andn2_b32 s5, exec_lo, s2             ; encoding: [0x7e,0x02,0x05,0x89]
27070x7e,0x02,0x05,0x89
2708
2709# CHECK: s_andn2_b32 s5, exec_hi, s2             ; encoding: [0x7f,0x02,0x05,0x89]
27100x7f,0x02,0x05,0x89
2711
2712# CHECK: s_andn2_b32 s5, 0, s2                   ; encoding: [0x80,0x02,0x05,0x89]
27130x80,0x02,0x05,0x89
2714
2715# CHECK: s_andn2_b32 s5, -1, s2                  ; encoding: [0xc1,0x02,0x05,0x89]
27160xc1,0x02,0x05,0x89
2717
2718# CHECK: s_andn2_b32 s5, 0.5, s2                 ; encoding: [0xf0,0x02,0x05,0x89]
27190xf0,0x02,0x05,0x89
2720
2721# CHECK: s_andn2_b32 s5, -4.0, s2                ; encoding: [0xf7,0x02,0x05,0x89]
27220xf7,0x02,0x05,0x89
2723
2724# CHECK: s_andn2_b32 s5, 0xaf123456, s2          ; encoding: [0xff,0x02,0x05,0x89,0x56,0x34,0x12,0xaf]
27250xff,0x02,0x05,0x89,0x56,0x34,0x12,0xaf
2726
2727# CHECK: s_andn2_b32 s5, 0x3f717273, s2          ; encoding: [0xff,0x02,0x05,0x89,0x73,0x72,0x71,0x3f]
27280xff,0x02,0x05,0x89,0x73,0x72,0x71,0x3f
2729
2730# CHECK: s_andn2_b32 s5, s1, s101                ; encoding: [0x01,0x65,0x05,0x89]
27310x01,0x65,0x05,0x89
2732
2733# CHECK: s_andn2_b32 s5, s1, flat_scratch_lo     ; encoding: [0x01,0x66,0x05,0x89]
27340x01,0x66,0x05,0x89
2735
2736# CHECK: s_andn2_b32 s5, s1, flat_scratch_hi     ; encoding: [0x01,0x67,0x05,0x89]
27370x01,0x67,0x05,0x89
2738
2739# CHECK: s_andn2_b32 s5, s1, vcc_lo              ; encoding: [0x01,0x6a,0x05,0x89]
27400x01,0x6a,0x05,0x89
2741
2742# CHECK: s_andn2_b32 s5, s1, vcc_hi              ; encoding: [0x01,0x6b,0x05,0x89]
27430x01,0x6b,0x05,0x89
2744
2745# CHECK: s_andn2_b32 s5, s1, tba_lo              ; encoding: [0x01,0x6c,0x05,0x89]
27460x01,0x6c,0x05,0x89
2747
2748# CHECK: s_andn2_b32 s5, s1, tba_hi              ; encoding: [0x01,0x6d,0x05,0x89]
27490x01,0x6d,0x05,0x89
2750
2751# CHECK: s_andn2_b32 s5, s1, tma_lo              ; encoding: [0x01,0x6e,0x05,0x89]
27520x01,0x6e,0x05,0x89
2753
2754# CHECK: s_andn2_b32 s5, s1, tma_hi              ; encoding: [0x01,0x6f,0x05,0x89]
27550x01,0x6f,0x05,0x89
2756
2757# CHECK: s_andn2_b32 s5, s1, ttmp11              ; encoding: [0x01,0x7b,0x05,0x89]
27580x01,0x7b,0x05,0x89
2759
2760# CHECK: s_andn2_b32 s5, s1, m0                  ; encoding: [0x01,0x7c,0x05,0x89]
27610x01,0x7c,0x05,0x89
2762
2763# CHECK: s_andn2_b32 s5, s1, exec_lo             ; encoding: [0x01,0x7e,0x05,0x89]
27640x01,0x7e,0x05,0x89
2765
2766# CHECK: s_andn2_b32 s5, s1, exec_hi             ; encoding: [0x01,0x7f,0x05,0x89]
27670x01,0x7f,0x05,0x89
2768
2769# CHECK: s_andn2_b32 s5, s1, 0                   ; encoding: [0x01,0x80,0x05,0x89]
27700x01,0x80,0x05,0x89
2771
2772# CHECK: s_andn2_b32 s5, s1, -1                  ; encoding: [0x01,0xc1,0x05,0x89]
27730x01,0xc1,0x05,0x89
2774
2775# CHECK: s_andn2_b32 s5, s1, 0.5                 ; encoding: [0x01,0xf0,0x05,0x89]
27760x01,0xf0,0x05,0x89
2777
2778# CHECK: s_andn2_b32 s5, s1, -4.0                ; encoding: [0x01,0xf7,0x05,0x89]
27790x01,0xf7,0x05,0x89
2780
2781# CHECK: s_andn2_b32 s5, s1, 0xaf123456          ; encoding: [0x01,0xff,0x05,0x89,0x56,0x34,0x12,0xaf]
27820x01,0xff,0x05,0x89,0x56,0x34,0x12,0xaf
2783
2784# CHECK: s_andn2_b32 s5, s1, 0x3f717273          ; encoding: [0x01,0xff,0x05,0x89,0x73,0x72,0x71,0x3f]
27850x01,0xff,0x05,0x89,0x73,0x72,0x71,0x3f
2786
2787# CHECK: s_andn2_b64 s[10:11], s[2:3], s[4:5]    ; encoding: [0x02,0x04,0x8a,0x89]
27880x02,0x04,0x8a,0x89
2789
2790# CHECK: s_andn2_b64 s[12:13], s[2:3], s[4:5]    ; encoding: [0x02,0x04,0x8c,0x89]
27910x02,0x04,0x8c,0x89
2792
2793# CHECK: s_andn2_b64 s[100:101], s[2:3], s[4:5]  ; encoding: [0x02,0x04,0xe4,0x89]
27940x02,0x04,0xe4,0x89
2795
2796# CHECK: s_andn2_b64 flat_scratch, s[2:3], s[4:5] ; encoding: [0x02,0x04,0xe6,0x89]
27970x02,0x04,0xe6,0x89
2798
2799# CHECK: s_andn2_b64 vcc, s[2:3], s[4:5]         ; encoding: [0x02,0x04,0xea,0x89]
28000x02,0x04,0xea,0x89
2801
2802# CHECK: s_andn2_b64 tba, s[2:3], s[4:5]         ; encoding: [0x02,0x04,0xec,0x89]
28030x02,0x04,0xec,0x89
2804
2805# CHECK: s_andn2_b64 tma, s[2:3], s[4:5]         ; encoding: [0x02,0x04,0xee,0x89]
28060x02,0x04,0xee,0x89
2807
2808# CHECK: s_andn2_b64 ttmp[10:11], s[2:3], s[4:5] ; encoding: [0x02,0x04,0xfa,0x89]
28090x02,0x04,0xfa,0x89
2810
2811# CHECK: s_andn2_b64 exec, s[2:3], s[4:5]        ; encoding: [0x02,0x04,0xfe,0x89]
28120x02,0x04,0xfe,0x89
2813
2814# CHECK: s_andn2_b64 s[10:11], s[4:5], s[4:5]    ; encoding: [0x04,0x04,0x8a,0x89]
28150x04,0x04,0x8a,0x89
2816
2817# CHECK: s_andn2_b64 s[10:11], s[100:101], s[4:5] ; encoding: [0x64,0x04,0x8a,0x89]
28180x64,0x04,0x8a,0x89
2819
2820# CHECK: s_andn2_b64 s[10:11], flat_scratch, s[4:5] ; encoding: [0x66,0x04,0x8a,0x89]
28210x66,0x04,0x8a,0x89
2822
2823# CHECK: s_andn2_b64 s[10:11], vcc, s[4:5]       ; encoding: [0x6a,0x04,0x8a,0x89]
28240x6a,0x04,0x8a,0x89
2825
2826# CHECK: s_andn2_b64 s[10:11], tba, s[4:5]       ; encoding: [0x6c,0x04,0x8a,0x89]
28270x6c,0x04,0x8a,0x89
2828
2829# CHECK: s_andn2_b64 s[10:11], tma, s[4:5]       ; encoding: [0x6e,0x04,0x8a,0x89]
28300x6e,0x04,0x8a,0x89
2831
2832# CHECK: s_andn2_b64 s[10:11], ttmp[10:11], s[4:5] ; encoding: [0x7a,0x04,0x8a,0x89]
28330x7a,0x04,0x8a,0x89
2834
2835# CHECK: s_andn2_b64 s[10:11], exec, s[4:5]      ; encoding: [0x7e,0x04,0x8a,0x89]
28360x7e,0x04,0x8a,0x89
2837
2838# CHECK: s_andn2_b64 s[10:11], 0, s[4:5]         ; encoding: [0x80,0x04,0x8a,0x89]
28390x80,0x04,0x8a,0x89
2840
2841# CHECK: s_andn2_b64 s[10:11], -1, s[4:5]        ; encoding: [0xc1,0x04,0x8a,0x89]
28420xc1,0x04,0x8a,0x89
2843
2844# CHECK: s_andn2_b64 s[10:11], 0.5, s[4:5]       ; encoding: [0xf0,0x04,0x8a,0x89]
28450xf0,0x04,0x8a,0x89
2846
2847# CHECK: s_andn2_b64 s[10:11], -4.0, s[4:5]      ; encoding: [0xf7,0x04,0x8a,0x89]
28480xf7,0x04,0x8a,0x89
2849
2850# CHECK: s_andn2_b64 s[10:11], 0xaf123456, s[4:5] ; encoding: [0xff,0x04,0x8a,0x89,0x56,0x34,0x12,0xaf]
28510xff,0x04,0x8a,0x89,0x56,0x34,0x12,0xaf
2852
2853# CHECK: s_andn2_b64 s[10:11], 0x3f717273, s[4:5] ; encoding: [0xff,0x04,0x8a,0x89,0x73,0x72,0x71,0x3f]
28540xff,0x04,0x8a,0x89,0x73,0x72,0x71,0x3f
2855
2856# CHECK: s_andn2_b64 s[10:11], s[2:3], s[6:7]    ; encoding: [0x02,0x06,0x8a,0x89]
28570x02,0x06,0x8a,0x89
2858
2859# CHECK: s_andn2_b64 s[10:11], s[2:3], s[100:101] ; encoding: [0x02,0x64,0x8a,0x89]
28600x02,0x64,0x8a,0x89
2861
2862# CHECK: s_andn2_b64 s[10:11], s[2:3], flat_scratch ; encoding: [0x02,0x66,0x8a,0x89]
28630x02,0x66,0x8a,0x89
2864
2865# CHECK: s_andn2_b64 s[10:11], s[2:3], vcc       ; encoding: [0x02,0x6a,0x8a,0x89]
28660x02,0x6a,0x8a,0x89
2867
2868# CHECK: s_andn2_b64 s[10:11], s[2:3], tba       ; encoding: [0x02,0x6c,0x8a,0x89]
28690x02,0x6c,0x8a,0x89
2870
2871# CHECK: s_andn2_b64 s[10:11], s[2:3], tma       ; encoding: [0x02,0x6e,0x8a,0x89]
28720x02,0x6e,0x8a,0x89
2873
2874# CHECK: s_andn2_b64 s[10:11], s[2:3], ttmp[10:11] ; encoding: [0x02,0x7a,0x8a,0x89]
28750x02,0x7a,0x8a,0x89
2876
2877# CHECK: s_andn2_b64 s[10:11], s[2:3], exec      ; encoding: [0x02,0x7e,0x8a,0x89]
28780x02,0x7e,0x8a,0x89
2879
2880# CHECK: s_andn2_b64 s[10:11], s[2:3], 0         ; encoding: [0x02,0x80,0x8a,0x89]
28810x02,0x80,0x8a,0x89
2882
2883# CHECK: s_andn2_b64 s[10:11], s[2:3], -1        ; encoding: [0x02,0xc1,0x8a,0x89]
28840x02,0xc1,0x8a,0x89
2885
2886# CHECK: s_andn2_b64 s[10:11], s[2:3], 0.5       ; encoding: [0x02,0xf0,0x8a,0x89]
28870x02,0xf0,0x8a,0x89
2888
2889# CHECK: s_andn2_b64 s[10:11], s[2:3], -4.0      ; encoding: [0x02,0xf7,0x8a,0x89]
28900x02,0xf7,0x8a,0x89
2891
2892# CHECK: s_andn2_b64 s[10:11], s[2:3], 0xaf123456 ; encoding: [0x02,0xff,0x8a,0x89,0x56,0x34,0x12,0xaf]
28930x02,0xff,0x8a,0x89,0x56,0x34,0x12,0xaf
2894
2895# CHECK: s_andn2_b64 s[10:11], s[2:3], 0x3f717273 ; encoding: [0x02,0xff,0x8a,0x89,0x73,0x72,0x71,0x3f]
28960x02,0xff,0x8a,0x89,0x73,0x72,0x71,0x3f
2897
2898# CHECK: s_orn2_b32 s5, s1, s2                   ; encoding: [0x01,0x02,0x05,0x8a]
28990x01,0x02,0x05,0x8a
2900
2901# CHECK: s_orn2_b32 s101, s1, s2                 ; encoding: [0x01,0x02,0x65,0x8a]
29020x01,0x02,0x65,0x8a
2903
2904# CHECK: s_orn2_b32 flat_scratch_lo, s1, s2      ; encoding: [0x01,0x02,0x66,0x8a]
29050x01,0x02,0x66,0x8a
2906
2907# CHECK: s_orn2_b32 flat_scratch_hi, s1, s2      ; encoding: [0x01,0x02,0x67,0x8a]
29080x01,0x02,0x67,0x8a
2909
2910# CHECK: s_orn2_b32 vcc_lo, s1, s2               ; encoding: [0x01,0x02,0x6a,0x8a]
29110x01,0x02,0x6a,0x8a
2912
2913# CHECK: s_orn2_b32 vcc_hi, s1, s2               ; encoding: [0x01,0x02,0x6b,0x8a]
29140x01,0x02,0x6b,0x8a
2915
2916# CHECK: s_orn2_b32 tba_lo, s1, s2               ; encoding: [0x01,0x02,0x6c,0x8a]
29170x01,0x02,0x6c,0x8a
2918
2919# CHECK: s_orn2_b32 tba_hi, s1, s2               ; encoding: [0x01,0x02,0x6d,0x8a]
29200x01,0x02,0x6d,0x8a
2921
2922# CHECK: s_orn2_b32 tma_lo, s1, s2               ; encoding: [0x01,0x02,0x6e,0x8a]
29230x01,0x02,0x6e,0x8a
2924
2925# CHECK: s_orn2_b32 tma_hi, s1, s2               ; encoding: [0x01,0x02,0x6f,0x8a]
29260x01,0x02,0x6f,0x8a
2927
2928# CHECK: s_orn2_b32 ttmp11, s1, s2               ; encoding: [0x01,0x02,0x7b,0x8a]
29290x01,0x02,0x7b,0x8a
2930
2931# CHECK: s_orn2_b32 m0, s1, s2                   ; encoding: [0x01,0x02,0x7c,0x8a]
29320x01,0x02,0x7c,0x8a
2933
2934# CHECK: s_orn2_b32 exec_lo, s1, s2              ; encoding: [0x01,0x02,0x7e,0x8a]
29350x01,0x02,0x7e,0x8a
2936
2937# CHECK: s_orn2_b32 exec_hi, s1, s2              ; encoding: [0x01,0x02,0x7f,0x8a]
29380x01,0x02,0x7f,0x8a
2939
2940# CHECK: s_orn2_b32 s5, s101, s2                 ; encoding: [0x65,0x02,0x05,0x8a]
29410x65,0x02,0x05,0x8a
2942
2943# CHECK: s_orn2_b32 s5, flat_scratch_lo, s2      ; encoding: [0x66,0x02,0x05,0x8a]
29440x66,0x02,0x05,0x8a
2945
2946# CHECK: s_orn2_b32 s5, flat_scratch_hi, s2      ; encoding: [0x67,0x02,0x05,0x8a]
29470x67,0x02,0x05,0x8a
2948
2949# CHECK: s_orn2_b32 s5, vcc_lo, s2               ; encoding: [0x6a,0x02,0x05,0x8a]
29500x6a,0x02,0x05,0x8a
2951
2952# CHECK: s_orn2_b32 s5, vcc_hi, s2               ; encoding: [0x6b,0x02,0x05,0x8a]
29530x6b,0x02,0x05,0x8a
2954
2955# CHECK: s_orn2_b32 s5, tba_lo, s2               ; encoding: [0x6c,0x02,0x05,0x8a]
29560x6c,0x02,0x05,0x8a
2957
2958# CHECK: s_orn2_b32 s5, tba_hi, s2               ; encoding: [0x6d,0x02,0x05,0x8a]
29590x6d,0x02,0x05,0x8a
2960
2961# CHECK: s_orn2_b32 s5, tma_lo, s2               ; encoding: [0x6e,0x02,0x05,0x8a]
29620x6e,0x02,0x05,0x8a
2963
2964# CHECK: s_orn2_b32 s5, tma_hi, s2               ; encoding: [0x6f,0x02,0x05,0x8a]
29650x6f,0x02,0x05,0x8a
2966
2967# CHECK: s_orn2_b32 s5, ttmp11, s2               ; encoding: [0x7b,0x02,0x05,0x8a]
29680x7b,0x02,0x05,0x8a
2969
2970# CHECK: s_orn2_b32 s5, m0, s2                   ; encoding: [0x7c,0x02,0x05,0x8a]
29710x7c,0x02,0x05,0x8a
2972
2973# CHECK: s_orn2_b32 s5, exec_lo, s2              ; encoding: [0x7e,0x02,0x05,0x8a]
29740x7e,0x02,0x05,0x8a
2975
2976# CHECK: s_orn2_b32 s5, exec_hi, s2              ; encoding: [0x7f,0x02,0x05,0x8a]
29770x7f,0x02,0x05,0x8a
2978
2979# CHECK: s_orn2_b32 s5, 0, s2                    ; encoding: [0x80,0x02,0x05,0x8a]
29800x80,0x02,0x05,0x8a
2981
2982# CHECK: s_orn2_b32 s5, -1, s2                   ; encoding: [0xc1,0x02,0x05,0x8a]
29830xc1,0x02,0x05,0x8a
2984
2985# CHECK: s_orn2_b32 s5, 0.5, s2                  ; encoding: [0xf0,0x02,0x05,0x8a]
29860xf0,0x02,0x05,0x8a
2987
2988# CHECK: s_orn2_b32 s5, -4.0, s2                 ; encoding: [0xf7,0x02,0x05,0x8a]
29890xf7,0x02,0x05,0x8a
2990
2991# CHECK: s_orn2_b32 s5, 0xaf123456, s2           ; encoding: [0xff,0x02,0x05,0x8a,0x56,0x34,0x12,0xaf]
29920xff,0x02,0x05,0x8a,0x56,0x34,0x12,0xaf
2993
2994# CHECK: s_orn2_b32 s5, 0x3f717273, s2           ; encoding: [0xff,0x02,0x05,0x8a,0x73,0x72,0x71,0x3f]
29950xff,0x02,0x05,0x8a,0x73,0x72,0x71,0x3f
2996
2997# CHECK: s_orn2_b32 s5, s1, s101                 ; encoding: [0x01,0x65,0x05,0x8a]
29980x01,0x65,0x05,0x8a
2999
3000# CHECK: s_orn2_b32 s5, s1, flat_scratch_lo      ; encoding: [0x01,0x66,0x05,0x8a]
30010x01,0x66,0x05,0x8a
3002
3003# CHECK: s_orn2_b32 s5, s1, flat_scratch_hi      ; encoding: [0x01,0x67,0x05,0x8a]
30040x01,0x67,0x05,0x8a
3005
3006# CHECK: s_orn2_b32 s5, s1, vcc_lo               ; encoding: [0x01,0x6a,0x05,0x8a]
30070x01,0x6a,0x05,0x8a
3008
3009# CHECK: s_orn2_b32 s5, s1, vcc_hi               ; encoding: [0x01,0x6b,0x05,0x8a]
30100x01,0x6b,0x05,0x8a
3011
3012# CHECK: s_orn2_b32 s5, s1, tba_lo               ; encoding: [0x01,0x6c,0x05,0x8a]
30130x01,0x6c,0x05,0x8a
3014
3015# CHECK: s_orn2_b32 s5, s1, tba_hi               ; encoding: [0x01,0x6d,0x05,0x8a]
30160x01,0x6d,0x05,0x8a
3017
3018# CHECK: s_orn2_b32 s5, s1, tma_lo               ; encoding: [0x01,0x6e,0x05,0x8a]
30190x01,0x6e,0x05,0x8a
3020
3021# CHECK: s_orn2_b32 s5, s1, tma_hi               ; encoding: [0x01,0x6f,0x05,0x8a]
30220x01,0x6f,0x05,0x8a
3023
3024# CHECK: s_orn2_b32 s5, s1, ttmp11               ; encoding: [0x01,0x7b,0x05,0x8a]
30250x01,0x7b,0x05,0x8a
3026
3027# CHECK: s_orn2_b32 s5, s1, m0                   ; encoding: [0x01,0x7c,0x05,0x8a]
30280x01,0x7c,0x05,0x8a
3029
3030# CHECK: s_orn2_b32 s5, s1, exec_lo              ; encoding: [0x01,0x7e,0x05,0x8a]
30310x01,0x7e,0x05,0x8a
3032
3033# CHECK: s_orn2_b32 s5, s1, exec_hi              ; encoding: [0x01,0x7f,0x05,0x8a]
30340x01,0x7f,0x05,0x8a
3035
3036# CHECK: s_orn2_b32 s5, s1, 0                    ; encoding: [0x01,0x80,0x05,0x8a]
30370x01,0x80,0x05,0x8a
3038
3039# CHECK: s_orn2_b32 s5, s1, -1                   ; encoding: [0x01,0xc1,0x05,0x8a]
30400x01,0xc1,0x05,0x8a
3041
3042# CHECK: s_orn2_b32 s5, s1, 0.5                  ; encoding: [0x01,0xf0,0x05,0x8a]
30430x01,0xf0,0x05,0x8a
3044
3045# CHECK: s_orn2_b32 s5, s1, -4.0                 ; encoding: [0x01,0xf7,0x05,0x8a]
30460x01,0xf7,0x05,0x8a
3047
3048# CHECK: s_orn2_b32 s5, s1, 0xaf123456           ; encoding: [0x01,0xff,0x05,0x8a,0x56,0x34,0x12,0xaf]
30490x01,0xff,0x05,0x8a,0x56,0x34,0x12,0xaf
3050
3051# CHECK: s_orn2_b32 s5, s1, 0x3f717273           ; encoding: [0x01,0xff,0x05,0x8a,0x73,0x72,0x71,0x3f]
30520x01,0xff,0x05,0x8a,0x73,0x72,0x71,0x3f
3053
3054# CHECK: s_orn2_b64 s[10:11], s[2:3], s[4:5]     ; encoding: [0x02,0x04,0x8a,0x8a]
30550x02,0x04,0x8a,0x8a
3056
3057# CHECK: s_orn2_b64 s[12:13], s[2:3], s[4:5]     ; encoding: [0x02,0x04,0x8c,0x8a]
30580x02,0x04,0x8c,0x8a
3059
3060# CHECK: s_orn2_b64 s[100:101], s[2:3], s[4:5]   ; encoding: [0x02,0x04,0xe4,0x8a]
30610x02,0x04,0xe4,0x8a
3062
3063# CHECK: s_orn2_b64 flat_scratch, s[2:3], s[4:5] ; encoding: [0x02,0x04,0xe6,0x8a]
30640x02,0x04,0xe6,0x8a
3065
3066# CHECK: s_orn2_b64 vcc, s[2:3], s[4:5]          ; encoding: [0x02,0x04,0xea,0x8a]
30670x02,0x04,0xea,0x8a
3068
3069# CHECK: s_orn2_b64 tba, s[2:3], s[4:5]          ; encoding: [0x02,0x04,0xec,0x8a]
30700x02,0x04,0xec,0x8a
3071
3072# CHECK: s_orn2_b64 tma, s[2:3], s[4:5]          ; encoding: [0x02,0x04,0xee,0x8a]
30730x02,0x04,0xee,0x8a
3074
3075# CHECK: s_orn2_b64 ttmp[10:11], s[2:3], s[4:5]  ; encoding: [0x02,0x04,0xfa,0x8a]
30760x02,0x04,0xfa,0x8a
3077
3078# CHECK: s_orn2_b64 exec, s[2:3], s[4:5]         ; encoding: [0x02,0x04,0xfe,0x8a]
30790x02,0x04,0xfe,0x8a
3080
3081# CHECK: s_orn2_b64 s[10:11], s[4:5], s[4:5]     ; encoding: [0x04,0x04,0x8a,0x8a]
30820x04,0x04,0x8a,0x8a
3083
3084# CHECK: s_orn2_b64 s[10:11], s[100:101], s[4:5] ; encoding: [0x64,0x04,0x8a,0x8a]
30850x64,0x04,0x8a,0x8a
3086
3087# CHECK: s_orn2_b64 s[10:11], flat_scratch, s[4:5] ; encoding: [0x66,0x04,0x8a,0x8a]
30880x66,0x04,0x8a,0x8a
3089
3090# CHECK: s_orn2_b64 s[10:11], vcc, s[4:5]        ; encoding: [0x6a,0x04,0x8a,0x8a]
30910x6a,0x04,0x8a,0x8a
3092
3093# CHECK: s_orn2_b64 s[10:11], tba, s[4:5]        ; encoding: [0x6c,0x04,0x8a,0x8a]
30940x6c,0x04,0x8a,0x8a
3095
3096# CHECK: s_orn2_b64 s[10:11], tma, s[4:5]        ; encoding: [0x6e,0x04,0x8a,0x8a]
30970x6e,0x04,0x8a,0x8a
3098
3099# CHECK: s_orn2_b64 s[10:11], ttmp[10:11], s[4:5] ; encoding: [0x7a,0x04,0x8a,0x8a]
31000x7a,0x04,0x8a,0x8a
3101
3102# CHECK: s_orn2_b64 s[10:11], exec, s[4:5]       ; encoding: [0x7e,0x04,0x8a,0x8a]
31030x7e,0x04,0x8a,0x8a
3104
3105# CHECK: s_orn2_b64 s[10:11], 0, s[4:5]          ; encoding: [0x80,0x04,0x8a,0x8a]
31060x80,0x04,0x8a,0x8a
3107
3108# CHECK: s_orn2_b64 s[10:11], -1, s[4:5]         ; encoding: [0xc1,0x04,0x8a,0x8a]
31090xc1,0x04,0x8a,0x8a
3110
3111# CHECK: s_orn2_b64 s[10:11], 0.5, s[4:5]        ; encoding: [0xf0,0x04,0x8a,0x8a]
31120xf0,0x04,0x8a,0x8a
3113
3114# CHECK: s_orn2_b64 s[10:11], -4.0, s[4:5]       ; encoding: [0xf7,0x04,0x8a,0x8a]
31150xf7,0x04,0x8a,0x8a
3116
3117# CHECK: s_orn2_b64 s[10:11], 0xaf123456, s[4:5] ; encoding: [0xff,0x04,0x8a,0x8a,0x56,0x34,0x12,0xaf]
31180xff,0x04,0x8a,0x8a,0x56,0x34,0x12,0xaf
3119
3120# CHECK: s_orn2_b64 s[10:11], 0x3f717273, s[4:5] ; encoding: [0xff,0x04,0x8a,0x8a,0x73,0x72,0x71,0x3f]
31210xff,0x04,0x8a,0x8a,0x73,0x72,0x71,0x3f
3122
3123# CHECK: s_orn2_b64 s[10:11], s[2:3], s[6:7]     ; encoding: [0x02,0x06,0x8a,0x8a]
31240x02,0x06,0x8a,0x8a
3125
3126# CHECK: s_orn2_b64 s[10:11], s[2:3], s[100:101] ; encoding: [0x02,0x64,0x8a,0x8a]
31270x02,0x64,0x8a,0x8a
3128
3129# CHECK: s_orn2_b64 s[10:11], s[2:3], flat_scratch ; encoding: [0x02,0x66,0x8a,0x8a]
31300x02,0x66,0x8a,0x8a
3131
3132# CHECK: s_orn2_b64 s[10:11], s[2:3], vcc        ; encoding: [0x02,0x6a,0x8a,0x8a]
31330x02,0x6a,0x8a,0x8a
3134
3135# CHECK: s_orn2_b64 s[10:11], s[2:3], tba        ; encoding: [0x02,0x6c,0x8a,0x8a]
31360x02,0x6c,0x8a,0x8a
3137
3138# CHECK: s_orn2_b64 s[10:11], s[2:3], tma        ; encoding: [0x02,0x6e,0x8a,0x8a]
31390x02,0x6e,0x8a,0x8a
3140
3141# CHECK: s_orn2_b64 s[10:11], s[2:3], ttmp[10:11] ; encoding: [0x02,0x7a,0x8a,0x8a]
31420x02,0x7a,0x8a,0x8a
3143
3144# CHECK: s_orn2_b64 s[10:11], s[2:3], exec       ; encoding: [0x02,0x7e,0x8a,0x8a]
31450x02,0x7e,0x8a,0x8a
3146
3147# CHECK: s_orn2_b64 s[10:11], s[2:3], 0          ; encoding: [0x02,0x80,0x8a,0x8a]
31480x02,0x80,0x8a,0x8a
3149
3150# CHECK: s_orn2_b64 s[10:11], s[2:3], -1         ; encoding: [0x02,0xc1,0x8a,0x8a]
31510x02,0xc1,0x8a,0x8a
3152
3153# CHECK: s_orn2_b64 s[10:11], s[2:3], 0.5        ; encoding: [0x02,0xf0,0x8a,0x8a]
31540x02,0xf0,0x8a,0x8a
3155
3156# CHECK: s_orn2_b64 s[10:11], s[2:3], -4.0       ; encoding: [0x02,0xf7,0x8a,0x8a]
31570x02,0xf7,0x8a,0x8a
3158
3159# CHECK: s_orn2_b64 s[10:11], s[2:3], 0xaf123456 ; encoding: [0x02,0xff,0x8a,0x8a,0x56,0x34,0x12,0xaf]
31600x02,0xff,0x8a,0x8a,0x56,0x34,0x12,0xaf
3161
3162# CHECK: s_orn2_b64 s[10:11], s[2:3], 0x3f717273 ; encoding: [0x02,0xff,0x8a,0x8a,0x73,0x72,0x71,0x3f]
31630x02,0xff,0x8a,0x8a,0x73,0x72,0x71,0x3f
3164
3165# CHECK: s_nand_b32 s5, s1, s2                   ; encoding: [0x01,0x02,0x05,0x8b]
31660x01,0x02,0x05,0x8b
3167
3168# CHECK: s_nand_b32 s101, s1, s2                 ; encoding: [0x01,0x02,0x65,0x8b]
31690x01,0x02,0x65,0x8b
3170
3171# CHECK: s_nand_b32 flat_scratch_lo, s1, s2      ; encoding: [0x01,0x02,0x66,0x8b]
31720x01,0x02,0x66,0x8b
3173
3174# CHECK: s_nand_b32 flat_scratch_hi, s1, s2      ; encoding: [0x01,0x02,0x67,0x8b]
31750x01,0x02,0x67,0x8b
3176
3177# CHECK: s_nand_b32 vcc_lo, s1, s2               ; encoding: [0x01,0x02,0x6a,0x8b]
31780x01,0x02,0x6a,0x8b
3179
3180# CHECK: s_nand_b32 vcc_hi, s1, s2               ; encoding: [0x01,0x02,0x6b,0x8b]
31810x01,0x02,0x6b,0x8b
3182
3183# CHECK: s_nand_b32 tba_lo, s1, s2               ; encoding: [0x01,0x02,0x6c,0x8b]
31840x01,0x02,0x6c,0x8b
3185
3186# CHECK: s_nand_b32 tba_hi, s1, s2               ; encoding: [0x01,0x02,0x6d,0x8b]
31870x01,0x02,0x6d,0x8b
3188
3189# CHECK: s_nand_b32 tma_lo, s1, s2               ; encoding: [0x01,0x02,0x6e,0x8b]
31900x01,0x02,0x6e,0x8b
3191
3192# CHECK: s_nand_b32 tma_hi, s1, s2               ; encoding: [0x01,0x02,0x6f,0x8b]
31930x01,0x02,0x6f,0x8b
3194
3195# CHECK: s_nand_b32 ttmp11, s1, s2               ; encoding: [0x01,0x02,0x7b,0x8b]
31960x01,0x02,0x7b,0x8b
3197
3198# CHECK: s_nand_b32 m0, s1, s2                   ; encoding: [0x01,0x02,0x7c,0x8b]
31990x01,0x02,0x7c,0x8b
3200
3201# CHECK: s_nand_b32 exec_lo, s1, s2              ; encoding: [0x01,0x02,0x7e,0x8b]
32020x01,0x02,0x7e,0x8b
3203
3204# CHECK: s_nand_b32 exec_hi, s1, s2              ; encoding: [0x01,0x02,0x7f,0x8b]
32050x01,0x02,0x7f,0x8b
3206
3207# CHECK: s_nand_b32 s5, s101, s2                 ; encoding: [0x65,0x02,0x05,0x8b]
32080x65,0x02,0x05,0x8b
3209
3210# CHECK: s_nand_b32 s5, flat_scratch_lo, s2      ; encoding: [0x66,0x02,0x05,0x8b]
32110x66,0x02,0x05,0x8b
3212
3213# CHECK: s_nand_b32 s5, flat_scratch_hi, s2      ; encoding: [0x67,0x02,0x05,0x8b]
32140x67,0x02,0x05,0x8b
3215
3216# CHECK: s_nand_b32 s5, vcc_lo, s2               ; encoding: [0x6a,0x02,0x05,0x8b]
32170x6a,0x02,0x05,0x8b
3218
3219# CHECK: s_nand_b32 s5, vcc_hi, s2               ; encoding: [0x6b,0x02,0x05,0x8b]
32200x6b,0x02,0x05,0x8b
3221
3222# CHECK: s_nand_b32 s5, tba_lo, s2               ; encoding: [0x6c,0x02,0x05,0x8b]
32230x6c,0x02,0x05,0x8b
3224
3225# CHECK: s_nand_b32 s5, tba_hi, s2               ; encoding: [0x6d,0x02,0x05,0x8b]
32260x6d,0x02,0x05,0x8b
3227
3228# CHECK: s_nand_b32 s5, tma_lo, s2               ; encoding: [0x6e,0x02,0x05,0x8b]
32290x6e,0x02,0x05,0x8b
3230
3231# CHECK: s_nand_b32 s5, tma_hi, s2               ; encoding: [0x6f,0x02,0x05,0x8b]
32320x6f,0x02,0x05,0x8b
3233
3234# CHECK: s_nand_b32 s5, ttmp11, s2               ; encoding: [0x7b,0x02,0x05,0x8b]
32350x7b,0x02,0x05,0x8b
3236
3237# CHECK: s_nand_b32 s5, m0, s2                   ; encoding: [0x7c,0x02,0x05,0x8b]
32380x7c,0x02,0x05,0x8b
3239
3240# CHECK: s_nand_b32 s5, exec_lo, s2              ; encoding: [0x7e,0x02,0x05,0x8b]
32410x7e,0x02,0x05,0x8b
3242
3243# CHECK: s_nand_b32 s5, exec_hi, s2              ; encoding: [0x7f,0x02,0x05,0x8b]
32440x7f,0x02,0x05,0x8b
3245
3246# CHECK: s_nand_b32 s5, 0, s2                    ; encoding: [0x80,0x02,0x05,0x8b]
32470x80,0x02,0x05,0x8b
3248
3249# CHECK: s_nand_b32 s5, -1, s2                   ; encoding: [0xc1,0x02,0x05,0x8b]
32500xc1,0x02,0x05,0x8b
3251
3252# CHECK: s_nand_b32 s5, 0.5, s2                  ; encoding: [0xf0,0x02,0x05,0x8b]
32530xf0,0x02,0x05,0x8b
3254
3255# CHECK: s_nand_b32 s5, -4.0, s2                 ; encoding: [0xf7,0x02,0x05,0x8b]
32560xf7,0x02,0x05,0x8b
3257
3258# CHECK: s_nand_b32 s5, 0xaf123456, s2           ; encoding: [0xff,0x02,0x05,0x8b,0x56,0x34,0x12,0xaf]
32590xff,0x02,0x05,0x8b,0x56,0x34,0x12,0xaf
3260
3261# CHECK: s_nand_b32 s5, 0x3f717273, s2           ; encoding: [0xff,0x02,0x05,0x8b,0x73,0x72,0x71,0x3f]
32620xff,0x02,0x05,0x8b,0x73,0x72,0x71,0x3f
3263
3264# CHECK: s_nand_b32 s5, s1, s101                 ; encoding: [0x01,0x65,0x05,0x8b]
32650x01,0x65,0x05,0x8b
3266
3267# CHECK: s_nand_b32 s5, s1, flat_scratch_lo      ; encoding: [0x01,0x66,0x05,0x8b]
32680x01,0x66,0x05,0x8b
3269
3270# CHECK: s_nand_b32 s5, s1, flat_scratch_hi      ; encoding: [0x01,0x67,0x05,0x8b]
32710x01,0x67,0x05,0x8b
3272
3273# CHECK: s_nand_b32 s5, s1, vcc_lo               ; encoding: [0x01,0x6a,0x05,0x8b]
32740x01,0x6a,0x05,0x8b
3275
3276# CHECK: s_nand_b32 s5, s1, vcc_hi               ; encoding: [0x01,0x6b,0x05,0x8b]
32770x01,0x6b,0x05,0x8b
3278
3279# CHECK: s_nand_b32 s5, s1, tba_lo               ; encoding: [0x01,0x6c,0x05,0x8b]
32800x01,0x6c,0x05,0x8b
3281
3282# CHECK: s_nand_b32 s5, s1, tba_hi               ; encoding: [0x01,0x6d,0x05,0x8b]
32830x01,0x6d,0x05,0x8b
3284
3285# CHECK: s_nand_b32 s5, s1, tma_lo               ; encoding: [0x01,0x6e,0x05,0x8b]
32860x01,0x6e,0x05,0x8b
3287
3288# CHECK: s_nand_b32 s5, s1, tma_hi               ; encoding: [0x01,0x6f,0x05,0x8b]
32890x01,0x6f,0x05,0x8b
3290
3291# CHECK: s_nand_b32 s5, s1, ttmp11               ; encoding: [0x01,0x7b,0x05,0x8b]
32920x01,0x7b,0x05,0x8b
3293
3294# CHECK: s_nand_b32 s5, s1, m0                   ; encoding: [0x01,0x7c,0x05,0x8b]
32950x01,0x7c,0x05,0x8b
3296
3297# CHECK: s_nand_b32 s5, s1, exec_lo              ; encoding: [0x01,0x7e,0x05,0x8b]
32980x01,0x7e,0x05,0x8b
3299
3300# CHECK: s_nand_b32 s5, s1, exec_hi              ; encoding: [0x01,0x7f,0x05,0x8b]
33010x01,0x7f,0x05,0x8b
3302
3303# CHECK: s_nand_b32 s5, s1, 0                    ; encoding: [0x01,0x80,0x05,0x8b]
33040x01,0x80,0x05,0x8b
3305
3306# CHECK: s_nand_b32 s5, s1, -1                   ; encoding: [0x01,0xc1,0x05,0x8b]
33070x01,0xc1,0x05,0x8b
3308
3309# CHECK: s_nand_b32 s5, s1, 0.5                  ; encoding: [0x01,0xf0,0x05,0x8b]
33100x01,0xf0,0x05,0x8b
3311
3312# CHECK: s_nand_b32 s5, s1, -4.0                 ; encoding: [0x01,0xf7,0x05,0x8b]
33130x01,0xf7,0x05,0x8b
3314
3315# CHECK: s_nand_b32 s5, s1, 0xaf123456           ; encoding: [0x01,0xff,0x05,0x8b,0x56,0x34,0x12,0xaf]
33160x01,0xff,0x05,0x8b,0x56,0x34,0x12,0xaf
3317
3318# CHECK: s_nand_b32 s5, s1, 0x3f717273           ; encoding: [0x01,0xff,0x05,0x8b,0x73,0x72,0x71,0x3f]
33190x01,0xff,0x05,0x8b,0x73,0x72,0x71,0x3f
3320
3321# CHECK: s_nand_b64 s[10:11], s[2:3], s[4:5]     ; encoding: [0x02,0x04,0x8a,0x8b]
33220x02,0x04,0x8a,0x8b
3323
3324# CHECK: s_nand_b64 s[12:13], s[2:3], s[4:5]     ; encoding: [0x02,0x04,0x8c,0x8b]
33250x02,0x04,0x8c,0x8b
3326
3327# CHECK: s_nand_b64 s[100:101], s[2:3], s[4:5]   ; encoding: [0x02,0x04,0xe4,0x8b]
33280x02,0x04,0xe4,0x8b
3329
3330# CHECK: s_nand_b64 flat_scratch, s[2:3], s[4:5] ; encoding: [0x02,0x04,0xe6,0x8b]
33310x02,0x04,0xe6,0x8b
3332
3333# CHECK: s_nand_b64 vcc, s[2:3], s[4:5]          ; encoding: [0x02,0x04,0xea,0x8b]
33340x02,0x04,0xea,0x8b
3335
3336# CHECK: s_nand_b64 tba, s[2:3], s[4:5]          ; encoding: [0x02,0x04,0xec,0x8b]
33370x02,0x04,0xec,0x8b
3338
3339# CHECK: s_nand_b64 tma, s[2:3], s[4:5]          ; encoding: [0x02,0x04,0xee,0x8b]
33400x02,0x04,0xee,0x8b
3341
3342# CHECK: s_nand_b64 ttmp[10:11], s[2:3], s[4:5]  ; encoding: [0x02,0x04,0xfa,0x8b]
33430x02,0x04,0xfa,0x8b
3344
3345# CHECK: s_nand_b64 exec, s[2:3], s[4:5]         ; encoding: [0x02,0x04,0xfe,0x8b]
33460x02,0x04,0xfe,0x8b
3347
3348# CHECK: s_nand_b64 s[10:11], s[4:5], s[4:5]     ; encoding: [0x04,0x04,0x8a,0x8b]
33490x04,0x04,0x8a,0x8b
3350
3351# CHECK: s_nand_b64 s[10:11], s[100:101], s[4:5] ; encoding: [0x64,0x04,0x8a,0x8b]
33520x64,0x04,0x8a,0x8b
3353
3354# CHECK: s_nand_b64 s[10:11], flat_scratch, s[4:5] ; encoding: [0x66,0x04,0x8a,0x8b]
33550x66,0x04,0x8a,0x8b
3356
3357# CHECK: s_nand_b64 s[10:11], vcc, s[4:5]        ; encoding: [0x6a,0x04,0x8a,0x8b]
33580x6a,0x04,0x8a,0x8b
3359
3360# CHECK: s_nand_b64 s[10:11], tba, s[4:5]        ; encoding: [0x6c,0x04,0x8a,0x8b]
33610x6c,0x04,0x8a,0x8b
3362
3363# CHECK: s_nand_b64 s[10:11], tma, s[4:5]        ; encoding: [0x6e,0x04,0x8a,0x8b]
33640x6e,0x04,0x8a,0x8b
3365
3366# CHECK: s_nand_b64 s[10:11], ttmp[10:11], s[4:5] ; encoding: [0x7a,0x04,0x8a,0x8b]
33670x7a,0x04,0x8a,0x8b
3368
3369# CHECK: s_nand_b64 s[10:11], exec, s[4:5]       ; encoding: [0x7e,0x04,0x8a,0x8b]
33700x7e,0x04,0x8a,0x8b
3371
3372# CHECK: s_nand_b64 s[10:11], 0, s[4:5]          ; encoding: [0x80,0x04,0x8a,0x8b]
33730x80,0x04,0x8a,0x8b
3374
3375# CHECK: s_nand_b64 s[10:11], -1, s[4:5]         ; encoding: [0xc1,0x04,0x8a,0x8b]
33760xc1,0x04,0x8a,0x8b
3377
3378# CHECK: s_nand_b64 s[10:11], 0.5, s[4:5]        ; encoding: [0xf0,0x04,0x8a,0x8b]
33790xf0,0x04,0x8a,0x8b
3380
3381# CHECK: s_nand_b64 s[10:11], -4.0, s[4:5]       ; encoding: [0xf7,0x04,0x8a,0x8b]
33820xf7,0x04,0x8a,0x8b
3383
3384# CHECK: s_nand_b64 s[10:11], 0xaf123456, s[4:5] ; encoding: [0xff,0x04,0x8a,0x8b,0x56,0x34,0x12,0xaf]
33850xff,0x04,0x8a,0x8b,0x56,0x34,0x12,0xaf
3386
3387# CHECK: s_nand_b64 s[10:11], 0x3f717273, s[4:5] ; encoding: [0xff,0x04,0x8a,0x8b,0x73,0x72,0x71,0x3f]
33880xff,0x04,0x8a,0x8b,0x73,0x72,0x71,0x3f
3389
3390# CHECK: s_nand_b64 s[10:11], s[2:3], s[6:7]     ; encoding: [0x02,0x06,0x8a,0x8b]
33910x02,0x06,0x8a,0x8b
3392
3393# CHECK: s_nand_b64 s[10:11], s[2:3], s[100:101] ; encoding: [0x02,0x64,0x8a,0x8b]
33940x02,0x64,0x8a,0x8b
3395
3396# CHECK: s_nand_b64 s[10:11], s[2:3], flat_scratch ; encoding: [0x02,0x66,0x8a,0x8b]
33970x02,0x66,0x8a,0x8b
3398
3399# CHECK: s_nand_b64 s[10:11], s[2:3], vcc        ; encoding: [0x02,0x6a,0x8a,0x8b]
34000x02,0x6a,0x8a,0x8b
3401
3402# CHECK: s_nand_b64 s[10:11], s[2:3], tba        ; encoding: [0x02,0x6c,0x8a,0x8b]
34030x02,0x6c,0x8a,0x8b
3404
3405# CHECK: s_nand_b64 s[10:11], s[2:3], tma        ; encoding: [0x02,0x6e,0x8a,0x8b]
34060x02,0x6e,0x8a,0x8b
3407
3408# CHECK: s_nand_b64 s[10:11], s[2:3], ttmp[10:11] ; encoding: [0x02,0x7a,0x8a,0x8b]
34090x02,0x7a,0x8a,0x8b
3410
3411# CHECK: s_nand_b64 s[10:11], s[2:3], exec       ; encoding: [0x02,0x7e,0x8a,0x8b]
34120x02,0x7e,0x8a,0x8b
3413
3414# CHECK: s_nand_b64 s[10:11], s[2:3], 0          ; encoding: [0x02,0x80,0x8a,0x8b]
34150x02,0x80,0x8a,0x8b
3416
3417# CHECK: s_nand_b64 s[10:11], s[2:3], -1         ; encoding: [0x02,0xc1,0x8a,0x8b]
34180x02,0xc1,0x8a,0x8b
3419
3420# CHECK: s_nand_b64 s[10:11], s[2:3], 0.5        ; encoding: [0x02,0xf0,0x8a,0x8b]
34210x02,0xf0,0x8a,0x8b
3422
3423# CHECK: s_nand_b64 s[10:11], s[2:3], -4.0       ; encoding: [0x02,0xf7,0x8a,0x8b]
34240x02,0xf7,0x8a,0x8b
3425
3426# CHECK: s_nand_b64 s[10:11], s[2:3], 0xaf123456 ; encoding: [0x02,0xff,0x8a,0x8b,0x56,0x34,0x12,0xaf]
34270x02,0xff,0x8a,0x8b,0x56,0x34,0x12,0xaf
3428
3429# CHECK: s_nand_b64 s[10:11], s[2:3], 0x3f717273 ; encoding: [0x02,0xff,0x8a,0x8b,0x73,0x72,0x71,0x3f]
34300x02,0xff,0x8a,0x8b,0x73,0x72,0x71,0x3f
3431
3432# CHECK: s_nor_b32 s5, s1, s2                    ; encoding: [0x01,0x02,0x05,0x8c]
34330x01,0x02,0x05,0x8c
3434
3435# CHECK: s_nor_b32 s101, s1, s2                  ; encoding: [0x01,0x02,0x65,0x8c]
34360x01,0x02,0x65,0x8c
3437
3438# CHECK: s_nor_b32 flat_scratch_lo, s1, s2       ; encoding: [0x01,0x02,0x66,0x8c]
34390x01,0x02,0x66,0x8c
3440
3441# CHECK: s_nor_b32 flat_scratch_hi, s1, s2       ; encoding: [0x01,0x02,0x67,0x8c]
34420x01,0x02,0x67,0x8c
3443
3444# CHECK: s_nor_b32 vcc_lo, s1, s2                ; encoding: [0x01,0x02,0x6a,0x8c]
34450x01,0x02,0x6a,0x8c
3446
3447# CHECK: s_nor_b32 vcc_hi, s1, s2                ; encoding: [0x01,0x02,0x6b,0x8c]
34480x01,0x02,0x6b,0x8c
3449
3450# CHECK: s_nor_b32 tba_lo, s1, s2                ; encoding: [0x01,0x02,0x6c,0x8c]
34510x01,0x02,0x6c,0x8c
3452
3453# CHECK: s_nor_b32 tba_hi, s1, s2                ; encoding: [0x01,0x02,0x6d,0x8c]
34540x01,0x02,0x6d,0x8c
3455
3456# CHECK: s_nor_b32 tma_lo, s1, s2                ; encoding: [0x01,0x02,0x6e,0x8c]
34570x01,0x02,0x6e,0x8c
3458
3459# CHECK: s_nor_b32 tma_hi, s1, s2                ; encoding: [0x01,0x02,0x6f,0x8c]
34600x01,0x02,0x6f,0x8c
3461
3462# CHECK: s_nor_b32 ttmp11, s1, s2                ; encoding: [0x01,0x02,0x7b,0x8c]
34630x01,0x02,0x7b,0x8c
3464
3465# CHECK: s_nor_b32 m0, s1, s2                    ; encoding: [0x01,0x02,0x7c,0x8c]
34660x01,0x02,0x7c,0x8c
3467
3468# CHECK: s_nor_b32 exec_lo, s1, s2               ; encoding: [0x01,0x02,0x7e,0x8c]
34690x01,0x02,0x7e,0x8c
3470
3471# CHECK: s_nor_b32 exec_hi, s1, s2               ; encoding: [0x01,0x02,0x7f,0x8c]
34720x01,0x02,0x7f,0x8c
3473
3474# CHECK: s_nor_b32 s5, s101, s2                  ; encoding: [0x65,0x02,0x05,0x8c]
34750x65,0x02,0x05,0x8c
3476
3477# CHECK: s_nor_b32 s5, flat_scratch_lo, s2       ; encoding: [0x66,0x02,0x05,0x8c]
34780x66,0x02,0x05,0x8c
3479
3480# CHECK: s_nor_b32 s5, flat_scratch_hi, s2       ; encoding: [0x67,0x02,0x05,0x8c]
34810x67,0x02,0x05,0x8c
3482
3483# CHECK: s_nor_b32 s5, vcc_lo, s2                ; encoding: [0x6a,0x02,0x05,0x8c]
34840x6a,0x02,0x05,0x8c
3485
3486# CHECK: s_nor_b32 s5, vcc_hi, s2                ; encoding: [0x6b,0x02,0x05,0x8c]
34870x6b,0x02,0x05,0x8c
3488
3489# CHECK: s_nor_b32 s5, tba_lo, s2                ; encoding: [0x6c,0x02,0x05,0x8c]
34900x6c,0x02,0x05,0x8c
3491
3492# CHECK: s_nor_b32 s5, tba_hi, s2                ; encoding: [0x6d,0x02,0x05,0x8c]
34930x6d,0x02,0x05,0x8c
3494
3495# CHECK: s_nor_b32 s5, tma_lo, s2                ; encoding: [0x6e,0x02,0x05,0x8c]
34960x6e,0x02,0x05,0x8c
3497
3498# CHECK: s_nor_b32 s5, tma_hi, s2                ; encoding: [0x6f,0x02,0x05,0x8c]
34990x6f,0x02,0x05,0x8c
3500
3501# CHECK: s_nor_b32 s5, ttmp11, s2                ; encoding: [0x7b,0x02,0x05,0x8c]
35020x7b,0x02,0x05,0x8c
3503
3504# CHECK: s_nor_b32 s5, m0, s2                    ; encoding: [0x7c,0x02,0x05,0x8c]
35050x7c,0x02,0x05,0x8c
3506
3507# CHECK: s_nor_b32 s5, exec_lo, s2               ; encoding: [0x7e,0x02,0x05,0x8c]
35080x7e,0x02,0x05,0x8c
3509
3510# CHECK: s_nor_b32 s5, exec_hi, s2               ; encoding: [0x7f,0x02,0x05,0x8c]
35110x7f,0x02,0x05,0x8c
3512
3513# CHECK: s_nor_b32 s5, 0, s2                     ; encoding: [0x80,0x02,0x05,0x8c]
35140x80,0x02,0x05,0x8c
3515
3516# CHECK: s_nor_b32 s5, -1, s2                    ; encoding: [0xc1,0x02,0x05,0x8c]
35170xc1,0x02,0x05,0x8c
3518
3519# CHECK: s_nor_b32 s5, 0.5, s2                   ; encoding: [0xf0,0x02,0x05,0x8c]
35200xf0,0x02,0x05,0x8c
3521
3522# CHECK: s_nor_b32 s5, -4.0, s2                  ; encoding: [0xf7,0x02,0x05,0x8c]
35230xf7,0x02,0x05,0x8c
3524
3525# CHECK: s_nor_b32 s5, 0xaf123456, s2            ; encoding: [0xff,0x02,0x05,0x8c,0x56,0x34,0x12,0xaf]
35260xff,0x02,0x05,0x8c,0x56,0x34,0x12,0xaf
3527
3528# CHECK: s_nor_b32 s5, 0x3f717273, s2            ; encoding: [0xff,0x02,0x05,0x8c,0x73,0x72,0x71,0x3f]
35290xff,0x02,0x05,0x8c,0x73,0x72,0x71,0x3f
3530
3531# CHECK: s_nor_b32 s5, s1, s101                  ; encoding: [0x01,0x65,0x05,0x8c]
35320x01,0x65,0x05,0x8c
3533
3534# CHECK: s_nor_b32 s5, s1, flat_scratch_lo       ; encoding: [0x01,0x66,0x05,0x8c]
35350x01,0x66,0x05,0x8c
3536
3537# CHECK: s_nor_b32 s5, s1, flat_scratch_hi       ; encoding: [0x01,0x67,0x05,0x8c]
35380x01,0x67,0x05,0x8c
3539
3540# CHECK: s_nor_b32 s5, s1, vcc_lo                ; encoding: [0x01,0x6a,0x05,0x8c]
35410x01,0x6a,0x05,0x8c
3542
3543# CHECK: s_nor_b32 s5, s1, vcc_hi                ; encoding: [0x01,0x6b,0x05,0x8c]
35440x01,0x6b,0x05,0x8c
3545
3546# CHECK: s_nor_b32 s5, s1, tba_lo                ; encoding: [0x01,0x6c,0x05,0x8c]
35470x01,0x6c,0x05,0x8c
3548
3549# CHECK: s_nor_b32 s5, s1, tba_hi                ; encoding: [0x01,0x6d,0x05,0x8c]
35500x01,0x6d,0x05,0x8c
3551
3552# CHECK: s_nor_b32 s5, s1, tma_lo                ; encoding: [0x01,0x6e,0x05,0x8c]
35530x01,0x6e,0x05,0x8c
3554
3555# CHECK: s_nor_b32 s5, s1, tma_hi                ; encoding: [0x01,0x6f,0x05,0x8c]
35560x01,0x6f,0x05,0x8c
3557
3558# CHECK: s_nor_b32 s5, s1, ttmp11                ; encoding: [0x01,0x7b,0x05,0x8c]
35590x01,0x7b,0x05,0x8c
3560
3561# CHECK: s_nor_b32 s5, s1, m0                    ; encoding: [0x01,0x7c,0x05,0x8c]
35620x01,0x7c,0x05,0x8c
3563
3564# CHECK: s_nor_b32 s5, s1, exec_lo               ; encoding: [0x01,0x7e,0x05,0x8c]
35650x01,0x7e,0x05,0x8c
3566
3567# CHECK: s_nor_b32 s5, s1, exec_hi               ; encoding: [0x01,0x7f,0x05,0x8c]
35680x01,0x7f,0x05,0x8c
3569
3570# CHECK: s_nor_b32 s5, s1, 0                     ; encoding: [0x01,0x80,0x05,0x8c]
35710x01,0x80,0x05,0x8c
3572
3573# CHECK: s_nor_b32 s5, s1, -1                    ; encoding: [0x01,0xc1,0x05,0x8c]
35740x01,0xc1,0x05,0x8c
3575
3576# CHECK: s_nor_b32 s5, s1, 0.5                   ; encoding: [0x01,0xf0,0x05,0x8c]
35770x01,0xf0,0x05,0x8c
3578
3579# CHECK: s_nor_b32 s5, s1, -4.0                  ; encoding: [0x01,0xf7,0x05,0x8c]
35800x01,0xf7,0x05,0x8c
3581
3582# CHECK: s_nor_b32 s5, s1, 0xaf123456            ; encoding: [0x01,0xff,0x05,0x8c,0x56,0x34,0x12,0xaf]
35830x01,0xff,0x05,0x8c,0x56,0x34,0x12,0xaf
3584
3585# CHECK: s_nor_b32 s5, s1, 0x3f717273            ; encoding: [0x01,0xff,0x05,0x8c,0x73,0x72,0x71,0x3f]
35860x01,0xff,0x05,0x8c,0x73,0x72,0x71,0x3f
3587
3588# CHECK: s_nor_b64 s[10:11], s[2:3], s[4:5]      ; encoding: [0x02,0x04,0x8a,0x8c]
35890x02,0x04,0x8a,0x8c
3590
3591# CHECK: s_nor_b64 s[12:13], s[2:3], s[4:5]      ; encoding: [0x02,0x04,0x8c,0x8c]
35920x02,0x04,0x8c,0x8c
3593
3594# CHECK: s_nor_b64 s[100:101], s[2:3], s[4:5]    ; encoding: [0x02,0x04,0xe4,0x8c]
35950x02,0x04,0xe4,0x8c
3596
3597# CHECK: s_nor_b64 flat_scratch, s[2:3], s[4:5]  ; encoding: [0x02,0x04,0xe6,0x8c]
35980x02,0x04,0xe6,0x8c
3599
3600# CHECK: s_nor_b64 vcc, s[2:3], s[4:5]           ; encoding: [0x02,0x04,0xea,0x8c]
36010x02,0x04,0xea,0x8c
3602
3603# CHECK: s_nor_b64 tba, s[2:3], s[4:5]           ; encoding: [0x02,0x04,0xec,0x8c]
36040x02,0x04,0xec,0x8c
3605
3606# CHECK: s_nor_b64 tma, s[2:3], s[4:5]           ; encoding: [0x02,0x04,0xee,0x8c]
36070x02,0x04,0xee,0x8c
3608
3609# CHECK: s_nor_b64 ttmp[10:11], s[2:3], s[4:5]   ; encoding: [0x02,0x04,0xfa,0x8c]
36100x02,0x04,0xfa,0x8c
3611
3612# CHECK: s_nor_b64 exec, s[2:3], s[4:5]          ; encoding: [0x02,0x04,0xfe,0x8c]
36130x02,0x04,0xfe,0x8c
3614
3615# CHECK: s_nor_b64 s[10:11], s[4:5], s[4:5]      ; encoding: [0x04,0x04,0x8a,0x8c]
36160x04,0x04,0x8a,0x8c
3617
3618# CHECK: s_nor_b64 s[10:11], s[100:101], s[4:5]  ; encoding: [0x64,0x04,0x8a,0x8c]
36190x64,0x04,0x8a,0x8c
3620
3621# CHECK: s_nor_b64 s[10:11], flat_scratch, s[4:5] ; encoding: [0x66,0x04,0x8a,0x8c]
36220x66,0x04,0x8a,0x8c
3623
3624# CHECK: s_nor_b64 s[10:11], vcc, s[4:5]         ; encoding: [0x6a,0x04,0x8a,0x8c]
36250x6a,0x04,0x8a,0x8c
3626
3627# CHECK: s_nor_b64 s[10:11], tba, s[4:5]         ; encoding: [0x6c,0x04,0x8a,0x8c]
36280x6c,0x04,0x8a,0x8c
3629
3630# CHECK: s_nor_b64 s[10:11], tma, s[4:5]         ; encoding: [0x6e,0x04,0x8a,0x8c]
36310x6e,0x04,0x8a,0x8c
3632
3633# CHECK: s_nor_b64 s[10:11], ttmp[10:11], s[4:5] ; encoding: [0x7a,0x04,0x8a,0x8c]
36340x7a,0x04,0x8a,0x8c
3635
3636# CHECK: s_nor_b64 s[10:11], exec, s[4:5]        ; encoding: [0x7e,0x04,0x8a,0x8c]
36370x7e,0x04,0x8a,0x8c
3638
3639# CHECK: s_nor_b64 s[10:11], 0, s[4:5]           ; encoding: [0x80,0x04,0x8a,0x8c]
36400x80,0x04,0x8a,0x8c
3641
3642# CHECK: s_nor_b64 s[10:11], -1, s[4:5]          ; encoding: [0xc1,0x04,0x8a,0x8c]
36430xc1,0x04,0x8a,0x8c
3644
3645# CHECK: s_nor_b64 s[10:11], 0.5, s[4:5]         ; encoding: [0xf0,0x04,0x8a,0x8c]
36460xf0,0x04,0x8a,0x8c
3647
3648# CHECK: s_nor_b64 s[10:11], -4.0, s[4:5]        ; encoding: [0xf7,0x04,0x8a,0x8c]
36490xf7,0x04,0x8a,0x8c
3650
3651# CHECK: s_nor_b64 s[10:11], 0xaf123456, s[4:5]  ; encoding: [0xff,0x04,0x8a,0x8c,0x56,0x34,0x12,0xaf]
36520xff,0x04,0x8a,0x8c,0x56,0x34,0x12,0xaf
3653
3654# CHECK: s_nor_b64 s[10:11], 0x3f717273, s[4:5]  ; encoding: [0xff,0x04,0x8a,0x8c,0x73,0x72,0x71,0x3f]
36550xff,0x04,0x8a,0x8c,0x73,0x72,0x71,0x3f
3656
3657# CHECK: s_nor_b64 s[10:11], s[2:3], s[6:7]      ; encoding: [0x02,0x06,0x8a,0x8c]
36580x02,0x06,0x8a,0x8c
3659
3660# CHECK: s_nor_b64 s[10:11], s[2:3], s[100:101]  ; encoding: [0x02,0x64,0x8a,0x8c]
36610x02,0x64,0x8a,0x8c
3662
3663# CHECK: s_nor_b64 s[10:11], s[2:3], flat_scratch ; encoding: [0x02,0x66,0x8a,0x8c]
36640x02,0x66,0x8a,0x8c
3665
3666# CHECK: s_nor_b64 s[10:11], s[2:3], vcc         ; encoding: [0x02,0x6a,0x8a,0x8c]
36670x02,0x6a,0x8a,0x8c
3668
3669# CHECK: s_nor_b64 s[10:11], s[2:3], tba         ; encoding: [0x02,0x6c,0x8a,0x8c]
36700x02,0x6c,0x8a,0x8c
3671
3672# CHECK: s_nor_b64 s[10:11], s[2:3], tma         ; encoding: [0x02,0x6e,0x8a,0x8c]
36730x02,0x6e,0x8a,0x8c
3674
3675# CHECK: s_nor_b64 s[10:11], s[2:3], ttmp[10:11] ; encoding: [0x02,0x7a,0x8a,0x8c]
36760x02,0x7a,0x8a,0x8c
3677
3678# CHECK: s_nor_b64 s[10:11], s[2:3], exec        ; encoding: [0x02,0x7e,0x8a,0x8c]
36790x02,0x7e,0x8a,0x8c
3680
3681# CHECK: s_nor_b64 s[10:11], s[2:3], 0           ; encoding: [0x02,0x80,0x8a,0x8c]
36820x02,0x80,0x8a,0x8c
3683
3684# CHECK: s_nor_b64 s[10:11], s[2:3], -1          ; encoding: [0x02,0xc1,0x8a,0x8c]
36850x02,0xc1,0x8a,0x8c
3686
3687# CHECK: s_nor_b64 s[10:11], s[2:3], 0.5         ; encoding: [0x02,0xf0,0x8a,0x8c]
36880x02,0xf0,0x8a,0x8c
3689
3690# CHECK: s_nor_b64 s[10:11], s[2:3], -4.0        ; encoding: [0x02,0xf7,0x8a,0x8c]
36910x02,0xf7,0x8a,0x8c
3692
3693# CHECK: s_nor_b64 s[10:11], s[2:3], 0xaf123456  ; encoding: [0x02,0xff,0x8a,0x8c,0x56,0x34,0x12,0xaf]
36940x02,0xff,0x8a,0x8c,0x56,0x34,0x12,0xaf
3695
3696# CHECK: s_nor_b64 s[10:11], s[2:3], 0x3f717273  ; encoding: [0x02,0xff,0x8a,0x8c,0x73,0x72,0x71,0x3f]
36970x02,0xff,0x8a,0x8c,0x73,0x72,0x71,0x3f
3698
3699# CHECK: s_xnor_b32 s5, s1, s2                   ; encoding: [0x01,0x02,0x05,0x8d]
37000x01,0x02,0x05,0x8d
3701
3702# CHECK: s_xnor_b32 s101, s1, s2                 ; encoding: [0x01,0x02,0x65,0x8d]
37030x01,0x02,0x65,0x8d
3704
3705# CHECK: s_xnor_b32 flat_scratch_lo, s1, s2      ; encoding: [0x01,0x02,0x66,0x8d]
37060x01,0x02,0x66,0x8d
3707
3708# CHECK: s_xnor_b32 flat_scratch_hi, s1, s2      ; encoding: [0x01,0x02,0x67,0x8d]
37090x01,0x02,0x67,0x8d
3710
3711# CHECK: s_xnor_b32 vcc_lo, s1, s2               ; encoding: [0x01,0x02,0x6a,0x8d]
37120x01,0x02,0x6a,0x8d
3713
3714# CHECK: s_xnor_b32 vcc_hi, s1, s2               ; encoding: [0x01,0x02,0x6b,0x8d]
37150x01,0x02,0x6b,0x8d
3716
3717# CHECK: s_xnor_b32 tba_lo, s1, s2               ; encoding: [0x01,0x02,0x6c,0x8d]
37180x01,0x02,0x6c,0x8d
3719
3720# CHECK: s_xnor_b32 tba_hi, s1, s2               ; encoding: [0x01,0x02,0x6d,0x8d]
37210x01,0x02,0x6d,0x8d
3722
3723# CHECK: s_xnor_b32 tma_lo, s1, s2               ; encoding: [0x01,0x02,0x6e,0x8d]
37240x01,0x02,0x6e,0x8d
3725
3726# CHECK: s_xnor_b32 tma_hi, s1, s2               ; encoding: [0x01,0x02,0x6f,0x8d]
37270x01,0x02,0x6f,0x8d
3728
3729# CHECK: s_xnor_b32 ttmp11, s1, s2               ; encoding: [0x01,0x02,0x7b,0x8d]
37300x01,0x02,0x7b,0x8d
3731
3732# CHECK: s_xnor_b32 m0, s1, s2                   ; encoding: [0x01,0x02,0x7c,0x8d]
37330x01,0x02,0x7c,0x8d
3734
3735# CHECK: s_xnor_b32 exec_lo, s1, s2              ; encoding: [0x01,0x02,0x7e,0x8d]
37360x01,0x02,0x7e,0x8d
3737
3738# CHECK: s_xnor_b32 exec_hi, s1, s2              ; encoding: [0x01,0x02,0x7f,0x8d]
37390x01,0x02,0x7f,0x8d
3740
3741# CHECK: s_xnor_b32 s5, s101, s2                 ; encoding: [0x65,0x02,0x05,0x8d]
37420x65,0x02,0x05,0x8d
3743
3744# CHECK: s_xnor_b32 s5, flat_scratch_lo, s2      ; encoding: [0x66,0x02,0x05,0x8d]
37450x66,0x02,0x05,0x8d
3746
3747# CHECK: s_xnor_b32 s5, flat_scratch_hi, s2      ; encoding: [0x67,0x02,0x05,0x8d]
37480x67,0x02,0x05,0x8d
3749
3750# CHECK: s_xnor_b32 s5, vcc_lo, s2               ; encoding: [0x6a,0x02,0x05,0x8d]
37510x6a,0x02,0x05,0x8d
3752
3753# CHECK: s_xnor_b32 s5, vcc_hi, s2               ; encoding: [0x6b,0x02,0x05,0x8d]
37540x6b,0x02,0x05,0x8d
3755
3756# CHECK: s_xnor_b32 s5, tba_lo, s2               ; encoding: [0x6c,0x02,0x05,0x8d]
37570x6c,0x02,0x05,0x8d
3758
3759# CHECK: s_xnor_b32 s5, tba_hi, s2               ; encoding: [0x6d,0x02,0x05,0x8d]
37600x6d,0x02,0x05,0x8d
3761
3762# CHECK: s_xnor_b32 s5, tma_lo, s2               ; encoding: [0x6e,0x02,0x05,0x8d]
37630x6e,0x02,0x05,0x8d
3764
3765# CHECK: s_xnor_b32 s5, tma_hi, s2               ; encoding: [0x6f,0x02,0x05,0x8d]
37660x6f,0x02,0x05,0x8d
3767
3768# CHECK: s_xnor_b32 s5, ttmp11, s2               ; encoding: [0x7b,0x02,0x05,0x8d]
37690x7b,0x02,0x05,0x8d
3770
3771# CHECK: s_xnor_b32 s5, m0, s2                   ; encoding: [0x7c,0x02,0x05,0x8d]
37720x7c,0x02,0x05,0x8d
3773
3774# CHECK: s_xnor_b32 s5, exec_lo, s2              ; encoding: [0x7e,0x02,0x05,0x8d]
37750x7e,0x02,0x05,0x8d
3776
3777# CHECK: s_xnor_b32 s5, exec_hi, s2              ; encoding: [0x7f,0x02,0x05,0x8d]
37780x7f,0x02,0x05,0x8d
3779
3780# CHECK: s_xnor_b32 s5, 0, s2                    ; encoding: [0x80,0x02,0x05,0x8d]
37810x80,0x02,0x05,0x8d
3782
3783# CHECK: s_xnor_b32 s5, -1, s2                   ; encoding: [0xc1,0x02,0x05,0x8d]
37840xc1,0x02,0x05,0x8d
3785
3786# CHECK: s_xnor_b32 s5, 0.5, s2                  ; encoding: [0xf0,0x02,0x05,0x8d]
37870xf0,0x02,0x05,0x8d
3788
3789# CHECK: s_xnor_b32 s5, -4.0, s2                 ; encoding: [0xf7,0x02,0x05,0x8d]
37900xf7,0x02,0x05,0x8d
3791
3792# CHECK: s_xnor_b32 s5, 0xaf123456, s2           ; encoding: [0xff,0x02,0x05,0x8d,0x56,0x34,0x12,0xaf]
37930xff,0x02,0x05,0x8d,0x56,0x34,0x12,0xaf
3794
3795# CHECK: s_xnor_b32 s5, 0x3f717273, s2           ; encoding: [0xff,0x02,0x05,0x8d,0x73,0x72,0x71,0x3f]
37960xff,0x02,0x05,0x8d,0x73,0x72,0x71,0x3f
3797
3798# CHECK: s_xnor_b32 s5, s1, s101                 ; encoding: [0x01,0x65,0x05,0x8d]
37990x01,0x65,0x05,0x8d
3800
3801# CHECK: s_xnor_b32 s5, s1, flat_scratch_lo      ; encoding: [0x01,0x66,0x05,0x8d]
38020x01,0x66,0x05,0x8d
3803
3804# CHECK: s_xnor_b32 s5, s1, flat_scratch_hi      ; encoding: [0x01,0x67,0x05,0x8d]
38050x01,0x67,0x05,0x8d
3806
3807# CHECK: s_xnor_b32 s5, s1, vcc_lo               ; encoding: [0x01,0x6a,0x05,0x8d]
38080x01,0x6a,0x05,0x8d
3809
3810# CHECK: s_xnor_b32 s5, s1, vcc_hi               ; encoding: [0x01,0x6b,0x05,0x8d]
38110x01,0x6b,0x05,0x8d
3812
3813# CHECK: s_xnor_b32 s5, s1, tba_lo               ; encoding: [0x01,0x6c,0x05,0x8d]
38140x01,0x6c,0x05,0x8d
3815
3816# CHECK: s_xnor_b32 s5, s1, tba_hi               ; encoding: [0x01,0x6d,0x05,0x8d]
38170x01,0x6d,0x05,0x8d
3818
3819# CHECK: s_xnor_b32 s5, s1, tma_lo               ; encoding: [0x01,0x6e,0x05,0x8d]
38200x01,0x6e,0x05,0x8d
3821
3822# CHECK: s_xnor_b32 s5, s1, tma_hi               ; encoding: [0x01,0x6f,0x05,0x8d]
38230x01,0x6f,0x05,0x8d
3824
3825# CHECK: s_xnor_b32 s5, s1, ttmp11               ; encoding: [0x01,0x7b,0x05,0x8d]
38260x01,0x7b,0x05,0x8d
3827
3828# CHECK: s_xnor_b32 s5, s1, m0                   ; encoding: [0x01,0x7c,0x05,0x8d]
38290x01,0x7c,0x05,0x8d
3830
3831# CHECK: s_xnor_b32 s5, s1, exec_lo              ; encoding: [0x01,0x7e,0x05,0x8d]
38320x01,0x7e,0x05,0x8d
3833
3834# CHECK: s_xnor_b32 s5, s1, exec_hi              ; encoding: [0x01,0x7f,0x05,0x8d]
38350x01,0x7f,0x05,0x8d
3836
3837# CHECK: s_xnor_b32 s5, s1, 0                    ; encoding: [0x01,0x80,0x05,0x8d]
38380x01,0x80,0x05,0x8d
3839
3840# CHECK: s_xnor_b32 s5, s1, -1                   ; encoding: [0x01,0xc1,0x05,0x8d]
38410x01,0xc1,0x05,0x8d
3842
3843# CHECK: s_xnor_b32 s5, s1, 0.5                  ; encoding: [0x01,0xf0,0x05,0x8d]
38440x01,0xf0,0x05,0x8d
3845
3846# CHECK: s_xnor_b32 s5, s1, -4.0                 ; encoding: [0x01,0xf7,0x05,0x8d]
38470x01,0xf7,0x05,0x8d
3848
3849# CHECK: s_xnor_b32 s5, s1, 0xaf123456           ; encoding: [0x01,0xff,0x05,0x8d,0x56,0x34,0x12,0xaf]
38500x01,0xff,0x05,0x8d,0x56,0x34,0x12,0xaf
3851
3852# CHECK: s_xnor_b32 s5, s1, 0x3f717273           ; encoding: [0x01,0xff,0x05,0x8d,0x73,0x72,0x71,0x3f]
38530x01,0xff,0x05,0x8d,0x73,0x72,0x71,0x3f
3854
3855# CHECK: s_xnor_b64 s[10:11], s[2:3], s[4:5]     ; encoding: [0x02,0x04,0x8a,0x8d]
38560x02,0x04,0x8a,0x8d
3857
3858# CHECK: s_xnor_b64 s[12:13], s[2:3], s[4:5]     ; encoding: [0x02,0x04,0x8c,0x8d]
38590x02,0x04,0x8c,0x8d
3860
3861# CHECK: s_xnor_b64 s[100:101], s[2:3], s[4:5]   ; encoding: [0x02,0x04,0xe4,0x8d]
38620x02,0x04,0xe4,0x8d
3863
3864# CHECK: s_xnor_b64 flat_scratch, s[2:3], s[4:5] ; encoding: [0x02,0x04,0xe6,0x8d]
38650x02,0x04,0xe6,0x8d
3866
3867# CHECK: s_xnor_b64 vcc, s[2:3], s[4:5]          ; encoding: [0x02,0x04,0xea,0x8d]
38680x02,0x04,0xea,0x8d
3869
3870# CHECK: s_xnor_b64 tba, s[2:3], s[4:5]          ; encoding: [0x02,0x04,0xec,0x8d]
38710x02,0x04,0xec,0x8d
3872
3873# CHECK: s_xnor_b64 tma, s[2:3], s[4:5]          ; encoding: [0x02,0x04,0xee,0x8d]
38740x02,0x04,0xee,0x8d
3875
3876# CHECK: s_xnor_b64 ttmp[10:11], s[2:3], s[4:5]  ; encoding: [0x02,0x04,0xfa,0x8d]
38770x02,0x04,0xfa,0x8d
3878
3879# CHECK: s_xnor_b64 exec, s[2:3], s[4:5]         ; encoding: [0x02,0x04,0xfe,0x8d]
38800x02,0x04,0xfe,0x8d
3881
3882# CHECK: s_xnor_b64 s[10:11], s[4:5], s[4:5]     ; encoding: [0x04,0x04,0x8a,0x8d]
38830x04,0x04,0x8a,0x8d
3884
3885# CHECK: s_xnor_b64 s[10:11], s[100:101], s[4:5] ; encoding: [0x64,0x04,0x8a,0x8d]
38860x64,0x04,0x8a,0x8d
3887
3888# CHECK: s_xnor_b64 s[10:11], flat_scratch, s[4:5] ; encoding: [0x66,0x04,0x8a,0x8d]
38890x66,0x04,0x8a,0x8d
3890
3891# CHECK: s_xnor_b64 s[10:11], vcc, s[4:5]        ; encoding: [0x6a,0x04,0x8a,0x8d]
38920x6a,0x04,0x8a,0x8d
3893
3894# CHECK: s_xnor_b64 s[10:11], tba, s[4:5]        ; encoding: [0x6c,0x04,0x8a,0x8d]
38950x6c,0x04,0x8a,0x8d
3896
3897# CHECK: s_xnor_b64 s[10:11], tma, s[4:5]        ; encoding: [0x6e,0x04,0x8a,0x8d]
38980x6e,0x04,0x8a,0x8d
3899
3900# CHECK: s_xnor_b64 s[10:11], ttmp[10:11], s[4:5] ; encoding: [0x7a,0x04,0x8a,0x8d]
39010x7a,0x04,0x8a,0x8d
3902
3903# CHECK: s_xnor_b64 s[10:11], exec, s[4:5]       ; encoding: [0x7e,0x04,0x8a,0x8d]
39040x7e,0x04,0x8a,0x8d
3905
3906# CHECK: s_xnor_b64 s[10:11], 0, s[4:5]          ; encoding: [0x80,0x04,0x8a,0x8d]
39070x80,0x04,0x8a,0x8d
3908
3909# CHECK: s_xnor_b64 s[10:11], -1, s[4:5]         ; encoding: [0xc1,0x04,0x8a,0x8d]
39100xc1,0x04,0x8a,0x8d
3911
3912# CHECK: s_xnor_b64 s[10:11], 0.5, s[4:5]        ; encoding: [0xf0,0x04,0x8a,0x8d]
39130xf0,0x04,0x8a,0x8d
3914
3915# CHECK: s_xnor_b64 s[10:11], -4.0, s[4:5]       ; encoding: [0xf7,0x04,0x8a,0x8d]
39160xf7,0x04,0x8a,0x8d
3917
3918# CHECK: s_xnor_b64 s[10:11], 0xaf123456, s[4:5] ; encoding: [0xff,0x04,0x8a,0x8d,0x56,0x34,0x12,0xaf]
39190xff,0x04,0x8a,0x8d,0x56,0x34,0x12,0xaf
3920
3921# CHECK: s_xnor_b64 s[10:11], 0x3f717273, s[4:5] ; encoding: [0xff,0x04,0x8a,0x8d,0x73,0x72,0x71,0x3f]
39220xff,0x04,0x8a,0x8d,0x73,0x72,0x71,0x3f
3923
3924# CHECK: s_xnor_b64 s[10:11], s[2:3], s[6:7]     ; encoding: [0x02,0x06,0x8a,0x8d]
39250x02,0x06,0x8a,0x8d
3926
3927# CHECK: s_xnor_b64 s[10:11], s[2:3], s[100:101] ; encoding: [0x02,0x64,0x8a,0x8d]
39280x02,0x64,0x8a,0x8d
3929
3930# CHECK: s_xnor_b64 s[10:11], s[2:3], flat_scratch ; encoding: [0x02,0x66,0x8a,0x8d]
39310x02,0x66,0x8a,0x8d
3932
3933# CHECK: s_xnor_b64 s[10:11], s[2:3], vcc        ; encoding: [0x02,0x6a,0x8a,0x8d]
39340x02,0x6a,0x8a,0x8d
3935
3936# CHECK: s_xnor_b64 s[10:11], s[2:3], tba        ; encoding: [0x02,0x6c,0x8a,0x8d]
39370x02,0x6c,0x8a,0x8d
3938
3939# CHECK: s_xnor_b64 s[10:11], s[2:3], tma        ; encoding: [0x02,0x6e,0x8a,0x8d]
39400x02,0x6e,0x8a,0x8d
3941
3942# CHECK: s_xnor_b64 s[10:11], s[2:3], ttmp[10:11] ; encoding: [0x02,0x7a,0x8a,0x8d]
39430x02,0x7a,0x8a,0x8d
3944
3945# CHECK: s_xnor_b64 s[10:11], s[2:3], exec       ; encoding: [0x02,0x7e,0x8a,0x8d]
39460x02,0x7e,0x8a,0x8d
3947
3948# CHECK: s_xnor_b64 s[10:11], s[2:3], 0          ; encoding: [0x02,0x80,0x8a,0x8d]
39490x02,0x80,0x8a,0x8d
3950
3951# CHECK: s_xnor_b64 s[10:11], s[2:3], -1         ; encoding: [0x02,0xc1,0x8a,0x8d]
39520x02,0xc1,0x8a,0x8d
3953
3954# CHECK: s_xnor_b64 s[10:11], s[2:3], 0.5        ; encoding: [0x02,0xf0,0x8a,0x8d]
39550x02,0xf0,0x8a,0x8d
3956
3957# CHECK: s_xnor_b64 s[10:11], s[2:3], -4.0       ; encoding: [0x02,0xf7,0x8a,0x8d]
39580x02,0xf7,0x8a,0x8d
3959
3960# CHECK: s_xnor_b64 s[10:11], s[2:3], 0xaf123456 ; encoding: [0x02,0xff,0x8a,0x8d,0x56,0x34,0x12,0xaf]
39610x02,0xff,0x8a,0x8d,0x56,0x34,0x12,0xaf
3962
3963# CHECK: s_xnor_b64 s[10:11], s[2:3], 0x3f717273 ; encoding: [0x02,0xff,0x8a,0x8d,0x73,0x72,0x71,0x3f]
39640x02,0xff,0x8a,0x8d,0x73,0x72,0x71,0x3f
3965
3966# CHECK: s_lshl_b32 s5, s1, s2                   ; encoding: [0x01,0x02,0x05,0x8e]
39670x01,0x02,0x05,0x8e
3968
3969# CHECK: s_lshl_b32 s101, s1, s2                 ; encoding: [0x01,0x02,0x65,0x8e]
39700x01,0x02,0x65,0x8e
3971
3972# CHECK: s_lshl_b32 flat_scratch_lo, s1, s2      ; encoding: [0x01,0x02,0x66,0x8e]
39730x01,0x02,0x66,0x8e
3974
3975# CHECK: s_lshl_b32 flat_scratch_hi, s1, s2      ; encoding: [0x01,0x02,0x67,0x8e]
39760x01,0x02,0x67,0x8e
3977
3978# CHECK: s_lshl_b32 vcc_lo, s1, s2               ; encoding: [0x01,0x02,0x6a,0x8e]
39790x01,0x02,0x6a,0x8e
3980
3981# CHECK: s_lshl_b32 vcc_hi, s1, s2               ; encoding: [0x01,0x02,0x6b,0x8e]
39820x01,0x02,0x6b,0x8e
3983
3984# CHECK: s_lshl_b32 tba_lo, s1, s2               ; encoding: [0x01,0x02,0x6c,0x8e]
39850x01,0x02,0x6c,0x8e
3986
3987# CHECK: s_lshl_b32 tba_hi, s1, s2               ; encoding: [0x01,0x02,0x6d,0x8e]
39880x01,0x02,0x6d,0x8e
3989
3990# CHECK: s_lshl_b32 tma_lo, s1, s2               ; encoding: [0x01,0x02,0x6e,0x8e]
39910x01,0x02,0x6e,0x8e
3992
3993# CHECK: s_lshl_b32 tma_hi, s1, s2               ; encoding: [0x01,0x02,0x6f,0x8e]
39940x01,0x02,0x6f,0x8e
3995
3996# CHECK: s_lshl_b32 ttmp11, s1, s2               ; encoding: [0x01,0x02,0x7b,0x8e]
39970x01,0x02,0x7b,0x8e
3998
3999# CHECK: s_lshl_b32 m0, s1, s2                   ; encoding: [0x01,0x02,0x7c,0x8e]
40000x01,0x02,0x7c,0x8e
4001
4002# CHECK: s_lshl_b32 exec_lo, s1, s2              ; encoding: [0x01,0x02,0x7e,0x8e]
40030x01,0x02,0x7e,0x8e
4004
4005# CHECK: s_lshl_b32 exec_hi, s1, s2              ; encoding: [0x01,0x02,0x7f,0x8e]
40060x01,0x02,0x7f,0x8e
4007
4008# CHECK: s_lshl_b32 s5, s101, s2                 ; encoding: [0x65,0x02,0x05,0x8e]
40090x65,0x02,0x05,0x8e
4010
4011# CHECK: s_lshl_b32 s5, flat_scratch_lo, s2      ; encoding: [0x66,0x02,0x05,0x8e]
40120x66,0x02,0x05,0x8e
4013
4014# CHECK: s_lshl_b32 s5, flat_scratch_hi, s2      ; encoding: [0x67,0x02,0x05,0x8e]
40150x67,0x02,0x05,0x8e
4016
4017# CHECK: s_lshl_b32 s5, vcc_lo, s2               ; encoding: [0x6a,0x02,0x05,0x8e]
40180x6a,0x02,0x05,0x8e
4019
4020# CHECK: s_lshl_b32 s5, vcc_hi, s2               ; encoding: [0x6b,0x02,0x05,0x8e]
40210x6b,0x02,0x05,0x8e
4022
4023# CHECK: s_lshl_b32 s5, tba_lo, s2               ; encoding: [0x6c,0x02,0x05,0x8e]
40240x6c,0x02,0x05,0x8e
4025
4026# CHECK: s_lshl_b32 s5, tba_hi, s2               ; encoding: [0x6d,0x02,0x05,0x8e]
40270x6d,0x02,0x05,0x8e
4028
4029# CHECK: s_lshl_b32 s5, tma_lo, s2               ; encoding: [0x6e,0x02,0x05,0x8e]
40300x6e,0x02,0x05,0x8e
4031
4032# CHECK: s_lshl_b32 s5, tma_hi, s2               ; encoding: [0x6f,0x02,0x05,0x8e]
40330x6f,0x02,0x05,0x8e
4034
4035# CHECK: s_lshl_b32 s5, ttmp11, s2               ; encoding: [0x7b,0x02,0x05,0x8e]
40360x7b,0x02,0x05,0x8e
4037
4038# CHECK: s_lshl_b32 s5, m0, s2                   ; encoding: [0x7c,0x02,0x05,0x8e]
40390x7c,0x02,0x05,0x8e
4040
4041# CHECK: s_lshl_b32 s5, exec_lo, s2              ; encoding: [0x7e,0x02,0x05,0x8e]
40420x7e,0x02,0x05,0x8e
4043
4044# CHECK: s_lshl_b32 s5, exec_hi, s2              ; encoding: [0x7f,0x02,0x05,0x8e]
40450x7f,0x02,0x05,0x8e
4046
4047# CHECK: s_lshl_b32 s5, 0, s2                    ; encoding: [0x80,0x02,0x05,0x8e]
40480x80,0x02,0x05,0x8e
4049
4050# CHECK: s_lshl_b32 s5, -1, s2                   ; encoding: [0xc1,0x02,0x05,0x8e]
40510xc1,0x02,0x05,0x8e
4052
4053# CHECK: s_lshl_b32 s5, 0.5, s2                  ; encoding: [0xf0,0x02,0x05,0x8e]
40540xf0,0x02,0x05,0x8e
4055
4056# CHECK: s_lshl_b32 s5, -4.0, s2                 ; encoding: [0xf7,0x02,0x05,0x8e]
40570xf7,0x02,0x05,0x8e
4058
4059# CHECK: s_lshl_b32 s5, 0xaf123456, s2           ; encoding: [0xff,0x02,0x05,0x8e,0x56,0x34,0x12,0xaf]
40600xff,0x02,0x05,0x8e,0x56,0x34,0x12,0xaf
4061
4062# CHECK: s_lshl_b32 s5, 0x3f717273, s2           ; encoding: [0xff,0x02,0x05,0x8e,0x73,0x72,0x71,0x3f]
40630xff,0x02,0x05,0x8e,0x73,0x72,0x71,0x3f
4064
4065# CHECK: s_lshl_b32 s5, s1, s101                 ; encoding: [0x01,0x65,0x05,0x8e]
40660x01,0x65,0x05,0x8e
4067
4068# CHECK: s_lshl_b32 s5, s1, flat_scratch_lo      ; encoding: [0x01,0x66,0x05,0x8e]
40690x01,0x66,0x05,0x8e
4070
4071# CHECK: s_lshl_b32 s5, s1, flat_scratch_hi      ; encoding: [0x01,0x67,0x05,0x8e]
40720x01,0x67,0x05,0x8e
4073
4074# CHECK: s_lshl_b32 s5, s1, vcc_lo               ; encoding: [0x01,0x6a,0x05,0x8e]
40750x01,0x6a,0x05,0x8e
4076
4077# CHECK: s_lshl_b32 s5, s1, vcc_hi               ; encoding: [0x01,0x6b,0x05,0x8e]
40780x01,0x6b,0x05,0x8e
4079
4080# CHECK: s_lshl_b32 s5, s1, tba_lo               ; encoding: [0x01,0x6c,0x05,0x8e]
40810x01,0x6c,0x05,0x8e
4082
4083# CHECK: s_lshl_b32 s5, s1, tba_hi               ; encoding: [0x01,0x6d,0x05,0x8e]
40840x01,0x6d,0x05,0x8e
4085
4086# CHECK: s_lshl_b32 s5, s1, tma_lo               ; encoding: [0x01,0x6e,0x05,0x8e]
40870x01,0x6e,0x05,0x8e
4088
4089# CHECK: s_lshl_b32 s5, s1, tma_hi               ; encoding: [0x01,0x6f,0x05,0x8e]
40900x01,0x6f,0x05,0x8e
4091
4092# CHECK: s_lshl_b32 s5, s1, ttmp11               ; encoding: [0x01,0x7b,0x05,0x8e]
40930x01,0x7b,0x05,0x8e
4094
4095# CHECK: s_lshl_b32 s5, s1, m0                   ; encoding: [0x01,0x7c,0x05,0x8e]
40960x01,0x7c,0x05,0x8e
4097
4098# CHECK: s_lshl_b32 s5, s1, exec_lo              ; encoding: [0x01,0x7e,0x05,0x8e]
40990x01,0x7e,0x05,0x8e
4100
4101# CHECK: s_lshl_b32 s5, s1, exec_hi              ; encoding: [0x01,0x7f,0x05,0x8e]
41020x01,0x7f,0x05,0x8e
4103
4104# CHECK: s_lshl_b32 s5, s1, 0                    ; encoding: [0x01,0x80,0x05,0x8e]
41050x01,0x80,0x05,0x8e
4106
4107# CHECK: s_lshl_b32 s5, s1, -1                   ; encoding: [0x01,0xc1,0x05,0x8e]
41080x01,0xc1,0x05,0x8e
4109
4110# CHECK: s_lshl_b32 s5, s1, 0.5                  ; encoding: [0x01,0xf0,0x05,0x8e]
41110x01,0xf0,0x05,0x8e
4112
4113# CHECK: s_lshl_b32 s5, s1, -4.0                 ; encoding: [0x01,0xf7,0x05,0x8e]
41140x01,0xf7,0x05,0x8e
4115
4116# CHECK: s_lshl_b32 s5, s1, 0xaf123456           ; encoding: [0x01,0xff,0x05,0x8e,0x56,0x34,0x12,0xaf]
41170x01,0xff,0x05,0x8e,0x56,0x34,0x12,0xaf
4118
4119# CHECK: s_lshl_b32 s5, s1, 0x3f717273           ; encoding: [0x01,0xff,0x05,0x8e,0x73,0x72,0x71,0x3f]
41200x01,0xff,0x05,0x8e,0x73,0x72,0x71,0x3f
4121
4122# CHECK: s_lshl_b64 s[10:11], s[2:3], s2         ; encoding: [0x02,0x02,0x8a,0x8e]
41230x02,0x02,0x8a,0x8e
4124
4125# CHECK: s_lshl_b64 s[12:13], s[2:3], s2         ; encoding: [0x02,0x02,0x8c,0x8e]
41260x02,0x02,0x8c,0x8e
4127
4128# CHECK: s_lshl_b64 s[100:101], s[2:3], s2       ; encoding: [0x02,0x02,0xe4,0x8e]
41290x02,0x02,0xe4,0x8e
4130
4131# CHECK: s_lshl_b64 flat_scratch, s[2:3], s2     ; encoding: [0x02,0x02,0xe6,0x8e]
41320x02,0x02,0xe6,0x8e
4133
4134# CHECK: s_lshl_b64 vcc, s[2:3], s2              ; encoding: [0x02,0x02,0xea,0x8e]
41350x02,0x02,0xea,0x8e
4136
4137# CHECK: s_lshl_b64 tba, s[2:3], s2              ; encoding: [0x02,0x02,0xec,0x8e]
41380x02,0x02,0xec,0x8e
4139
4140# CHECK: s_lshl_b64 tma, s[2:3], s2              ; encoding: [0x02,0x02,0xee,0x8e]
41410x02,0x02,0xee,0x8e
4142
4143# CHECK: s_lshl_b64 ttmp[10:11], s[2:3], s2      ; encoding: [0x02,0x02,0xfa,0x8e]
41440x02,0x02,0xfa,0x8e
4145
4146# CHECK: s_lshl_b64 exec, s[2:3], s2             ; encoding: [0x02,0x02,0xfe,0x8e]
41470x02,0x02,0xfe,0x8e
4148
4149# CHECK: s_lshl_b64 s[10:11], s[4:5], s2         ; encoding: [0x04,0x02,0x8a,0x8e]
41500x04,0x02,0x8a,0x8e
4151
4152# CHECK: s_lshl_b64 s[10:11], s[100:101], s2     ; encoding: [0x64,0x02,0x8a,0x8e]
41530x64,0x02,0x8a,0x8e
4154
4155# CHECK: s_lshl_b64 s[10:11], flat_scratch, s2   ; encoding: [0x66,0x02,0x8a,0x8e]
41560x66,0x02,0x8a,0x8e
4157
4158# CHECK: s_lshl_b64 s[10:11], vcc, s2            ; encoding: [0x6a,0x02,0x8a,0x8e]
41590x6a,0x02,0x8a,0x8e
4160
4161# CHECK: s_lshl_b64 s[10:11], tba, s2            ; encoding: [0x6c,0x02,0x8a,0x8e]
41620x6c,0x02,0x8a,0x8e
4163
4164# CHECK: s_lshl_b64 s[10:11], tma, s2            ; encoding: [0x6e,0x02,0x8a,0x8e]
41650x6e,0x02,0x8a,0x8e
4166
4167# CHECK: s_lshl_b64 s[10:11], ttmp[10:11], s2    ; encoding: [0x7a,0x02,0x8a,0x8e]
41680x7a,0x02,0x8a,0x8e
4169
4170# CHECK: s_lshl_b64 s[10:11], exec, s2           ; encoding: [0x7e,0x02,0x8a,0x8e]
41710x7e,0x02,0x8a,0x8e
4172
4173# CHECK: s_lshl_b64 s[10:11], 0, s2              ; encoding: [0x80,0x02,0x8a,0x8e]
41740x80,0x02,0x8a,0x8e
4175
4176# CHECK: s_lshl_b64 s[10:11], -1, s2             ; encoding: [0xc1,0x02,0x8a,0x8e]
41770xc1,0x02,0x8a,0x8e
4178
4179# CHECK: s_lshl_b64 s[10:11], 0.5, s2            ; encoding: [0xf0,0x02,0x8a,0x8e]
41800xf0,0x02,0x8a,0x8e
4181
4182# CHECK: s_lshl_b64 s[10:11], -4.0, s2           ; encoding: [0xf7,0x02,0x8a,0x8e]
41830xf7,0x02,0x8a,0x8e
4184
4185# CHECK: s_lshl_b64 s[10:11], 0xaf123456, s2     ; encoding: [0xff,0x02,0x8a,0x8e,0x56,0x34,0x12,0xaf]
41860xff,0x02,0x8a,0x8e,0x56,0x34,0x12,0xaf
4187
4188# CHECK: s_lshl_b64 s[10:11], 0x3f717273, s2     ; encoding: [0xff,0x02,0x8a,0x8e,0x73,0x72,0x71,0x3f]
41890xff,0x02,0x8a,0x8e,0x73,0x72,0x71,0x3f
4190
4191# CHECK: s_lshl_b64 s[10:11], s[2:3], s101       ; encoding: [0x02,0x65,0x8a,0x8e]
41920x02,0x65,0x8a,0x8e
4193
4194# CHECK: s_lshl_b64 s[10:11], s[2:3], flat_scratch_lo ; encoding: [0x02,0x66,0x8a,0x8e]
41950x02,0x66,0x8a,0x8e
4196
4197# CHECK: s_lshl_b64 s[10:11], s[2:3], flat_scratch_hi ; encoding: [0x02,0x67,0x8a,0x8e]
41980x02,0x67,0x8a,0x8e
4199
4200# CHECK: s_lshl_b64 s[10:11], s[2:3], vcc_lo     ; encoding: [0x02,0x6a,0x8a,0x8e]
42010x02,0x6a,0x8a,0x8e
4202
4203# CHECK: s_lshl_b64 s[10:11], s[2:3], vcc_hi     ; encoding: [0x02,0x6b,0x8a,0x8e]
42040x02,0x6b,0x8a,0x8e
4205
4206# CHECK: s_lshl_b64 s[10:11], s[2:3], tba_lo     ; encoding: [0x02,0x6c,0x8a,0x8e]
42070x02,0x6c,0x8a,0x8e
4208
4209# CHECK: s_lshl_b64 s[10:11], s[2:3], tba_hi     ; encoding: [0x02,0x6d,0x8a,0x8e]
42100x02,0x6d,0x8a,0x8e
4211
4212# CHECK: s_lshl_b64 s[10:11], s[2:3], tma_lo     ; encoding: [0x02,0x6e,0x8a,0x8e]
42130x02,0x6e,0x8a,0x8e
4214
4215# CHECK: s_lshl_b64 s[10:11], s[2:3], tma_hi     ; encoding: [0x02,0x6f,0x8a,0x8e]
42160x02,0x6f,0x8a,0x8e
4217
4218# CHECK: s_lshl_b64 s[10:11], s[2:3], ttmp11     ; encoding: [0x02,0x7b,0x8a,0x8e]
42190x02,0x7b,0x8a,0x8e
4220
4221# CHECK: s_lshl_b64 s[10:11], s[2:3], m0         ; encoding: [0x02,0x7c,0x8a,0x8e]
42220x02,0x7c,0x8a,0x8e
4223
4224# CHECK: s_lshl_b64 s[10:11], s[2:3], exec_lo    ; encoding: [0x02,0x7e,0x8a,0x8e]
42250x02,0x7e,0x8a,0x8e
4226
4227# CHECK: s_lshl_b64 s[10:11], s[2:3], exec_hi    ; encoding: [0x02,0x7f,0x8a,0x8e]
42280x02,0x7f,0x8a,0x8e
4229
4230# CHECK: s_lshl_b64 s[10:11], s[2:3], 0          ; encoding: [0x02,0x80,0x8a,0x8e]
42310x02,0x80,0x8a,0x8e
4232
4233# CHECK: s_lshl_b64 s[10:11], s[2:3], -1         ; encoding: [0x02,0xc1,0x8a,0x8e]
42340x02,0xc1,0x8a,0x8e
4235
4236# CHECK: s_lshl_b64 s[10:11], s[2:3], 0.5        ; encoding: [0x02,0xf0,0x8a,0x8e]
42370x02,0xf0,0x8a,0x8e
4238
4239# CHECK: s_lshl_b64 s[10:11], s[2:3], -4.0       ; encoding: [0x02,0xf7,0x8a,0x8e]
42400x02,0xf7,0x8a,0x8e
4241
4242# CHECK: s_lshl_b64 s[10:11], s[2:3], 0xaf123456 ; encoding: [0x02,0xff,0x8a,0x8e,0x56,0x34,0x12,0xaf]
42430x02,0xff,0x8a,0x8e,0x56,0x34,0x12,0xaf
4244
4245# CHECK: s_lshl_b64 s[10:11], s[2:3], 0x3f717273 ; encoding: [0x02,0xff,0x8a,0x8e,0x73,0x72,0x71,0x3f]
42460x02,0xff,0x8a,0x8e,0x73,0x72,0x71,0x3f
4247
4248# CHECK: s_lshr_b32 s5, s1, s2                   ; encoding: [0x01,0x02,0x05,0x8f]
42490x01,0x02,0x05,0x8f
4250
4251# CHECK: s_lshr_b32 s101, s1, s2                 ; encoding: [0x01,0x02,0x65,0x8f]
42520x01,0x02,0x65,0x8f
4253
4254# CHECK: s_lshr_b32 flat_scratch_lo, s1, s2      ; encoding: [0x01,0x02,0x66,0x8f]
42550x01,0x02,0x66,0x8f
4256
4257# CHECK: s_lshr_b32 flat_scratch_hi, s1, s2      ; encoding: [0x01,0x02,0x67,0x8f]
42580x01,0x02,0x67,0x8f
4259
4260# CHECK: s_lshr_b32 vcc_lo, s1, s2               ; encoding: [0x01,0x02,0x6a,0x8f]
42610x01,0x02,0x6a,0x8f
4262
4263# CHECK: s_lshr_b32 vcc_hi, s1, s2               ; encoding: [0x01,0x02,0x6b,0x8f]
42640x01,0x02,0x6b,0x8f
4265
4266# CHECK: s_lshr_b32 tba_lo, s1, s2               ; encoding: [0x01,0x02,0x6c,0x8f]
42670x01,0x02,0x6c,0x8f
4268
4269# CHECK: s_lshr_b32 tba_hi, s1, s2               ; encoding: [0x01,0x02,0x6d,0x8f]
42700x01,0x02,0x6d,0x8f
4271
4272# CHECK: s_lshr_b32 tma_lo, s1, s2               ; encoding: [0x01,0x02,0x6e,0x8f]
42730x01,0x02,0x6e,0x8f
4274
4275# CHECK: s_lshr_b32 tma_hi, s1, s2               ; encoding: [0x01,0x02,0x6f,0x8f]
42760x01,0x02,0x6f,0x8f
4277
4278# CHECK: s_lshr_b32 ttmp11, s1, s2               ; encoding: [0x01,0x02,0x7b,0x8f]
42790x01,0x02,0x7b,0x8f
4280
4281# CHECK: s_lshr_b32 m0, s1, s2                   ; encoding: [0x01,0x02,0x7c,0x8f]
42820x01,0x02,0x7c,0x8f
4283
4284# CHECK: s_lshr_b32 exec_lo, s1, s2              ; encoding: [0x01,0x02,0x7e,0x8f]
42850x01,0x02,0x7e,0x8f
4286
4287# CHECK: s_lshr_b32 exec_hi, s1, s2              ; encoding: [0x01,0x02,0x7f,0x8f]
42880x01,0x02,0x7f,0x8f
4289
4290# CHECK: s_lshr_b32 s5, s101, s2                 ; encoding: [0x65,0x02,0x05,0x8f]
42910x65,0x02,0x05,0x8f
4292
4293# CHECK: s_lshr_b32 s5, flat_scratch_lo, s2      ; encoding: [0x66,0x02,0x05,0x8f]
42940x66,0x02,0x05,0x8f
4295
4296# CHECK: s_lshr_b32 s5, flat_scratch_hi, s2      ; encoding: [0x67,0x02,0x05,0x8f]
42970x67,0x02,0x05,0x8f
4298
4299# CHECK: s_lshr_b32 s5, vcc_lo, s2               ; encoding: [0x6a,0x02,0x05,0x8f]
43000x6a,0x02,0x05,0x8f
4301
4302# CHECK: s_lshr_b32 s5, vcc_hi, s2               ; encoding: [0x6b,0x02,0x05,0x8f]
43030x6b,0x02,0x05,0x8f
4304
4305# CHECK: s_lshr_b32 s5, tba_lo, s2               ; encoding: [0x6c,0x02,0x05,0x8f]
43060x6c,0x02,0x05,0x8f
4307
4308# CHECK: s_lshr_b32 s5, tba_hi, s2               ; encoding: [0x6d,0x02,0x05,0x8f]
43090x6d,0x02,0x05,0x8f
4310
4311# CHECK: s_lshr_b32 s5, tma_lo, s2               ; encoding: [0x6e,0x02,0x05,0x8f]
43120x6e,0x02,0x05,0x8f
4313
4314# CHECK: s_lshr_b32 s5, tma_hi, s2               ; encoding: [0x6f,0x02,0x05,0x8f]
43150x6f,0x02,0x05,0x8f
4316
4317# CHECK: s_lshr_b32 s5, ttmp11, s2               ; encoding: [0x7b,0x02,0x05,0x8f]
43180x7b,0x02,0x05,0x8f
4319
4320# CHECK: s_lshr_b32 s5, m0, s2                   ; encoding: [0x7c,0x02,0x05,0x8f]
43210x7c,0x02,0x05,0x8f
4322
4323# CHECK: s_lshr_b32 s5, exec_lo, s2              ; encoding: [0x7e,0x02,0x05,0x8f]
43240x7e,0x02,0x05,0x8f
4325
4326# CHECK: s_lshr_b32 s5, exec_hi, s2              ; encoding: [0x7f,0x02,0x05,0x8f]
43270x7f,0x02,0x05,0x8f
4328
4329# CHECK: s_lshr_b32 s5, 0, s2                    ; encoding: [0x80,0x02,0x05,0x8f]
43300x80,0x02,0x05,0x8f
4331
4332# CHECK: s_lshr_b32 s5, -1, s2                   ; encoding: [0xc1,0x02,0x05,0x8f]
43330xc1,0x02,0x05,0x8f
4334
4335# CHECK: s_lshr_b32 s5, 0.5, s2                  ; encoding: [0xf0,0x02,0x05,0x8f]
43360xf0,0x02,0x05,0x8f
4337
4338# CHECK: s_lshr_b32 s5, -4.0, s2                 ; encoding: [0xf7,0x02,0x05,0x8f]
43390xf7,0x02,0x05,0x8f
4340
4341# CHECK: s_lshr_b32 s5, 0xaf123456, s2           ; encoding: [0xff,0x02,0x05,0x8f,0x56,0x34,0x12,0xaf]
43420xff,0x02,0x05,0x8f,0x56,0x34,0x12,0xaf
4343
4344# CHECK: s_lshr_b32 s5, 0x3f717273, s2           ; encoding: [0xff,0x02,0x05,0x8f,0x73,0x72,0x71,0x3f]
43450xff,0x02,0x05,0x8f,0x73,0x72,0x71,0x3f
4346
4347# CHECK: s_lshr_b32 s5, s1, s101                 ; encoding: [0x01,0x65,0x05,0x8f]
43480x01,0x65,0x05,0x8f
4349
4350# CHECK: s_lshr_b32 s5, s1, flat_scratch_lo      ; encoding: [0x01,0x66,0x05,0x8f]
43510x01,0x66,0x05,0x8f
4352
4353# CHECK: s_lshr_b32 s5, s1, flat_scratch_hi      ; encoding: [0x01,0x67,0x05,0x8f]
43540x01,0x67,0x05,0x8f
4355
4356# CHECK: s_lshr_b32 s5, s1, vcc_lo               ; encoding: [0x01,0x6a,0x05,0x8f]
43570x01,0x6a,0x05,0x8f
4358
4359# CHECK: s_lshr_b32 s5, s1, vcc_hi               ; encoding: [0x01,0x6b,0x05,0x8f]
43600x01,0x6b,0x05,0x8f
4361
4362# CHECK: s_lshr_b32 s5, s1, tba_lo               ; encoding: [0x01,0x6c,0x05,0x8f]
43630x01,0x6c,0x05,0x8f
4364
4365# CHECK: s_lshr_b32 s5, s1, tba_hi               ; encoding: [0x01,0x6d,0x05,0x8f]
43660x01,0x6d,0x05,0x8f
4367
4368# CHECK: s_lshr_b32 s5, s1, tma_lo               ; encoding: [0x01,0x6e,0x05,0x8f]
43690x01,0x6e,0x05,0x8f
4370
4371# CHECK: s_lshr_b32 s5, s1, tma_hi               ; encoding: [0x01,0x6f,0x05,0x8f]
43720x01,0x6f,0x05,0x8f
4373
4374# CHECK: s_lshr_b32 s5, s1, ttmp11               ; encoding: [0x01,0x7b,0x05,0x8f]
43750x01,0x7b,0x05,0x8f
4376
4377# CHECK: s_lshr_b32 s5, s1, m0                   ; encoding: [0x01,0x7c,0x05,0x8f]
43780x01,0x7c,0x05,0x8f
4379
4380# CHECK: s_lshr_b32 s5, s1, exec_lo              ; encoding: [0x01,0x7e,0x05,0x8f]
43810x01,0x7e,0x05,0x8f
4382
4383# CHECK: s_lshr_b32 s5, s1, exec_hi              ; encoding: [0x01,0x7f,0x05,0x8f]
43840x01,0x7f,0x05,0x8f
4385
4386# CHECK: s_lshr_b32 s5, s1, 0                    ; encoding: [0x01,0x80,0x05,0x8f]
43870x01,0x80,0x05,0x8f
4388
4389# CHECK: s_lshr_b32 s5, s1, -1                   ; encoding: [0x01,0xc1,0x05,0x8f]
43900x01,0xc1,0x05,0x8f
4391
4392# CHECK: s_lshr_b32 s5, s1, 0.5                  ; encoding: [0x01,0xf0,0x05,0x8f]
43930x01,0xf0,0x05,0x8f
4394
4395# CHECK: s_lshr_b32 s5, s1, -4.0                 ; encoding: [0x01,0xf7,0x05,0x8f]
43960x01,0xf7,0x05,0x8f
4397
4398# CHECK: s_lshr_b32 s5, s1, 0xaf123456           ; encoding: [0x01,0xff,0x05,0x8f,0x56,0x34,0x12,0xaf]
43990x01,0xff,0x05,0x8f,0x56,0x34,0x12,0xaf
4400
4401# CHECK: s_lshr_b32 s5, s1, 0x3f717273           ; encoding: [0x01,0xff,0x05,0x8f,0x73,0x72,0x71,0x3f]
44020x01,0xff,0x05,0x8f,0x73,0x72,0x71,0x3f
4403
4404# CHECK: s_lshr_b64 s[10:11], s[2:3], s2         ; encoding: [0x02,0x02,0x8a,0x8f]
44050x02,0x02,0x8a,0x8f
4406
4407# CHECK: s_lshr_b64 s[12:13], s[2:3], s2         ; encoding: [0x02,0x02,0x8c,0x8f]
44080x02,0x02,0x8c,0x8f
4409
4410# CHECK: s_lshr_b64 s[100:101], s[2:3], s2       ; encoding: [0x02,0x02,0xe4,0x8f]
44110x02,0x02,0xe4,0x8f
4412
4413# CHECK: s_lshr_b64 flat_scratch, s[2:3], s2     ; encoding: [0x02,0x02,0xe6,0x8f]
44140x02,0x02,0xe6,0x8f
4415
4416# CHECK: s_lshr_b64 vcc, s[2:3], s2              ; encoding: [0x02,0x02,0xea,0x8f]
44170x02,0x02,0xea,0x8f
4418
4419# CHECK: s_lshr_b64 tba, s[2:3], s2              ; encoding: [0x02,0x02,0xec,0x8f]
44200x02,0x02,0xec,0x8f
4421
4422# CHECK: s_lshr_b64 tma, s[2:3], s2              ; encoding: [0x02,0x02,0xee,0x8f]
44230x02,0x02,0xee,0x8f
4424
4425# CHECK: s_lshr_b64 ttmp[10:11], s[2:3], s2      ; encoding: [0x02,0x02,0xfa,0x8f]
44260x02,0x02,0xfa,0x8f
4427
4428# CHECK: s_lshr_b64 exec, s[2:3], s2             ; encoding: [0x02,0x02,0xfe,0x8f]
44290x02,0x02,0xfe,0x8f
4430
4431# CHECK: s_lshr_b64 s[10:11], s[4:5], s2         ; encoding: [0x04,0x02,0x8a,0x8f]
44320x04,0x02,0x8a,0x8f
4433
4434# CHECK: s_lshr_b64 s[10:11], s[100:101], s2     ; encoding: [0x64,0x02,0x8a,0x8f]
44350x64,0x02,0x8a,0x8f
4436
4437# CHECK: s_lshr_b64 s[10:11], flat_scratch, s2   ; encoding: [0x66,0x02,0x8a,0x8f]
44380x66,0x02,0x8a,0x8f
4439
4440# CHECK: s_lshr_b64 s[10:11], vcc, s2            ; encoding: [0x6a,0x02,0x8a,0x8f]
44410x6a,0x02,0x8a,0x8f
4442
4443# CHECK: s_lshr_b64 s[10:11], tba, s2            ; encoding: [0x6c,0x02,0x8a,0x8f]
44440x6c,0x02,0x8a,0x8f
4445
4446# CHECK: s_lshr_b64 s[10:11], tma, s2            ; encoding: [0x6e,0x02,0x8a,0x8f]
44470x6e,0x02,0x8a,0x8f
4448
4449# CHECK: s_lshr_b64 s[10:11], ttmp[10:11], s2    ; encoding: [0x7a,0x02,0x8a,0x8f]
44500x7a,0x02,0x8a,0x8f
4451
4452# CHECK: s_lshr_b64 s[10:11], exec, s2           ; encoding: [0x7e,0x02,0x8a,0x8f]
44530x7e,0x02,0x8a,0x8f
4454
4455# CHECK: s_lshr_b64 s[10:11], 0, s2              ; encoding: [0x80,0x02,0x8a,0x8f]
44560x80,0x02,0x8a,0x8f
4457
4458# CHECK: s_lshr_b64 s[10:11], -1, s2             ; encoding: [0xc1,0x02,0x8a,0x8f]
44590xc1,0x02,0x8a,0x8f
4460
4461# CHECK: s_lshr_b64 s[10:11], 0.5, s2            ; encoding: [0xf0,0x02,0x8a,0x8f]
44620xf0,0x02,0x8a,0x8f
4463
4464# CHECK: s_lshr_b64 s[10:11], -4.0, s2           ; encoding: [0xf7,0x02,0x8a,0x8f]
44650xf7,0x02,0x8a,0x8f
4466
4467# CHECK: s_lshr_b64 s[10:11], 0xaf123456, s2     ; encoding: [0xff,0x02,0x8a,0x8f,0x56,0x34,0x12,0xaf]
44680xff,0x02,0x8a,0x8f,0x56,0x34,0x12,0xaf
4469
4470# CHECK: s_lshr_b64 s[10:11], 0x3f717273, s2     ; encoding: [0xff,0x02,0x8a,0x8f,0x73,0x72,0x71,0x3f]
44710xff,0x02,0x8a,0x8f,0x73,0x72,0x71,0x3f
4472
4473# CHECK: s_lshr_b64 s[10:11], s[2:3], s101       ; encoding: [0x02,0x65,0x8a,0x8f]
44740x02,0x65,0x8a,0x8f
4475
4476# CHECK: s_lshr_b64 s[10:11], s[2:3], flat_scratch_lo ; encoding: [0x02,0x66,0x8a,0x8f]
44770x02,0x66,0x8a,0x8f
4478
4479# CHECK: s_lshr_b64 s[10:11], s[2:3], flat_scratch_hi ; encoding: [0x02,0x67,0x8a,0x8f]
44800x02,0x67,0x8a,0x8f
4481
4482# CHECK: s_lshr_b64 s[10:11], s[2:3], vcc_lo     ; encoding: [0x02,0x6a,0x8a,0x8f]
44830x02,0x6a,0x8a,0x8f
4484
4485# CHECK: s_lshr_b64 s[10:11], s[2:3], vcc_hi     ; encoding: [0x02,0x6b,0x8a,0x8f]
44860x02,0x6b,0x8a,0x8f
4487
4488# CHECK: s_lshr_b64 s[10:11], s[2:3], tba_lo     ; encoding: [0x02,0x6c,0x8a,0x8f]
44890x02,0x6c,0x8a,0x8f
4490
4491# CHECK: s_lshr_b64 s[10:11], s[2:3], tba_hi     ; encoding: [0x02,0x6d,0x8a,0x8f]
44920x02,0x6d,0x8a,0x8f
4493
4494# CHECK: s_lshr_b64 s[10:11], s[2:3], tma_lo     ; encoding: [0x02,0x6e,0x8a,0x8f]
44950x02,0x6e,0x8a,0x8f
4496
4497# CHECK: s_lshr_b64 s[10:11], s[2:3], tma_hi     ; encoding: [0x02,0x6f,0x8a,0x8f]
44980x02,0x6f,0x8a,0x8f
4499
4500# CHECK: s_lshr_b64 s[10:11], s[2:3], ttmp11     ; encoding: [0x02,0x7b,0x8a,0x8f]
45010x02,0x7b,0x8a,0x8f
4502
4503# CHECK: s_lshr_b64 s[10:11], s[2:3], m0         ; encoding: [0x02,0x7c,0x8a,0x8f]
45040x02,0x7c,0x8a,0x8f
4505
4506# CHECK: s_lshr_b64 s[10:11], s[2:3], exec_lo    ; encoding: [0x02,0x7e,0x8a,0x8f]
45070x02,0x7e,0x8a,0x8f
4508
4509# CHECK: s_lshr_b64 s[10:11], s[2:3], exec_hi    ; encoding: [0x02,0x7f,0x8a,0x8f]
45100x02,0x7f,0x8a,0x8f
4511
4512# CHECK: s_lshr_b64 s[10:11], s[2:3], 0          ; encoding: [0x02,0x80,0x8a,0x8f]
45130x02,0x80,0x8a,0x8f
4514
4515# CHECK: s_lshr_b64 s[10:11], s[2:3], -1         ; encoding: [0x02,0xc1,0x8a,0x8f]
45160x02,0xc1,0x8a,0x8f
4517
4518# CHECK: s_lshr_b64 s[10:11], s[2:3], 0.5        ; encoding: [0x02,0xf0,0x8a,0x8f]
45190x02,0xf0,0x8a,0x8f
4520
4521# CHECK: s_lshr_b64 s[10:11], s[2:3], -4.0       ; encoding: [0x02,0xf7,0x8a,0x8f]
45220x02,0xf7,0x8a,0x8f
4523
4524# CHECK: s_lshr_b64 s[10:11], s[2:3], 0xaf123456 ; encoding: [0x02,0xff,0x8a,0x8f,0x56,0x34,0x12,0xaf]
45250x02,0xff,0x8a,0x8f,0x56,0x34,0x12,0xaf
4526
4527# CHECK: s_lshr_b64 s[10:11], s[2:3], 0x3f717273 ; encoding: [0x02,0xff,0x8a,0x8f,0x73,0x72,0x71,0x3f]
45280x02,0xff,0x8a,0x8f,0x73,0x72,0x71,0x3f
4529
4530# CHECK: s_ashr_i32 s5, s1, s2                   ; encoding: [0x01,0x02,0x05,0x90]
45310x01,0x02,0x05,0x90
4532
4533# CHECK: s_ashr_i32 s101, s1, s2                 ; encoding: [0x01,0x02,0x65,0x90]
45340x01,0x02,0x65,0x90
4535
4536# CHECK: s_ashr_i32 flat_scratch_lo, s1, s2      ; encoding: [0x01,0x02,0x66,0x90]
45370x01,0x02,0x66,0x90
4538
4539# CHECK: s_ashr_i32 flat_scratch_hi, s1, s2      ; encoding: [0x01,0x02,0x67,0x90]
45400x01,0x02,0x67,0x90
4541
4542# CHECK: s_ashr_i32 vcc_lo, s1, s2               ; encoding: [0x01,0x02,0x6a,0x90]
45430x01,0x02,0x6a,0x90
4544
4545# CHECK: s_ashr_i32 vcc_hi, s1, s2               ; encoding: [0x01,0x02,0x6b,0x90]
45460x01,0x02,0x6b,0x90
4547
4548# CHECK: s_ashr_i32 tba_lo, s1, s2               ; encoding: [0x01,0x02,0x6c,0x90]
45490x01,0x02,0x6c,0x90
4550
4551# CHECK: s_ashr_i32 tba_hi, s1, s2               ; encoding: [0x01,0x02,0x6d,0x90]
45520x01,0x02,0x6d,0x90
4553
4554# CHECK: s_ashr_i32 tma_lo, s1, s2               ; encoding: [0x01,0x02,0x6e,0x90]
45550x01,0x02,0x6e,0x90
4556
4557# CHECK: s_ashr_i32 tma_hi, s1, s2               ; encoding: [0x01,0x02,0x6f,0x90]
45580x01,0x02,0x6f,0x90
4559
4560# CHECK: s_ashr_i32 ttmp11, s1, s2               ; encoding: [0x01,0x02,0x7b,0x90]
45610x01,0x02,0x7b,0x90
4562
4563# CHECK: s_ashr_i32 m0, s1, s2                   ; encoding: [0x01,0x02,0x7c,0x90]
45640x01,0x02,0x7c,0x90
4565
4566# CHECK: s_ashr_i32 exec_lo, s1, s2              ; encoding: [0x01,0x02,0x7e,0x90]
45670x01,0x02,0x7e,0x90
4568
4569# CHECK: s_ashr_i32 exec_hi, s1, s2              ; encoding: [0x01,0x02,0x7f,0x90]
45700x01,0x02,0x7f,0x90
4571
4572# CHECK: s_ashr_i32 s5, s101, s2                 ; encoding: [0x65,0x02,0x05,0x90]
45730x65,0x02,0x05,0x90
4574
4575# CHECK: s_ashr_i32 s5, flat_scratch_lo, s2      ; encoding: [0x66,0x02,0x05,0x90]
45760x66,0x02,0x05,0x90
4577
4578# CHECK: s_ashr_i32 s5, flat_scratch_hi, s2      ; encoding: [0x67,0x02,0x05,0x90]
45790x67,0x02,0x05,0x90
4580
4581# CHECK: s_ashr_i32 s5, vcc_lo, s2               ; encoding: [0x6a,0x02,0x05,0x90]
45820x6a,0x02,0x05,0x90
4583
4584# CHECK: s_ashr_i32 s5, vcc_hi, s2               ; encoding: [0x6b,0x02,0x05,0x90]
45850x6b,0x02,0x05,0x90
4586
4587# CHECK: s_ashr_i32 s5, tba_lo, s2               ; encoding: [0x6c,0x02,0x05,0x90]
45880x6c,0x02,0x05,0x90
4589
4590# CHECK: s_ashr_i32 s5, tba_hi, s2               ; encoding: [0x6d,0x02,0x05,0x90]
45910x6d,0x02,0x05,0x90
4592
4593# CHECK: s_ashr_i32 s5, tma_lo, s2               ; encoding: [0x6e,0x02,0x05,0x90]
45940x6e,0x02,0x05,0x90
4595
4596# CHECK: s_ashr_i32 s5, tma_hi, s2               ; encoding: [0x6f,0x02,0x05,0x90]
45970x6f,0x02,0x05,0x90
4598
4599# CHECK: s_ashr_i32 s5, ttmp11, s2               ; encoding: [0x7b,0x02,0x05,0x90]
46000x7b,0x02,0x05,0x90
4601
4602# CHECK: s_ashr_i32 s5, m0, s2                   ; encoding: [0x7c,0x02,0x05,0x90]
46030x7c,0x02,0x05,0x90
4604
4605# CHECK: s_ashr_i32 s5, exec_lo, s2              ; encoding: [0x7e,0x02,0x05,0x90]
46060x7e,0x02,0x05,0x90
4607
4608# CHECK: s_ashr_i32 s5, exec_hi, s2              ; encoding: [0x7f,0x02,0x05,0x90]
46090x7f,0x02,0x05,0x90
4610
4611# CHECK: s_ashr_i32 s5, 0, s2                    ; encoding: [0x80,0x02,0x05,0x90]
46120x80,0x02,0x05,0x90
4613
4614# CHECK: s_ashr_i32 s5, -1, s2                   ; encoding: [0xc1,0x02,0x05,0x90]
46150xc1,0x02,0x05,0x90
4616
4617# CHECK: s_ashr_i32 s5, 0.5, s2                  ; encoding: [0xf0,0x02,0x05,0x90]
46180xf0,0x02,0x05,0x90
4619
4620# CHECK: s_ashr_i32 s5, -4.0, s2                 ; encoding: [0xf7,0x02,0x05,0x90]
46210xf7,0x02,0x05,0x90
4622
4623# CHECK: s_ashr_i32 s5, 0xaf123456, s2           ; encoding: [0xff,0x02,0x05,0x90,0x56,0x34,0x12,0xaf]
46240xff,0x02,0x05,0x90,0x56,0x34,0x12,0xaf
4625
4626# CHECK: s_ashr_i32 s5, 0x3f717273, s2           ; encoding: [0xff,0x02,0x05,0x90,0x73,0x72,0x71,0x3f]
46270xff,0x02,0x05,0x90,0x73,0x72,0x71,0x3f
4628
4629# CHECK: s_ashr_i32 s5, s1, s101                 ; encoding: [0x01,0x65,0x05,0x90]
46300x01,0x65,0x05,0x90
4631
4632# CHECK: s_ashr_i32 s5, s1, flat_scratch_lo      ; encoding: [0x01,0x66,0x05,0x90]
46330x01,0x66,0x05,0x90
4634
4635# CHECK: s_ashr_i32 s5, s1, flat_scratch_hi      ; encoding: [0x01,0x67,0x05,0x90]
46360x01,0x67,0x05,0x90
4637
4638# CHECK: s_ashr_i32 s5, s1, vcc_lo               ; encoding: [0x01,0x6a,0x05,0x90]
46390x01,0x6a,0x05,0x90
4640
4641# CHECK: s_ashr_i32 s5, s1, vcc_hi               ; encoding: [0x01,0x6b,0x05,0x90]
46420x01,0x6b,0x05,0x90
4643
4644# CHECK: s_ashr_i32 s5, s1, tba_lo               ; encoding: [0x01,0x6c,0x05,0x90]
46450x01,0x6c,0x05,0x90
4646
4647# CHECK: s_ashr_i32 s5, s1, tba_hi               ; encoding: [0x01,0x6d,0x05,0x90]
46480x01,0x6d,0x05,0x90
4649
4650# CHECK: s_ashr_i32 s5, s1, tma_lo               ; encoding: [0x01,0x6e,0x05,0x90]
46510x01,0x6e,0x05,0x90
4652
4653# CHECK: s_ashr_i32 s5, s1, tma_hi               ; encoding: [0x01,0x6f,0x05,0x90]
46540x01,0x6f,0x05,0x90
4655
4656# CHECK: s_ashr_i32 s5, s1, ttmp11               ; encoding: [0x01,0x7b,0x05,0x90]
46570x01,0x7b,0x05,0x90
4658
4659# CHECK: s_ashr_i32 s5, s1, m0                   ; encoding: [0x01,0x7c,0x05,0x90]
46600x01,0x7c,0x05,0x90
4661
4662# CHECK: s_ashr_i32 s5, s1, exec_lo              ; encoding: [0x01,0x7e,0x05,0x90]
46630x01,0x7e,0x05,0x90
4664
4665# CHECK: s_ashr_i32 s5, s1, exec_hi              ; encoding: [0x01,0x7f,0x05,0x90]
46660x01,0x7f,0x05,0x90
4667
4668# CHECK: s_ashr_i32 s5, s1, 0                    ; encoding: [0x01,0x80,0x05,0x90]
46690x01,0x80,0x05,0x90
4670
4671# CHECK: s_ashr_i32 s5, s1, -1                   ; encoding: [0x01,0xc1,0x05,0x90]
46720x01,0xc1,0x05,0x90
4673
4674# CHECK: s_ashr_i32 s5, s1, 0.5                  ; encoding: [0x01,0xf0,0x05,0x90]
46750x01,0xf0,0x05,0x90
4676
4677# CHECK: s_ashr_i32 s5, s1, -4.0                 ; encoding: [0x01,0xf7,0x05,0x90]
46780x01,0xf7,0x05,0x90
4679
4680# CHECK: s_ashr_i32 s5, s1, 0xaf123456           ; encoding: [0x01,0xff,0x05,0x90,0x56,0x34,0x12,0xaf]
46810x01,0xff,0x05,0x90,0x56,0x34,0x12,0xaf
4682
4683# CHECK: s_ashr_i32 s5, s1, 0x3f717273           ; encoding: [0x01,0xff,0x05,0x90,0x73,0x72,0x71,0x3f]
46840x01,0xff,0x05,0x90,0x73,0x72,0x71,0x3f
4685
4686# CHECK: s_ashr_i64 s[10:11], s[2:3], s2         ; encoding: [0x02,0x02,0x8a,0x90]
46870x02,0x02,0x8a,0x90
4688
4689# CHECK: s_ashr_i64 s[12:13], s[2:3], s2         ; encoding: [0x02,0x02,0x8c,0x90]
46900x02,0x02,0x8c,0x90
4691
4692# CHECK: s_ashr_i64 s[100:101], s[2:3], s2       ; encoding: [0x02,0x02,0xe4,0x90]
46930x02,0x02,0xe4,0x90
4694
4695# CHECK: s_ashr_i64 flat_scratch, s[2:3], s2     ; encoding: [0x02,0x02,0xe6,0x90]
46960x02,0x02,0xe6,0x90
4697
4698# CHECK: s_ashr_i64 vcc, s[2:3], s2              ; encoding: [0x02,0x02,0xea,0x90]
46990x02,0x02,0xea,0x90
4700
4701# CHECK: s_ashr_i64 tba, s[2:3], s2              ; encoding: [0x02,0x02,0xec,0x90]
47020x02,0x02,0xec,0x90
4703
4704# CHECK: s_ashr_i64 tma, s[2:3], s2              ; encoding: [0x02,0x02,0xee,0x90]
47050x02,0x02,0xee,0x90
4706
4707# CHECK: s_ashr_i64 ttmp[10:11], s[2:3], s2      ; encoding: [0x02,0x02,0xfa,0x90]
47080x02,0x02,0xfa,0x90
4709
4710# CHECK: s_ashr_i64 exec, s[2:3], s2             ; encoding: [0x02,0x02,0xfe,0x90]
47110x02,0x02,0xfe,0x90
4712
4713# CHECK: s_ashr_i64 s[10:11], s[4:5], s2         ; encoding: [0x04,0x02,0x8a,0x90]
47140x04,0x02,0x8a,0x90
4715
4716# CHECK: s_ashr_i64 s[10:11], s[100:101], s2     ; encoding: [0x64,0x02,0x8a,0x90]
47170x64,0x02,0x8a,0x90
4718
4719# CHECK: s_ashr_i64 s[10:11], flat_scratch, s2   ; encoding: [0x66,0x02,0x8a,0x90]
47200x66,0x02,0x8a,0x90
4721
4722# CHECK: s_ashr_i64 s[10:11], vcc, s2            ; encoding: [0x6a,0x02,0x8a,0x90]
47230x6a,0x02,0x8a,0x90
4724
4725# CHECK: s_ashr_i64 s[10:11], tba, s2            ; encoding: [0x6c,0x02,0x8a,0x90]
47260x6c,0x02,0x8a,0x90
4727
4728# CHECK: s_ashr_i64 s[10:11], tma, s2            ; encoding: [0x6e,0x02,0x8a,0x90]
47290x6e,0x02,0x8a,0x90
4730
4731# CHECK: s_ashr_i64 s[10:11], ttmp[10:11], s2    ; encoding: [0x7a,0x02,0x8a,0x90]
47320x7a,0x02,0x8a,0x90
4733
4734# CHECK: s_ashr_i64 s[10:11], exec, s2           ; encoding: [0x7e,0x02,0x8a,0x90]
47350x7e,0x02,0x8a,0x90
4736
4737# CHECK: s_ashr_i64 s[10:11], 0, s2              ; encoding: [0x80,0x02,0x8a,0x90]
47380x80,0x02,0x8a,0x90
4739
4740# CHECK: s_ashr_i64 s[10:11], -1, s2             ; encoding: [0xc1,0x02,0x8a,0x90]
47410xc1,0x02,0x8a,0x90
4742
4743# CHECK: s_ashr_i64 s[10:11], 0.5, s2            ; encoding: [0xf0,0x02,0x8a,0x90]
47440xf0,0x02,0x8a,0x90
4745
4746# CHECK: s_ashr_i64 s[10:11], -4.0, s2           ; encoding: [0xf7,0x02,0x8a,0x90]
47470xf7,0x02,0x8a,0x90
4748
4749# CHECK: s_ashr_i64 s[10:11], 0xaf123456, s2     ; encoding: [0xff,0x02,0x8a,0x90,0x56,0x34,0x12,0xaf]
47500xff,0x02,0x8a,0x90,0x56,0x34,0x12,0xaf
4751
4752# CHECK: s_ashr_i64 s[10:11], 0x3f717273, s2     ; encoding: [0xff,0x02,0x8a,0x90,0x73,0x72,0x71,0x3f]
47530xff,0x02,0x8a,0x90,0x73,0x72,0x71,0x3f
4754
4755# CHECK: s_ashr_i64 s[10:11], s[2:3], s101       ; encoding: [0x02,0x65,0x8a,0x90]
47560x02,0x65,0x8a,0x90
4757
4758# CHECK: s_ashr_i64 s[10:11], s[2:3], flat_scratch_lo ; encoding: [0x02,0x66,0x8a,0x90]
47590x02,0x66,0x8a,0x90
4760
4761# CHECK: s_ashr_i64 s[10:11], s[2:3], flat_scratch_hi ; encoding: [0x02,0x67,0x8a,0x90]
47620x02,0x67,0x8a,0x90
4763
4764# CHECK: s_ashr_i64 s[10:11], s[2:3], vcc_lo     ; encoding: [0x02,0x6a,0x8a,0x90]
47650x02,0x6a,0x8a,0x90
4766
4767# CHECK: s_ashr_i64 s[10:11], s[2:3], vcc_hi     ; encoding: [0x02,0x6b,0x8a,0x90]
47680x02,0x6b,0x8a,0x90
4769
4770# CHECK: s_ashr_i64 s[10:11], s[2:3], tba_lo     ; encoding: [0x02,0x6c,0x8a,0x90]
47710x02,0x6c,0x8a,0x90
4772
4773# CHECK: s_ashr_i64 s[10:11], s[2:3], tba_hi     ; encoding: [0x02,0x6d,0x8a,0x90]
47740x02,0x6d,0x8a,0x90
4775
4776# CHECK: s_ashr_i64 s[10:11], s[2:3], tma_lo     ; encoding: [0x02,0x6e,0x8a,0x90]
47770x02,0x6e,0x8a,0x90
4778
4779# CHECK: s_ashr_i64 s[10:11], s[2:3], tma_hi     ; encoding: [0x02,0x6f,0x8a,0x90]
47800x02,0x6f,0x8a,0x90
4781
4782# CHECK: s_ashr_i64 s[10:11], s[2:3], ttmp11     ; encoding: [0x02,0x7b,0x8a,0x90]
47830x02,0x7b,0x8a,0x90
4784
4785# CHECK: s_ashr_i64 s[10:11], s[2:3], m0         ; encoding: [0x02,0x7c,0x8a,0x90]
47860x02,0x7c,0x8a,0x90
4787
4788# CHECK: s_ashr_i64 s[10:11], s[2:3], exec_lo    ; encoding: [0x02,0x7e,0x8a,0x90]
47890x02,0x7e,0x8a,0x90
4790
4791# CHECK: s_ashr_i64 s[10:11], s[2:3], exec_hi    ; encoding: [0x02,0x7f,0x8a,0x90]
47920x02,0x7f,0x8a,0x90
4793
4794# CHECK: s_ashr_i64 s[10:11], s[2:3], 0          ; encoding: [0x02,0x80,0x8a,0x90]
47950x02,0x80,0x8a,0x90
4796
4797# CHECK: s_ashr_i64 s[10:11], s[2:3], -1         ; encoding: [0x02,0xc1,0x8a,0x90]
47980x02,0xc1,0x8a,0x90
4799
4800# CHECK: s_ashr_i64 s[10:11], s[2:3], 0.5        ; encoding: [0x02,0xf0,0x8a,0x90]
48010x02,0xf0,0x8a,0x90
4802
4803# CHECK: s_ashr_i64 s[10:11], s[2:3], -4.0       ; encoding: [0x02,0xf7,0x8a,0x90]
48040x02,0xf7,0x8a,0x90
4805
4806# CHECK: s_ashr_i64 s[10:11], s[2:3], 0xaf123456 ; encoding: [0x02,0xff,0x8a,0x90,0x56,0x34,0x12,0xaf]
48070x02,0xff,0x8a,0x90,0x56,0x34,0x12,0xaf
4808
4809# CHECK: s_ashr_i64 s[10:11], s[2:3], 0x3f717273 ; encoding: [0x02,0xff,0x8a,0x90,0x73,0x72,0x71,0x3f]
48100x02,0xff,0x8a,0x90,0x73,0x72,0x71,0x3f
4811
4812# CHECK: s_bfm_b32 s5, s1, s2                    ; encoding: [0x01,0x02,0x05,0x91]
48130x01,0x02,0x05,0x91
4814
4815# CHECK: s_bfm_b32 s101, s1, s2                  ; encoding: [0x01,0x02,0x65,0x91]
48160x01,0x02,0x65,0x91
4817
4818# CHECK: s_bfm_b32 flat_scratch_lo, s1, s2       ; encoding: [0x01,0x02,0x66,0x91]
48190x01,0x02,0x66,0x91
4820
4821# CHECK: s_bfm_b32 flat_scratch_hi, s1, s2       ; encoding: [0x01,0x02,0x67,0x91]
48220x01,0x02,0x67,0x91
4823
4824# CHECK: s_bfm_b32 vcc_lo, s1, s2                ; encoding: [0x01,0x02,0x6a,0x91]
48250x01,0x02,0x6a,0x91
4826
4827# CHECK: s_bfm_b32 vcc_hi, s1, s2                ; encoding: [0x01,0x02,0x6b,0x91]
48280x01,0x02,0x6b,0x91
4829
4830# CHECK: s_bfm_b32 tba_lo, s1, s2                ; encoding: [0x01,0x02,0x6c,0x91]
48310x01,0x02,0x6c,0x91
4832
4833# CHECK: s_bfm_b32 tba_hi, s1, s2                ; encoding: [0x01,0x02,0x6d,0x91]
48340x01,0x02,0x6d,0x91
4835
4836# CHECK: s_bfm_b32 tma_lo, s1, s2                ; encoding: [0x01,0x02,0x6e,0x91]
48370x01,0x02,0x6e,0x91
4838
4839# CHECK: s_bfm_b32 tma_hi, s1, s2                ; encoding: [0x01,0x02,0x6f,0x91]
48400x01,0x02,0x6f,0x91
4841
4842# CHECK: s_bfm_b32 ttmp11, s1, s2                ; encoding: [0x01,0x02,0x7b,0x91]
48430x01,0x02,0x7b,0x91
4844
4845# CHECK: s_bfm_b32 m0, s1, s2                    ; encoding: [0x01,0x02,0x7c,0x91]
48460x01,0x02,0x7c,0x91
4847
4848# CHECK: s_bfm_b32 exec_lo, s1, s2               ; encoding: [0x01,0x02,0x7e,0x91]
48490x01,0x02,0x7e,0x91
4850
4851# CHECK: s_bfm_b32 exec_hi, s1, s2               ; encoding: [0x01,0x02,0x7f,0x91]
48520x01,0x02,0x7f,0x91
4853
4854# CHECK: s_bfm_b32 s5, s101, s2                  ; encoding: [0x65,0x02,0x05,0x91]
48550x65,0x02,0x05,0x91
4856
4857# CHECK: s_bfm_b32 s5, flat_scratch_lo, s2       ; encoding: [0x66,0x02,0x05,0x91]
48580x66,0x02,0x05,0x91
4859
4860# CHECK: s_bfm_b32 s5, flat_scratch_hi, s2       ; encoding: [0x67,0x02,0x05,0x91]
48610x67,0x02,0x05,0x91
4862
4863# CHECK: s_bfm_b32 s5, vcc_lo, s2                ; encoding: [0x6a,0x02,0x05,0x91]
48640x6a,0x02,0x05,0x91
4865
4866# CHECK: s_bfm_b32 s5, vcc_hi, s2                ; encoding: [0x6b,0x02,0x05,0x91]
48670x6b,0x02,0x05,0x91
4868
4869# CHECK: s_bfm_b32 s5, tba_lo, s2                ; encoding: [0x6c,0x02,0x05,0x91]
48700x6c,0x02,0x05,0x91
4871
4872# CHECK: s_bfm_b32 s5, tba_hi, s2                ; encoding: [0x6d,0x02,0x05,0x91]
48730x6d,0x02,0x05,0x91
4874
4875# CHECK: s_bfm_b32 s5, tma_lo, s2                ; encoding: [0x6e,0x02,0x05,0x91]
48760x6e,0x02,0x05,0x91
4877
4878# CHECK: s_bfm_b32 s5, tma_hi, s2                ; encoding: [0x6f,0x02,0x05,0x91]
48790x6f,0x02,0x05,0x91
4880
4881# CHECK: s_bfm_b32 s5, ttmp11, s2                ; encoding: [0x7b,0x02,0x05,0x91]
48820x7b,0x02,0x05,0x91
4883
4884# CHECK: s_bfm_b32 s5, m0, s2                    ; encoding: [0x7c,0x02,0x05,0x91]
48850x7c,0x02,0x05,0x91
4886
4887# CHECK: s_bfm_b32 s5, exec_lo, s2               ; encoding: [0x7e,0x02,0x05,0x91]
48880x7e,0x02,0x05,0x91
4889
4890# CHECK: s_bfm_b32 s5, exec_hi, s2               ; encoding: [0x7f,0x02,0x05,0x91]
48910x7f,0x02,0x05,0x91
4892
4893# CHECK: s_bfm_b32 s5, 0, s2                     ; encoding: [0x80,0x02,0x05,0x91]
48940x80,0x02,0x05,0x91
4895
4896# CHECK: s_bfm_b32 s5, -1, s2                    ; encoding: [0xc1,0x02,0x05,0x91]
48970xc1,0x02,0x05,0x91
4898
4899# CHECK: s_bfm_b32 s5, 0.5, s2                   ; encoding: [0xf0,0x02,0x05,0x91]
49000xf0,0x02,0x05,0x91
4901
4902# CHECK: s_bfm_b32 s5, -4.0, s2                  ; encoding: [0xf7,0x02,0x05,0x91]
49030xf7,0x02,0x05,0x91
4904
4905# CHECK: s_bfm_b32 s5, 0xaf123456, s2            ; encoding: [0xff,0x02,0x05,0x91,0x56,0x34,0x12,0xaf]
49060xff,0x02,0x05,0x91,0x56,0x34,0x12,0xaf
4907
4908# CHECK: s_bfm_b32 s5, 0x3f717273, s2            ; encoding: [0xff,0x02,0x05,0x91,0x73,0x72,0x71,0x3f]
49090xff,0x02,0x05,0x91,0x73,0x72,0x71,0x3f
4910
4911# CHECK: s_bfm_b32 s5, s1, s101                  ; encoding: [0x01,0x65,0x05,0x91]
49120x01,0x65,0x05,0x91
4913
4914# CHECK: s_bfm_b32 s5, s1, flat_scratch_lo       ; encoding: [0x01,0x66,0x05,0x91]
49150x01,0x66,0x05,0x91
4916
4917# CHECK: s_bfm_b32 s5, s1, flat_scratch_hi       ; encoding: [0x01,0x67,0x05,0x91]
49180x01,0x67,0x05,0x91
4919
4920# CHECK: s_bfm_b32 s5, s1, vcc_lo                ; encoding: [0x01,0x6a,0x05,0x91]
49210x01,0x6a,0x05,0x91
4922
4923# CHECK: s_bfm_b32 s5, s1, vcc_hi                ; encoding: [0x01,0x6b,0x05,0x91]
49240x01,0x6b,0x05,0x91
4925
4926# CHECK: s_bfm_b32 s5, s1, tba_lo                ; encoding: [0x01,0x6c,0x05,0x91]
49270x01,0x6c,0x05,0x91
4928
4929# CHECK: s_bfm_b32 s5, s1, tba_hi                ; encoding: [0x01,0x6d,0x05,0x91]
49300x01,0x6d,0x05,0x91
4931
4932# CHECK: s_bfm_b32 s5, s1, tma_lo                ; encoding: [0x01,0x6e,0x05,0x91]
49330x01,0x6e,0x05,0x91
4934
4935# CHECK: s_bfm_b32 s5, s1, tma_hi                ; encoding: [0x01,0x6f,0x05,0x91]
49360x01,0x6f,0x05,0x91
4937
4938# CHECK: s_bfm_b32 s5, s1, ttmp11                ; encoding: [0x01,0x7b,0x05,0x91]
49390x01,0x7b,0x05,0x91
4940
4941# CHECK: s_bfm_b32 s5, s1, m0                    ; encoding: [0x01,0x7c,0x05,0x91]
49420x01,0x7c,0x05,0x91
4943
4944# CHECK: s_bfm_b32 s5, s1, exec_lo               ; encoding: [0x01,0x7e,0x05,0x91]
49450x01,0x7e,0x05,0x91
4946
4947# CHECK: s_bfm_b32 s5, s1, exec_hi               ; encoding: [0x01,0x7f,0x05,0x91]
49480x01,0x7f,0x05,0x91
4949
4950# CHECK: s_bfm_b32 s5, s1, 0                     ; encoding: [0x01,0x80,0x05,0x91]
49510x01,0x80,0x05,0x91
4952
4953# CHECK: s_bfm_b32 s5, s1, -1                    ; encoding: [0x01,0xc1,0x05,0x91]
49540x01,0xc1,0x05,0x91
4955
4956# CHECK: s_bfm_b32 s5, s1, 0.5                   ; encoding: [0x01,0xf0,0x05,0x91]
49570x01,0xf0,0x05,0x91
4958
4959# CHECK: s_bfm_b32 s5, s1, -4.0                  ; encoding: [0x01,0xf7,0x05,0x91]
49600x01,0xf7,0x05,0x91
4961
4962# CHECK: s_bfm_b32 s5, s1, 0xaf123456            ; encoding: [0x01,0xff,0x05,0x91,0x56,0x34,0x12,0xaf]
49630x01,0xff,0x05,0x91,0x56,0x34,0x12,0xaf
4964
4965# CHECK: s_bfm_b32 s5, s1, 0x3f717273            ; encoding: [0x01,0xff,0x05,0x91,0x73,0x72,0x71,0x3f]
49660x01,0xff,0x05,0x91,0x73,0x72,0x71,0x3f
4967
4968# CHECK: s_bfm_b64 s[10:11], s1, s2              ; encoding: [0x01,0x02,0x8a,0x91]
49690x01,0x02,0x8a,0x91
4970
4971# CHECK: s_bfm_b64 s[12:13], s1, s2              ; encoding: [0x01,0x02,0x8c,0x91]
49720x01,0x02,0x8c,0x91
4973
4974# CHECK: s_bfm_b64 s[100:101], s1, s2            ; encoding: [0x01,0x02,0xe4,0x91]
49750x01,0x02,0xe4,0x91
4976
4977# CHECK: s_bfm_b64 flat_scratch, s1, s2          ; encoding: [0x01,0x02,0xe6,0x91]
49780x01,0x02,0xe6,0x91
4979
4980# CHECK: s_bfm_b64 vcc, s1, s2                   ; encoding: [0x01,0x02,0xea,0x91]
49810x01,0x02,0xea,0x91
4982
4983# CHECK: s_bfm_b64 tba, s1, s2                   ; encoding: [0x01,0x02,0xec,0x91]
49840x01,0x02,0xec,0x91
4985
4986# CHECK: s_bfm_b64 tma, s1, s2                   ; encoding: [0x01,0x02,0xee,0x91]
49870x01,0x02,0xee,0x91
4988
4989# CHECK: s_bfm_b64 ttmp[10:11], s1, s2           ; encoding: [0x01,0x02,0xfa,0x91]
49900x01,0x02,0xfa,0x91
4991
4992# CHECK: s_bfm_b64 exec, s1, s2                  ; encoding: [0x01,0x02,0xfe,0x91]
49930x01,0x02,0xfe,0x91
4994
4995# CHECK: s_bfm_b64 s[10:11], s101, s2            ; encoding: [0x65,0x02,0x8a,0x91]
49960x65,0x02,0x8a,0x91
4997
4998# CHECK: s_bfm_b64 s[10:11], flat_scratch_lo, s2 ; encoding: [0x66,0x02,0x8a,0x91]
49990x66,0x02,0x8a,0x91
5000
5001# CHECK: s_bfm_b64 s[10:11], flat_scratch_hi, s2 ; encoding: [0x67,0x02,0x8a,0x91]
50020x67,0x02,0x8a,0x91
5003
5004# CHECK: s_bfm_b64 s[10:11], vcc_lo, s2          ; encoding: [0x6a,0x02,0x8a,0x91]
50050x6a,0x02,0x8a,0x91
5006
5007# CHECK: s_bfm_b64 s[10:11], vcc_hi, s2          ; encoding: [0x6b,0x02,0x8a,0x91]
50080x6b,0x02,0x8a,0x91
5009
5010# CHECK: s_bfm_b64 s[10:11], tba_lo, s2          ; encoding: [0x6c,0x02,0x8a,0x91]
50110x6c,0x02,0x8a,0x91
5012
5013# CHECK: s_bfm_b64 s[10:11], tba_hi, s2          ; encoding: [0x6d,0x02,0x8a,0x91]
50140x6d,0x02,0x8a,0x91
5015
5016# CHECK: s_bfm_b64 s[10:11], tma_lo, s2          ; encoding: [0x6e,0x02,0x8a,0x91]
50170x6e,0x02,0x8a,0x91
5018
5019# CHECK: s_bfm_b64 s[10:11], tma_hi, s2          ; encoding: [0x6f,0x02,0x8a,0x91]
50200x6f,0x02,0x8a,0x91
5021
5022# CHECK: s_bfm_b64 s[10:11], ttmp11, s2          ; encoding: [0x7b,0x02,0x8a,0x91]
50230x7b,0x02,0x8a,0x91
5024
5025# CHECK: s_bfm_b64 s[10:11], m0, s2              ; encoding: [0x7c,0x02,0x8a,0x91]
50260x7c,0x02,0x8a,0x91
5027
5028# CHECK: s_bfm_b64 s[10:11], exec_lo, s2         ; encoding: [0x7e,0x02,0x8a,0x91]
50290x7e,0x02,0x8a,0x91
5030
5031# CHECK: s_bfm_b64 s[10:11], exec_hi, s2         ; encoding: [0x7f,0x02,0x8a,0x91]
50320x7f,0x02,0x8a,0x91
5033
5034# CHECK: s_bfm_b64 s[10:11], 0, s2               ; encoding: [0x80,0x02,0x8a,0x91]
50350x80,0x02,0x8a,0x91
5036
5037# CHECK: s_bfm_b64 s[10:11], -1, s2              ; encoding: [0xc1,0x02,0x8a,0x91]
50380xc1,0x02,0x8a,0x91
5039
5040# CHECK: s_bfm_b64 s[10:11], 0.5, s2             ; encoding: [0xf0,0x02,0x8a,0x91]
50410xf0,0x02,0x8a,0x91
5042
5043# CHECK: s_bfm_b64 s[10:11], -4.0, s2            ; encoding: [0xf7,0x02,0x8a,0x91]
50440xf7,0x02,0x8a,0x91
5045
5046# CHECK: s_bfm_b64 s[10:11], 0xaf123456, s2      ; encoding: [0xff,0x02,0x8a,0x91,0x56,0x34,0x12,0xaf]
50470xff,0x02,0x8a,0x91,0x56,0x34,0x12,0xaf
5048
5049# CHECK: s_bfm_b64 s[10:11], 0x3f717273, s2      ; encoding: [0xff,0x02,0x8a,0x91,0x73,0x72,0x71,0x3f]
50500xff,0x02,0x8a,0x91,0x73,0x72,0x71,0x3f
5051
5052# CHECK: s_bfm_b64 s[10:11], s1, s101            ; encoding: [0x01,0x65,0x8a,0x91]
50530x01,0x65,0x8a,0x91
5054
5055# CHECK: s_bfm_b64 s[10:11], s1, flat_scratch_lo ; encoding: [0x01,0x66,0x8a,0x91]
50560x01,0x66,0x8a,0x91
5057
5058# CHECK: s_bfm_b64 s[10:11], s1, flat_scratch_hi ; encoding: [0x01,0x67,0x8a,0x91]
50590x01,0x67,0x8a,0x91
5060
5061# CHECK: s_bfm_b64 s[10:11], s1, vcc_lo          ; encoding: [0x01,0x6a,0x8a,0x91]
50620x01,0x6a,0x8a,0x91
5063
5064# CHECK: s_bfm_b64 s[10:11], s1, vcc_hi          ; encoding: [0x01,0x6b,0x8a,0x91]
50650x01,0x6b,0x8a,0x91
5066
5067# CHECK: s_bfm_b64 s[10:11], s1, tba_lo          ; encoding: [0x01,0x6c,0x8a,0x91]
50680x01,0x6c,0x8a,0x91
5069
5070# CHECK: s_bfm_b64 s[10:11], s1, tba_hi          ; encoding: [0x01,0x6d,0x8a,0x91]
50710x01,0x6d,0x8a,0x91
5072
5073# CHECK: s_bfm_b64 s[10:11], s1, tma_lo          ; encoding: [0x01,0x6e,0x8a,0x91]
50740x01,0x6e,0x8a,0x91
5075
5076# CHECK: s_bfm_b64 s[10:11], s1, tma_hi          ; encoding: [0x01,0x6f,0x8a,0x91]
50770x01,0x6f,0x8a,0x91
5078
5079# CHECK: s_bfm_b64 s[10:11], s1, ttmp11          ; encoding: [0x01,0x7b,0x8a,0x91]
50800x01,0x7b,0x8a,0x91
5081
5082# CHECK: s_bfm_b64 s[10:11], s1, m0              ; encoding: [0x01,0x7c,0x8a,0x91]
50830x01,0x7c,0x8a,0x91
5084
5085# CHECK: s_bfm_b64 s[10:11], s1, exec_lo         ; encoding: [0x01,0x7e,0x8a,0x91]
50860x01,0x7e,0x8a,0x91
5087
5088# CHECK: s_bfm_b64 s[10:11], s1, exec_hi         ; encoding: [0x01,0x7f,0x8a,0x91]
50890x01,0x7f,0x8a,0x91
5090
5091# CHECK: s_bfm_b64 s[10:11], s1, 0               ; encoding: [0x01,0x80,0x8a,0x91]
50920x01,0x80,0x8a,0x91
5093
5094# CHECK: s_bfm_b64 s[10:11], s1, -1              ; encoding: [0x01,0xc1,0x8a,0x91]
50950x01,0xc1,0x8a,0x91
5096
5097# CHECK: s_bfm_b64 s[10:11], s1, 0.5             ; encoding: [0x01,0xf0,0x8a,0x91]
50980x01,0xf0,0x8a,0x91
5099
5100# CHECK: s_bfm_b64 s[10:11], s1, -4.0            ; encoding: [0x01,0xf7,0x8a,0x91]
51010x01,0xf7,0x8a,0x91
5102
5103# CHECK: s_bfm_b64 s[10:11], s1, 0xaf123456      ; encoding: [0x01,0xff,0x8a,0x91,0x56,0x34,0x12,0xaf]
51040x01,0xff,0x8a,0x91,0x56,0x34,0x12,0xaf
5105
5106# CHECK: s_bfm_b64 s[10:11], s1, 0x3f717273      ; encoding: [0x01,0xff,0x8a,0x91,0x73,0x72,0x71,0x3f]
51070x01,0xff,0x8a,0x91,0x73,0x72,0x71,0x3f
5108
5109# CHECK: s_mul_i32 s5, s1, s2                    ; encoding: [0x01,0x02,0x05,0x92]
51100x01,0x02,0x05,0x92
5111
5112# CHECK: s_mul_i32 s101, s1, s2                  ; encoding: [0x01,0x02,0x65,0x92]
51130x01,0x02,0x65,0x92
5114
5115# CHECK: s_mul_i32 flat_scratch_lo, s1, s2       ; encoding: [0x01,0x02,0x66,0x92]
51160x01,0x02,0x66,0x92
5117
5118# CHECK: s_mul_i32 flat_scratch_hi, s1, s2       ; encoding: [0x01,0x02,0x67,0x92]
51190x01,0x02,0x67,0x92
5120
5121# CHECK: s_mul_i32 vcc_lo, s1, s2                ; encoding: [0x01,0x02,0x6a,0x92]
51220x01,0x02,0x6a,0x92
5123
5124# CHECK: s_mul_i32 vcc_hi, s1, s2                ; encoding: [0x01,0x02,0x6b,0x92]
51250x01,0x02,0x6b,0x92
5126
5127# CHECK: s_mul_i32 tba_lo, s1, s2                ; encoding: [0x01,0x02,0x6c,0x92]
51280x01,0x02,0x6c,0x92
5129
5130# CHECK: s_mul_i32 tba_hi, s1, s2                ; encoding: [0x01,0x02,0x6d,0x92]
51310x01,0x02,0x6d,0x92
5132
5133# CHECK: s_mul_i32 tma_lo, s1, s2                ; encoding: [0x01,0x02,0x6e,0x92]
51340x01,0x02,0x6e,0x92
5135
5136# CHECK: s_mul_i32 tma_hi, s1, s2                ; encoding: [0x01,0x02,0x6f,0x92]
51370x01,0x02,0x6f,0x92
5138
5139# CHECK: s_mul_i32 ttmp11, s1, s2                ; encoding: [0x01,0x02,0x7b,0x92]
51400x01,0x02,0x7b,0x92
5141
5142# CHECK: s_mul_i32 m0, s1, s2                    ; encoding: [0x01,0x02,0x7c,0x92]
51430x01,0x02,0x7c,0x92
5144
5145# CHECK: s_mul_i32 exec_lo, s1, s2               ; encoding: [0x01,0x02,0x7e,0x92]
51460x01,0x02,0x7e,0x92
5147
5148# CHECK: s_mul_i32 exec_hi, s1, s2               ; encoding: [0x01,0x02,0x7f,0x92]
51490x01,0x02,0x7f,0x92
5150
5151# CHECK: s_mul_i32 s5, s101, s2                  ; encoding: [0x65,0x02,0x05,0x92]
51520x65,0x02,0x05,0x92
5153
5154# CHECK: s_mul_i32 s5, flat_scratch_lo, s2       ; encoding: [0x66,0x02,0x05,0x92]
51550x66,0x02,0x05,0x92
5156
5157# CHECK: s_mul_i32 s5, flat_scratch_hi, s2       ; encoding: [0x67,0x02,0x05,0x92]
51580x67,0x02,0x05,0x92
5159
5160# CHECK: s_mul_i32 s5, vcc_lo, s2                ; encoding: [0x6a,0x02,0x05,0x92]
51610x6a,0x02,0x05,0x92
5162
5163# CHECK: s_mul_i32 s5, vcc_hi, s2                ; encoding: [0x6b,0x02,0x05,0x92]
51640x6b,0x02,0x05,0x92
5165
5166# CHECK: s_mul_i32 s5, tba_lo, s2                ; encoding: [0x6c,0x02,0x05,0x92]
51670x6c,0x02,0x05,0x92
5168
5169# CHECK: s_mul_i32 s5, tba_hi, s2                ; encoding: [0x6d,0x02,0x05,0x92]
51700x6d,0x02,0x05,0x92
5171
5172# CHECK: s_mul_i32 s5, tma_lo, s2                ; encoding: [0x6e,0x02,0x05,0x92]
51730x6e,0x02,0x05,0x92
5174
5175# CHECK: s_mul_i32 s5, tma_hi, s2                ; encoding: [0x6f,0x02,0x05,0x92]
51760x6f,0x02,0x05,0x92
5177
5178# CHECK: s_mul_i32 s5, ttmp11, s2                ; encoding: [0x7b,0x02,0x05,0x92]
51790x7b,0x02,0x05,0x92
5180
5181# CHECK: s_mul_i32 s5, m0, s2                    ; encoding: [0x7c,0x02,0x05,0x92]
51820x7c,0x02,0x05,0x92
5183
5184# CHECK: s_mul_i32 s5, exec_lo, s2               ; encoding: [0x7e,0x02,0x05,0x92]
51850x7e,0x02,0x05,0x92
5186
5187# CHECK: s_mul_i32 s5, exec_hi, s2               ; encoding: [0x7f,0x02,0x05,0x92]
51880x7f,0x02,0x05,0x92
5189
5190# CHECK: s_mul_i32 s5, 0, s2                     ; encoding: [0x80,0x02,0x05,0x92]
51910x80,0x02,0x05,0x92
5192
5193# CHECK: s_mul_i32 s5, -1, s2                    ; encoding: [0xc1,0x02,0x05,0x92]
51940xc1,0x02,0x05,0x92
5195
5196# CHECK: s_mul_i32 s5, 0.5, s2                   ; encoding: [0xf0,0x02,0x05,0x92]
51970xf0,0x02,0x05,0x92
5198
5199# CHECK: s_mul_i32 s5, -4.0, s2                  ; encoding: [0xf7,0x02,0x05,0x92]
52000xf7,0x02,0x05,0x92
5201
5202# CHECK: s_mul_i32 s5, 0xaf123456, s2            ; encoding: [0xff,0x02,0x05,0x92,0x56,0x34,0x12,0xaf]
52030xff,0x02,0x05,0x92,0x56,0x34,0x12,0xaf
5204
5205# CHECK: s_mul_i32 s5, 0x3f717273, s2            ; encoding: [0xff,0x02,0x05,0x92,0x73,0x72,0x71,0x3f]
52060xff,0x02,0x05,0x92,0x73,0x72,0x71,0x3f
5207
5208# CHECK: s_mul_i32 s5, s1, s101                  ; encoding: [0x01,0x65,0x05,0x92]
52090x01,0x65,0x05,0x92
5210
5211# CHECK: s_mul_i32 s5, s1, flat_scratch_lo       ; encoding: [0x01,0x66,0x05,0x92]
52120x01,0x66,0x05,0x92
5213
5214# CHECK: s_mul_i32 s5, s1, flat_scratch_hi       ; encoding: [0x01,0x67,0x05,0x92]
52150x01,0x67,0x05,0x92
5216
5217# CHECK: s_mul_i32 s5, s1, vcc_lo                ; encoding: [0x01,0x6a,0x05,0x92]
52180x01,0x6a,0x05,0x92
5219
5220# CHECK: s_mul_i32 s5, s1, vcc_hi                ; encoding: [0x01,0x6b,0x05,0x92]
52210x01,0x6b,0x05,0x92
5222
5223# CHECK: s_mul_i32 s5, s1, tba_lo                ; encoding: [0x01,0x6c,0x05,0x92]
52240x01,0x6c,0x05,0x92
5225
5226# CHECK: s_mul_i32 s5, s1, tba_hi                ; encoding: [0x01,0x6d,0x05,0x92]
52270x01,0x6d,0x05,0x92
5228
5229# CHECK: s_mul_i32 s5, s1, tma_lo                ; encoding: [0x01,0x6e,0x05,0x92]
52300x01,0x6e,0x05,0x92
5231
5232# CHECK: s_mul_i32 s5, s1, tma_hi                ; encoding: [0x01,0x6f,0x05,0x92]
52330x01,0x6f,0x05,0x92
5234
5235# CHECK: s_mul_i32 s5, s1, ttmp11                ; encoding: [0x01,0x7b,0x05,0x92]
52360x01,0x7b,0x05,0x92
5237
5238# CHECK: s_mul_i32 s5, s1, m0                    ; encoding: [0x01,0x7c,0x05,0x92]
52390x01,0x7c,0x05,0x92
5240
5241# CHECK: s_mul_i32 s5, s1, exec_lo               ; encoding: [0x01,0x7e,0x05,0x92]
52420x01,0x7e,0x05,0x92
5243
5244# CHECK: s_mul_i32 s5, s1, exec_hi               ; encoding: [0x01,0x7f,0x05,0x92]
52450x01,0x7f,0x05,0x92
5246
5247# CHECK: s_mul_i32 s5, s1, 0                     ; encoding: [0x01,0x80,0x05,0x92]
52480x01,0x80,0x05,0x92
5249
5250# CHECK: s_mul_i32 s5, s1, -1                    ; encoding: [0x01,0xc1,0x05,0x92]
52510x01,0xc1,0x05,0x92
5252
5253# CHECK: s_mul_i32 s5, s1, 0.5                   ; encoding: [0x01,0xf0,0x05,0x92]
52540x01,0xf0,0x05,0x92
5255
5256# CHECK: s_mul_i32 s5, s1, -4.0                  ; encoding: [0x01,0xf7,0x05,0x92]
52570x01,0xf7,0x05,0x92
5258
5259# CHECK: s_mul_i32 s5, s1, 0xaf123456            ; encoding: [0x01,0xff,0x05,0x92,0x56,0x34,0x12,0xaf]
52600x01,0xff,0x05,0x92,0x56,0x34,0x12,0xaf
5261
5262# CHECK: s_mul_i32 s5, s1, 0x3f717273            ; encoding: [0x01,0xff,0x05,0x92,0x73,0x72,0x71,0x3f]
52630x01,0xff,0x05,0x92,0x73,0x72,0x71,0x3f
5264
5265# CHECK: s_bfe_u32 s5, s1, s2                    ; encoding: [0x01,0x02,0x85,0x92]
52660x01,0x02,0x85,0x92
5267
5268# CHECK: s_bfe_u32 s101, s1, s2                  ; encoding: [0x01,0x02,0xe5,0x92]
52690x01,0x02,0xe5,0x92
5270
5271# CHECK: s_bfe_u32 flat_scratch_lo, s1, s2       ; encoding: [0x01,0x02,0xe6,0x92]
52720x01,0x02,0xe6,0x92
5273
5274# CHECK: s_bfe_u32 flat_scratch_hi, s1, s2       ; encoding: [0x01,0x02,0xe7,0x92]
52750x01,0x02,0xe7,0x92
5276
5277# CHECK: s_bfe_u32 vcc_lo, s1, s2                ; encoding: [0x01,0x02,0xea,0x92]
52780x01,0x02,0xea,0x92
5279
5280# CHECK: s_bfe_u32 vcc_hi, s1, s2                ; encoding: [0x01,0x02,0xeb,0x92]
52810x01,0x02,0xeb,0x92
5282
5283# CHECK: s_bfe_u32 tba_lo, s1, s2                ; encoding: [0x01,0x02,0xec,0x92]
52840x01,0x02,0xec,0x92
5285
5286# CHECK: s_bfe_u32 tba_hi, s1, s2                ; encoding: [0x01,0x02,0xed,0x92]
52870x01,0x02,0xed,0x92
5288
5289# CHECK: s_bfe_u32 tma_lo, s1, s2                ; encoding: [0x01,0x02,0xee,0x92]
52900x01,0x02,0xee,0x92
5291
5292# CHECK: s_bfe_u32 tma_hi, s1, s2                ; encoding: [0x01,0x02,0xef,0x92]
52930x01,0x02,0xef,0x92
5294
5295# CHECK: s_bfe_u32 ttmp11, s1, s2                ; encoding: [0x01,0x02,0xfb,0x92]
52960x01,0x02,0xfb,0x92
5297
5298# CHECK: s_bfe_u32 m0, s1, s2                    ; encoding: [0x01,0x02,0xfc,0x92]
52990x01,0x02,0xfc,0x92
5300
5301# CHECK: s_bfe_u32 exec_lo, s1, s2               ; encoding: [0x01,0x02,0xfe,0x92]
53020x01,0x02,0xfe,0x92
5303
5304# CHECK: s_bfe_u32 exec_hi, s1, s2               ; encoding: [0x01,0x02,0xff,0x92]
53050x01,0x02,0xff,0x92
5306
5307# CHECK: s_bfe_u32 s5, s101, s2                  ; encoding: [0x65,0x02,0x85,0x92]
53080x65,0x02,0x85,0x92
5309
5310# CHECK: s_bfe_u32 s5, flat_scratch_lo, s2       ; encoding: [0x66,0x02,0x85,0x92]
53110x66,0x02,0x85,0x92
5312
5313# CHECK: s_bfe_u32 s5, flat_scratch_hi, s2       ; encoding: [0x67,0x02,0x85,0x92]
53140x67,0x02,0x85,0x92
5315
5316# CHECK: s_bfe_u32 s5, vcc_lo, s2                ; encoding: [0x6a,0x02,0x85,0x92]
53170x6a,0x02,0x85,0x92
5318
5319# CHECK: s_bfe_u32 s5, vcc_hi, s2                ; encoding: [0x6b,0x02,0x85,0x92]
53200x6b,0x02,0x85,0x92
5321
5322# CHECK: s_bfe_u32 s5, tba_lo, s2                ; encoding: [0x6c,0x02,0x85,0x92]
53230x6c,0x02,0x85,0x92
5324
5325# CHECK: s_bfe_u32 s5, tba_hi, s2                ; encoding: [0x6d,0x02,0x85,0x92]
53260x6d,0x02,0x85,0x92
5327
5328# CHECK: s_bfe_u32 s5, tma_lo, s2                ; encoding: [0x6e,0x02,0x85,0x92]
53290x6e,0x02,0x85,0x92
5330
5331# CHECK: s_bfe_u32 s5, tma_hi, s2                ; encoding: [0x6f,0x02,0x85,0x92]
53320x6f,0x02,0x85,0x92
5333
5334# CHECK: s_bfe_u32 s5, ttmp11, s2                ; encoding: [0x7b,0x02,0x85,0x92]
53350x7b,0x02,0x85,0x92
5336
5337# CHECK: s_bfe_u32 s5, m0, s2                    ; encoding: [0x7c,0x02,0x85,0x92]
53380x7c,0x02,0x85,0x92
5339
5340# CHECK: s_bfe_u32 s5, exec_lo, s2               ; encoding: [0x7e,0x02,0x85,0x92]
53410x7e,0x02,0x85,0x92
5342
5343# CHECK: s_bfe_u32 s5, exec_hi, s2               ; encoding: [0x7f,0x02,0x85,0x92]
53440x7f,0x02,0x85,0x92
5345
5346# CHECK: s_bfe_u32 s5, 0, s2                     ; encoding: [0x80,0x02,0x85,0x92]
53470x80,0x02,0x85,0x92
5348
5349# CHECK: s_bfe_u32 s5, -1, s2                    ; encoding: [0xc1,0x02,0x85,0x92]
53500xc1,0x02,0x85,0x92
5351
5352# CHECK: s_bfe_u32 s5, 0.5, s2                   ; encoding: [0xf0,0x02,0x85,0x92]
53530xf0,0x02,0x85,0x92
5354
5355# CHECK: s_bfe_u32 s5, -4.0, s2                  ; encoding: [0xf7,0x02,0x85,0x92]
53560xf7,0x02,0x85,0x92
5357
5358# CHECK: s_bfe_u32 s5, 0xaf123456, s2            ; encoding: [0xff,0x02,0x85,0x92,0x56,0x34,0x12,0xaf]
53590xff,0x02,0x85,0x92,0x56,0x34,0x12,0xaf
5360
5361# CHECK: s_bfe_u32 s5, 0x3f717273, s2            ; encoding: [0xff,0x02,0x85,0x92,0x73,0x72,0x71,0x3f]
53620xff,0x02,0x85,0x92,0x73,0x72,0x71,0x3f
5363
5364# CHECK: s_bfe_u32 s5, s1, s101                  ; encoding: [0x01,0x65,0x85,0x92]
53650x01,0x65,0x85,0x92
5366
5367# CHECK: s_bfe_u32 s5, s1, flat_scratch_lo       ; encoding: [0x01,0x66,0x85,0x92]
53680x01,0x66,0x85,0x92
5369
5370# CHECK: s_bfe_u32 s5, s1, flat_scratch_hi       ; encoding: [0x01,0x67,0x85,0x92]
53710x01,0x67,0x85,0x92
5372
5373# CHECK: s_bfe_u32 s5, s1, vcc_lo                ; encoding: [0x01,0x6a,0x85,0x92]
53740x01,0x6a,0x85,0x92
5375
5376# CHECK: s_bfe_u32 s5, s1, vcc_hi                ; encoding: [0x01,0x6b,0x85,0x92]
53770x01,0x6b,0x85,0x92
5378
5379# CHECK: s_bfe_u32 s5, s1, tba_lo                ; encoding: [0x01,0x6c,0x85,0x92]
53800x01,0x6c,0x85,0x92
5381
5382# CHECK: s_bfe_u32 s5, s1, tba_hi                ; encoding: [0x01,0x6d,0x85,0x92]
53830x01,0x6d,0x85,0x92
5384
5385# CHECK: s_bfe_u32 s5, s1, tma_lo                ; encoding: [0x01,0x6e,0x85,0x92]
53860x01,0x6e,0x85,0x92
5387
5388# CHECK: s_bfe_u32 s5, s1, tma_hi                ; encoding: [0x01,0x6f,0x85,0x92]
53890x01,0x6f,0x85,0x92
5390
5391# CHECK: s_bfe_u32 s5, s1, ttmp11                ; encoding: [0x01,0x7b,0x85,0x92]
53920x01,0x7b,0x85,0x92
5393
5394# CHECK: s_bfe_u32 s5, s1, m0                    ; encoding: [0x01,0x7c,0x85,0x92]
53950x01,0x7c,0x85,0x92
5396
5397# CHECK: s_bfe_u32 s5, s1, exec_lo               ; encoding: [0x01,0x7e,0x85,0x92]
53980x01,0x7e,0x85,0x92
5399
5400# CHECK: s_bfe_u32 s5, s1, exec_hi               ; encoding: [0x01,0x7f,0x85,0x92]
54010x01,0x7f,0x85,0x92
5402
5403# CHECK: s_bfe_u32 s5, s1, 0                     ; encoding: [0x01,0x80,0x85,0x92]
54040x01,0x80,0x85,0x92
5405
5406# CHECK: s_bfe_u32 s5, s1, -1                    ; encoding: [0x01,0xc1,0x85,0x92]
54070x01,0xc1,0x85,0x92
5408
5409# CHECK: s_bfe_u32 s5, s1, 0.5                   ; encoding: [0x01,0xf0,0x85,0x92]
54100x01,0xf0,0x85,0x92
5411
5412# CHECK: s_bfe_u32 s5, s1, -4.0                  ; encoding: [0x01,0xf7,0x85,0x92]
54130x01,0xf7,0x85,0x92
5414
5415# CHECK: s_bfe_u32 s5, s1, 0xaf123456            ; encoding: [0x01,0xff,0x85,0x92,0x56,0x34,0x12,0xaf]
54160x01,0xff,0x85,0x92,0x56,0x34,0x12,0xaf
5417
5418# CHECK: s_bfe_u32 s5, s1, 0x3f717273            ; encoding: [0x01,0xff,0x85,0x92,0x73,0x72,0x71,0x3f]
54190x01,0xff,0x85,0x92,0x73,0x72,0x71,0x3f
5420
5421# CHECK: s_bfe_i32 s5, s1, s2                    ; encoding: [0x01,0x02,0x05,0x93]
54220x01,0x02,0x05,0x93
5423
5424# CHECK: s_bfe_i32 s101, s1, s2                  ; encoding: [0x01,0x02,0x65,0x93]
54250x01,0x02,0x65,0x93
5426
5427# CHECK: s_bfe_i32 flat_scratch_lo, s1, s2       ; encoding: [0x01,0x02,0x66,0x93]
54280x01,0x02,0x66,0x93
5429
5430# CHECK: s_bfe_i32 flat_scratch_hi, s1, s2       ; encoding: [0x01,0x02,0x67,0x93]
54310x01,0x02,0x67,0x93
5432
5433# CHECK: s_bfe_i32 vcc_lo, s1, s2                ; encoding: [0x01,0x02,0x6a,0x93]
54340x01,0x02,0x6a,0x93
5435
5436# CHECK: s_bfe_i32 vcc_hi, s1, s2                ; encoding: [0x01,0x02,0x6b,0x93]
54370x01,0x02,0x6b,0x93
5438
5439# CHECK: s_bfe_i32 tba_lo, s1, s2                ; encoding: [0x01,0x02,0x6c,0x93]
54400x01,0x02,0x6c,0x93
5441
5442# CHECK: s_bfe_i32 tba_hi, s1, s2                ; encoding: [0x01,0x02,0x6d,0x93]
54430x01,0x02,0x6d,0x93
5444
5445# CHECK: s_bfe_i32 tma_lo, s1, s2                ; encoding: [0x01,0x02,0x6e,0x93]
54460x01,0x02,0x6e,0x93
5447
5448# CHECK: s_bfe_i32 tma_hi, s1, s2                ; encoding: [0x01,0x02,0x6f,0x93]
54490x01,0x02,0x6f,0x93
5450
5451# CHECK: s_bfe_i32 ttmp11, s1, s2                ; encoding: [0x01,0x02,0x7b,0x93]
54520x01,0x02,0x7b,0x93
5453
5454# CHECK: s_bfe_i32 m0, s1, s2                    ; encoding: [0x01,0x02,0x7c,0x93]
54550x01,0x02,0x7c,0x93
5456
5457# CHECK: s_bfe_i32 exec_lo, s1, s2               ; encoding: [0x01,0x02,0x7e,0x93]
54580x01,0x02,0x7e,0x93
5459
5460# CHECK: s_bfe_i32 exec_hi, s1, s2               ; encoding: [0x01,0x02,0x7f,0x93]
54610x01,0x02,0x7f,0x93
5462
5463# CHECK: s_bfe_i32 s5, s101, s2                  ; encoding: [0x65,0x02,0x05,0x93]
54640x65,0x02,0x05,0x93
5465
5466# CHECK: s_bfe_i32 s5, flat_scratch_lo, s2       ; encoding: [0x66,0x02,0x05,0x93]
54670x66,0x02,0x05,0x93
5468
5469# CHECK: s_bfe_i32 s5, flat_scratch_hi, s2       ; encoding: [0x67,0x02,0x05,0x93]
54700x67,0x02,0x05,0x93
5471
5472# CHECK: s_bfe_i32 s5, vcc_lo, s2                ; encoding: [0x6a,0x02,0x05,0x93]
54730x6a,0x02,0x05,0x93
5474
5475# CHECK: s_bfe_i32 s5, vcc_hi, s2                ; encoding: [0x6b,0x02,0x05,0x93]
54760x6b,0x02,0x05,0x93
5477
5478# CHECK: s_bfe_i32 s5, tba_lo, s2                ; encoding: [0x6c,0x02,0x05,0x93]
54790x6c,0x02,0x05,0x93
5480
5481# CHECK: s_bfe_i32 s5, tba_hi, s2                ; encoding: [0x6d,0x02,0x05,0x93]
54820x6d,0x02,0x05,0x93
5483
5484# CHECK: s_bfe_i32 s5, tma_lo, s2                ; encoding: [0x6e,0x02,0x05,0x93]
54850x6e,0x02,0x05,0x93
5486
5487# CHECK: s_bfe_i32 s5, tma_hi, s2                ; encoding: [0x6f,0x02,0x05,0x93]
54880x6f,0x02,0x05,0x93
5489
5490# CHECK: s_bfe_i32 s5, ttmp11, s2                ; encoding: [0x7b,0x02,0x05,0x93]
54910x7b,0x02,0x05,0x93
5492
5493# CHECK: s_bfe_i32 s5, m0, s2                    ; encoding: [0x7c,0x02,0x05,0x93]
54940x7c,0x02,0x05,0x93
5495
5496# CHECK: s_bfe_i32 s5, exec_lo, s2               ; encoding: [0x7e,0x02,0x05,0x93]
54970x7e,0x02,0x05,0x93
5498
5499# CHECK: s_bfe_i32 s5, exec_hi, s2               ; encoding: [0x7f,0x02,0x05,0x93]
55000x7f,0x02,0x05,0x93
5501
5502# CHECK: s_bfe_i32 s5, 0, s2                     ; encoding: [0x80,0x02,0x05,0x93]
55030x80,0x02,0x05,0x93
5504
5505# CHECK: s_bfe_i32 s5, -1, s2                    ; encoding: [0xc1,0x02,0x05,0x93]
55060xc1,0x02,0x05,0x93
5507
5508# CHECK: s_bfe_i32 s5, 0.5, s2                   ; encoding: [0xf0,0x02,0x05,0x93]
55090xf0,0x02,0x05,0x93
5510
5511# CHECK: s_bfe_i32 s5, -4.0, s2                  ; encoding: [0xf7,0x02,0x05,0x93]
55120xf7,0x02,0x05,0x93
5513
5514# CHECK: s_bfe_i32 s5, 0xaf123456, s2            ; encoding: [0xff,0x02,0x05,0x93,0x56,0x34,0x12,0xaf]
55150xff,0x02,0x05,0x93,0x56,0x34,0x12,0xaf
5516
5517# CHECK: s_bfe_i32 s5, 0x3f717273, s2            ; encoding: [0xff,0x02,0x05,0x93,0x73,0x72,0x71,0x3f]
55180xff,0x02,0x05,0x93,0x73,0x72,0x71,0x3f
5519
5520# CHECK: s_bfe_i32 s5, s1, s101                  ; encoding: [0x01,0x65,0x05,0x93]
55210x01,0x65,0x05,0x93
5522
5523# CHECK: s_bfe_i32 s5, s1, flat_scratch_lo       ; encoding: [0x01,0x66,0x05,0x93]
55240x01,0x66,0x05,0x93
5525
5526# CHECK: s_bfe_i32 s5, s1, flat_scratch_hi       ; encoding: [0x01,0x67,0x05,0x93]
55270x01,0x67,0x05,0x93
5528
5529# CHECK: s_bfe_i32 s5, s1, vcc_lo                ; encoding: [0x01,0x6a,0x05,0x93]
55300x01,0x6a,0x05,0x93
5531
5532# CHECK: s_bfe_i32 s5, s1, vcc_hi                ; encoding: [0x01,0x6b,0x05,0x93]
55330x01,0x6b,0x05,0x93
5534
5535# CHECK: s_bfe_i32 s5, s1, tba_lo                ; encoding: [0x01,0x6c,0x05,0x93]
55360x01,0x6c,0x05,0x93
5537
5538# CHECK: s_bfe_i32 s5, s1, tba_hi                ; encoding: [0x01,0x6d,0x05,0x93]
55390x01,0x6d,0x05,0x93
5540
5541# CHECK: s_bfe_i32 s5, s1, tma_lo                ; encoding: [0x01,0x6e,0x05,0x93]
55420x01,0x6e,0x05,0x93
5543
5544# CHECK: s_bfe_i32 s5, s1, tma_hi                ; encoding: [0x01,0x6f,0x05,0x93]
55450x01,0x6f,0x05,0x93
5546
5547# CHECK: s_bfe_i32 s5, s1, ttmp11                ; encoding: [0x01,0x7b,0x05,0x93]
55480x01,0x7b,0x05,0x93
5549
5550# CHECK: s_bfe_i32 s5, s1, m0                    ; encoding: [0x01,0x7c,0x05,0x93]
55510x01,0x7c,0x05,0x93
5552
5553# CHECK: s_bfe_i32 s5, s1, exec_lo               ; encoding: [0x01,0x7e,0x05,0x93]
55540x01,0x7e,0x05,0x93
5555
5556# CHECK: s_bfe_i32 s5, s1, exec_hi               ; encoding: [0x01,0x7f,0x05,0x93]
55570x01,0x7f,0x05,0x93
5558
5559# CHECK: s_bfe_i32 s5, s1, 0                     ; encoding: [0x01,0x80,0x05,0x93]
55600x01,0x80,0x05,0x93
5561
5562# CHECK: s_bfe_i32 s5, s1, -1                    ; encoding: [0x01,0xc1,0x05,0x93]
55630x01,0xc1,0x05,0x93
5564
5565# CHECK: s_bfe_i32 s5, s1, 0.5                   ; encoding: [0x01,0xf0,0x05,0x93]
55660x01,0xf0,0x05,0x93
5567
5568# CHECK: s_bfe_i32 s5, s1, -4.0                  ; encoding: [0x01,0xf7,0x05,0x93]
55690x01,0xf7,0x05,0x93
5570
5571# CHECK: s_bfe_i32 s5, s1, 0xaf123456            ; encoding: [0x01,0xff,0x05,0x93,0x56,0x34,0x12,0xaf]
55720x01,0xff,0x05,0x93,0x56,0x34,0x12,0xaf
5573
5574# CHECK: s_bfe_i32 s5, s1, 0x3f717273            ; encoding: [0x01,0xff,0x05,0x93,0x73,0x72,0x71,0x3f]
55750x01,0xff,0x05,0x93,0x73,0x72,0x71,0x3f
5576
5577# CHECK: s_bfe_u64 s[10:11], s[2:3], s2          ; encoding: [0x02,0x02,0x8a,0x93]
55780x02,0x02,0x8a,0x93
5579
5580# CHECK: s_bfe_u64 s[12:13], s[2:3], s2          ; encoding: [0x02,0x02,0x8c,0x93]
55810x02,0x02,0x8c,0x93
5582
5583# CHECK: s_bfe_u64 s[100:101], s[2:3], s2        ; encoding: [0x02,0x02,0xe4,0x93]
55840x02,0x02,0xe4,0x93
5585
5586# CHECK: s_bfe_u64 flat_scratch, s[2:3], s2      ; encoding: [0x02,0x02,0xe6,0x93]
55870x02,0x02,0xe6,0x93
5588
5589# CHECK: s_bfe_u64 vcc, s[2:3], s2               ; encoding: [0x02,0x02,0xea,0x93]
55900x02,0x02,0xea,0x93
5591
5592# CHECK: s_bfe_u64 tba, s[2:3], s2               ; encoding: [0x02,0x02,0xec,0x93]
55930x02,0x02,0xec,0x93
5594
5595# CHECK: s_bfe_u64 tma, s[2:3], s2               ; encoding: [0x02,0x02,0xee,0x93]
55960x02,0x02,0xee,0x93
5597
5598# CHECK: s_bfe_u64 ttmp[10:11], s[2:3], s2       ; encoding: [0x02,0x02,0xfa,0x93]
55990x02,0x02,0xfa,0x93
5600
5601# CHECK: s_bfe_u64 exec, s[2:3], s2              ; encoding: [0x02,0x02,0xfe,0x93]
56020x02,0x02,0xfe,0x93
5603
5604# CHECK: s_bfe_u64 s[10:11], s[4:5], s2          ; encoding: [0x04,0x02,0x8a,0x93]
56050x04,0x02,0x8a,0x93
5606
5607# CHECK: s_bfe_u64 s[10:11], s[100:101], s2      ; encoding: [0x64,0x02,0x8a,0x93]
56080x64,0x02,0x8a,0x93
5609
5610# CHECK: s_bfe_u64 s[10:11], flat_scratch, s2    ; encoding: [0x66,0x02,0x8a,0x93]
56110x66,0x02,0x8a,0x93
5612
5613# CHECK: s_bfe_u64 s[10:11], vcc, s2             ; encoding: [0x6a,0x02,0x8a,0x93]
56140x6a,0x02,0x8a,0x93
5615
5616# CHECK: s_bfe_u64 s[10:11], tba, s2             ; encoding: [0x6c,0x02,0x8a,0x93]
56170x6c,0x02,0x8a,0x93
5618
5619# CHECK: s_bfe_u64 s[10:11], tma, s2             ; encoding: [0x6e,0x02,0x8a,0x93]
56200x6e,0x02,0x8a,0x93
5621
5622# CHECK: s_bfe_u64 s[10:11], ttmp[10:11], s2     ; encoding: [0x7a,0x02,0x8a,0x93]
56230x7a,0x02,0x8a,0x93
5624
5625# CHECK: s_bfe_u64 s[10:11], exec, s2            ; encoding: [0x7e,0x02,0x8a,0x93]
56260x7e,0x02,0x8a,0x93
5627
5628# CHECK: s_bfe_u64 s[10:11], 0, s2               ; encoding: [0x80,0x02,0x8a,0x93]
56290x80,0x02,0x8a,0x93
5630
5631# CHECK: s_bfe_u64 s[10:11], -1, s2              ; encoding: [0xc1,0x02,0x8a,0x93]
56320xc1,0x02,0x8a,0x93
5633
5634# CHECK: s_bfe_u64 s[10:11], 0.5, s2             ; encoding: [0xf0,0x02,0x8a,0x93]
56350xf0,0x02,0x8a,0x93
5636
5637# CHECK: s_bfe_u64 s[10:11], -4.0, s2            ; encoding: [0xf7,0x02,0x8a,0x93]
56380xf7,0x02,0x8a,0x93
5639
5640# CHECK: s_bfe_u64 s[10:11], 0xaf123456, s2      ; encoding: [0xff,0x02,0x8a,0x93,0x56,0x34,0x12,0xaf]
56410xff,0x02,0x8a,0x93,0x56,0x34,0x12,0xaf
5642
5643# CHECK: s_bfe_u64 s[10:11], 0x3f717273, s2      ; encoding: [0xff,0x02,0x8a,0x93,0x73,0x72,0x71,0x3f]
56440xff,0x02,0x8a,0x93,0x73,0x72,0x71,0x3f
5645
5646# CHECK: s_bfe_u64 s[10:11], s[2:3], s101        ; encoding: [0x02,0x65,0x8a,0x93]
56470x02,0x65,0x8a,0x93
5648
5649# CHECK: s_bfe_u64 s[10:11], s[2:3], flat_scratch_lo ; encoding: [0x02,0x66,0x8a,0x93]
56500x02,0x66,0x8a,0x93
5651
5652# CHECK: s_bfe_u64 s[10:11], s[2:3], flat_scratch_hi ; encoding: [0x02,0x67,0x8a,0x93]
56530x02,0x67,0x8a,0x93
5654
5655# CHECK: s_bfe_u64 s[10:11], s[2:3], vcc_lo      ; encoding: [0x02,0x6a,0x8a,0x93]
56560x02,0x6a,0x8a,0x93
5657
5658# CHECK: s_bfe_u64 s[10:11], s[2:3], vcc_hi      ; encoding: [0x02,0x6b,0x8a,0x93]
56590x02,0x6b,0x8a,0x93
5660
5661# CHECK: s_bfe_u64 s[10:11], s[2:3], tba_lo      ; encoding: [0x02,0x6c,0x8a,0x93]
56620x02,0x6c,0x8a,0x93
5663
5664# CHECK: s_bfe_u64 s[10:11], s[2:3], tba_hi      ; encoding: [0x02,0x6d,0x8a,0x93]
56650x02,0x6d,0x8a,0x93
5666
5667# CHECK: s_bfe_u64 s[10:11], s[2:3], tma_lo      ; encoding: [0x02,0x6e,0x8a,0x93]
56680x02,0x6e,0x8a,0x93
5669
5670# CHECK: s_bfe_u64 s[10:11], s[2:3], tma_hi      ; encoding: [0x02,0x6f,0x8a,0x93]
56710x02,0x6f,0x8a,0x93
5672
5673# CHECK: s_bfe_u64 s[10:11], s[2:3], ttmp11      ; encoding: [0x02,0x7b,0x8a,0x93]
56740x02,0x7b,0x8a,0x93
5675
5676# CHECK: s_bfe_u64 s[10:11], s[2:3], m0          ; encoding: [0x02,0x7c,0x8a,0x93]
56770x02,0x7c,0x8a,0x93
5678
5679# CHECK: s_bfe_u64 s[10:11], s[2:3], exec_lo     ; encoding: [0x02,0x7e,0x8a,0x93]
56800x02,0x7e,0x8a,0x93
5681
5682# CHECK: s_bfe_u64 s[10:11], s[2:3], exec_hi     ; encoding: [0x02,0x7f,0x8a,0x93]
56830x02,0x7f,0x8a,0x93
5684
5685# CHECK: s_bfe_u64 s[10:11], s[2:3], 0           ; encoding: [0x02,0x80,0x8a,0x93]
56860x02,0x80,0x8a,0x93
5687
5688# CHECK: s_bfe_u64 s[10:11], s[2:3], -1          ; encoding: [0x02,0xc1,0x8a,0x93]
56890x02,0xc1,0x8a,0x93
5690
5691# CHECK: s_bfe_u64 s[10:11], s[2:3], 0.5         ; encoding: [0x02,0xf0,0x8a,0x93]
56920x02,0xf0,0x8a,0x93
5693
5694# CHECK: s_bfe_u64 s[10:11], s[2:3], -4.0        ; encoding: [0x02,0xf7,0x8a,0x93]
56950x02,0xf7,0x8a,0x93
5696
5697# CHECK: s_bfe_u64 s[10:11], s[2:3], 0xaf123456  ; encoding: [0x02,0xff,0x8a,0x93,0x56,0x34,0x12,0xaf]
56980x02,0xff,0x8a,0x93,0x56,0x34,0x12,0xaf
5699
5700# CHECK: s_bfe_u64 s[10:11], s[2:3], 0x3f717273  ; encoding: [0x02,0xff,0x8a,0x93,0x73,0x72,0x71,0x3f]
57010x02,0xff,0x8a,0x93,0x73,0x72,0x71,0x3f
5702
5703# CHECK: s_bfe_i64 s[10:11], s[2:3], s2          ; encoding: [0x02,0x02,0x0a,0x94]
57040x02,0x02,0x0a,0x94
5705
5706# CHECK: s_bfe_i64 s[12:13], s[2:3], s2          ; encoding: [0x02,0x02,0x0c,0x94]
57070x02,0x02,0x0c,0x94
5708
5709# CHECK: s_bfe_i64 s[100:101], s[2:3], s2        ; encoding: [0x02,0x02,0x64,0x94]
57100x02,0x02,0x64,0x94
5711
5712# CHECK: s_bfe_i64 flat_scratch, s[2:3], s2      ; encoding: [0x02,0x02,0x66,0x94]
57130x02,0x02,0x66,0x94
5714
5715# CHECK: s_bfe_i64 vcc, s[2:3], s2               ; encoding: [0x02,0x02,0x6a,0x94]
57160x02,0x02,0x6a,0x94
5717
5718# CHECK: s_bfe_i64 tba, s[2:3], s2               ; encoding: [0x02,0x02,0x6c,0x94]
57190x02,0x02,0x6c,0x94
5720
5721# CHECK: s_bfe_i64 tma, s[2:3], s2               ; encoding: [0x02,0x02,0x6e,0x94]
57220x02,0x02,0x6e,0x94
5723
5724# CHECK: s_bfe_i64 ttmp[10:11], s[2:3], s2       ; encoding: [0x02,0x02,0x7a,0x94]
57250x02,0x02,0x7a,0x94
5726
5727# CHECK: s_bfe_i64 exec, s[2:3], s2              ; encoding: [0x02,0x02,0x7e,0x94]
57280x02,0x02,0x7e,0x94
5729
5730# CHECK: s_bfe_i64 s[10:11], s[4:5], s2          ; encoding: [0x04,0x02,0x0a,0x94]
57310x04,0x02,0x0a,0x94
5732
5733# CHECK: s_bfe_i64 s[10:11], s[100:101], s2      ; encoding: [0x64,0x02,0x0a,0x94]
57340x64,0x02,0x0a,0x94
5735
5736# CHECK: s_bfe_i64 s[10:11], flat_scratch, s2    ; encoding: [0x66,0x02,0x0a,0x94]
57370x66,0x02,0x0a,0x94
5738
5739# CHECK: s_bfe_i64 s[10:11], vcc, s2             ; encoding: [0x6a,0x02,0x0a,0x94]
57400x6a,0x02,0x0a,0x94
5741
5742# CHECK: s_bfe_i64 s[10:11], tba, s2             ; encoding: [0x6c,0x02,0x0a,0x94]
57430x6c,0x02,0x0a,0x94
5744
5745# CHECK: s_bfe_i64 s[10:11], tma, s2             ; encoding: [0x6e,0x02,0x0a,0x94]
57460x6e,0x02,0x0a,0x94
5747
5748# CHECK: s_bfe_i64 s[10:11], ttmp[10:11], s2     ; encoding: [0x7a,0x02,0x0a,0x94]
57490x7a,0x02,0x0a,0x94
5750
5751# CHECK: s_bfe_i64 s[10:11], exec, s2            ; encoding: [0x7e,0x02,0x0a,0x94]
57520x7e,0x02,0x0a,0x94
5753
5754# CHECK: s_bfe_i64 s[10:11], 0, s2               ; encoding: [0x80,0x02,0x0a,0x94]
57550x80,0x02,0x0a,0x94
5756
5757# CHECK: s_bfe_i64 s[10:11], -1, s2              ; encoding: [0xc1,0x02,0x0a,0x94]
57580xc1,0x02,0x0a,0x94
5759
5760# CHECK: s_bfe_i64 s[10:11], 0.5, s2             ; encoding: [0xf0,0x02,0x0a,0x94]
57610xf0,0x02,0x0a,0x94
5762
5763# CHECK: s_bfe_i64 s[10:11], -4.0, s2            ; encoding: [0xf7,0x02,0x0a,0x94]
57640xf7,0x02,0x0a,0x94
5765
5766# CHECK: s_bfe_i64 s[10:11], 0xaf123456, s2      ; encoding: [0xff,0x02,0x0a,0x94,0x56,0x34,0x12,0xaf]
57670xff,0x02,0x0a,0x94,0x56,0x34,0x12,0xaf
5768
5769# CHECK: s_bfe_i64 s[10:11], 0x3f717273, s2      ; encoding: [0xff,0x02,0x0a,0x94,0x73,0x72,0x71,0x3f]
57700xff,0x02,0x0a,0x94,0x73,0x72,0x71,0x3f
5771
5772# CHECK: s_bfe_i64 s[10:11], s[2:3], s101        ; encoding: [0x02,0x65,0x0a,0x94]
57730x02,0x65,0x0a,0x94
5774
5775# CHECK: s_bfe_i64 s[10:11], s[2:3], flat_scratch_lo ; encoding: [0x02,0x66,0x0a,0x94]
57760x02,0x66,0x0a,0x94
5777
5778# CHECK: s_bfe_i64 s[10:11], s[2:3], flat_scratch_hi ; encoding: [0x02,0x67,0x0a,0x94]
57790x02,0x67,0x0a,0x94
5780
5781# CHECK: s_bfe_i64 s[10:11], s[2:3], vcc_lo      ; encoding: [0x02,0x6a,0x0a,0x94]
57820x02,0x6a,0x0a,0x94
5783
5784# CHECK: s_bfe_i64 s[10:11], s[2:3], vcc_hi      ; encoding: [0x02,0x6b,0x0a,0x94]
57850x02,0x6b,0x0a,0x94
5786
5787# CHECK: s_bfe_i64 s[10:11], s[2:3], tba_lo      ; encoding: [0x02,0x6c,0x0a,0x94]
57880x02,0x6c,0x0a,0x94
5789
5790# CHECK: s_bfe_i64 s[10:11], s[2:3], tba_hi      ; encoding: [0x02,0x6d,0x0a,0x94]
57910x02,0x6d,0x0a,0x94
5792
5793# CHECK: s_bfe_i64 s[10:11], s[2:3], tma_lo      ; encoding: [0x02,0x6e,0x0a,0x94]
57940x02,0x6e,0x0a,0x94
5795
5796# CHECK: s_bfe_i64 s[10:11], s[2:3], tma_hi      ; encoding: [0x02,0x6f,0x0a,0x94]
57970x02,0x6f,0x0a,0x94
5798
5799# CHECK: s_bfe_i64 s[10:11], s[2:3], ttmp11      ; encoding: [0x02,0x7b,0x0a,0x94]
58000x02,0x7b,0x0a,0x94
5801
5802# CHECK: s_bfe_i64 s[10:11], s[2:3], m0          ; encoding: [0x02,0x7c,0x0a,0x94]
58030x02,0x7c,0x0a,0x94
5804
5805# CHECK: s_bfe_i64 s[10:11], s[2:3], exec_lo     ; encoding: [0x02,0x7e,0x0a,0x94]
58060x02,0x7e,0x0a,0x94
5807
5808# CHECK: s_bfe_i64 s[10:11], s[2:3], exec_hi     ; encoding: [0x02,0x7f,0x0a,0x94]
58090x02,0x7f,0x0a,0x94
5810
5811# CHECK: s_bfe_i64 s[10:11], s[2:3], 0           ; encoding: [0x02,0x80,0x0a,0x94]
58120x02,0x80,0x0a,0x94
5813
5814# CHECK: s_bfe_i64 s[10:11], s[2:3], -1          ; encoding: [0x02,0xc1,0x0a,0x94]
58150x02,0xc1,0x0a,0x94
5816
5817# CHECK: s_bfe_i64 s[10:11], s[2:3], 0.5         ; encoding: [0x02,0xf0,0x0a,0x94]
58180x02,0xf0,0x0a,0x94
5819
5820# CHECK: s_bfe_i64 s[10:11], s[2:3], -4.0        ; encoding: [0x02,0xf7,0x0a,0x94]
58210x02,0xf7,0x0a,0x94
5822
5823# CHECK: s_bfe_i64 s[10:11], s[2:3], 0xaf123456  ; encoding: [0x02,0xff,0x0a,0x94,0x56,0x34,0x12,0xaf]
58240x02,0xff,0x0a,0x94,0x56,0x34,0x12,0xaf
5825
5826# CHECK: s_bfe_i64 s[10:11], s[2:3], 0x3f717273  ; encoding: [0x02,0xff,0x0a,0x94,0x73,0x72,0x71,0x3f]
58270x02,0xff,0x0a,0x94,0x73,0x72,0x71,0x3f
5828
5829# CHECK: s_cbranch_g_fork s[2:3], s[4:5]         ; encoding: [0x02,0x04,0x80,0x94]
58300x02,0x04,0x80,0x94
5831
5832# CHECK: s_cbranch_g_fork s[4:5], s[4:5]         ; encoding: [0x04,0x04,0x80,0x94]
58330x04,0x04,0x80,0x94
5834
5835# CHECK: s_cbranch_g_fork s[100:101], s[4:5]     ; encoding: [0x64,0x04,0x80,0x94]
58360x64,0x04,0x80,0x94
5837
5838# CHECK: s_cbranch_g_fork flat_scratch, s[4:5]   ; encoding: [0x66,0x04,0x80,0x94]
58390x66,0x04,0x80,0x94
5840
5841# CHECK: s_cbranch_g_fork vcc, s[4:5]            ; encoding: [0x6a,0x04,0x80,0x94]
58420x6a,0x04,0x80,0x94
5843
5844# CHECK: s_cbranch_g_fork tba, s[4:5]            ; encoding: [0x6c,0x04,0x80,0x94]
58450x6c,0x04,0x80,0x94
5846
5847# CHECK: s_cbranch_g_fork tma, s[4:5]            ; encoding: [0x6e,0x04,0x80,0x94]
58480x6e,0x04,0x80,0x94
5849
5850# CHECK: s_cbranch_g_fork ttmp[10:11], s[4:5]    ; encoding: [0x7a,0x04,0x80,0x94]
58510x7a,0x04,0x80,0x94
5852
5853# CHECK: s_cbranch_g_fork exec, s[4:5]           ; encoding: [0x7e,0x04,0x80,0x94]
58540x7e,0x04,0x80,0x94
5855
5856# CHECK: s_cbranch_g_fork 0, s[4:5]              ; encoding: [0x80,0x04,0x80,0x94]
58570x80,0x04,0x80,0x94
5858
5859# CHECK: s_cbranch_g_fork -1, s[4:5]             ; encoding: [0xc1,0x04,0x80,0x94]
58600xc1,0x04,0x80,0x94
5861
5862# CHECK: s_cbranch_g_fork 0.5, s[4:5]            ; encoding: [0xf0,0x04,0x80,0x94]
58630xf0,0x04,0x80,0x94
5864
5865# CHECK: s_cbranch_g_fork -4.0, s[4:5]           ; encoding: [0xf7,0x04,0x80,0x94]
58660xf7,0x04,0x80,0x94
5867
5868# CHECK: s_cbranch_g_fork s[2:3], s[6:7]         ; encoding: [0x02,0x06,0x80,0x94]
58690x02,0x06,0x80,0x94
5870
5871# CHECK: s_cbranch_g_fork s[2:3], s[100:101]     ; encoding: [0x02,0x64,0x80,0x94]
58720x02,0x64,0x80,0x94
5873
5874# CHECK: s_cbranch_g_fork s[2:3], flat_scratch   ; encoding: [0x02,0x66,0x80,0x94]
58750x02,0x66,0x80,0x94
5876
5877# CHECK: s_cbranch_g_fork s[2:3], vcc            ; encoding: [0x02,0x6a,0x80,0x94]
58780x02,0x6a,0x80,0x94
5879
5880# CHECK: s_cbranch_g_fork s[2:3], tba            ; encoding: [0x02,0x6c,0x80,0x94]
58810x02,0x6c,0x80,0x94
5882
5883# CHECK: s_cbranch_g_fork s[2:3], tma            ; encoding: [0x02,0x6e,0x80,0x94]
58840x02,0x6e,0x80,0x94
5885
5886# CHECK: s_cbranch_g_fork s[2:3], ttmp[10:11]    ; encoding: [0x02,0x7a,0x80,0x94]
58870x02,0x7a,0x80,0x94
5888
5889# CHECK: s_cbranch_g_fork s[2:3], exec           ; encoding: [0x02,0x7e,0x80,0x94]
58900x02,0x7e,0x80,0x94
5891
5892# CHECK: s_cbranch_g_fork s[2:3], 0              ; encoding: [0x02,0x80,0x80,0x94]
58930x02,0x80,0x80,0x94
5894
5895# CHECK: s_cbranch_g_fork s[2:3], -1             ; encoding: [0x02,0xc1,0x80,0x94]
58960x02,0xc1,0x80,0x94
5897
5898# CHECK: s_cbranch_g_fork s[2:3], 0.5            ; encoding: [0x02,0xf0,0x80,0x94]
58990x02,0xf0,0x80,0x94
5900
5901# CHECK: s_cbranch_g_fork s[2:3], -4.0           ; encoding: [0x02,0xf7,0x80,0x94]
59020x02,0xf7,0x80,0x94
5903
5904# CHECK: s_absdiff_i32 s5, s1, s2                ; encoding: [0x01,0x02,0x05,0x95]
59050x01,0x02,0x05,0x95
5906
5907# CHECK: s_absdiff_i32 s101, s1, s2              ; encoding: [0x01,0x02,0x65,0x95]
59080x01,0x02,0x65,0x95
5909
5910# CHECK: s_absdiff_i32 flat_scratch_lo, s1, s2   ; encoding: [0x01,0x02,0x66,0x95]
59110x01,0x02,0x66,0x95
5912
5913# CHECK: s_absdiff_i32 flat_scratch_hi, s1, s2   ; encoding: [0x01,0x02,0x67,0x95]
59140x01,0x02,0x67,0x95
5915
5916# CHECK: s_absdiff_i32 vcc_lo, s1, s2            ; encoding: [0x01,0x02,0x6a,0x95]
59170x01,0x02,0x6a,0x95
5918
5919# CHECK: s_absdiff_i32 vcc_hi, s1, s2            ; encoding: [0x01,0x02,0x6b,0x95]
59200x01,0x02,0x6b,0x95
5921
5922# CHECK: s_absdiff_i32 tba_lo, s1, s2            ; encoding: [0x01,0x02,0x6c,0x95]
59230x01,0x02,0x6c,0x95
5924
5925# CHECK: s_absdiff_i32 tba_hi, s1, s2            ; encoding: [0x01,0x02,0x6d,0x95]
59260x01,0x02,0x6d,0x95
5927
5928# CHECK: s_absdiff_i32 tma_lo, s1, s2            ; encoding: [0x01,0x02,0x6e,0x95]
59290x01,0x02,0x6e,0x95
5930
5931# CHECK: s_absdiff_i32 tma_hi, s1, s2            ; encoding: [0x01,0x02,0x6f,0x95]
59320x01,0x02,0x6f,0x95
5933
5934# CHECK: s_absdiff_i32 ttmp11, s1, s2            ; encoding: [0x01,0x02,0x7b,0x95]
59350x01,0x02,0x7b,0x95
5936
5937# CHECK: s_absdiff_i32 m0, s1, s2                ; encoding: [0x01,0x02,0x7c,0x95]
59380x01,0x02,0x7c,0x95
5939
5940# CHECK: s_absdiff_i32 exec_lo, s1, s2           ; encoding: [0x01,0x02,0x7e,0x95]
59410x01,0x02,0x7e,0x95
5942
5943# CHECK: s_absdiff_i32 exec_hi, s1, s2           ; encoding: [0x01,0x02,0x7f,0x95]
59440x01,0x02,0x7f,0x95
5945
5946# CHECK: s_absdiff_i32 s5, s101, s2              ; encoding: [0x65,0x02,0x05,0x95]
59470x65,0x02,0x05,0x95
5948
5949# CHECK: s_absdiff_i32 s5, flat_scratch_lo, s2   ; encoding: [0x66,0x02,0x05,0x95]
59500x66,0x02,0x05,0x95
5951
5952# CHECK: s_absdiff_i32 s5, flat_scratch_hi, s2   ; encoding: [0x67,0x02,0x05,0x95]
59530x67,0x02,0x05,0x95
5954
5955# CHECK: s_absdiff_i32 s5, vcc_lo, s2            ; encoding: [0x6a,0x02,0x05,0x95]
59560x6a,0x02,0x05,0x95
5957
5958# CHECK: s_absdiff_i32 s5, vcc_hi, s2            ; encoding: [0x6b,0x02,0x05,0x95]
59590x6b,0x02,0x05,0x95
5960
5961# CHECK: s_absdiff_i32 s5, tba_lo, s2            ; encoding: [0x6c,0x02,0x05,0x95]
59620x6c,0x02,0x05,0x95
5963
5964# CHECK: s_absdiff_i32 s5, tba_hi, s2            ; encoding: [0x6d,0x02,0x05,0x95]
59650x6d,0x02,0x05,0x95
5966
5967# CHECK: s_absdiff_i32 s5, tma_lo, s2            ; encoding: [0x6e,0x02,0x05,0x95]
59680x6e,0x02,0x05,0x95
5969
5970# CHECK: s_absdiff_i32 s5, tma_hi, s2            ; encoding: [0x6f,0x02,0x05,0x95]
59710x6f,0x02,0x05,0x95
5972
5973# CHECK: s_absdiff_i32 s5, ttmp11, s2            ; encoding: [0x7b,0x02,0x05,0x95]
59740x7b,0x02,0x05,0x95
5975
5976# CHECK: s_absdiff_i32 s5, m0, s2                ; encoding: [0x7c,0x02,0x05,0x95]
59770x7c,0x02,0x05,0x95
5978
5979# CHECK: s_absdiff_i32 s5, exec_lo, s2           ; encoding: [0x7e,0x02,0x05,0x95]
59800x7e,0x02,0x05,0x95
5981
5982# CHECK: s_absdiff_i32 s5, exec_hi, s2           ; encoding: [0x7f,0x02,0x05,0x95]
59830x7f,0x02,0x05,0x95
5984
5985# CHECK: s_absdiff_i32 s5, 0, s2                 ; encoding: [0x80,0x02,0x05,0x95]
59860x80,0x02,0x05,0x95
5987
5988# CHECK: s_absdiff_i32 s5, -1, s2                ; encoding: [0xc1,0x02,0x05,0x95]
59890xc1,0x02,0x05,0x95
5990
5991# CHECK: s_absdiff_i32 s5, 0.5, s2               ; encoding: [0xf0,0x02,0x05,0x95]
59920xf0,0x02,0x05,0x95
5993
5994# CHECK: s_absdiff_i32 s5, -4.0, s2              ; encoding: [0xf7,0x02,0x05,0x95]
59950xf7,0x02,0x05,0x95
5996
5997# CHECK: s_absdiff_i32 s5, 0xaf123456, s2        ; encoding: [0xff,0x02,0x05,0x95,0x56,0x34,0x12,0xaf]
59980xff,0x02,0x05,0x95,0x56,0x34,0x12,0xaf
5999
6000# CHECK: s_absdiff_i32 s5, 0x3f717273, s2        ; encoding: [0xff,0x02,0x05,0x95,0x73,0x72,0x71,0x3f]
60010xff,0x02,0x05,0x95,0x73,0x72,0x71,0x3f
6002
6003# CHECK: s_absdiff_i32 s5, s1, s101              ; encoding: [0x01,0x65,0x05,0x95]
60040x01,0x65,0x05,0x95
6005
6006# CHECK: s_absdiff_i32 s5, s1, flat_scratch_lo   ; encoding: [0x01,0x66,0x05,0x95]
60070x01,0x66,0x05,0x95
6008
6009# CHECK: s_absdiff_i32 s5, s1, flat_scratch_hi   ; encoding: [0x01,0x67,0x05,0x95]
60100x01,0x67,0x05,0x95
6011
6012# CHECK: s_absdiff_i32 s5, s1, vcc_lo            ; encoding: [0x01,0x6a,0x05,0x95]
60130x01,0x6a,0x05,0x95
6014
6015# CHECK: s_absdiff_i32 s5, s1, vcc_hi            ; encoding: [0x01,0x6b,0x05,0x95]
60160x01,0x6b,0x05,0x95
6017
6018# CHECK: s_absdiff_i32 s5, s1, tba_lo            ; encoding: [0x01,0x6c,0x05,0x95]
60190x01,0x6c,0x05,0x95
6020
6021# CHECK: s_absdiff_i32 s5, s1, tba_hi            ; encoding: [0x01,0x6d,0x05,0x95]
60220x01,0x6d,0x05,0x95
6023
6024# CHECK: s_absdiff_i32 s5, s1, tma_lo            ; encoding: [0x01,0x6e,0x05,0x95]
60250x01,0x6e,0x05,0x95
6026
6027# CHECK: s_absdiff_i32 s5, s1, tma_hi            ; encoding: [0x01,0x6f,0x05,0x95]
60280x01,0x6f,0x05,0x95
6029
6030# CHECK: s_absdiff_i32 s5, s1, ttmp11            ; encoding: [0x01,0x7b,0x05,0x95]
60310x01,0x7b,0x05,0x95
6032
6033# CHECK: s_absdiff_i32 s5, s1, m0                ; encoding: [0x01,0x7c,0x05,0x95]
60340x01,0x7c,0x05,0x95
6035
6036# CHECK: s_absdiff_i32 s5, s1, exec_lo           ; encoding: [0x01,0x7e,0x05,0x95]
60370x01,0x7e,0x05,0x95
6038
6039# CHECK: s_absdiff_i32 s5, s1, exec_hi           ; encoding: [0x01,0x7f,0x05,0x95]
60400x01,0x7f,0x05,0x95
6041
6042# CHECK: s_absdiff_i32 s5, s1, 0                 ; encoding: [0x01,0x80,0x05,0x95]
60430x01,0x80,0x05,0x95
6044
6045# CHECK: s_absdiff_i32 s5, s1, -1                ; encoding: [0x01,0xc1,0x05,0x95]
60460x01,0xc1,0x05,0x95
6047
6048# CHECK: s_absdiff_i32 s5, s1, 0.5               ; encoding: [0x01,0xf0,0x05,0x95]
60490x01,0xf0,0x05,0x95
6050
6051# CHECK: s_absdiff_i32 s5, s1, -4.0              ; encoding: [0x01,0xf7,0x05,0x95]
60520x01,0xf7,0x05,0x95
6053
6054# CHECK: s_absdiff_i32 s5, s1, 0xaf123456        ; encoding: [0x01,0xff,0x05,0x95,0x56,0x34,0x12,0xaf]
60550x01,0xff,0x05,0x95,0x56,0x34,0x12,0xaf
6056
6057# CHECK: s_absdiff_i32 s5, s1, 0x3f717273        ; encoding: [0x01,0xff,0x05,0x95,0x73,0x72,0x71,0x3f]
60580x01,0xff,0x05,0x95,0x73,0x72,0x71,0x3f
6059
6060# CHECK: s_rfe_restore_b64 s[2:3], s2            ; encoding: [0x02,0x02,0x80,0x95]
60610x02,0x02,0x80,0x95
6062
6063# CHECK: s_rfe_restore_b64 s[4:5], s2            ; encoding: [0x04,0x02,0x80,0x95]
60640x04,0x02,0x80,0x95
6065
6066# CHECK: s_rfe_restore_b64 s[100:101], s2        ; encoding: [0x64,0x02,0x80,0x95]
60670x64,0x02,0x80,0x95
6068
6069# CHECK: s_rfe_restore_b64 flat_scratch, s2      ; encoding: [0x66,0x02,0x80,0x95]
60700x66,0x02,0x80,0x95
6071
6072# CHECK: s_rfe_restore_b64 vcc, s2               ; encoding: [0x6a,0x02,0x80,0x95]
60730x6a,0x02,0x80,0x95
6074
6075# CHECK: s_rfe_restore_b64 tba, s2               ; encoding: [0x6c,0x02,0x80,0x95]
60760x6c,0x02,0x80,0x95
6077
6078# CHECK: s_rfe_restore_b64 tma, s2               ; encoding: [0x6e,0x02,0x80,0x95]
60790x6e,0x02,0x80,0x95
6080
6081# CHECK: s_rfe_restore_b64 ttmp[10:11], s2       ; encoding: [0x7a,0x02,0x80,0x95]
60820x7a,0x02,0x80,0x95
6083
6084# CHECK: s_rfe_restore_b64 exec, s2              ; encoding: [0x7e,0x02,0x80,0x95]
60850x7e,0x02,0x80,0x95
6086
6087# CHECK: s_rfe_restore_b64 0, s2                 ; encoding: [0x80,0x02,0x80,0x95]
60880x80,0x02,0x80,0x95
6089
6090# CHECK: s_rfe_restore_b64 -1, s2                ; encoding: [0xc1,0x02,0x80,0x95]
60910xc1,0x02,0x80,0x95
6092
6093# CHECK: s_rfe_restore_b64 0.5, s2               ; encoding: [0xf0,0x02,0x80,0x95]
60940xf0,0x02,0x80,0x95
6095
6096# CHECK: s_rfe_restore_b64 -4.0, s2              ; encoding: [0xf7,0x02,0x80,0x95]
60970xf7,0x02,0x80,0x95
6098
6099# CHECK: s_rfe_restore_b64 0xaf123456, s2        ; encoding: [0xff,0x02,0x80,0x95,0x56,0x34,0x12,0xaf]
61000xff,0x02,0x80,0x95,0x56,0x34,0x12,0xaf
6101
6102# CHECK: s_rfe_restore_b64 0x3f717273, s2        ; encoding: [0xff,0x02,0x80,0x95,0x73,0x72,0x71,0x3f]
61030xff,0x02,0x80,0x95,0x73,0x72,0x71,0x3f
6104
6105# CHECK: s_rfe_restore_b64 s[2:3], s101          ; encoding: [0x02,0x65,0x80,0x95]
61060x02,0x65,0x80,0x95
6107
6108# CHECK: s_rfe_restore_b64 s[2:3], flat_scratch_lo ; encoding: [0x02,0x66,0x80,0x95]
61090x02,0x66,0x80,0x95
6110
6111# CHECK: s_rfe_restore_b64 s[2:3], flat_scratch_hi ; encoding: [0x02,0x67,0x80,0x95]
61120x02,0x67,0x80,0x95
6113
6114# CHECK: s_rfe_restore_b64 s[2:3], vcc_lo        ; encoding: [0x02,0x6a,0x80,0x95]
61150x02,0x6a,0x80,0x95
6116
6117# CHECK: s_rfe_restore_b64 s[2:3], vcc_hi        ; encoding: [0x02,0x6b,0x80,0x95]
61180x02,0x6b,0x80,0x95
6119
6120# CHECK: s_rfe_restore_b64 s[2:3], tba_lo        ; encoding: [0x02,0x6c,0x80,0x95]
61210x02,0x6c,0x80,0x95
6122
6123# CHECK: s_rfe_restore_b64 s[2:3], tba_hi        ; encoding: [0x02,0x6d,0x80,0x95]
61240x02,0x6d,0x80,0x95
6125
6126# CHECK: s_rfe_restore_b64 s[2:3], tma_lo        ; encoding: [0x02,0x6e,0x80,0x95]
61270x02,0x6e,0x80,0x95
6128
6129# CHECK: s_rfe_restore_b64 s[2:3], tma_hi        ; encoding: [0x02,0x6f,0x80,0x95]
61300x02,0x6f,0x80,0x95
6131
6132# CHECK: s_rfe_restore_b64 s[2:3], ttmp11        ; encoding: [0x02,0x7b,0x80,0x95]
61330x02,0x7b,0x80,0x95
6134
6135# CHECK: s_rfe_restore_b64 s[2:3], m0            ; encoding: [0x02,0x7c,0x80,0x95]
61360x02,0x7c,0x80,0x95
6137
6138# CHECK: s_rfe_restore_b64 s[2:3], exec_lo       ; encoding: [0x02,0x7e,0x80,0x95]
61390x02,0x7e,0x80,0x95
6140
6141# CHECK: s_rfe_restore_b64 s[2:3], exec_hi       ; encoding: [0x02,0x7f,0x80,0x95]
61420x02,0x7f,0x80,0x95
6143
6144# CHECK: s_rfe_restore_b64 s[2:3], 0             ; encoding: [0x02,0x80,0x80,0x95]
61450x02,0x80,0x80,0x95
6146
6147# CHECK: s_rfe_restore_b64 s[2:3], -1            ; encoding: [0x02,0xc1,0x80,0x95]
61480x02,0xc1,0x80,0x95
6149
6150# CHECK: s_rfe_restore_b64 s[2:3], 0.5           ; encoding: [0x02,0xf0,0x80,0x95]
61510x02,0xf0,0x80,0x95
6152
6153# CHECK: s_rfe_restore_b64 s[2:3], -4.0          ; encoding: [0x02,0xf7,0x80,0x95]
61540x02,0xf7,0x80,0x95
6155
6156# CHECK: s_rfe_restore_b64 s[2:3], 0xaf123456    ; encoding: [0x02,0xff,0x80,0x95,0x56,0x34,0x12,0xaf]
61570x02,0xff,0x80,0x95,0x56,0x34,0x12,0xaf
6158
6159# CHECK: s_rfe_restore_b64 s[2:3], 0x3f717273    ; encoding: [0x02,0xff,0x80,0x95,0x73,0x72,0x71,0x3f]
61600x02,0xff,0x80,0x95,0x73,0x72,0x71,0x3f
6161