Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AMDGPU / gfx9_asm_vop3p.s
blobecffa14de913481b90e999af1570e696211b7434
1 // RUN: llvm-mc -triple=amdgcn -mcpu=gfx900 -show-encoding %s | FileCheck %s
3 v_pk_mad_i16 v5, v1, v2, v3
4 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0x05,0x0e,0x1c]
6 v_pk_mad_i16 v255, v1, v2, v3
7 // CHECK: [0xff,0x40,0x80,0xd3,0x01,0x05,0x0e,0x1c]
9 v_pk_mad_i16 v5, v255, v2, v3
10 // CHECK: [0x05,0x40,0x80,0xd3,0xff,0x05,0x0e,0x1c]
12 v_pk_mad_i16 v5, s1, v2, v3
13 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0x04,0x0e,0x1c]
15 v_pk_mad_i16 v5, s101, v2, v3
16 // CHECK: [0x05,0x40,0x80,0xd3,0x65,0x04,0x0e,0x1c]
18 v_pk_mad_i16 v5, flat_scratch_lo, v2, v3
19 // CHECK: [0x05,0x40,0x80,0xd3,0x66,0x04,0x0e,0x1c]
21 v_pk_mad_i16 v5, flat_scratch_hi, v2, v3
22 // CHECK: [0x05,0x40,0x80,0xd3,0x67,0x04,0x0e,0x1c]
24 v_pk_mad_i16 v5, vcc_lo, v2, v3
25 // CHECK: [0x05,0x40,0x80,0xd3,0x6a,0x04,0x0e,0x1c]
27 v_pk_mad_i16 v5, vcc_hi, v2, v3
28 // CHECK: [0x05,0x40,0x80,0xd3,0x6b,0x04,0x0e,0x1c]
30 v_pk_mad_i16 v5, ttmp15, v2, v3
31 // CHECK: [0x05,0x40,0x80,0xd3,0x7b,0x04,0x0e,0x1c]
33 v_pk_mad_i16 v5, m0, v2, v3
34 // CHECK: [0x05,0x40,0x80,0xd3,0x7c,0x04,0x0e,0x1c]
36 v_pk_mad_i16 v5, exec_lo, v2, v3
37 // CHECK: [0x05,0x40,0x80,0xd3,0x7e,0x04,0x0e,0x1c]
39 v_pk_mad_i16 v5, exec_hi, v2, v3
40 // CHECK: [0x05,0x40,0x80,0xd3,0x7f,0x04,0x0e,0x1c]
42 v_pk_mad_i16 v5, 0, v2, v3
43 // CHECK: [0x05,0x40,0x80,0xd3,0x80,0x04,0x0e,0x1c]
45 v_pk_mad_i16 v5, -1, v2, v3
46 // CHECK: [0x05,0x40,0x80,0xd3,0xc1,0x04,0x0e,0x1c]
48 v_pk_mad_i16 v5, src_vccz, v2, v3
49 // CHECK: [0x05,0x40,0x80,0xd3,0xfb,0x04,0x0e,0x1c]
51 v_pk_mad_i16 v5, src_execz, v2, v3
52 // CHECK: [0x05,0x40,0x80,0xd3,0xfc,0x04,0x0e,0x1c]
54 v_pk_mad_i16 v5, src_scc, v2, v3
55 // CHECK: [0x05,0x40,0x80,0xd3,0xfd,0x04,0x0e,0x1c]
57 v_pk_mad_i16 v5, src_lds_direct, v2, v3
58 // CHECK: [0x05,0x40,0x80,0xd3,0xfe,0x04,0x0e,0x1c]
60 v_pk_mad_i16 v5, v1, v255, v3
61 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0xff,0x0f,0x1c]
63 v_pk_mad_i16 v5, v1, s2, v3
64 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0x05,0x0c,0x1c]
66 v_pk_mad_i16 v5, v1, s101, v3
67 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0xcb,0x0c,0x1c]
69 v_pk_mad_i16 v5, v1, flat_scratch_lo, v3
70 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0xcd,0x0c,0x1c]
72 v_pk_mad_i16 v5, v1, flat_scratch_hi, v3
73 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0xcf,0x0c,0x1c]
75 v_pk_mad_i16 v5, v1, vcc_lo, v3
76 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0xd5,0x0c,0x1c]
78 v_pk_mad_i16 v5, v1, vcc_hi, v3
79 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0xd7,0x0c,0x1c]
81 v_pk_mad_i16 v5, v1, ttmp15, v3
82 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0xf7,0x0c,0x1c]
84 v_pk_mad_i16 v5, v1, m0, v3
85 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0xf9,0x0c,0x1c]
87 v_pk_mad_i16 v5, v1, exec_lo, v3
88 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0xfd,0x0c,0x1c]
90 v_pk_mad_i16 v5, v1, exec_hi, v3
91 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0xff,0x0c,0x1c]
93 v_pk_mad_i16 v5, v1, 0, v3
94 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0x01,0x0d,0x1c]
96 v_pk_mad_i16 v5, v1, -1, v3
97 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0x83,0x0d,0x1c]
99 v_pk_mad_i16 v5, v1, src_vccz, v3
100 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0xf7,0x0d,0x1c]
102 v_pk_mad_i16 v5, v1, src_execz, v3
103 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0xf9,0x0d,0x1c]
105 v_pk_mad_i16 v5, v1, src_scc, v3
106 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0xfb,0x0d,0x1c]
108 v_pk_mad_i16 v5, v1, v2, v255
109 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0x05,0xfe,0x1f]
111 v_pk_mad_i16 v5, v1, v2, s3
112 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0x05,0x0e,0x18]
114 v_pk_mad_i16 v5, v1, v2, s101
115 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0x05,0x96,0x19]
117 v_pk_mad_i16 v5, v1, v2, flat_scratch_lo
118 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0x05,0x9a,0x19]
120 v_pk_mad_i16 v5, v1, v2, flat_scratch_hi
121 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0x05,0x9e,0x19]
123 v_pk_mad_i16 v5, v1, v2, vcc_lo
124 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0x05,0xaa,0x19]
126 v_pk_mad_i16 v5, v1, v2, vcc_hi
127 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0x05,0xae,0x19]
129 v_pk_mad_i16 v5, v1, v2, ttmp15
130 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0x05,0xee,0x19]
132 v_pk_mad_i16 v5, v1, v2, m0
133 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0x05,0xf2,0x19]
135 v_pk_mad_i16 v5, v1, v2, exec_lo
136 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0x05,0xfa,0x19]
138 v_pk_mad_i16 v5, v1, v2, exec_hi
139 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0x05,0xfe,0x19]
141 v_pk_mad_i16 v5, v1, v2, 0
142 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0x05,0x02,0x1a]
144 v_pk_mad_i16 v5, v1, v2, -1
145 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0x05,0x06,0x1b]
147 v_pk_mad_i16 v5, v1, v2, src_vccz
148 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0x05,0xee,0x1b]
150 v_pk_mad_i16 v5, v1, v2, src_execz
151 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0x05,0xf2,0x1b]
153 v_pk_mad_i16 v5, v1, v2, src_scc
154 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0x05,0xf6,0x1b]
156 v_pk_mad_i16 v5, v1, v2, v3 op_sel:[0,0,0]
157 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0x05,0x0e,0x1c]
159 v_pk_mad_i16 v5, v1, v2, v3 op_sel:[1,0,0]
160 // CHECK: [0x05,0x48,0x80,0xd3,0x01,0x05,0x0e,0x1c]
162 v_pk_mad_i16 v5, v1, v2, v3 op_sel:[0,1,0]
163 // CHECK: [0x05,0x50,0x80,0xd3,0x01,0x05,0x0e,0x1c]
165 v_pk_mad_i16 v5, v1, v2, v3 op_sel:[0,0,1]
166 // CHECK: [0x05,0x60,0x80,0xd3,0x01,0x05,0x0e,0x1c]
168 v_pk_mad_i16 v5, v1, v2, v3 op_sel:[1,1,1]
169 // CHECK: [0x05,0x78,0x80,0xd3,0x01,0x05,0x0e,0x1c]
171 v_pk_mad_i16 v5, v1, v2, v3 op_sel_hi:[1,1,1]
172 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0x05,0x0e,0x1c]
174 v_pk_mad_i16 v5, v1, v2, v3 op_sel_hi:[0,0,0]
175 // CHECK: [0x05,0x00,0x80,0xd3,0x01,0x05,0x0e,0x04]
177 v_pk_mad_i16 v5, v1, v2, v3 op_sel_hi:[1,0,0]
178 // CHECK: [0x05,0x00,0x80,0xd3,0x01,0x05,0x0e,0x0c]
180 v_pk_mad_i16 v5, v1, v2, v3 op_sel_hi:[0,1,0]
181 // CHECK: [0x05,0x00,0x80,0xd3,0x01,0x05,0x0e,0x14]
183 v_pk_mad_i16 v5, v1, v2, v3 op_sel_hi:[0,0,1]
184 // CHECK: [0x05,0x40,0x80,0xd3,0x01,0x05,0x0e,0x04]
186 v_pk_mad_i16 v5, v1, v2, v3 clamp
187 // CHECK: [0x05,0xc0,0x80,0xd3,0x01,0x05,0x0e,0x1c]
189 v_pk_mul_lo_u16 v5, v1, v2
190 // CHECK: [0x05,0x40,0x81,0xd3,0x01,0x05,0x02,0x18]
192 v_pk_mul_lo_u16 v255, v1, v2
193 // CHECK: [0xff,0x40,0x81,0xd3,0x01,0x05,0x02,0x18]
195 v_pk_mul_lo_u16 v5, v255, v2
196 // CHECK: [0x05,0x40,0x81,0xd3,0xff,0x05,0x02,0x18]
198 v_pk_mul_lo_u16 v5, s1, v2
199 // CHECK: [0x05,0x40,0x81,0xd3,0x01,0x04,0x02,0x18]
201 v_pk_mul_lo_u16 v5, s101, v2
202 // CHECK: [0x05,0x40,0x81,0xd3,0x65,0x04,0x02,0x18]
204 v_pk_mul_lo_u16 v5, flat_scratch_lo, v2
205 // CHECK: [0x05,0x40,0x81,0xd3,0x66,0x04,0x02,0x18]
207 v_pk_mul_lo_u16 v5, flat_scratch_hi, v2
208 // CHECK: [0x05,0x40,0x81,0xd3,0x67,0x04,0x02,0x18]
210 v_pk_mul_lo_u16 v5, vcc_lo, v2
211 // CHECK: [0x05,0x40,0x81,0xd3,0x6a,0x04,0x02,0x18]
213 v_pk_mul_lo_u16 v5, vcc_hi, v2
214 // CHECK: [0x05,0x40,0x81,0xd3,0x6b,0x04,0x02,0x18]
216 v_pk_mul_lo_u16 v5, ttmp15, v2
217 // CHECK: [0x05,0x40,0x81,0xd3,0x7b,0x04,0x02,0x18]
219 v_pk_mul_lo_u16 v5, m0, v2
220 // CHECK: [0x05,0x40,0x81,0xd3,0x7c,0x04,0x02,0x18]
222 v_pk_mul_lo_u16 v5, exec_lo, v2
223 // CHECK: [0x05,0x40,0x81,0xd3,0x7e,0x04,0x02,0x18]
225 v_pk_mul_lo_u16 v5, exec_hi, v2
226 // CHECK: [0x05,0x40,0x81,0xd3,0x7f,0x04,0x02,0x18]
228 v_pk_mul_lo_u16 v5, 0, v2
229 // CHECK: [0x05,0x40,0x81,0xd3,0x80,0x04,0x02,0x18]
231 v_pk_mul_lo_u16 v5, -1, v2
232 // CHECK: [0x05,0x40,0x81,0xd3,0xc1,0x04,0x02,0x18]
234 v_pk_mul_lo_u16 v5, src_vccz, v2
235 // CHECK: [0x05,0x40,0x81,0xd3,0xfb,0x04,0x02,0x18]
237 v_pk_mul_lo_u16 v5, src_execz, v2
238 // CHECK: [0x05,0x40,0x81,0xd3,0xfc,0x04,0x02,0x18]
240 v_pk_mul_lo_u16 v5, src_scc, v2
241 // CHECK: [0x05,0x40,0x81,0xd3,0xfd,0x04,0x02,0x18]
243 v_pk_mul_lo_u16 v5, src_lds_direct, v2
244 // CHECK: [0x05,0x40,0x81,0xd3,0xfe,0x04,0x02,0x18]
246 v_pk_mul_lo_u16 v5, v1, v255
247 // CHECK: [0x05,0x40,0x81,0xd3,0x01,0xff,0x03,0x18]
249 v_pk_mul_lo_u16 v5, v1, s2
250 // CHECK: [0x05,0x40,0x81,0xd3,0x01,0x05,0x00,0x18]
252 v_pk_mul_lo_u16 v5, v1, s101
253 // CHECK: [0x05,0x40,0x81,0xd3,0x01,0xcb,0x00,0x18]
255 v_pk_mul_lo_u16 v5, v1, flat_scratch_lo
256 // CHECK: [0x05,0x40,0x81,0xd3,0x01,0xcd,0x00,0x18]
258 v_pk_mul_lo_u16 v5, v1, flat_scratch_hi
259 // CHECK: [0x05,0x40,0x81,0xd3,0x01,0xcf,0x00,0x18]
261 v_pk_mul_lo_u16 v5, v1, vcc_lo
262 // CHECK: [0x05,0x40,0x81,0xd3,0x01,0xd5,0x00,0x18]
264 v_pk_mul_lo_u16 v5, v1, vcc_hi
265 // CHECK: [0x05,0x40,0x81,0xd3,0x01,0xd7,0x00,0x18]
267 v_pk_mul_lo_u16 v5, v1, ttmp15
268 // CHECK: [0x05,0x40,0x81,0xd3,0x01,0xf7,0x00,0x18]
270 v_pk_mul_lo_u16 v5, v1, m0
271 // CHECK: [0x05,0x40,0x81,0xd3,0x01,0xf9,0x00,0x18]
273 v_pk_mul_lo_u16 v5, v1, exec_lo
274 // CHECK: [0x05,0x40,0x81,0xd3,0x01,0xfd,0x00,0x18]
276 v_pk_mul_lo_u16 v5, v1, exec_hi
277 // CHECK: [0x05,0x40,0x81,0xd3,0x01,0xff,0x00,0x18]
279 v_pk_mul_lo_u16 v5, v1, 0
280 // CHECK: [0x05,0x40,0x81,0xd3,0x01,0x01,0x01,0x18]
282 v_pk_mul_lo_u16 v5, v1, -1
283 // CHECK: [0x05,0x40,0x81,0xd3,0x01,0x83,0x01,0x18]
285 v_pk_mul_lo_u16 v5, v1, src_vccz
286 // CHECK: [0x05,0x40,0x81,0xd3,0x01,0xf7,0x01,0x18]
288 v_pk_mul_lo_u16 v5, v1, src_execz
289 // CHECK: [0x05,0x40,0x81,0xd3,0x01,0xf9,0x01,0x18]
291 v_pk_mul_lo_u16 v5, v1, src_scc
292 // CHECK: [0x05,0x40,0x81,0xd3,0x01,0xfb,0x01,0x18]
294 v_pk_mul_lo_u16 v5, v1, v2 op_sel:[0,0]
295 // CHECK: [0x05,0x40,0x81,0xd3,0x01,0x05,0x02,0x18]
297 v_pk_mul_lo_u16 v5, v1, v2 op_sel:[1,0]
298 // CHECK: [0x05,0x48,0x81,0xd3,0x01,0x05,0x02,0x18]
300 v_pk_mul_lo_u16 v5, v1, v2 op_sel:[0,1]
301 // CHECK: [0x05,0x50,0x81,0xd3,0x01,0x05,0x02,0x18]
303 v_pk_mul_lo_u16 v5, v1, v2 op_sel:[1,1]
304 // CHECK: [0x05,0x58,0x81,0xd3,0x01,0x05,0x02,0x18]
306 v_pk_mul_lo_u16 v5, v1, v2 op_sel_hi:[1,1]
307 // CHECK: [0x05,0x40,0x81,0xd3,0x01,0x05,0x02,0x18]
309 v_pk_mul_lo_u16 v5, v1, v2 op_sel_hi:[0,0]
310 // CHECK: [0x05,0x40,0x81,0xd3,0x01,0x05,0x02,0x00]
312 v_pk_mul_lo_u16 v5, v1, v2 op_sel_hi:[1,0]
313 // CHECK: [0x05,0x40,0x81,0xd3,0x01,0x05,0x02,0x08]
315 v_pk_mul_lo_u16 v5, v1, v2 op_sel_hi:[0,1]
316 // CHECK: [0x05,0x40,0x81,0xd3,0x01,0x05,0x02,0x10]
318 v_pk_add_i16 v5, v1, v2
319 // CHECK: [0x05,0x40,0x82,0xd3,0x01,0x05,0x02,0x18]
321 v_pk_add_i16 v255, v1, v2
322 // CHECK: [0xff,0x40,0x82,0xd3,0x01,0x05,0x02,0x18]
324 v_pk_add_i16 v5, v255, v2
325 // CHECK: [0x05,0x40,0x82,0xd3,0xff,0x05,0x02,0x18]
327 v_pk_add_i16 v5, s1, v2
328 // CHECK: [0x05,0x40,0x82,0xd3,0x01,0x04,0x02,0x18]
330 v_pk_add_i16 v5, s101, v2
331 // CHECK: [0x05,0x40,0x82,0xd3,0x65,0x04,0x02,0x18]
333 v_pk_add_i16 v5, flat_scratch_lo, v2
334 // CHECK: [0x05,0x40,0x82,0xd3,0x66,0x04,0x02,0x18]
336 v_pk_add_i16 v5, flat_scratch_hi, v2
337 // CHECK: [0x05,0x40,0x82,0xd3,0x67,0x04,0x02,0x18]
339 v_pk_add_i16 v5, vcc_lo, v2
340 // CHECK: [0x05,0x40,0x82,0xd3,0x6a,0x04,0x02,0x18]
342 v_pk_add_i16 v5, vcc_hi, v2
343 // CHECK: [0x05,0x40,0x82,0xd3,0x6b,0x04,0x02,0x18]
345 v_pk_add_i16 v5, ttmp15, v2
346 // CHECK: [0x05,0x40,0x82,0xd3,0x7b,0x04,0x02,0x18]
348 v_pk_add_i16 v5, m0, v2
349 // CHECK: [0x05,0x40,0x82,0xd3,0x7c,0x04,0x02,0x18]
351 v_pk_add_i16 v5, exec_lo, v2
352 // CHECK: [0x05,0x40,0x82,0xd3,0x7e,0x04,0x02,0x18]
354 v_pk_add_i16 v5, exec_hi, v2
355 // CHECK: [0x05,0x40,0x82,0xd3,0x7f,0x04,0x02,0x18]
357 v_pk_add_i16 v5, 0, v2
358 // CHECK: [0x05,0x40,0x82,0xd3,0x80,0x04,0x02,0x18]
360 v_pk_add_i16 v5, -1, v2
361 // CHECK: [0x05,0x40,0x82,0xd3,0xc1,0x04,0x02,0x18]
363 v_pk_add_i16 v5, src_vccz, v2
364 // CHECK: [0x05,0x40,0x82,0xd3,0xfb,0x04,0x02,0x18]
366 v_pk_add_i16 v5, src_execz, v2
367 // CHECK: [0x05,0x40,0x82,0xd3,0xfc,0x04,0x02,0x18]
369 v_pk_add_i16 v5, src_scc, v2
370 // CHECK: [0x05,0x40,0x82,0xd3,0xfd,0x04,0x02,0x18]
372 v_pk_add_i16 v5, src_lds_direct, v2
373 // CHECK: [0x05,0x40,0x82,0xd3,0xfe,0x04,0x02,0x18]
375 v_pk_add_i16 v5, v1, v255
376 // CHECK: [0x05,0x40,0x82,0xd3,0x01,0xff,0x03,0x18]
378 v_pk_add_i16 v5, v1, s2
379 // CHECK: [0x05,0x40,0x82,0xd3,0x01,0x05,0x00,0x18]
381 v_pk_add_i16 v5, v1, s101
382 // CHECK: [0x05,0x40,0x82,0xd3,0x01,0xcb,0x00,0x18]
384 v_pk_add_i16 v5, v1, flat_scratch_lo
385 // CHECK: [0x05,0x40,0x82,0xd3,0x01,0xcd,0x00,0x18]
387 v_pk_add_i16 v5, v1, flat_scratch_hi
388 // CHECK: [0x05,0x40,0x82,0xd3,0x01,0xcf,0x00,0x18]
390 v_pk_add_i16 v5, v1, vcc_lo
391 // CHECK: [0x05,0x40,0x82,0xd3,0x01,0xd5,0x00,0x18]
393 v_pk_add_i16 v5, v1, vcc_hi
394 // CHECK: [0x05,0x40,0x82,0xd3,0x01,0xd7,0x00,0x18]
396 v_pk_add_i16 v5, v1, ttmp15
397 // CHECK: [0x05,0x40,0x82,0xd3,0x01,0xf7,0x00,0x18]
399 v_pk_add_i16 v5, v1, m0
400 // CHECK: [0x05,0x40,0x82,0xd3,0x01,0xf9,0x00,0x18]
402 v_pk_add_i16 v5, v1, exec_lo
403 // CHECK: [0x05,0x40,0x82,0xd3,0x01,0xfd,0x00,0x18]
405 v_pk_add_i16 v5, v1, exec_hi
406 // CHECK: [0x05,0x40,0x82,0xd3,0x01,0xff,0x00,0x18]
408 v_pk_add_i16 v5, v1, 0
409 // CHECK: [0x05,0x40,0x82,0xd3,0x01,0x01,0x01,0x18]
411 v_pk_add_i16 v5, v1, -1
412 // CHECK: [0x05,0x40,0x82,0xd3,0x01,0x83,0x01,0x18]
414 v_pk_add_i16 v5, v1, src_vccz
415 // CHECK: [0x05,0x40,0x82,0xd3,0x01,0xf7,0x01,0x18]
417 v_pk_add_i16 v5, v1, src_execz
418 // CHECK: [0x05,0x40,0x82,0xd3,0x01,0xf9,0x01,0x18]
420 v_pk_add_i16 v5, v1, src_scc
421 // CHECK: [0x05,0x40,0x82,0xd3,0x01,0xfb,0x01,0x18]
423 v_pk_add_i16 v5, v1, v2 op_sel:[0,0]
424 // CHECK: [0x05,0x40,0x82,0xd3,0x01,0x05,0x02,0x18]
426 v_pk_add_i16 v5, v1, v2 op_sel:[1,0]
427 // CHECK: [0x05,0x48,0x82,0xd3,0x01,0x05,0x02,0x18]
429 v_pk_add_i16 v5, v1, v2 op_sel:[0,1]
430 // CHECK: [0x05,0x50,0x82,0xd3,0x01,0x05,0x02,0x18]
432 v_pk_add_i16 v5, v1, v2 op_sel:[1,1]
433 // CHECK: [0x05,0x58,0x82,0xd3,0x01,0x05,0x02,0x18]
435 v_pk_add_i16 v5, v1, v2 op_sel_hi:[1,1]
436 // CHECK: [0x05,0x40,0x82,0xd3,0x01,0x05,0x02,0x18]
438 v_pk_add_i16 v5, v1, v2 op_sel_hi:[0,0]
439 // CHECK: [0x05,0x40,0x82,0xd3,0x01,0x05,0x02,0x00]
441 v_pk_add_i16 v5, v1, v2 op_sel_hi:[1,0]
442 // CHECK: [0x05,0x40,0x82,0xd3,0x01,0x05,0x02,0x08]
444 v_pk_add_i16 v5, v1, v2 op_sel_hi:[0,1]
445 // CHECK: [0x05,0x40,0x82,0xd3,0x01,0x05,0x02,0x10]
447 v_pk_add_i16 v5, v1, v2 clamp
448 // CHECK: [0x05,0xc0,0x82,0xd3,0x01,0x05,0x02,0x18]
450 v_pk_sub_i16 v5, v1, v2
451 // CHECK: [0x05,0x40,0x83,0xd3,0x01,0x05,0x02,0x18]
453 v_pk_sub_i16 v255, v1, v2
454 // CHECK: [0xff,0x40,0x83,0xd3,0x01,0x05,0x02,0x18]
456 v_pk_sub_i16 v5, v255, v2
457 // CHECK: [0x05,0x40,0x83,0xd3,0xff,0x05,0x02,0x18]
459 v_pk_sub_i16 v5, s1, v2
460 // CHECK: [0x05,0x40,0x83,0xd3,0x01,0x04,0x02,0x18]
462 v_pk_sub_i16 v5, s101, v2
463 // CHECK: [0x05,0x40,0x83,0xd3,0x65,0x04,0x02,0x18]
465 v_pk_sub_i16 v5, flat_scratch_lo, v2
466 // CHECK: [0x05,0x40,0x83,0xd3,0x66,0x04,0x02,0x18]
468 v_pk_sub_i16 v5, flat_scratch_hi, v2
469 // CHECK: [0x05,0x40,0x83,0xd3,0x67,0x04,0x02,0x18]
471 v_pk_sub_i16 v5, vcc_lo, v2
472 // CHECK: [0x05,0x40,0x83,0xd3,0x6a,0x04,0x02,0x18]
474 v_pk_sub_i16 v5, vcc_hi, v2
475 // CHECK: [0x05,0x40,0x83,0xd3,0x6b,0x04,0x02,0x18]
477 v_pk_sub_i16 v5, ttmp15, v2
478 // CHECK: [0x05,0x40,0x83,0xd3,0x7b,0x04,0x02,0x18]
480 v_pk_sub_i16 v5, m0, v2
481 // CHECK: [0x05,0x40,0x83,0xd3,0x7c,0x04,0x02,0x18]
483 v_pk_sub_i16 v5, exec_lo, v2
484 // CHECK: [0x05,0x40,0x83,0xd3,0x7e,0x04,0x02,0x18]
486 v_pk_sub_i16 v5, exec_hi, v2
487 // CHECK: [0x05,0x40,0x83,0xd3,0x7f,0x04,0x02,0x18]
489 v_pk_sub_i16 v5, 0, v2
490 // CHECK: [0x05,0x40,0x83,0xd3,0x80,0x04,0x02,0x18]
492 v_pk_sub_i16 v5, -1, v2
493 // CHECK: [0x05,0x40,0x83,0xd3,0xc1,0x04,0x02,0x18]
495 v_pk_sub_i16 v5, src_vccz, v2
496 // CHECK: [0x05,0x40,0x83,0xd3,0xfb,0x04,0x02,0x18]
498 v_pk_sub_i16 v5, src_execz, v2
499 // CHECK: [0x05,0x40,0x83,0xd3,0xfc,0x04,0x02,0x18]
501 v_pk_sub_i16 v5, src_scc, v2
502 // CHECK: [0x05,0x40,0x83,0xd3,0xfd,0x04,0x02,0x18]
504 v_pk_sub_i16 v5, src_lds_direct, v2
505 // CHECK: [0x05,0x40,0x83,0xd3,0xfe,0x04,0x02,0x18]
507 v_pk_sub_i16 v5, v1, v255
508 // CHECK: [0x05,0x40,0x83,0xd3,0x01,0xff,0x03,0x18]
510 v_pk_sub_i16 v5, v1, s2
511 // CHECK: [0x05,0x40,0x83,0xd3,0x01,0x05,0x00,0x18]
513 v_pk_sub_i16 v5, v1, s101
514 // CHECK: [0x05,0x40,0x83,0xd3,0x01,0xcb,0x00,0x18]
516 v_pk_sub_i16 v5, v1, flat_scratch_lo
517 // CHECK: [0x05,0x40,0x83,0xd3,0x01,0xcd,0x00,0x18]
519 v_pk_sub_i16 v5, v1, flat_scratch_hi
520 // CHECK: [0x05,0x40,0x83,0xd3,0x01,0xcf,0x00,0x18]
522 v_pk_sub_i16 v5, v1, vcc_lo
523 // CHECK: [0x05,0x40,0x83,0xd3,0x01,0xd5,0x00,0x18]
525 v_pk_sub_i16 v5, v1, vcc_hi
526 // CHECK: [0x05,0x40,0x83,0xd3,0x01,0xd7,0x00,0x18]
528 v_pk_sub_i16 v5, v1, ttmp15
529 // CHECK: [0x05,0x40,0x83,0xd3,0x01,0xf7,0x00,0x18]
531 v_pk_sub_i16 v5, v1, m0
532 // CHECK: [0x05,0x40,0x83,0xd3,0x01,0xf9,0x00,0x18]
534 v_pk_sub_i16 v5, v1, exec_lo
535 // CHECK: [0x05,0x40,0x83,0xd3,0x01,0xfd,0x00,0x18]
537 v_pk_sub_i16 v5, v1, exec_hi
538 // CHECK: [0x05,0x40,0x83,0xd3,0x01,0xff,0x00,0x18]
540 v_pk_sub_i16 v5, v1, 0
541 // CHECK: [0x05,0x40,0x83,0xd3,0x01,0x01,0x01,0x18]
543 v_pk_sub_i16 v5, v1, -1
544 // CHECK: [0x05,0x40,0x83,0xd3,0x01,0x83,0x01,0x18]
546 v_pk_sub_i16 v5, v1, src_vccz
547 // CHECK: [0x05,0x40,0x83,0xd3,0x01,0xf7,0x01,0x18]
549 v_pk_sub_i16 v5, v1, src_execz
550 // CHECK: [0x05,0x40,0x83,0xd3,0x01,0xf9,0x01,0x18]
552 v_pk_sub_i16 v5, v1, src_scc
553 // CHECK: [0x05,0x40,0x83,0xd3,0x01,0xfb,0x01,0x18]
555 v_pk_sub_i16 v5, v1, v2 op_sel:[0,0]
556 // CHECK: [0x05,0x40,0x83,0xd3,0x01,0x05,0x02,0x18]
558 v_pk_sub_i16 v5, v1, v2 op_sel:[1,0]
559 // CHECK: [0x05,0x48,0x83,0xd3,0x01,0x05,0x02,0x18]
561 v_pk_sub_i16 v5, v1, v2 op_sel:[0,1]
562 // CHECK: [0x05,0x50,0x83,0xd3,0x01,0x05,0x02,0x18]
564 v_pk_sub_i16 v5, v1, v2 op_sel:[1,1]
565 // CHECK: [0x05,0x58,0x83,0xd3,0x01,0x05,0x02,0x18]
567 v_pk_sub_i16 v5, v1, v2 op_sel_hi:[1,1]
568 // CHECK: [0x05,0x40,0x83,0xd3,0x01,0x05,0x02,0x18]
570 v_pk_sub_i16 v5, v1, v2 op_sel_hi:[0,0]
571 // CHECK: [0x05,0x40,0x83,0xd3,0x01,0x05,0x02,0x00]
573 v_pk_sub_i16 v5, v1, v2 op_sel_hi:[1,0]
574 // CHECK: [0x05,0x40,0x83,0xd3,0x01,0x05,0x02,0x08]
576 v_pk_sub_i16 v5, v1, v2 op_sel_hi:[0,1]
577 // CHECK: [0x05,0x40,0x83,0xd3,0x01,0x05,0x02,0x10]
579 v_pk_sub_i16 v5, v1, v2 clamp
580 // CHECK: [0x05,0xc0,0x83,0xd3,0x01,0x05,0x02,0x18]
582 v_pk_lshlrev_b16 v5, v1, v2
583 // CHECK: [0x05,0x40,0x84,0xd3,0x01,0x05,0x02,0x18]
585 v_pk_lshlrev_b16 v255, v1, v2
586 // CHECK: [0xff,0x40,0x84,0xd3,0x01,0x05,0x02,0x18]
588 v_pk_lshlrev_b16 v5, v255, v2
589 // CHECK: [0x05,0x40,0x84,0xd3,0xff,0x05,0x02,0x18]
591 v_pk_lshlrev_b16 v5, s1, v2
592 // CHECK: [0x05,0x40,0x84,0xd3,0x01,0x04,0x02,0x18]
594 v_pk_lshlrev_b16 v5, s101, v2
595 // CHECK: [0x05,0x40,0x84,0xd3,0x65,0x04,0x02,0x18]
597 v_pk_lshlrev_b16 v5, flat_scratch_lo, v2
598 // CHECK: [0x05,0x40,0x84,0xd3,0x66,0x04,0x02,0x18]
600 v_pk_lshlrev_b16 v5, flat_scratch_hi, v2
601 // CHECK: [0x05,0x40,0x84,0xd3,0x67,0x04,0x02,0x18]
603 v_pk_lshlrev_b16 v5, vcc_lo, v2
604 // CHECK: [0x05,0x40,0x84,0xd3,0x6a,0x04,0x02,0x18]
606 v_pk_lshlrev_b16 v5, vcc_hi, v2
607 // CHECK: [0x05,0x40,0x84,0xd3,0x6b,0x04,0x02,0x18]
609 v_pk_lshlrev_b16 v5, ttmp15, v2
610 // CHECK: [0x05,0x40,0x84,0xd3,0x7b,0x04,0x02,0x18]
612 v_pk_lshlrev_b16 v5, m0, v2
613 // CHECK: [0x05,0x40,0x84,0xd3,0x7c,0x04,0x02,0x18]
615 v_pk_lshlrev_b16 v5, exec_lo, v2
616 // CHECK: [0x05,0x40,0x84,0xd3,0x7e,0x04,0x02,0x18]
618 v_pk_lshlrev_b16 v5, exec_hi, v2
619 // CHECK: [0x05,0x40,0x84,0xd3,0x7f,0x04,0x02,0x18]
621 v_pk_lshlrev_b16 v5, 0, v2
622 // CHECK: [0x05,0x40,0x84,0xd3,0x80,0x04,0x02,0x18]
624 v_pk_lshlrev_b16 v5, -1, v2
625 // CHECK: [0x05,0x40,0x84,0xd3,0xc1,0x04,0x02,0x18]
627 v_pk_lshlrev_b16 v5, src_vccz, v2
628 // CHECK: [0x05,0x40,0x84,0xd3,0xfb,0x04,0x02,0x18]
630 v_pk_lshlrev_b16 v5, src_execz, v2
631 // CHECK: [0x05,0x40,0x84,0xd3,0xfc,0x04,0x02,0x18]
633 v_pk_lshlrev_b16 v5, src_scc, v2
634 // CHECK: [0x05,0x40,0x84,0xd3,0xfd,0x04,0x02,0x18]
636 v_pk_lshlrev_b16 v5, v1, v255
637 // CHECK: [0x05,0x40,0x84,0xd3,0x01,0xff,0x03,0x18]
639 v_pk_lshlrev_b16 v5, v1, s2
640 // CHECK: [0x05,0x40,0x84,0xd3,0x01,0x05,0x00,0x18]
642 v_pk_lshlrev_b16 v5, v1, s101
643 // CHECK: [0x05,0x40,0x84,0xd3,0x01,0xcb,0x00,0x18]
645 v_pk_lshlrev_b16 v5, v1, flat_scratch_lo
646 // CHECK: [0x05,0x40,0x84,0xd3,0x01,0xcd,0x00,0x18]
648 v_pk_lshlrev_b16 v5, v1, flat_scratch_hi
649 // CHECK: [0x05,0x40,0x84,0xd3,0x01,0xcf,0x00,0x18]
651 v_pk_lshlrev_b16 v5, v1, vcc_lo
652 // CHECK: [0x05,0x40,0x84,0xd3,0x01,0xd5,0x00,0x18]
654 v_pk_lshlrev_b16 v5, v1, vcc_hi
655 // CHECK: [0x05,0x40,0x84,0xd3,0x01,0xd7,0x00,0x18]
657 v_pk_lshlrev_b16 v5, v1, ttmp15
658 // CHECK: [0x05,0x40,0x84,0xd3,0x01,0xf7,0x00,0x18]
660 v_pk_lshlrev_b16 v5, v1, m0
661 // CHECK: [0x05,0x40,0x84,0xd3,0x01,0xf9,0x00,0x18]
663 v_pk_lshlrev_b16 v5, v1, exec_lo
664 // CHECK: [0x05,0x40,0x84,0xd3,0x01,0xfd,0x00,0x18]
666 v_pk_lshlrev_b16 v5, v1, exec_hi
667 // CHECK: [0x05,0x40,0x84,0xd3,0x01,0xff,0x00,0x18]
669 v_pk_lshlrev_b16 v5, v1, 0
670 // CHECK: [0x05,0x40,0x84,0xd3,0x01,0x01,0x01,0x18]
672 v_pk_lshlrev_b16 v5, v1, -1
673 // CHECK: [0x05,0x40,0x84,0xd3,0x01,0x83,0x01,0x18]
675 v_pk_lshlrev_b16 v5, v1, src_vccz
676 // CHECK: [0x05,0x40,0x84,0xd3,0x01,0xf7,0x01,0x18]
678 v_pk_lshlrev_b16 v5, v1, src_execz
679 // CHECK: [0x05,0x40,0x84,0xd3,0x01,0xf9,0x01,0x18]
681 v_pk_lshlrev_b16 v5, v1, src_scc
682 // CHECK: [0x05,0x40,0x84,0xd3,0x01,0xfb,0x01,0x18]
684 v_pk_lshlrev_b16 v5, v1, v2 op_sel:[0,0]
685 // CHECK: [0x05,0x40,0x84,0xd3,0x01,0x05,0x02,0x18]
687 v_pk_lshlrev_b16 v5, v1, v2 op_sel:[1,0]
688 // CHECK: [0x05,0x48,0x84,0xd3,0x01,0x05,0x02,0x18]
690 v_pk_lshlrev_b16 v5, v1, v2 op_sel:[0,1]
691 // CHECK: [0x05,0x50,0x84,0xd3,0x01,0x05,0x02,0x18]
693 v_pk_lshlrev_b16 v5, v1, v2 op_sel:[1,1]
694 // CHECK: [0x05,0x58,0x84,0xd3,0x01,0x05,0x02,0x18]
696 v_pk_lshlrev_b16 v5, v1, v2 op_sel_hi:[1,1]
697 // CHECK: [0x05,0x40,0x84,0xd3,0x01,0x05,0x02,0x18]
699 v_pk_lshlrev_b16 v5, v1, v2 op_sel_hi:[0,0]
700 // CHECK: [0x05,0x40,0x84,0xd3,0x01,0x05,0x02,0x00]
702 v_pk_lshlrev_b16 v5, v1, v2 op_sel_hi:[1,0]
703 // CHECK: [0x05,0x40,0x84,0xd3,0x01,0x05,0x02,0x08]
705 v_pk_lshlrev_b16 v5, v1, v2 op_sel_hi:[0,1]
706 // CHECK: [0x05,0x40,0x84,0xd3,0x01,0x05,0x02,0x10]
708 v_pk_lshrrev_b16 v5, v1, v2
709 // CHECK: [0x05,0x40,0x85,0xd3,0x01,0x05,0x02,0x18]
711 v_pk_lshrrev_b16 v255, v1, v2
712 // CHECK: [0xff,0x40,0x85,0xd3,0x01,0x05,0x02,0x18]
714 v_pk_lshrrev_b16 v5, v255, v2
715 // CHECK: [0x05,0x40,0x85,0xd3,0xff,0x05,0x02,0x18]
717 v_pk_lshrrev_b16 v5, s1, v2
718 // CHECK: [0x05,0x40,0x85,0xd3,0x01,0x04,0x02,0x18]
720 v_pk_lshrrev_b16 v5, s101, v2
721 // CHECK: [0x05,0x40,0x85,0xd3,0x65,0x04,0x02,0x18]
723 v_pk_lshrrev_b16 v5, flat_scratch_lo, v2
724 // CHECK: [0x05,0x40,0x85,0xd3,0x66,0x04,0x02,0x18]
726 v_pk_lshrrev_b16 v5, flat_scratch_hi, v2
727 // CHECK: [0x05,0x40,0x85,0xd3,0x67,0x04,0x02,0x18]
729 v_pk_lshrrev_b16 v5, vcc_lo, v2
730 // CHECK: [0x05,0x40,0x85,0xd3,0x6a,0x04,0x02,0x18]
732 v_pk_lshrrev_b16 v5, vcc_hi, v2
733 // CHECK: [0x05,0x40,0x85,0xd3,0x6b,0x04,0x02,0x18]
735 v_pk_lshrrev_b16 v5, ttmp15, v2
736 // CHECK: [0x05,0x40,0x85,0xd3,0x7b,0x04,0x02,0x18]
738 v_pk_lshrrev_b16 v5, m0, v2
739 // CHECK: [0x05,0x40,0x85,0xd3,0x7c,0x04,0x02,0x18]
741 v_pk_lshrrev_b16 v5, exec_lo, v2
742 // CHECK: [0x05,0x40,0x85,0xd3,0x7e,0x04,0x02,0x18]
744 v_pk_lshrrev_b16 v5, exec_hi, v2
745 // CHECK: [0x05,0x40,0x85,0xd3,0x7f,0x04,0x02,0x18]
747 v_pk_lshrrev_b16 v5, 0, v2
748 // CHECK: [0x05,0x40,0x85,0xd3,0x80,0x04,0x02,0x18]
750 v_pk_lshrrev_b16 v5, -1, v2
751 // CHECK: [0x05,0x40,0x85,0xd3,0xc1,0x04,0x02,0x18]
753 v_pk_lshrrev_b16 v5, src_vccz, v2
754 // CHECK: [0x05,0x40,0x85,0xd3,0xfb,0x04,0x02,0x18]
756 v_pk_lshrrev_b16 v5, src_execz, v2
757 // CHECK: [0x05,0x40,0x85,0xd3,0xfc,0x04,0x02,0x18]
759 v_pk_lshrrev_b16 v5, src_scc, v2
760 // CHECK: [0x05,0x40,0x85,0xd3,0xfd,0x04,0x02,0x18]
762 v_pk_lshrrev_b16 v5, v1, v255
763 // CHECK: [0x05,0x40,0x85,0xd3,0x01,0xff,0x03,0x18]
765 v_pk_lshrrev_b16 v5, v1, s2
766 // CHECK: [0x05,0x40,0x85,0xd3,0x01,0x05,0x00,0x18]
768 v_pk_lshrrev_b16 v5, v1, s101
769 // CHECK: [0x05,0x40,0x85,0xd3,0x01,0xcb,0x00,0x18]
771 v_pk_lshrrev_b16 v5, v1, flat_scratch_lo
772 // CHECK: [0x05,0x40,0x85,0xd3,0x01,0xcd,0x00,0x18]
774 v_pk_lshrrev_b16 v5, v1, flat_scratch_hi
775 // CHECK: [0x05,0x40,0x85,0xd3,0x01,0xcf,0x00,0x18]
777 v_pk_lshrrev_b16 v5, v1, vcc_lo
778 // CHECK: [0x05,0x40,0x85,0xd3,0x01,0xd5,0x00,0x18]
780 v_pk_lshrrev_b16 v5, v1, vcc_hi
781 // CHECK: [0x05,0x40,0x85,0xd3,0x01,0xd7,0x00,0x18]
783 v_pk_lshrrev_b16 v5, v1, ttmp15
784 // CHECK: [0x05,0x40,0x85,0xd3,0x01,0xf7,0x00,0x18]
786 v_pk_lshrrev_b16 v5, v1, m0
787 // CHECK: [0x05,0x40,0x85,0xd3,0x01,0xf9,0x00,0x18]
789 v_pk_lshrrev_b16 v5, v1, exec_lo
790 // CHECK: [0x05,0x40,0x85,0xd3,0x01,0xfd,0x00,0x18]
792 v_pk_lshrrev_b16 v5, v1, exec_hi
793 // CHECK: [0x05,0x40,0x85,0xd3,0x01,0xff,0x00,0x18]
795 v_pk_lshrrev_b16 v5, v1, 0
796 // CHECK: [0x05,0x40,0x85,0xd3,0x01,0x01,0x01,0x18]
798 v_pk_lshrrev_b16 v5, v1, -1
799 // CHECK: [0x05,0x40,0x85,0xd3,0x01,0x83,0x01,0x18]
801 v_pk_lshrrev_b16 v5, v1, src_vccz
802 // CHECK: [0x05,0x40,0x85,0xd3,0x01,0xf7,0x01,0x18]
804 v_pk_lshrrev_b16 v5, v1, src_execz
805 // CHECK: [0x05,0x40,0x85,0xd3,0x01,0xf9,0x01,0x18]
807 v_pk_lshrrev_b16 v5, v1, src_scc
808 // CHECK: [0x05,0x40,0x85,0xd3,0x01,0xfb,0x01,0x18]
810 v_pk_lshrrev_b16 v5, v1, v2 op_sel:[0,0]
811 // CHECK: [0x05,0x40,0x85,0xd3,0x01,0x05,0x02,0x18]
813 v_pk_lshrrev_b16 v5, v1, v2 op_sel:[1,0]
814 // CHECK: [0x05,0x48,0x85,0xd3,0x01,0x05,0x02,0x18]
816 v_pk_lshrrev_b16 v5, v1, v2 op_sel:[0,1]
817 // CHECK: [0x05,0x50,0x85,0xd3,0x01,0x05,0x02,0x18]
819 v_pk_lshrrev_b16 v5, v1, v2 op_sel:[1,1]
820 // CHECK: [0x05,0x58,0x85,0xd3,0x01,0x05,0x02,0x18]
822 v_pk_lshrrev_b16 v5, v1, v2 op_sel_hi:[1,1]
823 // CHECK: [0x05,0x40,0x85,0xd3,0x01,0x05,0x02,0x18]
825 v_pk_lshrrev_b16 v5, v1, v2 op_sel_hi:[0,0]
826 // CHECK: [0x05,0x40,0x85,0xd3,0x01,0x05,0x02,0x00]
828 v_pk_lshrrev_b16 v5, v1, v2 op_sel_hi:[1,0]
829 // CHECK: [0x05,0x40,0x85,0xd3,0x01,0x05,0x02,0x08]
831 v_pk_lshrrev_b16 v5, v1, v2 op_sel_hi:[0,1]
832 // CHECK: [0x05,0x40,0x85,0xd3,0x01,0x05,0x02,0x10]
834 v_pk_ashrrev_i16 v5, v1, v2
835 // CHECK: [0x05,0x40,0x86,0xd3,0x01,0x05,0x02,0x18]
837 v_pk_ashrrev_i16 v255, v1, v2
838 // CHECK: [0xff,0x40,0x86,0xd3,0x01,0x05,0x02,0x18]
840 v_pk_ashrrev_i16 v5, v255, v2
841 // CHECK: [0x05,0x40,0x86,0xd3,0xff,0x05,0x02,0x18]
843 v_pk_ashrrev_i16 v5, s1, v2
844 // CHECK: [0x05,0x40,0x86,0xd3,0x01,0x04,0x02,0x18]
846 v_pk_ashrrev_i16 v5, s101, v2
847 // CHECK: [0x05,0x40,0x86,0xd3,0x65,0x04,0x02,0x18]
849 v_pk_ashrrev_i16 v5, flat_scratch_lo, v2
850 // CHECK: [0x05,0x40,0x86,0xd3,0x66,0x04,0x02,0x18]
852 v_pk_ashrrev_i16 v5, flat_scratch_hi, v2
853 // CHECK: [0x05,0x40,0x86,0xd3,0x67,0x04,0x02,0x18]
855 v_pk_ashrrev_i16 v5, vcc_lo, v2
856 // CHECK: [0x05,0x40,0x86,0xd3,0x6a,0x04,0x02,0x18]
858 v_pk_ashrrev_i16 v5, vcc_hi, v2
859 // CHECK: [0x05,0x40,0x86,0xd3,0x6b,0x04,0x02,0x18]
861 v_pk_ashrrev_i16 v5, ttmp15, v2
862 // CHECK: [0x05,0x40,0x86,0xd3,0x7b,0x04,0x02,0x18]
864 v_pk_ashrrev_i16 v5, m0, v2
865 // CHECK: [0x05,0x40,0x86,0xd3,0x7c,0x04,0x02,0x18]
867 v_pk_ashrrev_i16 v5, exec_lo, v2
868 // CHECK: [0x05,0x40,0x86,0xd3,0x7e,0x04,0x02,0x18]
870 v_pk_ashrrev_i16 v5, exec_hi, v2
871 // CHECK: [0x05,0x40,0x86,0xd3,0x7f,0x04,0x02,0x18]
873 v_pk_ashrrev_i16 v5, 0, v2
874 // CHECK: [0x05,0x40,0x86,0xd3,0x80,0x04,0x02,0x18]
876 v_pk_ashrrev_i16 v5, -1, v2
877 // CHECK: [0x05,0x40,0x86,0xd3,0xc1,0x04,0x02,0x18]
879 v_pk_ashrrev_i16 v5, src_vccz, v2
880 // CHECK: [0x05,0x40,0x86,0xd3,0xfb,0x04,0x02,0x18]
882 v_pk_ashrrev_i16 v5, src_execz, v2
883 // CHECK: [0x05,0x40,0x86,0xd3,0xfc,0x04,0x02,0x18]
885 v_pk_ashrrev_i16 v5, src_scc, v2
886 // CHECK: [0x05,0x40,0x86,0xd3,0xfd,0x04,0x02,0x18]
888 v_pk_ashrrev_i16 v5, v1, v255
889 // CHECK: [0x05,0x40,0x86,0xd3,0x01,0xff,0x03,0x18]
891 v_pk_ashrrev_i16 v5, v1, s2
892 // CHECK: [0x05,0x40,0x86,0xd3,0x01,0x05,0x00,0x18]
894 v_pk_ashrrev_i16 v5, v1, s101
895 // CHECK: [0x05,0x40,0x86,0xd3,0x01,0xcb,0x00,0x18]
897 v_pk_ashrrev_i16 v5, v1, flat_scratch_lo
898 // CHECK: [0x05,0x40,0x86,0xd3,0x01,0xcd,0x00,0x18]
900 v_pk_ashrrev_i16 v5, v1, flat_scratch_hi
901 // CHECK: [0x05,0x40,0x86,0xd3,0x01,0xcf,0x00,0x18]
903 v_pk_ashrrev_i16 v5, v1, vcc_lo
904 // CHECK: [0x05,0x40,0x86,0xd3,0x01,0xd5,0x00,0x18]
906 v_pk_ashrrev_i16 v5, v1, vcc_hi
907 // CHECK: [0x05,0x40,0x86,0xd3,0x01,0xd7,0x00,0x18]
909 v_pk_ashrrev_i16 v5, v1, ttmp15
910 // CHECK: [0x05,0x40,0x86,0xd3,0x01,0xf7,0x00,0x18]
912 v_pk_ashrrev_i16 v5, v1, m0
913 // CHECK: [0x05,0x40,0x86,0xd3,0x01,0xf9,0x00,0x18]
915 v_pk_ashrrev_i16 v5, v1, exec_lo
916 // CHECK: [0x05,0x40,0x86,0xd3,0x01,0xfd,0x00,0x18]
918 v_pk_ashrrev_i16 v5, v1, exec_hi
919 // CHECK: [0x05,0x40,0x86,0xd3,0x01,0xff,0x00,0x18]
921 v_pk_ashrrev_i16 v5, v1, 0
922 // CHECK: [0x05,0x40,0x86,0xd3,0x01,0x01,0x01,0x18]
924 v_pk_ashrrev_i16 v5, v1, -1
925 // CHECK: [0x05,0x40,0x86,0xd3,0x01,0x83,0x01,0x18]
927 v_pk_ashrrev_i16 v5, v1, src_vccz
928 // CHECK: [0x05,0x40,0x86,0xd3,0x01,0xf7,0x01,0x18]
930 v_pk_ashrrev_i16 v5, v1, src_execz
931 // CHECK: [0x05,0x40,0x86,0xd3,0x01,0xf9,0x01,0x18]
933 v_pk_ashrrev_i16 v5, v1, src_scc
934 // CHECK: [0x05,0x40,0x86,0xd3,0x01,0xfb,0x01,0x18]
936 v_pk_ashrrev_i16 v5, v1, v2 op_sel:[0,0]
937 // CHECK: [0x05,0x40,0x86,0xd3,0x01,0x05,0x02,0x18]
939 v_pk_ashrrev_i16 v5, v1, v2 op_sel:[1,0]
940 // CHECK: [0x05,0x48,0x86,0xd3,0x01,0x05,0x02,0x18]
942 v_pk_ashrrev_i16 v5, v1, v2 op_sel:[0,1]
943 // CHECK: [0x05,0x50,0x86,0xd3,0x01,0x05,0x02,0x18]
945 v_pk_ashrrev_i16 v5, v1, v2 op_sel:[1,1]
946 // CHECK: [0x05,0x58,0x86,0xd3,0x01,0x05,0x02,0x18]
948 v_pk_ashrrev_i16 v5, v1, v2 op_sel_hi:[1,1]
949 // CHECK: [0x05,0x40,0x86,0xd3,0x01,0x05,0x02,0x18]
951 v_pk_ashrrev_i16 v5, v1, v2 op_sel_hi:[0,0]
952 // CHECK: [0x05,0x40,0x86,0xd3,0x01,0x05,0x02,0x00]
954 v_pk_ashrrev_i16 v5, v1, v2 op_sel_hi:[1,0]
955 // CHECK: [0x05,0x40,0x86,0xd3,0x01,0x05,0x02,0x08]
957 v_pk_ashrrev_i16 v5, v1, v2 op_sel_hi:[0,1]
958 // CHECK: [0x05,0x40,0x86,0xd3,0x01,0x05,0x02,0x10]
960 v_pk_max_i16 v5, v1, v2
961 // CHECK: [0x05,0x40,0x87,0xd3,0x01,0x05,0x02,0x18]
963 v_pk_max_i16 v255, v1, v2
964 // CHECK: [0xff,0x40,0x87,0xd3,0x01,0x05,0x02,0x18]
966 v_pk_max_i16 v5, v255, v2
967 // CHECK: [0x05,0x40,0x87,0xd3,0xff,0x05,0x02,0x18]
969 v_pk_max_i16 v5, s1, v2
970 // CHECK: [0x05,0x40,0x87,0xd3,0x01,0x04,0x02,0x18]
972 v_pk_max_i16 v5, s101, v2
973 // CHECK: [0x05,0x40,0x87,0xd3,0x65,0x04,0x02,0x18]
975 v_pk_max_i16 v5, flat_scratch_lo, v2
976 // CHECK: [0x05,0x40,0x87,0xd3,0x66,0x04,0x02,0x18]
978 v_pk_max_i16 v5, flat_scratch_hi, v2
979 // CHECK: [0x05,0x40,0x87,0xd3,0x67,0x04,0x02,0x18]
981 v_pk_max_i16 v5, vcc_lo, v2
982 // CHECK: [0x05,0x40,0x87,0xd3,0x6a,0x04,0x02,0x18]
984 v_pk_max_i16 v5, vcc_hi, v2
985 // CHECK: [0x05,0x40,0x87,0xd3,0x6b,0x04,0x02,0x18]
987 v_pk_max_i16 v5, ttmp15, v2
988 // CHECK: [0x05,0x40,0x87,0xd3,0x7b,0x04,0x02,0x18]
990 v_pk_max_i16 v5, m0, v2
991 // CHECK: [0x05,0x40,0x87,0xd3,0x7c,0x04,0x02,0x18]
993 v_pk_max_i16 v5, exec_lo, v2
994 // CHECK: [0x05,0x40,0x87,0xd3,0x7e,0x04,0x02,0x18]
996 v_pk_max_i16 v5, exec_hi, v2
997 // CHECK: [0x05,0x40,0x87,0xd3,0x7f,0x04,0x02,0x18]
999 v_pk_max_i16 v5, 0, v2
1000 // CHECK: [0x05,0x40,0x87,0xd3,0x80,0x04,0x02,0x18]
1002 v_pk_max_i16 v5, -1, v2
1003 // CHECK: [0x05,0x40,0x87,0xd3,0xc1,0x04,0x02,0x18]
1005 v_pk_max_i16 v5, src_vccz, v2
1006 // CHECK: [0x05,0x40,0x87,0xd3,0xfb,0x04,0x02,0x18]
1008 v_pk_max_i16 v5, src_execz, v2
1009 // CHECK: [0x05,0x40,0x87,0xd3,0xfc,0x04,0x02,0x18]
1011 v_pk_max_i16 v5, src_scc, v2
1012 // CHECK: [0x05,0x40,0x87,0xd3,0xfd,0x04,0x02,0x18]
1014 v_pk_max_i16 v5, src_lds_direct, v2
1015 // CHECK: [0x05,0x40,0x87,0xd3,0xfe,0x04,0x02,0x18]
1017 v_pk_max_i16 v5, v1, v255
1018 // CHECK: [0x05,0x40,0x87,0xd3,0x01,0xff,0x03,0x18]
1020 v_pk_max_i16 v5, v1, s2
1021 // CHECK: [0x05,0x40,0x87,0xd3,0x01,0x05,0x00,0x18]
1023 v_pk_max_i16 v5, v1, s101
1024 // CHECK: [0x05,0x40,0x87,0xd3,0x01,0xcb,0x00,0x18]
1026 v_pk_max_i16 v5, v1, flat_scratch_lo
1027 // CHECK: [0x05,0x40,0x87,0xd3,0x01,0xcd,0x00,0x18]
1029 v_pk_max_i16 v5, v1, flat_scratch_hi
1030 // CHECK: [0x05,0x40,0x87,0xd3,0x01,0xcf,0x00,0x18]
1032 v_pk_max_i16 v5, v1, vcc_lo
1033 // CHECK: [0x05,0x40,0x87,0xd3,0x01,0xd5,0x00,0x18]
1035 v_pk_max_i16 v5, v1, vcc_hi
1036 // CHECK: [0x05,0x40,0x87,0xd3,0x01,0xd7,0x00,0x18]
1038 v_pk_max_i16 v5, v1, ttmp15
1039 // CHECK: [0x05,0x40,0x87,0xd3,0x01,0xf7,0x00,0x18]
1041 v_pk_max_i16 v5, v1, m0
1042 // CHECK: [0x05,0x40,0x87,0xd3,0x01,0xf9,0x00,0x18]
1044 v_pk_max_i16 v5, v1, exec_lo
1045 // CHECK: [0x05,0x40,0x87,0xd3,0x01,0xfd,0x00,0x18]
1047 v_pk_max_i16 v5, v1, exec_hi
1048 // CHECK: [0x05,0x40,0x87,0xd3,0x01,0xff,0x00,0x18]
1050 v_pk_max_i16 v5, v1, 0
1051 // CHECK: [0x05,0x40,0x87,0xd3,0x01,0x01,0x01,0x18]
1053 v_pk_max_i16 v5, v1, -1
1054 // CHECK: [0x05,0x40,0x87,0xd3,0x01,0x83,0x01,0x18]
1056 v_pk_max_i16 v5, v1, src_vccz
1057 // CHECK: [0x05,0x40,0x87,0xd3,0x01,0xf7,0x01,0x18]
1059 v_pk_max_i16 v5, v1, src_execz
1060 // CHECK: [0x05,0x40,0x87,0xd3,0x01,0xf9,0x01,0x18]
1062 v_pk_max_i16 v5, v1, src_scc
1063 // CHECK: [0x05,0x40,0x87,0xd3,0x01,0xfb,0x01,0x18]
1065 v_pk_max_i16 v5, v1, v2 op_sel:[0,0]
1066 // CHECK: [0x05,0x40,0x87,0xd3,0x01,0x05,0x02,0x18]
1068 v_pk_max_i16 v5, v1, v2 op_sel:[1,0]
1069 // CHECK: [0x05,0x48,0x87,0xd3,0x01,0x05,0x02,0x18]
1071 v_pk_max_i16 v5, v1, v2 op_sel:[0,1]
1072 // CHECK: [0x05,0x50,0x87,0xd3,0x01,0x05,0x02,0x18]
1074 v_pk_max_i16 v5, v1, v2 op_sel:[1,1]
1075 // CHECK: [0x05,0x58,0x87,0xd3,0x01,0x05,0x02,0x18]
1077 v_pk_max_i16 v5, v1, v2 op_sel_hi:[1,1]
1078 // CHECK: [0x05,0x40,0x87,0xd3,0x01,0x05,0x02,0x18]
1080 v_pk_max_i16 v5, v1, v2 op_sel_hi:[0,0]
1081 // CHECK: [0x05,0x40,0x87,0xd3,0x01,0x05,0x02,0x00]
1083 v_pk_max_i16 v5, v1, v2 op_sel_hi:[1,0]
1084 // CHECK: [0x05,0x40,0x87,0xd3,0x01,0x05,0x02,0x08]
1086 v_pk_max_i16 v5, v1, v2 op_sel_hi:[0,1]
1087 // CHECK: [0x05,0x40,0x87,0xd3,0x01,0x05,0x02,0x10]
1089 v_pk_min_i16 v5, v1, v2
1090 // CHECK: [0x05,0x40,0x88,0xd3,0x01,0x05,0x02,0x18]
1092 v_pk_min_i16 v255, v1, v2
1093 // CHECK: [0xff,0x40,0x88,0xd3,0x01,0x05,0x02,0x18]
1095 v_pk_min_i16 v5, v255, v2
1096 // CHECK: [0x05,0x40,0x88,0xd3,0xff,0x05,0x02,0x18]
1098 v_pk_min_i16 v5, s1, v2
1099 // CHECK: [0x05,0x40,0x88,0xd3,0x01,0x04,0x02,0x18]
1101 v_pk_min_i16 v5, s101, v2
1102 // CHECK: [0x05,0x40,0x88,0xd3,0x65,0x04,0x02,0x18]
1104 v_pk_min_i16 v5, flat_scratch_lo, v2
1105 // CHECK: [0x05,0x40,0x88,0xd3,0x66,0x04,0x02,0x18]
1107 v_pk_min_i16 v5, flat_scratch_hi, v2
1108 // CHECK: [0x05,0x40,0x88,0xd3,0x67,0x04,0x02,0x18]
1110 v_pk_min_i16 v5, vcc_lo, v2
1111 // CHECK: [0x05,0x40,0x88,0xd3,0x6a,0x04,0x02,0x18]
1113 v_pk_min_i16 v5, vcc_hi, v2
1114 // CHECK: [0x05,0x40,0x88,0xd3,0x6b,0x04,0x02,0x18]
1116 v_pk_min_i16 v5, ttmp15, v2
1117 // CHECK: [0x05,0x40,0x88,0xd3,0x7b,0x04,0x02,0x18]
1119 v_pk_min_i16 v5, m0, v2
1120 // CHECK: [0x05,0x40,0x88,0xd3,0x7c,0x04,0x02,0x18]
1122 v_pk_min_i16 v5, exec_lo, v2
1123 // CHECK: [0x05,0x40,0x88,0xd3,0x7e,0x04,0x02,0x18]
1125 v_pk_min_i16 v5, exec_hi, v2
1126 // CHECK: [0x05,0x40,0x88,0xd3,0x7f,0x04,0x02,0x18]
1128 v_pk_min_i16 v5, 0, v2
1129 // CHECK: [0x05,0x40,0x88,0xd3,0x80,0x04,0x02,0x18]
1131 v_pk_min_i16 v5, -1, v2
1132 // CHECK: [0x05,0x40,0x88,0xd3,0xc1,0x04,0x02,0x18]
1134 v_pk_min_i16 v5, src_vccz, v2
1135 // CHECK: [0x05,0x40,0x88,0xd3,0xfb,0x04,0x02,0x18]
1137 v_pk_min_i16 v5, src_execz, v2
1138 // CHECK: [0x05,0x40,0x88,0xd3,0xfc,0x04,0x02,0x18]
1140 v_pk_min_i16 v5, src_scc, v2
1141 // CHECK: [0x05,0x40,0x88,0xd3,0xfd,0x04,0x02,0x18]
1143 v_pk_min_i16 v5, src_lds_direct, v2
1144 // CHECK: [0x05,0x40,0x88,0xd3,0xfe,0x04,0x02,0x18]
1146 v_pk_min_i16 v5, v1, v255
1147 // CHECK: [0x05,0x40,0x88,0xd3,0x01,0xff,0x03,0x18]
1149 v_pk_min_i16 v5, v1, s2
1150 // CHECK: [0x05,0x40,0x88,0xd3,0x01,0x05,0x00,0x18]
1152 v_pk_min_i16 v5, v1, s101
1153 // CHECK: [0x05,0x40,0x88,0xd3,0x01,0xcb,0x00,0x18]
1155 v_pk_min_i16 v5, v1, flat_scratch_lo
1156 // CHECK: [0x05,0x40,0x88,0xd3,0x01,0xcd,0x00,0x18]
1158 v_pk_min_i16 v5, v1, flat_scratch_hi
1159 // CHECK: [0x05,0x40,0x88,0xd3,0x01,0xcf,0x00,0x18]
1161 v_pk_min_i16 v5, v1, vcc_lo
1162 // CHECK: [0x05,0x40,0x88,0xd3,0x01,0xd5,0x00,0x18]
1164 v_pk_min_i16 v5, v1, vcc_hi
1165 // CHECK: [0x05,0x40,0x88,0xd3,0x01,0xd7,0x00,0x18]
1167 v_pk_min_i16 v5, v1, ttmp15
1168 // CHECK: [0x05,0x40,0x88,0xd3,0x01,0xf7,0x00,0x18]
1170 v_pk_min_i16 v5, v1, m0
1171 // CHECK: [0x05,0x40,0x88,0xd3,0x01,0xf9,0x00,0x18]
1173 v_pk_min_i16 v5, v1, exec_lo
1174 // CHECK: [0x05,0x40,0x88,0xd3,0x01,0xfd,0x00,0x18]
1176 v_pk_min_i16 v5, v1, exec_hi
1177 // CHECK: [0x05,0x40,0x88,0xd3,0x01,0xff,0x00,0x18]
1179 v_pk_min_i16 v5, v1, 0
1180 // CHECK: [0x05,0x40,0x88,0xd3,0x01,0x01,0x01,0x18]
1182 v_pk_min_i16 v5, v1, -1
1183 // CHECK: [0x05,0x40,0x88,0xd3,0x01,0x83,0x01,0x18]
1185 v_pk_min_i16 v5, v1, src_vccz
1186 // CHECK: [0x05,0x40,0x88,0xd3,0x01,0xf7,0x01,0x18]
1188 v_pk_min_i16 v5, v1, src_execz
1189 // CHECK: [0x05,0x40,0x88,0xd3,0x01,0xf9,0x01,0x18]
1191 v_pk_min_i16 v5, v1, src_scc
1192 // CHECK: [0x05,0x40,0x88,0xd3,0x01,0xfb,0x01,0x18]
1194 v_pk_min_i16 v5, v1, v2 op_sel:[0,0]
1195 // CHECK: [0x05,0x40,0x88,0xd3,0x01,0x05,0x02,0x18]
1197 v_pk_min_i16 v5, v1, v2 op_sel:[1,0]
1198 // CHECK: [0x05,0x48,0x88,0xd3,0x01,0x05,0x02,0x18]
1200 v_pk_min_i16 v5, v1, v2 op_sel:[0,1]
1201 // CHECK: [0x05,0x50,0x88,0xd3,0x01,0x05,0x02,0x18]
1203 v_pk_min_i16 v5, v1, v2 op_sel:[1,1]
1204 // CHECK: [0x05,0x58,0x88,0xd3,0x01,0x05,0x02,0x18]
1206 v_pk_min_i16 v5, v1, v2 op_sel_hi:[1,1]
1207 // CHECK: [0x05,0x40,0x88,0xd3,0x01,0x05,0x02,0x18]
1209 v_pk_min_i16 v5, v1, v2 op_sel_hi:[0,0]
1210 // CHECK: [0x05,0x40,0x88,0xd3,0x01,0x05,0x02,0x00]
1212 v_pk_min_i16 v5, v1, v2 op_sel_hi:[1,0]
1213 // CHECK: [0x05,0x40,0x88,0xd3,0x01,0x05,0x02,0x08]
1215 v_pk_min_i16 v5, v1, v2 op_sel_hi:[0,1]
1216 // CHECK: [0x05,0x40,0x88,0xd3,0x01,0x05,0x02,0x10]
1218 v_pk_mad_u16 v5, v1, v2, v3
1219 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0x05,0x0e,0x1c]
1221 v_pk_mad_u16 v255, v1, v2, v3
1222 // CHECK: [0xff,0x40,0x89,0xd3,0x01,0x05,0x0e,0x1c]
1224 v_pk_mad_u16 v5, v255, v2, v3
1225 // CHECK: [0x05,0x40,0x89,0xd3,0xff,0x05,0x0e,0x1c]
1227 v_pk_mad_u16 v5, s1, v2, v3
1228 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0x04,0x0e,0x1c]
1230 v_pk_mad_u16 v5, s101, v2, v3
1231 // CHECK: [0x05,0x40,0x89,0xd3,0x65,0x04,0x0e,0x1c]
1233 v_pk_mad_u16 v5, flat_scratch_lo, v2, v3
1234 // CHECK: [0x05,0x40,0x89,0xd3,0x66,0x04,0x0e,0x1c]
1236 v_pk_mad_u16 v5, flat_scratch_hi, v2, v3
1237 // CHECK: [0x05,0x40,0x89,0xd3,0x67,0x04,0x0e,0x1c]
1239 v_pk_mad_u16 v5, vcc_lo, v2, v3
1240 // CHECK: [0x05,0x40,0x89,0xd3,0x6a,0x04,0x0e,0x1c]
1242 v_pk_mad_u16 v5, vcc_hi, v2, v3
1243 // CHECK: [0x05,0x40,0x89,0xd3,0x6b,0x04,0x0e,0x1c]
1245 v_pk_mad_u16 v5, ttmp15, v2, v3
1246 // CHECK: [0x05,0x40,0x89,0xd3,0x7b,0x04,0x0e,0x1c]
1248 v_pk_mad_u16 v5, m0, v2, v3
1249 // CHECK: [0x05,0x40,0x89,0xd3,0x7c,0x04,0x0e,0x1c]
1251 v_pk_mad_u16 v5, exec_lo, v2, v3
1252 // CHECK: [0x05,0x40,0x89,0xd3,0x7e,0x04,0x0e,0x1c]
1254 v_pk_mad_u16 v5, exec_hi, v2, v3
1255 // CHECK: [0x05,0x40,0x89,0xd3,0x7f,0x04,0x0e,0x1c]
1257 v_pk_mad_u16 v5, 0, v2, v3
1258 // CHECK: [0x05,0x40,0x89,0xd3,0x80,0x04,0x0e,0x1c]
1260 v_pk_mad_u16 v5, -1, v2, v3
1261 // CHECK: [0x05,0x40,0x89,0xd3,0xc1,0x04,0x0e,0x1c]
1263 v_pk_mad_u16 v5, src_vccz, v2, v3
1264 // CHECK: [0x05,0x40,0x89,0xd3,0xfb,0x04,0x0e,0x1c]
1266 v_pk_mad_u16 v5, src_execz, v2, v3
1267 // CHECK: [0x05,0x40,0x89,0xd3,0xfc,0x04,0x0e,0x1c]
1269 v_pk_mad_u16 v5, src_scc, v2, v3
1270 // CHECK: [0x05,0x40,0x89,0xd3,0xfd,0x04,0x0e,0x1c]
1272 v_pk_mad_u16 v5, src_lds_direct, v2, v3
1273 // CHECK: [0x05,0x40,0x89,0xd3,0xfe,0x04,0x0e,0x1c]
1275 v_pk_mad_u16 v5, v1, v255, v3
1276 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0xff,0x0f,0x1c]
1278 v_pk_mad_u16 v5, v1, s2, v3
1279 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0x05,0x0c,0x1c]
1281 v_pk_mad_u16 v5, v1, s101, v3
1282 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0xcb,0x0c,0x1c]
1284 v_pk_mad_u16 v5, v1, flat_scratch_lo, v3
1285 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0xcd,0x0c,0x1c]
1287 v_pk_mad_u16 v5, v1, flat_scratch_hi, v3
1288 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0xcf,0x0c,0x1c]
1290 v_pk_mad_u16 v5, v1, vcc_lo, v3
1291 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0xd5,0x0c,0x1c]
1293 v_pk_mad_u16 v5, v1, vcc_hi, v3
1294 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0xd7,0x0c,0x1c]
1296 v_pk_mad_u16 v5, v1, ttmp15, v3
1297 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0xf7,0x0c,0x1c]
1299 v_pk_mad_u16 v5, v1, m0, v3
1300 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0xf9,0x0c,0x1c]
1302 v_pk_mad_u16 v5, v1, exec_lo, v3
1303 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0xfd,0x0c,0x1c]
1305 v_pk_mad_u16 v5, v1, exec_hi, v3
1306 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0xff,0x0c,0x1c]
1308 v_pk_mad_u16 v5, v1, 0, v3
1309 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0x01,0x0d,0x1c]
1311 v_pk_mad_u16 v5, v1, -1, v3
1312 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0x83,0x0d,0x1c]
1314 v_pk_mad_u16 v5, v1, src_vccz, v3
1315 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0xf7,0x0d,0x1c]
1317 v_pk_mad_u16 v5, v1, src_execz, v3
1318 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0xf9,0x0d,0x1c]
1320 v_pk_mad_u16 v5, v1, src_scc, v3
1321 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0xfb,0x0d,0x1c]
1323 v_pk_mad_u16 v5, v1, v2, v255
1324 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0x05,0xfe,0x1f]
1326 v_pk_mad_u16 v5, v1, v2, s3
1327 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0x05,0x0e,0x18]
1329 v_pk_mad_u16 v5, v1, v2, s101
1330 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0x05,0x96,0x19]
1332 v_pk_mad_u16 v5, v1, v2, flat_scratch_lo
1333 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0x05,0x9a,0x19]
1335 v_pk_mad_u16 v5, v1, v2, flat_scratch_hi
1336 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0x05,0x9e,0x19]
1338 v_pk_mad_u16 v5, v1, v2, vcc_lo
1339 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0x05,0xaa,0x19]
1341 v_pk_mad_u16 v5, v1, v2, vcc_hi
1342 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0x05,0xae,0x19]
1344 v_pk_mad_u16 v5, v1, v2, ttmp15
1345 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0x05,0xee,0x19]
1347 v_pk_mad_u16 v5, v1, v2, m0
1348 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0x05,0xf2,0x19]
1350 v_pk_mad_u16 v5, v1, v2, exec_lo
1351 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0x05,0xfa,0x19]
1353 v_pk_mad_u16 v5, v1, v2, exec_hi
1354 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0x05,0xfe,0x19]
1356 v_pk_mad_u16 v5, v1, v2, 0
1357 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0x05,0x02,0x1a]
1359 v_pk_mad_u16 v5, v1, v2, -1
1360 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0x05,0x06,0x1b]
1362 v_pk_mad_u16 v5, v1, v2, src_vccz
1363 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0x05,0xee,0x1b]
1365 v_pk_mad_u16 v5, v1, v2, src_execz
1366 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0x05,0xf2,0x1b]
1368 v_pk_mad_u16 v5, v1, v2, src_scc
1369 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0x05,0xf6,0x1b]
1371 v_pk_mad_u16 v5, v1, v2, v3 op_sel:[0,0,0]
1372 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0x05,0x0e,0x1c]
1374 v_pk_mad_u16 v5, v1, v2, v3 op_sel:[1,0,0]
1375 // CHECK: [0x05,0x48,0x89,0xd3,0x01,0x05,0x0e,0x1c]
1377 v_pk_mad_u16 v5, v1, v2, v3 op_sel:[0,1,0]
1378 // CHECK: [0x05,0x50,0x89,0xd3,0x01,0x05,0x0e,0x1c]
1380 v_pk_mad_u16 v5, v1, v2, v3 op_sel:[0,0,1]
1381 // CHECK: [0x05,0x60,0x89,0xd3,0x01,0x05,0x0e,0x1c]
1383 v_pk_mad_u16 v5, v1, v2, v3 op_sel:[1,1,1]
1384 // CHECK: [0x05,0x78,0x89,0xd3,0x01,0x05,0x0e,0x1c]
1386 v_pk_mad_u16 v5, v1, v2, v3 op_sel_hi:[1,1,1]
1387 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0x05,0x0e,0x1c]
1389 v_pk_mad_u16 v5, v1, v2, v3 op_sel_hi:[0,0,0]
1390 // CHECK: [0x05,0x00,0x89,0xd3,0x01,0x05,0x0e,0x04]
1392 v_pk_mad_u16 v5, v1, v2, v3 op_sel_hi:[1,0,0]
1393 // CHECK: [0x05,0x00,0x89,0xd3,0x01,0x05,0x0e,0x0c]
1395 v_pk_mad_u16 v5, v1, v2, v3 op_sel_hi:[0,1,0]
1396 // CHECK: [0x05,0x00,0x89,0xd3,0x01,0x05,0x0e,0x14]
1398 v_pk_mad_u16 v5, v1, v2, v3 op_sel_hi:[0,0,1]
1399 // CHECK: [0x05,0x40,0x89,0xd3,0x01,0x05,0x0e,0x04]
1401 v_pk_mad_u16 v5, v1, v2, v3 clamp
1402 // CHECK: [0x05,0xc0,0x89,0xd3,0x01,0x05,0x0e,0x1c]
1404 v_pk_add_u16 v5, v1, v2
1405 // CHECK: [0x05,0x40,0x8a,0xd3,0x01,0x05,0x02,0x18]
1407 v_pk_add_u16 v255, v1, v2
1408 // CHECK: [0xff,0x40,0x8a,0xd3,0x01,0x05,0x02,0x18]
1410 v_pk_add_u16 v5, v255, v2
1411 // CHECK: [0x05,0x40,0x8a,0xd3,0xff,0x05,0x02,0x18]
1413 v_pk_add_u16 v5, s1, v2
1414 // CHECK: [0x05,0x40,0x8a,0xd3,0x01,0x04,0x02,0x18]
1416 v_pk_add_u16 v5, s101, v2
1417 // CHECK: [0x05,0x40,0x8a,0xd3,0x65,0x04,0x02,0x18]
1419 v_pk_add_u16 v5, flat_scratch_lo, v2
1420 // CHECK: [0x05,0x40,0x8a,0xd3,0x66,0x04,0x02,0x18]
1422 v_pk_add_u16 v5, flat_scratch_hi, v2
1423 // CHECK: [0x05,0x40,0x8a,0xd3,0x67,0x04,0x02,0x18]
1425 v_pk_add_u16 v5, vcc_lo, v2
1426 // CHECK: [0x05,0x40,0x8a,0xd3,0x6a,0x04,0x02,0x18]
1428 v_pk_add_u16 v5, vcc_hi, v2
1429 // CHECK: [0x05,0x40,0x8a,0xd3,0x6b,0x04,0x02,0x18]
1431 v_pk_add_u16 v5, ttmp15, v2
1432 // CHECK: [0x05,0x40,0x8a,0xd3,0x7b,0x04,0x02,0x18]
1434 v_pk_add_u16 v5, m0, v2
1435 // CHECK: [0x05,0x40,0x8a,0xd3,0x7c,0x04,0x02,0x18]
1437 v_pk_add_u16 v5, exec_lo, v2
1438 // CHECK: [0x05,0x40,0x8a,0xd3,0x7e,0x04,0x02,0x18]
1440 v_pk_add_u16 v5, exec_hi, v2
1441 // CHECK: [0x05,0x40,0x8a,0xd3,0x7f,0x04,0x02,0x18]
1443 v_pk_add_u16 v5, 0, v2
1444 // CHECK: [0x05,0x40,0x8a,0xd3,0x80,0x04,0x02,0x18]
1446 v_pk_add_u16 v5, -1, v2
1447 // CHECK: [0x05,0x40,0x8a,0xd3,0xc1,0x04,0x02,0x18]
1449 v_pk_add_u16 v5, src_vccz, v2
1450 // CHECK: [0x05,0x40,0x8a,0xd3,0xfb,0x04,0x02,0x18]
1452 v_pk_add_u16 v5, src_execz, v2
1453 // CHECK: [0x05,0x40,0x8a,0xd3,0xfc,0x04,0x02,0x18]
1455 v_pk_add_u16 v5, src_scc, v2
1456 // CHECK: [0x05,0x40,0x8a,0xd3,0xfd,0x04,0x02,0x18]
1458 v_pk_add_u16 v5, src_lds_direct, v2
1459 // CHECK: [0x05,0x40,0x8a,0xd3,0xfe,0x04,0x02,0x18]
1461 v_pk_add_u16 v5, v1, v255
1462 // CHECK: [0x05,0x40,0x8a,0xd3,0x01,0xff,0x03,0x18]
1464 v_pk_add_u16 v5, v1, s2
1465 // CHECK: [0x05,0x40,0x8a,0xd3,0x01,0x05,0x00,0x18]
1467 v_pk_add_u16 v5, v1, s101
1468 // CHECK: [0x05,0x40,0x8a,0xd3,0x01,0xcb,0x00,0x18]
1470 v_pk_add_u16 v5, v1, flat_scratch_lo
1471 // CHECK: [0x05,0x40,0x8a,0xd3,0x01,0xcd,0x00,0x18]
1473 v_pk_add_u16 v5, v1, flat_scratch_hi
1474 // CHECK: [0x05,0x40,0x8a,0xd3,0x01,0xcf,0x00,0x18]
1476 v_pk_add_u16 v5, v1, vcc_lo
1477 // CHECK: [0x05,0x40,0x8a,0xd3,0x01,0xd5,0x00,0x18]
1479 v_pk_add_u16 v5, v1, vcc_hi
1480 // CHECK: [0x05,0x40,0x8a,0xd3,0x01,0xd7,0x00,0x18]
1482 v_pk_add_u16 v5, v1, ttmp15
1483 // CHECK: [0x05,0x40,0x8a,0xd3,0x01,0xf7,0x00,0x18]
1485 v_pk_add_u16 v5, v1, m0
1486 // CHECK: [0x05,0x40,0x8a,0xd3,0x01,0xf9,0x00,0x18]
1488 v_pk_add_u16 v5, v1, exec_lo
1489 // CHECK: [0x05,0x40,0x8a,0xd3,0x01,0xfd,0x00,0x18]
1491 v_pk_add_u16 v5, v1, exec_hi
1492 // CHECK: [0x05,0x40,0x8a,0xd3,0x01,0xff,0x00,0x18]
1494 v_pk_add_u16 v5, v1, 0
1495 // CHECK: [0x05,0x40,0x8a,0xd3,0x01,0x01,0x01,0x18]
1497 v_pk_add_u16 v5, v1, -1
1498 // CHECK: [0x05,0x40,0x8a,0xd3,0x01,0x83,0x01,0x18]
1500 v_pk_add_u16 v5, v1, src_vccz
1501 // CHECK: [0x05,0x40,0x8a,0xd3,0x01,0xf7,0x01,0x18]
1503 v_pk_add_u16 v5, v1, src_execz
1504 // CHECK: [0x05,0x40,0x8a,0xd3,0x01,0xf9,0x01,0x18]
1506 v_pk_add_u16 v5, v1, src_scc
1507 // CHECK: [0x05,0x40,0x8a,0xd3,0x01,0xfb,0x01,0x18]
1509 v_pk_add_u16 v5, v1, v2 op_sel:[0,0]
1510 // CHECK: [0x05,0x40,0x8a,0xd3,0x01,0x05,0x02,0x18]
1512 v_pk_add_u16 v5, v1, v2 op_sel:[1,0]
1513 // CHECK: [0x05,0x48,0x8a,0xd3,0x01,0x05,0x02,0x18]
1515 v_pk_add_u16 v5, v1, v2 op_sel:[0,1]
1516 // CHECK: [0x05,0x50,0x8a,0xd3,0x01,0x05,0x02,0x18]
1518 v_pk_add_u16 v5, v1, v2 op_sel:[1,1]
1519 // CHECK: [0x05,0x58,0x8a,0xd3,0x01,0x05,0x02,0x18]
1521 v_pk_add_u16 v5, v1, v2 op_sel_hi:[1,1]
1522 // CHECK: [0x05,0x40,0x8a,0xd3,0x01,0x05,0x02,0x18]
1524 v_pk_add_u16 v5, v1, v2 op_sel_hi:[0,0]
1525 // CHECK: [0x05,0x40,0x8a,0xd3,0x01,0x05,0x02,0x00]
1527 v_pk_add_u16 v5, v1, v2 op_sel_hi:[1,0]
1528 // CHECK: [0x05,0x40,0x8a,0xd3,0x01,0x05,0x02,0x08]
1530 v_pk_add_u16 v5, v1, v2 op_sel_hi:[0,1]
1531 // CHECK: [0x05,0x40,0x8a,0xd3,0x01,0x05,0x02,0x10]
1533 v_pk_add_u16 v5, v1, v2 clamp
1534 // CHECK: [0x05,0xc0,0x8a,0xd3,0x01,0x05,0x02,0x18]
1536 v_pk_sub_u16 v5, v1, v2
1537 // CHECK: [0x05,0x40,0x8b,0xd3,0x01,0x05,0x02,0x18]
1539 v_pk_sub_u16 v255, v1, v2
1540 // CHECK: [0xff,0x40,0x8b,0xd3,0x01,0x05,0x02,0x18]
1542 v_pk_sub_u16 v5, v255, v2
1543 // CHECK: [0x05,0x40,0x8b,0xd3,0xff,0x05,0x02,0x18]
1545 v_pk_sub_u16 v5, s1, v2
1546 // CHECK: [0x05,0x40,0x8b,0xd3,0x01,0x04,0x02,0x18]
1548 v_pk_sub_u16 v5, s101, v2
1549 // CHECK: [0x05,0x40,0x8b,0xd3,0x65,0x04,0x02,0x18]
1551 v_pk_sub_u16 v5, flat_scratch_lo, v2
1552 // CHECK: [0x05,0x40,0x8b,0xd3,0x66,0x04,0x02,0x18]
1554 v_pk_sub_u16 v5, flat_scratch_hi, v2
1555 // CHECK: [0x05,0x40,0x8b,0xd3,0x67,0x04,0x02,0x18]
1557 v_pk_sub_u16 v5, vcc_lo, v2
1558 // CHECK: [0x05,0x40,0x8b,0xd3,0x6a,0x04,0x02,0x18]
1560 v_pk_sub_u16 v5, vcc_hi, v2
1561 // CHECK: [0x05,0x40,0x8b,0xd3,0x6b,0x04,0x02,0x18]
1563 v_pk_sub_u16 v5, ttmp15, v2
1564 // CHECK: [0x05,0x40,0x8b,0xd3,0x7b,0x04,0x02,0x18]
1566 v_pk_sub_u16 v5, m0, v2
1567 // CHECK: [0x05,0x40,0x8b,0xd3,0x7c,0x04,0x02,0x18]
1569 v_pk_sub_u16 v5, exec_lo, v2
1570 // CHECK: [0x05,0x40,0x8b,0xd3,0x7e,0x04,0x02,0x18]
1572 v_pk_sub_u16 v5, exec_hi, v2
1573 // CHECK: [0x05,0x40,0x8b,0xd3,0x7f,0x04,0x02,0x18]
1575 v_pk_sub_u16 v5, 0, v2
1576 // CHECK: [0x05,0x40,0x8b,0xd3,0x80,0x04,0x02,0x18]
1578 v_pk_sub_u16 v5, -1, v2
1579 // CHECK: [0x05,0x40,0x8b,0xd3,0xc1,0x04,0x02,0x18]
1581 v_pk_sub_u16 v5, src_vccz, v2
1582 // CHECK: [0x05,0x40,0x8b,0xd3,0xfb,0x04,0x02,0x18]
1584 v_pk_sub_u16 v5, src_execz, v2
1585 // CHECK: [0x05,0x40,0x8b,0xd3,0xfc,0x04,0x02,0x18]
1587 v_pk_sub_u16 v5, src_scc, v2
1588 // CHECK: [0x05,0x40,0x8b,0xd3,0xfd,0x04,0x02,0x18]
1590 v_pk_sub_u16 v5, src_lds_direct, v2
1591 // CHECK: [0x05,0x40,0x8b,0xd3,0xfe,0x04,0x02,0x18]
1593 v_pk_sub_u16 v5, v1, v255
1594 // CHECK: [0x05,0x40,0x8b,0xd3,0x01,0xff,0x03,0x18]
1596 v_pk_sub_u16 v5, v1, s2
1597 // CHECK: [0x05,0x40,0x8b,0xd3,0x01,0x05,0x00,0x18]
1599 v_pk_sub_u16 v5, v1, s101
1600 // CHECK: [0x05,0x40,0x8b,0xd3,0x01,0xcb,0x00,0x18]
1602 v_pk_sub_u16 v5, v1, flat_scratch_lo
1603 // CHECK: [0x05,0x40,0x8b,0xd3,0x01,0xcd,0x00,0x18]
1605 v_pk_sub_u16 v5, v1, flat_scratch_hi
1606 // CHECK: [0x05,0x40,0x8b,0xd3,0x01,0xcf,0x00,0x18]
1608 v_pk_sub_u16 v5, v1, vcc_lo
1609 // CHECK: [0x05,0x40,0x8b,0xd3,0x01,0xd5,0x00,0x18]
1611 v_pk_sub_u16 v5, v1, vcc_hi
1612 // CHECK: [0x05,0x40,0x8b,0xd3,0x01,0xd7,0x00,0x18]
1614 v_pk_sub_u16 v5, v1, ttmp15
1615 // CHECK: [0x05,0x40,0x8b,0xd3,0x01,0xf7,0x00,0x18]
1617 v_pk_sub_u16 v5, v1, m0
1618 // CHECK: [0x05,0x40,0x8b,0xd3,0x01,0xf9,0x00,0x18]
1620 v_pk_sub_u16 v5, v1, exec_lo
1621 // CHECK: [0x05,0x40,0x8b,0xd3,0x01,0xfd,0x00,0x18]
1623 v_pk_sub_u16 v5, v1, exec_hi
1624 // CHECK: [0x05,0x40,0x8b,0xd3,0x01,0xff,0x00,0x18]
1626 v_pk_sub_u16 v5, v1, 0
1627 // CHECK: [0x05,0x40,0x8b,0xd3,0x01,0x01,0x01,0x18]
1629 v_pk_sub_u16 v5, v1, -1
1630 // CHECK: [0x05,0x40,0x8b,0xd3,0x01,0x83,0x01,0x18]
1632 v_pk_sub_u16 v5, v1, src_vccz
1633 // CHECK: [0x05,0x40,0x8b,0xd3,0x01,0xf7,0x01,0x18]
1635 v_pk_sub_u16 v5, v1, src_execz
1636 // CHECK: [0x05,0x40,0x8b,0xd3,0x01,0xf9,0x01,0x18]
1638 v_pk_sub_u16 v5, v1, src_scc
1639 // CHECK: [0x05,0x40,0x8b,0xd3,0x01,0xfb,0x01,0x18]
1641 v_pk_sub_u16 v5, v1, v2 op_sel:[0,0]
1642 // CHECK: [0x05,0x40,0x8b,0xd3,0x01,0x05,0x02,0x18]
1644 v_pk_sub_u16 v5, v1, v2 op_sel:[1,0]
1645 // CHECK: [0x05,0x48,0x8b,0xd3,0x01,0x05,0x02,0x18]
1647 v_pk_sub_u16 v5, v1, v2 op_sel:[0,1]
1648 // CHECK: [0x05,0x50,0x8b,0xd3,0x01,0x05,0x02,0x18]
1650 v_pk_sub_u16 v5, v1, v2 op_sel:[1,1]
1651 // CHECK: [0x05,0x58,0x8b,0xd3,0x01,0x05,0x02,0x18]
1653 v_pk_sub_u16 v5, v1, v2 op_sel_hi:[1,1]
1654 // CHECK: [0x05,0x40,0x8b,0xd3,0x01,0x05,0x02,0x18]
1656 v_pk_sub_u16 v5, v1, v2 op_sel_hi:[0,0]
1657 // CHECK: [0x05,0x40,0x8b,0xd3,0x01,0x05,0x02,0x00]
1659 v_pk_sub_u16 v5, v1, v2 op_sel_hi:[1,0]
1660 // CHECK: [0x05,0x40,0x8b,0xd3,0x01,0x05,0x02,0x08]
1662 v_pk_sub_u16 v5, v1, v2 op_sel_hi:[0,1]
1663 // CHECK: [0x05,0x40,0x8b,0xd3,0x01,0x05,0x02,0x10]
1665 v_pk_sub_u16 v5, v1, v2 clamp
1666 // CHECK: [0x05,0xc0,0x8b,0xd3,0x01,0x05,0x02,0x18]
1668 v_pk_max_u16 v5, v1, v2
1669 // CHECK: [0x05,0x40,0x8c,0xd3,0x01,0x05,0x02,0x18]
1671 v_pk_max_u16 v255, v1, v2
1672 // CHECK: [0xff,0x40,0x8c,0xd3,0x01,0x05,0x02,0x18]
1674 v_pk_max_u16 v5, v255, v2
1675 // CHECK: [0x05,0x40,0x8c,0xd3,0xff,0x05,0x02,0x18]
1677 v_pk_max_u16 v5, s1, v2
1678 // CHECK: [0x05,0x40,0x8c,0xd3,0x01,0x04,0x02,0x18]
1680 v_pk_max_u16 v5, s101, v2
1681 // CHECK: [0x05,0x40,0x8c,0xd3,0x65,0x04,0x02,0x18]
1683 v_pk_max_u16 v5, flat_scratch_lo, v2
1684 // CHECK: [0x05,0x40,0x8c,0xd3,0x66,0x04,0x02,0x18]
1686 v_pk_max_u16 v5, flat_scratch_hi, v2
1687 // CHECK: [0x05,0x40,0x8c,0xd3,0x67,0x04,0x02,0x18]
1689 v_pk_max_u16 v5, vcc_lo, v2
1690 // CHECK: [0x05,0x40,0x8c,0xd3,0x6a,0x04,0x02,0x18]
1692 v_pk_max_u16 v5, vcc_hi, v2
1693 // CHECK: [0x05,0x40,0x8c,0xd3,0x6b,0x04,0x02,0x18]
1695 v_pk_max_u16 v5, ttmp15, v2
1696 // CHECK: [0x05,0x40,0x8c,0xd3,0x7b,0x04,0x02,0x18]
1698 v_pk_max_u16 v5, m0, v2
1699 // CHECK: [0x05,0x40,0x8c,0xd3,0x7c,0x04,0x02,0x18]
1701 v_pk_max_u16 v5, exec_lo, v2
1702 // CHECK: [0x05,0x40,0x8c,0xd3,0x7e,0x04,0x02,0x18]
1704 v_pk_max_u16 v5, exec_hi, v2
1705 // CHECK: [0x05,0x40,0x8c,0xd3,0x7f,0x04,0x02,0x18]
1707 v_pk_max_u16 v5, 0, v2
1708 // CHECK: [0x05,0x40,0x8c,0xd3,0x80,0x04,0x02,0x18]
1710 v_pk_max_u16 v5, -1, v2
1711 // CHECK: [0x05,0x40,0x8c,0xd3,0xc1,0x04,0x02,0x18]
1713 v_pk_max_u16 v5, src_vccz, v2
1714 // CHECK: [0x05,0x40,0x8c,0xd3,0xfb,0x04,0x02,0x18]
1716 v_pk_max_u16 v5, src_execz, v2
1717 // CHECK: [0x05,0x40,0x8c,0xd3,0xfc,0x04,0x02,0x18]
1719 v_pk_max_u16 v5, src_scc, v2
1720 // CHECK: [0x05,0x40,0x8c,0xd3,0xfd,0x04,0x02,0x18]
1722 v_pk_max_u16 v5, src_lds_direct, v2
1723 // CHECK: [0x05,0x40,0x8c,0xd3,0xfe,0x04,0x02,0x18]
1725 v_pk_max_u16 v5, v1, v255
1726 // CHECK: [0x05,0x40,0x8c,0xd3,0x01,0xff,0x03,0x18]
1728 v_pk_max_u16 v5, v1, s2
1729 // CHECK: [0x05,0x40,0x8c,0xd3,0x01,0x05,0x00,0x18]
1731 v_pk_max_u16 v5, v1, s101
1732 // CHECK: [0x05,0x40,0x8c,0xd3,0x01,0xcb,0x00,0x18]
1734 v_pk_max_u16 v5, v1, flat_scratch_lo
1735 // CHECK: [0x05,0x40,0x8c,0xd3,0x01,0xcd,0x00,0x18]
1737 v_pk_max_u16 v5, v1, flat_scratch_hi
1738 // CHECK: [0x05,0x40,0x8c,0xd3,0x01,0xcf,0x00,0x18]
1740 v_pk_max_u16 v5, v1, vcc_lo
1741 // CHECK: [0x05,0x40,0x8c,0xd3,0x01,0xd5,0x00,0x18]
1743 v_pk_max_u16 v5, v1, vcc_hi
1744 // CHECK: [0x05,0x40,0x8c,0xd3,0x01,0xd7,0x00,0x18]
1746 v_pk_max_u16 v5, v1, ttmp15
1747 // CHECK: [0x05,0x40,0x8c,0xd3,0x01,0xf7,0x00,0x18]
1749 v_pk_max_u16 v5, v1, m0
1750 // CHECK: [0x05,0x40,0x8c,0xd3,0x01,0xf9,0x00,0x18]
1752 v_pk_max_u16 v5, v1, exec_lo
1753 // CHECK: [0x05,0x40,0x8c,0xd3,0x01,0xfd,0x00,0x18]
1755 v_pk_max_u16 v5, v1, exec_hi
1756 // CHECK: [0x05,0x40,0x8c,0xd3,0x01,0xff,0x00,0x18]
1758 v_pk_max_u16 v5, v1, 0
1759 // CHECK: [0x05,0x40,0x8c,0xd3,0x01,0x01,0x01,0x18]
1761 v_pk_max_u16 v5, v1, -1
1762 // CHECK: [0x05,0x40,0x8c,0xd3,0x01,0x83,0x01,0x18]
1764 v_pk_max_u16 v5, v1, src_vccz
1765 // CHECK: [0x05,0x40,0x8c,0xd3,0x01,0xf7,0x01,0x18]
1767 v_pk_max_u16 v5, v1, src_execz
1768 // CHECK: [0x05,0x40,0x8c,0xd3,0x01,0xf9,0x01,0x18]
1770 v_pk_max_u16 v5, v1, src_scc
1771 // CHECK: [0x05,0x40,0x8c,0xd3,0x01,0xfb,0x01,0x18]
1773 v_pk_max_u16 v5, v1, v2 op_sel:[0,0]
1774 // CHECK: [0x05,0x40,0x8c,0xd3,0x01,0x05,0x02,0x18]
1776 v_pk_max_u16 v5, v1, v2 op_sel:[1,0]
1777 // CHECK: [0x05,0x48,0x8c,0xd3,0x01,0x05,0x02,0x18]
1779 v_pk_max_u16 v5, v1, v2 op_sel:[0,1]
1780 // CHECK: [0x05,0x50,0x8c,0xd3,0x01,0x05,0x02,0x18]
1782 v_pk_max_u16 v5, v1, v2 op_sel:[1,1]
1783 // CHECK: [0x05,0x58,0x8c,0xd3,0x01,0x05,0x02,0x18]
1785 v_pk_max_u16 v5, v1, v2 op_sel_hi:[1,1]
1786 // CHECK: [0x05,0x40,0x8c,0xd3,0x01,0x05,0x02,0x18]
1788 v_pk_max_u16 v5, v1, v2 op_sel_hi:[0,0]
1789 // CHECK: [0x05,0x40,0x8c,0xd3,0x01,0x05,0x02,0x00]
1791 v_pk_max_u16 v5, v1, v2 op_sel_hi:[1,0]
1792 // CHECK: [0x05,0x40,0x8c,0xd3,0x01,0x05,0x02,0x08]
1794 v_pk_max_u16 v5, v1, v2 op_sel_hi:[0,1]
1795 // CHECK: [0x05,0x40,0x8c,0xd3,0x01,0x05,0x02,0x10]
1797 v_pk_min_u16 v5, v1, v2
1798 // CHECK: [0x05,0x40,0x8d,0xd3,0x01,0x05,0x02,0x18]
1800 v_pk_min_u16 v255, v1, v2
1801 // CHECK: [0xff,0x40,0x8d,0xd3,0x01,0x05,0x02,0x18]
1803 v_pk_min_u16 v5, v255, v2
1804 // CHECK: [0x05,0x40,0x8d,0xd3,0xff,0x05,0x02,0x18]
1806 v_pk_min_u16 v5, s1, v2
1807 // CHECK: [0x05,0x40,0x8d,0xd3,0x01,0x04,0x02,0x18]
1809 v_pk_min_u16 v5, s101, v2
1810 // CHECK: [0x05,0x40,0x8d,0xd3,0x65,0x04,0x02,0x18]
1812 v_pk_min_u16 v5, flat_scratch_lo, v2
1813 // CHECK: [0x05,0x40,0x8d,0xd3,0x66,0x04,0x02,0x18]
1815 v_pk_min_u16 v5, flat_scratch_hi, v2
1816 // CHECK: [0x05,0x40,0x8d,0xd3,0x67,0x04,0x02,0x18]
1818 v_pk_min_u16 v5, vcc_lo, v2
1819 // CHECK: [0x05,0x40,0x8d,0xd3,0x6a,0x04,0x02,0x18]
1821 v_pk_min_u16 v5, vcc_hi, v2
1822 // CHECK: [0x05,0x40,0x8d,0xd3,0x6b,0x04,0x02,0x18]
1824 v_pk_min_u16 v5, ttmp15, v2
1825 // CHECK: [0x05,0x40,0x8d,0xd3,0x7b,0x04,0x02,0x18]
1827 v_pk_min_u16 v5, m0, v2
1828 // CHECK: [0x05,0x40,0x8d,0xd3,0x7c,0x04,0x02,0x18]
1830 v_pk_min_u16 v5, exec_lo, v2
1831 // CHECK: [0x05,0x40,0x8d,0xd3,0x7e,0x04,0x02,0x18]
1833 v_pk_min_u16 v5, exec_hi, v2
1834 // CHECK: [0x05,0x40,0x8d,0xd3,0x7f,0x04,0x02,0x18]
1836 v_pk_min_u16 v5, 0, v2
1837 // CHECK: [0x05,0x40,0x8d,0xd3,0x80,0x04,0x02,0x18]
1839 v_pk_min_u16 v5, -1, v2
1840 // CHECK: [0x05,0x40,0x8d,0xd3,0xc1,0x04,0x02,0x18]
1842 v_pk_min_u16 v5, src_vccz, v2
1843 // CHECK: [0x05,0x40,0x8d,0xd3,0xfb,0x04,0x02,0x18]
1845 v_pk_min_u16 v5, src_execz, v2
1846 // CHECK: [0x05,0x40,0x8d,0xd3,0xfc,0x04,0x02,0x18]
1848 v_pk_min_u16 v5, src_scc, v2
1849 // CHECK: [0x05,0x40,0x8d,0xd3,0xfd,0x04,0x02,0x18]
1851 v_pk_min_u16 v5, src_lds_direct, v2
1852 // CHECK: [0x05,0x40,0x8d,0xd3,0xfe,0x04,0x02,0x18]
1854 v_pk_min_u16 v5, v1, v255
1855 // CHECK: [0x05,0x40,0x8d,0xd3,0x01,0xff,0x03,0x18]
1857 v_pk_min_u16 v5, v1, s2
1858 // CHECK: [0x05,0x40,0x8d,0xd3,0x01,0x05,0x00,0x18]
1860 v_pk_min_u16 v5, v1, s101
1861 // CHECK: [0x05,0x40,0x8d,0xd3,0x01,0xcb,0x00,0x18]
1863 v_pk_min_u16 v5, v1, flat_scratch_lo
1864 // CHECK: [0x05,0x40,0x8d,0xd3,0x01,0xcd,0x00,0x18]
1866 v_pk_min_u16 v5, v1, flat_scratch_hi
1867 // CHECK: [0x05,0x40,0x8d,0xd3,0x01,0xcf,0x00,0x18]
1869 v_pk_min_u16 v5, v1, vcc_lo
1870 // CHECK: [0x05,0x40,0x8d,0xd3,0x01,0xd5,0x00,0x18]
1872 v_pk_min_u16 v5, v1, vcc_hi
1873 // CHECK: [0x05,0x40,0x8d,0xd3,0x01,0xd7,0x00,0x18]
1875 v_pk_min_u16 v5, v1, ttmp15
1876 // CHECK: [0x05,0x40,0x8d,0xd3,0x01,0xf7,0x00,0x18]
1878 v_pk_min_u16 v5, v1, m0
1879 // CHECK: [0x05,0x40,0x8d,0xd3,0x01,0xf9,0x00,0x18]
1881 v_pk_min_u16 v5, v1, exec_lo
1882 // CHECK: [0x05,0x40,0x8d,0xd3,0x01,0xfd,0x00,0x18]
1884 v_pk_min_u16 v5, v1, exec_hi
1885 // CHECK: [0x05,0x40,0x8d,0xd3,0x01,0xff,0x00,0x18]
1887 v_pk_min_u16 v5, v1, 0
1888 // CHECK: [0x05,0x40,0x8d,0xd3,0x01,0x01,0x01,0x18]
1890 v_pk_min_u16 v5, v1, -1
1891 // CHECK: [0x05,0x40,0x8d,0xd3,0x01,0x83,0x01,0x18]
1893 v_pk_min_u16 v5, v1, src_vccz
1894 // CHECK: [0x05,0x40,0x8d,0xd3,0x01,0xf7,0x01,0x18]
1896 v_pk_min_u16 v5, v1, src_execz
1897 // CHECK: [0x05,0x40,0x8d,0xd3,0x01,0xf9,0x01,0x18]
1899 v_pk_min_u16 v5, v1, src_scc
1900 // CHECK: [0x05,0x40,0x8d,0xd3,0x01,0xfb,0x01,0x18]
1902 v_pk_min_u16 v5, v1, v2 op_sel:[0,0]
1903 // CHECK: [0x05,0x40,0x8d,0xd3,0x01,0x05,0x02,0x18]
1905 v_pk_min_u16 v5, v1, v2 op_sel:[1,0]
1906 // CHECK: [0x05,0x48,0x8d,0xd3,0x01,0x05,0x02,0x18]
1908 v_pk_min_u16 v5, v1, v2 op_sel:[0,1]
1909 // CHECK: [0x05,0x50,0x8d,0xd3,0x01,0x05,0x02,0x18]
1911 v_pk_min_u16 v5, v1, v2 op_sel:[1,1]
1912 // CHECK: [0x05,0x58,0x8d,0xd3,0x01,0x05,0x02,0x18]
1914 v_pk_min_u16 v5, v1, v2 op_sel_hi:[1,1]
1915 // CHECK: [0x05,0x40,0x8d,0xd3,0x01,0x05,0x02,0x18]
1917 v_pk_min_u16 v5, v1, v2 op_sel_hi:[0,0]
1918 // CHECK: [0x05,0x40,0x8d,0xd3,0x01,0x05,0x02,0x00]
1920 v_pk_min_u16 v5, v1, v2 op_sel_hi:[1,0]
1921 // CHECK: [0x05,0x40,0x8d,0xd3,0x01,0x05,0x02,0x08]
1923 v_pk_min_u16 v5, v1, v2 op_sel_hi:[0,1]
1924 // CHECK: [0x05,0x40,0x8d,0xd3,0x01,0x05,0x02,0x10]
1926 v_pk_fma_f16 v5, v1, v2, v3
1927 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0x0e,0x1c]
1929 v_pk_fma_f16 v255, v1, v2, v3
1930 // CHECK: [0xff,0x40,0x8e,0xd3,0x01,0x05,0x0e,0x1c]
1932 v_pk_fma_f16 v5, v255, v2, v3
1933 // CHECK: [0x05,0x40,0x8e,0xd3,0xff,0x05,0x0e,0x1c]
1935 v_pk_fma_f16 v5, s1, v2, v3
1936 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x04,0x0e,0x1c]
1938 v_pk_fma_f16 v5, s101, v2, v3
1939 // CHECK: [0x05,0x40,0x8e,0xd3,0x65,0x04,0x0e,0x1c]
1941 v_pk_fma_f16 v5, flat_scratch_lo, v2, v3
1942 // CHECK: [0x05,0x40,0x8e,0xd3,0x66,0x04,0x0e,0x1c]
1944 v_pk_fma_f16 v5, flat_scratch_hi, v2, v3
1945 // CHECK: [0x05,0x40,0x8e,0xd3,0x67,0x04,0x0e,0x1c]
1947 v_pk_fma_f16 v5, vcc_lo, v2, v3
1948 // CHECK: [0x05,0x40,0x8e,0xd3,0x6a,0x04,0x0e,0x1c]
1950 v_pk_fma_f16 v5, vcc_hi, v2, v3
1951 // CHECK: [0x05,0x40,0x8e,0xd3,0x6b,0x04,0x0e,0x1c]
1953 v_pk_fma_f16 v5, ttmp15, v2, v3
1954 // CHECK: [0x05,0x40,0x8e,0xd3,0x7b,0x04,0x0e,0x1c]
1956 v_pk_fma_f16 v5, m0, v2, v3
1957 // CHECK: [0x05,0x40,0x8e,0xd3,0x7c,0x04,0x0e,0x1c]
1959 v_pk_fma_f16 v5, exec_lo, v2, v3
1960 // CHECK: [0x05,0x40,0x8e,0xd3,0x7e,0x04,0x0e,0x1c]
1962 v_pk_fma_f16 v5, exec_hi, v2, v3
1963 // CHECK: [0x05,0x40,0x8e,0xd3,0x7f,0x04,0x0e,0x1c]
1965 v_pk_fma_f16 v5, 0, v2, v3
1966 // CHECK: [0x05,0x40,0x8e,0xd3,0x80,0x04,0x0e,0x1c]
1968 v_pk_fma_f16 v5, -1, v2, v3
1969 // CHECK: [0x05,0x40,0x8e,0xd3,0xc1,0x04,0x0e,0x1c]
1971 v_pk_fma_f16 v5, 0.5, v2, v3
1972 // CHECK: [0x05,0x40,0x8e,0xd3,0xf0,0x04,0x0e,0x1c]
1974 v_pk_fma_f16 v5, -4.0, v2, v3
1975 // CHECK: [0x05,0x40,0x8e,0xd3,0xf7,0x04,0x0e,0x1c]
1977 v_pk_fma_f16 v5, src_vccz, v2, v3
1978 // CHECK: [0x05,0x40,0x8e,0xd3,0xfb,0x04,0x0e,0x1c]
1980 v_pk_fma_f16 v5, src_execz, v2, v3
1981 // CHECK: [0x05,0x40,0x8e,0xd3,0xfc,0x04,0x0e,0x1c]
1983 v_pk_fma_f16 v5, src_scc, v2, v3
1984 // CHECK: [0x05,0x40,0x8e,0xd3,0xfd,0x04,0x0e,0x1c]
1986 v_pk_fma_f16 v5, src_lds_direct, v2, v3
1987 // CHECK: [0x05,0x40,0x8e,0xd3,0xfe,0x04,0x0e,0x1c]
1989 v_pk_fma_f16 v5, v1, v255, v3
1990 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0xff,0x0f,0x1c]
1992 v_pk_fma_f16 v5, v1, s2, v3
1993 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0x0c,0x1c]
1995 v_pk_fma_f16 v5, v1, s101, v3
1996 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0xcb,0x0c,0x1c]
1998 v_pk_fma_f16 v5, v1, flat_scratch_lo, v3
1999 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0xcd,0x0c,0x1c]
2001 v_pk_fma_f16 v5, v1, flat_scratch_hi, v3
2002 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0xcf,0x0c,0x1c]
2004 v_pk_fma_f16 v5, v1, vcc_lo, v3
2005 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0xd5,0x0c,0x1c]
2007 v_pk_fma_f16 v5, v1, vcc_hi, v3
2008 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0xd7,0x0c,0x1c]
2010 v_pk_fma_f16 v5, v1, ttmp15, v3
2011 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0xf7,0x0c,0x1c]
2013 v_pk_fma_f16 v5, v1, m0, v3
2014 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0xf9,0x0c,0x1c]
2016 v_pk_fma_f16 v5, v1, exec_lo, v3
2017 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0xfd,0x0c,0x1c]
2019 v_pk_fma_f16 v5, v1, exec_hi, v3
2020 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0xff,0x0c,0x1c]
2022 v_pk_fma_f16 v5, v1, 0, v3
2023 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x01,0x0d,0x1c]
2025 v_pk_fma_f16 v5, v1, -1, v3
2026 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x83,0x0d,0x1c]
2028 v_pk_fma_f16 v5, v1, 0.5, v3
2029 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0xe1,0x0d,0x1c]
2031 v_pk_fma_f16 v5, v1, -4.0, v3
2032 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0xef,0x0d,0x1c]
2034 v_pk_fma_f16 v5, v1, src_vccz, v3
2035 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0xf7,0x0d,0x1c]
2037 v_pk_fma_f16 v5, v1, src_execz, v3
2038 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0xf9,0x0d,0x1c]
2040 v_pk_fma_f16 v5, v1, src_scc, v3
2041 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0xfb,0x0d,0x1c]
2043 v_pk_fma_f16 v5, v1, v2, v255
2044 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0xfe,0x1f]
2046 v_pk_fma_f16 v5, v1, v2, s3
2047 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0x0e,0x18]
2049 v_pk_fma_f16 v5, v1, v2, s101
2050 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0x96,0x19]
2052 v_pk_fma_f16 v5, v1, v2, flat_scratch_lo
2053 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0x9a,0x19]
2055 v_pk_fma_f16 v5, v1, v2, flat_scratch_hi
2056 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0x9e,0x19]
2058 v_pk_fma_f16 v5, v1, v2, vcc_lo
2059 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0xaa,0x19]
2061 v_pk_fma_f16 v5, v1, v2, vcc_hi
2062 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0xae,0x19]
2064 v_pk_fma_f16 v5, v1, v2, ttmp15
2065 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0xee,0x19]
2067 v_pk_fma_f16 v5, v1, v2, m0
2068 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0xf2,0x19]
2070 v_pk_fma_f16 v5, v1, v2, exec_lo
2071 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0xfa,0x19]
2073 v_pk_fma_f16 v5, v1, v2, exec_hi
2074 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0xfe,0x19]
2076 v_pk_fma_f16 v5, v1, v2, 0
2077 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0x02,0x1a]
2079 v_pk_fma_f16 v5, v1, v2, -1
2080 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0x06,0x1b]
2082 v_pk_fma_f16 v5, v1, v2, 0.5
2083 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0xc2,0x1b]
2085 v_pk_fma_f16 v5, v1, v2, -4.0
2086 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0xde,0x1b]
2088 v_pk_fma_f16 v5, v1, v2, src_vccz
2089 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0xee,0x1b]
2091 v_pk_fma_f16 v5, v1, v2, src_execz
2092 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0xf2,0x1b]
2094 v_pk_fma_f16 v5, v1, v2, src_scc
2095 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0xf6,0x1b]
2097 v_pk_fma_f16 v5, v1, v2, v3 op_sel:[0,0,0]
2098 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0x0e,0x1c]
2100 v_pk_fma_f16 v5, v1, v2, v3 op_sel:[1,0,0]
2101 // CHECK: [0x05,0x48,0x8e,0xd3,0x01,0x05,0x0e,0x1c]
2103 v_pk_fma_f16 v5, v1, v2, v3 op_sel:[0,1,0]
2104 // CHECK: [0x05,0x50,0x8e,0xd3,0x01,0x05,0x0e,0x1c]
2106 v_pk_fma_f16 v5, v1, v2, v3 op_sel:[0,0,1]
2107 // CHECK: [0x05,0x60,0x8e,0xd3,0x01,0x05,0x0e,0x1c]
2109 v_pk_fma_f16 v5, v1, v2, v3 op_sel:[1,1,1]
2110 // CHECK: [0x05,0x78,0x8e,0xd3,0x01,0x05,0x0e,0x1c]
2112 v_pk_fma_f16 v5, v1, v2, v3 op_sel_hi:[1,1,1]
2113 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0x0e,0x1c]
2115 v_pk_fma_f16 v5, v1, v2, v3 op_sel_hi:[0,0,0]
2116 // CHECK: [0x05,0x00,0x8e,0xd3,0x01,0x05,0x0e,0x04]
2118 v_pk_fma_f16 v5, v1, v2, v3 op_sel_hi:[1,0,0]
2119 // CHECK: [0x05,0x00,0x8e,0xd3,0x01,0x05,0x0e,0x0c]
2121 v_pk_fma_f16 v5, v1, v2, v3 op_sel_hi:[0,1,0]
2122 // CHECK: [0x05,0x00,0x8e,0xd3,0x01,0x05,0x0e,0x14]
2124 v_pk_fma_f16 v5, v1, v2, v3 op_sel_hi:[0,0,1]
2125 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0x0e,0x04]
2127 v_pk_fma_f16 v5, v1, v2, v3 neg_lo:[1,0,0]
2128 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0x0e,0x3c]
2130 v_pk_fma_f16 v5, v1, v2, v3 neg_lo:[0,1,0]
2131 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0x0e,0x5c]
2133 v_pk_fma_f16 v5, v1, v2, v3 neg_lo:[0,0,1]
2134 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0x0e,0x9c]
2136 v_pk_fma_f16 v5, v1, v2, v3 neg_lo:[1,1,1]
2137 // CHECK: [0x05,0x40,0x8e,0xd3,0x01,0x05,0x0e,0xfc]
2139 v_pk_fma_f16 v5, v1, v2, v3 neg_hi:[1,0,0]
2140 // CHECK: [0x05,0x41,0x8e,0xd3,0x01,0x05,0x0e,0x1c]
2142 v_pk_fma_f16 v5, v1, v2, v3 neg_hi:[0,1,0]
2143 // CHECK: [0x05,0x42,0x8e,0xd3,0x01,0x05,0x0e,0x1c]
2145 v_pk_fma_f16 v5, v1, v2, v3 neg_hi:[0,0,1]
2146 // CHECK: [0x05,0x44,0x8e,0xd3,0x01,0x05,0x0e,0x1c]
2148 v_pk_fma_f16 v5, v1, v2, v3 neg_hi:[1,1,1]
2149 // CHECK: [0x05,0x47,0x8e,0xd3,0x01,0x05,0x0e,0x1c]
2151 v_pk_fma_f16 v5, v1, v2, v3 clamp
2152 // CHECK: [0x05,0xc0,0x8e,0xd3,0x01,0x05,0x0e,0x1c]
2154 v_pk_add_f16 v5, v1, v2
2155 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0x05,0x02,0x18]
2157 v_pk_add_f16 v255, v1, v2
2158 // CHECK: [0xff,0x40,0x8f,0xd3,0x01,0x05,0x02,0x18]
2160 v_pk_add_f16 v5, v255, v2
2161 // CHECK: [0x05,0x40,0x8f,0xd3,0xff,0x05,0x02,0x18]
2163 v_pk_add_f16 v5, s1, v2
2164 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0x04,0x02,0x18]
2166 v_pk_add_f16 v5, s101, v2
2167 // CHECK: [0x05,0x40,0x8f,0xd3,0x65,0x04,0x02,0x18]
2169 v_pk_add_f16 v5, flat_scratch_lo, v2
2170 // CHECK: [0x05,0x40,0x8f,0xd3,0x66,0x04,0x02,0x18]
2172 v_pk_add_f16 v5, flat_scratch_hi, v2
2173 // CHECK: [0x05,0x40,0x8f,0xd3,0x67,0x04,0x02,0x18]
2175 v_pk_add_f16 v5, vcc_lo, v2
2176 // CHECK: [0x05,0x40,0x8f,0xd3,0x6a,0x04,0x02,0x18]
2178 v_pk_add_f16 v5, vcc_hi, v2
2179 // CHECK: [0x05,0x40,0x8f,0xd3,0x6b,0x04,0x02,0x18]
2181 v_pk_add_f16 v5, ttmp15, v2
2182 // CHECK: [0x05,0x40,0x8f,0xd3,0x7b,0x04,0x02,0x18]
2184 v_pk_add_f16 v5, m0, v2
2185 // CHECK: [0x05,0x40,0x8f,0xd3,0x7c,0x04,0x02,0x18]
2187 v_pk_add_f16 v5, exec_lo, v2
2188 // CHECK: [0x05,0x40,0x8f,0xd3,0x7e,0x04,0x02,0x18]
2190 v_pk_add_f16 v5, exec_hi, v2
2191 // CHECK: [0x05,0x40,0x8f,0xd3,0x7f,0x04,0x02,0x18]
2193 v_pk_add_f16 v5, 0, v2
2194 // CHECK: [0x05,0x40,0x8f,0xd3,0x80,0x04,0x02,0x18]
2196 v_pk_add_f16 v5, -1, v2
2197 // CHECK: [0x05,0x40,0x8f,0xd3,0xc1,0x04,0x02,0x18]
2199 v_pk_add_f16 v5, 0.5, v2
2200 // CHECK: [0x05,0x40,0x8f,0xd3,0xf0,0x04,0x02,0x18]
2202 v_pk_add_f16 v5, -4.0, v2
2203 // CHECK: [0x05,0x40,0x8f,0xd3,0xf7,0x04,0x02,0x18]
2205 v_pk_add_f16 v5, src_vccz, v2
2206 // CHECK: [0x05,0x40,0x8f,0xd3,0xfb,0x04,0x02,0x18]
2208 v_pk_add_f16 v5, src_execz, v2
2209 // CHECK: [0x05,0x40,0x8f,0xd3,0xfc,0x04,0x02,0x18]
2211 v_pk_add_f16 v5, src_scc, v2
2212 // CHECK: [0x05,0x40,0x8f,0xd3,0xfd,0x04,0x02,0x18]
2214 v_pk_add_f16 v5, src_lds_direct, v2
2215 // CHECK: [0x05,0x40,0x8f,0xd3,0xfe,0x04,0x02,0x18]
2217 v_pk_add_f16 v5, v1, v255
2218 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0xff,0x03,0x18]
2220 v_pk_add_f16 v5, v1, s2
2221 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0x05,0x00,0x18]
2223 v_pk_add_f16 v5, v1, s101
2224 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0xcb,0x00,0x18]
2226 v_pk_add_f16 v5, v1, flat_scratch_lo
2227 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0xcd,0x00,0x18]
2229 v_pk_add_f16 v5, v1, flat_scratch_hi
2230 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0xcf,0x00,0x18]
2232 v_pk_add_f16 v5, v1, vcc_lo
2233 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0xd5,0x00,0x18]
2235 v_pk_add_f16 v5, v1, vcc_hi
2236 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0xd7,0x00,0x18]
2238 v_pk_add_f16 v5, v1, ttmp15
2239 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0xf7,0x00,0x18]
2241 v_pk_add_f16 v5, v1, m0
2242 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0xf9,0x00,0x18]
2244 v_pk_add_f16 v5, v1, exec_lo
2245 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0xfd,0x00,0x18]
2247 v_pk_add_f16 v5, v1, exec_hi
2248 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0xff,0x00,0x18]
2250 v_pk_add_f16 v5, v1, 0
2251 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0x01,0x01,0x18]
2253 v_pk_add_f16 v5, v1, -1
2254 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0x83,0x01,0x18]
2256 v_pk_add_f16 v5, v1, 0.5
2257 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0xe1,0x01,0x18]
2259 v_pk_add_f16 v5, v1, -4.0
2260 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0xef,0x01,0x18]
2262 v_pk_add_f16 v5, v1, src_vccz
2263 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0xf7,0x01,0x18]
2265 v_pk_add_f16 v5, v1, src_execz
2266 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0xf9,0x01,0x18]
2268 v_pk_add_f16 v5, v1, src_scc
2269 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0xfb,0x01,0x18]
2271 v_pk_add_f16 v5, v1, v2 op_sel:[0,0]
2272 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0x05,0x02,0x18]
2274 v_pk_add_f16 v5, v1, v2 op_sel:[1,0]
2275 // CHECK: [0x05,0x48,0x8f,0xd3,0x01,0x05,0x02,0x18]
2277 v_pk_add_f16 v5, v1, v2 op_sel:[0,1]
2278 // CHECK: [0x05,0x50,0x8f,0xd3,0x01,0x05,0x02,0x18]
2280 v_pk_add_f16 v5, v1, v2 op_sel:[1,1]
2281 // CHECK: [0x05,0x58,0x8f,0xd3,0x01,0x05,0x02,0x18]
2283 v_pk_add_f16 v5, v1, v2 op_sel_hi:[1,1]
2284 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0x05,0x02,0x18]
2286 v_pk_add_f16 v5, v1, v2 op_sel_hi:[0,0]
2287 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0x05,0x02,0x00]
2289 v_pk_add_f16 v5, v1, v2 op_sel_hi:[1,0]
2290 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0x05,0x02,0x08]
2292 v_pk_add_f16 v5, v1, v2 op_sel_hi:[0,1]
2293 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0x05,0x02,0x10]
2295 v_pk_add_f16 v5, v1, v2 neg_lo:[1,0]
2296 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0x05,0x02,0x38]
2298 v_pk_add_f16 v5, v1, v2 neg_lo:[0,1]
2299 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0x05,0x02,0x58]
2301 v_pk_add_f16 v5, v1, v2 neg_lo:[1,1]
2302 // CHECK: [0x05,0x40,0x8f,0xd3,0x01,0x05,0x02,0x78]
2304 v_pk_add_f16 v5, v1, v2 neg_hi:[1,0]
2305 // CHECK: [0x05,0x41,0x8f,0xd3,0x01,0x05,0x02,0x18]
2307 v_pk_add_f16 v5, v1, v2 neg_hi:[0,1]
2308 // CHECK: [0x05,0x42,0x8f,0xd3,0x01,0x05,0x02,0x18]
2310 v_pk_add_f16 v5, v1, v2 neg_hi:[1,1]
2311 // CHECK: [0x05,0x43,0x8f,0xd3,0x01,0x05,0x02,0x18]
2313 v_pk_add_f16 v5, v1, v2 clamp
2314 // CHECK: [0x05,0xc0,0x8f,0xd3,0x01,0x05,0x02,0x18]
2316 v_pk_mul_f16 v5, v1, v2
2317 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0x05,0x02,0x18]
2319 v_pk_mul_f16 v255, v1, v2
2320 // CHECK: [0xff,0x40,0x90,0xd3,0x01,0x05,0x02,0x18]
2322 v_pk_mul_f16 v5, v255, v2
2323 // CHECK: [0x05,0x40,0x90,0xd3,0xff,0x05,0x02,0x18]
2325 v_pk_mul_f16 v5, s1, v2
2326 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0x04,0x02,0x18]
2328 v_pk_mul_f16 v5, s101, v2
2329 // CHECK: [0x05,0x40,0x90,0xd3,0x65,0x04,0x02,0x18]
2331 v_pk_mul_f16 v5, flat_scratch_lo, v2
2332 // CHECK: [0x05,0x40,0x90,0xd3,0x66,0x04,0x02,0x18]
2334 v_pk_mul_f16 v5, flat_scratch_hi, v2
2335 // CHECK: [0x05,0x40,0x90,0xd3,0x67,0x04,0x02,0x18]
2337 v_pk_mul_f16 v5, vcc_lo, v2
2338 // CHECK: [0x05,0x40,0x90,0xd3,0x6a,0x04,0x02,0x18]
2340 v_pk_mul_f16 v5, vcc_hi, v2
2341 // CHECK: [0x05,0x40,0x90,0xd3,0x6b,0x04,0x02,0x18]
2343 v_pk_mul_f16 v5, ttmp15, v2
2344 // CHECK: [0x05,0x40,0x90,0xd3,0x7b,0x04,0x02,0x18]
2346 v_pk_mul_f16 v5, m0, v2
2347 // CHECK: [0x05,0x40,0x90,0xd3,0x7c,0x04,0x02,0x18]
2349 v_pk_mul_f16 v5, exec_lo, v2
2350 // CHECK: [0x05,0x40,0x90,0xd3,0x7e,0x04,0x02,0x18]
2352 v_pk_mul_f16 v5, exec_hi, v2
2353 // CHECK: [0x05,0x40,0x90,0xd3,0x7f,0x04,0x02,0x18]
2355 v_pk_mul_f16 v5, 0, v2
2356 // CHECK: [0x05,0x40,0x90,0xd3,0x80,0x04,0x02,0x18]
2358 v_pk_mul_f16 v5, -1, v2
2359 // CHECK: [0x05,0x40,0x90,0xd3,0xc1,0x04,0x02,0x18]
2361 v_pk_mul_f16 v5, 0.5, v2
2362 // CHECK: [0x05,0x40,0x90,0xd3,0xf0,0x04,0x02,0x18]
2364 v_pk_mul_f16 v5, -4.0, v2
2365 // CHECK: [0x05,0x40,0x90,0xd3,0xf7,0x04,0x02,0x18]
2367 v_pk_mul_f16 v5, src_vccz, v2
2368 // CHECK: [0x05,0x40,0x90,0xd3,0xfb,0x04,0x02,0x18]
2370 v_pk_mul_f16 v5, src_execz, v2
2371 // CHECK: [0x05,0x40,0x90,0xd3,0xfc,0x04,0x02,0x18]
2373 v_pk_mul_f16 v5, src_scc, v2
2374 // CHECK: [0x05,0x40,0x90,0xd3,0xfd,0x04,0x02,0x18]
2376 v_pk_mul_f16 v5, src_lds_direct, v2
2377 // CHECK: [0x05,0x40,0x90,0xd3,0xfe,0x04,0x02,0x18]
2379 v_pk_mul_f16 v5, v1, v255
2380 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0xff,0x03,0x18]
2382 v_pk_mul_f16 v5, v1, s2
2383 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0x05,0x00,0x18]
2385 v_pk_mul_f16 v5, v1, s101
2386 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0xcb,0x00,0x18]
2388 v_pk_mul_f16 v5, v1, flat_scratch_lo
2389 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0xcd,0x00,0x18]
2391 v_pk_mul_f16 v5, v1, flat_scratch_hi
2392 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0xcf,0x00,0x18]
2394 v_pk_mul_f16 v5, v1, vcc_lo
2395 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0xd5,0x00,0x18]
2397 v_pk_mul_f16 v5, v1, vcc_hi
2398 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0xd7,0x00,0x18]
2400 v_pk_mul_f16 v5, v1, ttmp15
2401 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0xf7,0x00,0x18]
2403 v_pk_mul_f16 v5, v1, m0
2404 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0xf9,0x00,0x18]
2406 v_pk_mul_f16 v5, v1, exec_lo
2407 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0xfd,0x00,0x18]
2409 v_pk_mul_f16 v5, v1, exec_hi
2410 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0xff,0x00,0x18]
2412 v_pk_mul_f16 v5, v1, 0
2413 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0x01,0x01,0x18]
2415 v_pk_mul_f16 v5, v1, -1
2416 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0x83,0x01,0x18]
2418 v_pk_mul_f16 v5, v1, 0.5
2419 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0xe1,0x01,0x18]
2421 v_pk_mul_f16 v5, v1, -4.0
2422 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0xef,0x01,0x18]
2424 v_pk_mul_f16 v5, v1, src_vccz
2425 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0xf7,0x01,0x18]
2427 v_pk_mul_f16 v5, v1, src_execz
2428 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0xf9,0x01,0x18]
2430 v_pk_mul_f16 v5, v1, src_scc
2431 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0xfb,0x01,0x18]
2433 v_pk_mul_f16 v5, v1, v2 op_sel:[0,0]
2434 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0x05,0x02,0x18]
2436 v_pk_mul_f16 v5, v1, v2 op_sel:[1,0]
2437 // CHECK: [0x05,0x48,0x90,0xd3,0x01,0x05,0x02,0x18]
2439 v_pk_mul_f16 v5, v1, v2 op_sel:[0,1]
2440 // CHECK: [0x05,0x50,0x90,0xd3,0x01,0x05,0x02,0x18]
2442 v_pk_mul_f16 v5, v1, v2 op_sel:[1,1]
2443 // CHECK: [0x05,0x58,0x90,0xd3,0x01,0x05,0x02,0x18]
2445 v_pk_mul_f16 v5, v1, v2 op_sel_hi:[1,1]
2446 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0x05,0x02,0x18]
2448 v_pk_mul_f16 v5, v1, v2 op_sel_hi:[0,0]
2449 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0x05,0x02,0x00]
2451 v_pk_mul_f16 v5, v1, v2 op_sel_hi:[1,0]
2452 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0x05,0x02,0x08]
2454 v_pk_mul_f16 v5, v1, v2 op_sel_hi:[0,1]
2455 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0x05,0x02,0x10]
2457 v_pk_mul_f16 v5, v1, v2 neg_lo:[1,0]
2458 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0x05,0x02,0x38]
2460 v_pk_mul_f16 v5, v1, v2 neg_lo:[0,1]
2461 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0x05,0x02,0x58]
2463 v_pk_mul_f16 v5, v1, v2 neg_lo:[1,1]
2464 // CHECK: [0x05,0x40,0x90,0xd3,0x01,0x05,0x02,0x78]
2466 v_pk_mul_f16 v5, v1, v2 neg_hi:[1,0]
2467 // CHECK: [0x05,0x41,0x90,0xd3,0x01,0x05,0x02,0x18]
2469 v_pk_mul_f16 v5, v1, v2 neg_hi:[0,1]
2470 // CHECK: [0x05,0x42,0x90,0xd3,0x01,0x05,0x02,0x18]
2472 v_pk_mul_f16 v5, v1, v2 neg_hi:[1,1]
2473 // CHECK: [0x05,0x43,0x90,0xd3,0x01,0x05,0x02,0x18]
2475 v_pk_mul_f16 v5, v1, v2 clamp
2476 // CHECK: [0x05,0xc0,0x90,0xd3,0x01,0x05,0x02,0x18]
2478 v_pk_min_f16 v5, v1, v2
2479 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0x05,0x02,0x18]
2481 v_pk_min_f16 v255, v1, v2
2482 // CHECK: [0xff,0x40,0x91,0xd3,0x01,0x05,0x02,0x18]
2484 v_pk_min_f16 v5, v255, v2
2485 // CHECK: [0x05,0x40,0x91,0xd3,0xff,0x05,0x02,0x18]
2487 v_pk_min_f16 v5, s1, v2
2488 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0x04,0x02,0x18]
2490 v_pk_min_f16 v5, s101, v2
2491 // CHECK: [0x05,0x40,0x91,0xd3,0x65,0x04,0x02,0x18]
2493 v_pk_min_f16 v5, flat_scratch_lo, v2
2494 // CHECK: [0x05,0x40,0x91,0xd3,0x66,0x04,0x02,0x18]
2496 v_pk_min_f16 v5, flat_scratch_hi, v2
2497 // CHECK: [0x05,0x40,0x91,0xd3,0x67,0x04,0x02,0x18]
2499 v_pk_min_f16 v5, vcc_lo, v2
2500 // CHECK: [0x05,0x40,0x91,0xd3,0x6a,0x04,0x02,0x18]
2502 v_pk_min_f16 v5, vcc_hi, v2
2503 // CHECK: [0x05,0x40,0x91,0xd3,0x6b,0x04,0x02,0x18]
2505 v_pk_min_f16 v5, ttmp15, v2
2506 // CHECK: [0x05,0x40,0x91,0xd3,0x7b,0x04,0x02,0x18]
2508 v_pk_min_f16 v5, m0, v2
2509 // CHECK: [0x05,0x40,0x91,0xd3,0x7c,0x04,0x02,0x18]
2511 v_pk_min_f16 v5, exec_lo, v2
2512 // CHECK: [0x05,0x40,0x91,0xd3,0x7e,0x04,0x02,0x18]
2514 v_pk_min_f16 v5, exec_hi, v2
2515 // CHECK: [0x05,0x40,0x91,0xd3,0x7f,0x04,0x02,0x18]
2517 v_pk_min_f16 v5, 0, v2
2518 // CHECK: [0x05,0x40,0x91,0xd3,0x80,0x04,0x02,0x18]
2520 v_pk_min_f16 v5, -1, v2
2521 // CHECK: [0x05,0x40,0x91,0xd3,0xc1,0x04,0x02,0x18]
2523 v_pk_min_f16 v5, 0.5, v2
2524 // CHECK: [0x05,0x40,0x91,0xd3,0xf0,0x04,0x02,0x18]
2526 v_pk_min_f16 v5, -4.0, v2
2527 // CHECK: [0x05,0x40,0x91,0xd3,0xf7,0x04,0x02,0x18]
2529 v_pk_min_f16 v5, src_vccz, v2
2530 // CHECK: [0x05,0x40,0x91,0xd3,0xfb,0x04,0x02,0x18]
2532 v_pk_min_f16 v5, src_execz, v2
2533 // CHECK: [0x05,0x40,0x91,0xd3,0xfc,0x04,0x02,0x18]
2535 v_pk_min_f16 v5, src_scc, v2
2536 // CHECK: [0x05,0x40,0x91,0xd3,0xfd,0x04,0x02,0x18]
2538 v_pk_min_f16 v5, src_lds_direct, v2
2539 // CHECK: [0x05,0x40,0x91,0xd3,0xfe,0x04,0x02,0x18]
2541 v_pk_min_f16 v5, v1, v255
2542 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0xff,0x03,0x18]
2544 v_pk_min_f16 v5, v1, s2
2545 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0x05,0x00,0x18]
2547 v_pk_min_f16 v5, v1, s101
2548 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0xcb,0x00,0x18]
2550 v_pk_min_f16 v5, v1, flat_scratch_lo
2551 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0xcd,0x00,0x18]
2553 v_pk_min_f16 v5, v1, flat_scratch_hi
2554 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0xcf,0x00,0x18]
2556 v_pk_min_f16 v5, v1, vcc_lo
2557 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0xd5,0x00,0x18]
2559 v_pk_min_f16 v5, v1, vcc_hi
2560 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0xd7,0x00,0x18]
2562 v_pk_min_f16 v5, v1, ttmp15
2563 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0xf7,0x00,0x18]
2565 v_pk_min_f16 v5, v1, m0
2566 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0xf9,0x00,0x18]
2568 v_pk_min_f16 v5, v1, exec_lo
2569 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0xfd,0x00,0x18]
2571 v_pk_min_f16 v5, v1, exec_hi
2572 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0xff,0x00,0x18]
2574 v_pk_min_f16 v5, v1, 0
2575 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0x01,0x01,0x18]
2577 v_pk_min_f16 v5, v1, -1
2578 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0x83,0x01,0x18]
2580 v_pk_min_f16 v5, v1, 0.5
2581 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0xe1,0x01,0x18]
2583 v_pk_min_f16 v5, v1, -4.0
2584 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0xef,0x01,0x18]
2586 v_pk_min_f16 v5, v1, src_vccz
2587 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0xf7,0x01,0x18]
2589 v_pk_min_f16 v5, v1, src_execz
2590 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0xf9,0x01,0x18]
2592 v_pk_min_f16 v5, v1, src_scc
2593 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0xfb,0x01,0x18]
2595 v_pk_min_f16 v5, v1, v2 op_sel:[0,0]
2596 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0x05,0x02,0x18]
2598 v_pk_min_f16 v5, v1, v2 op_sel:[1,0]
2599 // CHECK: [0x05,0x48,0x91,0xd3,0x01,0x05,0x02,0x18]
2601 v_pk_min_f16 v5, v1, v2 op_sel:[0,1]
2602 // CHECK: [0x05,0x50,0x91,0xd3,0x01,0x05,0x02,0x18]
2604 v_pk_min_f16 v5, v1, v2 op_sel:[1,1]
2605 // CHECK: [0x05,0x58,0x91,0xd3,0x01,0x05,0x02,0x18]
2607 v_pk_min_f16 v5, v1, v2 op_sel_hi:[1,1]
2608 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0x05,0x02,0x18]
2610 v_pk_min_f16 v5, v1, v2 op_sel_hi:[0,0]
2611 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0x05,0x02,0x00]
2613 v_pk_min_f16 v5, v1, v2 op_sel_hi:[1,0]
2614 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0x05,0x02,0x08]
2616 v_pk_min_f16 v5, v1, v2 op_sel_hi:[0,1]
2617 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0x05,0x02,0x10]
2619 v_pk_min_f16 v5, v1, v2 neg_lo:[1,0]
2620 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0x05,0x02,0x38]
2622 v_pk_min_f16 v5, v1, v2 neg_lo:[0,1]
2623 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0x05,0x02,0x58]
2625 v_pk_min_f16 v5, v1, v2 neg_lo:[1,1]
2626 // CHECK: [0x05,0x40,0x91,0xd3,0x01,0x05,0x02,0x78]
2628 v_pk_min_f16 v5, v1, v2 neg_hi:[1,0]
2629 // CHECK: [0x05,0x41,0x91,0xd3,0x01,0x05,0x02,0x18]
2631 v_pk_min_f16 v5, v1, v2 neg_hi:[0,1]
2632 // CHECK: [0x05,0x42,0x91,0xd3,0x01,0x05,0x02,0x18]
2634 v_pk_min_f16 v5, v1, v2 neg_hi:[1,1]
2635 // CHECK: [0x05,0x43,0x91,0xd3,0x01,0x05,0x02,0x18]
2637 v_pk_min_f16 v5, v1, v2 clamp
2638 // CHECK: [0x05,0xc0,0x91,0xd3,0x01,0x05,0x02,0x18]
2640 v_pk_max_f16 v5, v1, v2
2641 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0x05,0x02,0x18]
2643 v_pk_max_f16 v255, v1, v2
2644 // CHECK: [0xff,0x40,0x92,0xd3,0x01,0x05,0x02,0x18]
2646 v_pk_max_f16 v5, v255, v2
2647 // CHECK: [0x05,0x40,0x92,0xd3,0xff,0x05,0x02,0x18]
2649 v_pk_max_f16 v5, s1, v2
2650 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0x04,0x02,0x18]
2652 v_pk_max_f16 v5, s101, v2
2653 // CHECK: [0x05,0x40,0x92,0xd3,0x65,0x04,0x02,0x18]
2655 v_pk_max_f16 v5, flat_scratch_lo, v2
2656 // CHECK: [0x05,0x40,0x92,0xd3,0x66,0x04,0x02,0x18]
2658 v_pk_max_f16 v5, flat_scratch_hi, v2
2659 // CHECK: [0x05,0x40,0x92,0xd3,0x67,0x04,0x02,0x18]
2661 v_pk_max_f16 v5, vcc_lo, v2
2662 // CHECK: [0x05,0x40,0x92,0xd3,0x6a,0x04,0x02,0x18]
2664 v_pk_max_f16 v5, vcc_hi, v2
2665 // CHECK: [0x05,0x40,0x92,0xd3,0x6b,0x04,0x02,0x18]
2667 v_pk_max_f16 v5, ttmp15, v2
2668 // CHECK: [0x05,0x40,0x92,0xd3,0x7b,0x04,0x02,0x18]
2670 v_pk_max_f16 v5, m0, v2
2671 // CHECK: [0x05,0x40,0x92,0xd3,0x7c,0x04,0x02,0x18]
2673 v_pk_max_f16 v5, exec_lo, v2
2674 // CHECK: [0x05,0x40,0x92,0xd3,0x7e,0x04,0x02,0x18]
2676 v_pk_max_f16 v5, exec_hi, v2
2677 // CHECK: [0x05,0x40,0x92,0xd3,0x7f,0x04,0x02,0x18]
2679 v_pk_max_f16 v5, 0, v2
2680 // CHECK: [0x05,0x40,0x92,0xd3,0x80,0x04,0x02,0x18]
2682 v_pk_max_f16 v5, -1, v2
2683 // CHECK: [0x05,0x40,0x92,0xd3,0xc1,0x04,0x02,0x18]
2685 v_pk_max_f16 v5, 0.5, v2
2686 // CHECK: [0x05,0x40,0x92,0xd3,0xf0,0x04,0x02,0x18]
2688 v_pk_max_f16 v5, -4.0, v2
2689 // CHECK: [0x05,0x40,0x92,0xd3,0xf7,0x04,0x02,0x18]
2691 v_pk_max_f16 v5, src_vccz, v2
2692 // CHECK: [0x05,0x40,0x92,0xd3,0xfb,0x04,0x02,0x18]
2694 v_pk_max_f16 v5, src_execz, v2
2695 // CHECK: [0x05,0x40,0x92,0xd3,0xfc,0x04,0x02,0x18]
2697 v_pk_max_f16 v5, src_scc, v2
2698 // CHECK: [0x05,0x40,0x92,0xd3,0xfd,0x04,0x02,0x18]
2700 v_pk_max_f16 v5, src_lds_direct, v2
2701 // CHECK: [0x05,0x40,0x92,0xd3,0xfe,0x04,0x02,0x18]
2703 v_pk_max_f16 v5, v1, v255
2704 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0xff,0x03,0x18]
2706 v_pk_max_f16 v5, v1, s2
2707 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0x05,0x00,0x18]
2709 v_pk_max_f16 v5, v1, s101
2710 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0xcb,0x00,0x18]
2712 v_pk_max_f16 v5, v1, flat_scratch_lo
2713 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0xcd,0x00,0x18]
2715 v_pk_max_f16 v5, v1, flat_scratch_hi
2716 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0xcf,0x00,0x18]
2718 v_pk_max_f16 v5, v1, vcc_lo
2719 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0xd5,0x00,0x18]
2721 v_pk_max_f16 v5, v1, vcc_hi
2722 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0xd7,0x00,0x18]
2724 v_pk_max_f16 v5, v1, ttmp15
2725 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0xf7,0x00,0x18]
2727 v_pk_max_f16 v5, v1, m0
2728 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0xf9,0x00,0x18]
2730 v_pk_max_f16 v5, v1, exec_lo
2731 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0xfd,0x00,0x18]
2733 v_pk_max_f16 v5, v1, exec_hi
2734 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0xff,0x00,0x18]
2736 v_pk_max_f16 v5, v1, 0
2737 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0x01,0x01,0x18]
2739 v_pk_max_f16 v5, v1, -1
2740 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0x83,0x01,0x18]
2742 v_pk_max_f16 v5, v1, 0.5
2743 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0xe1,0x01,0x18]
2745 v_pk_max_f16 v5, v1, -4.0
2746 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0xef,0x01,0x18]
2748 v_pk_max_f16 v5, v1, src_vccz
2749 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0xf7,0x01,0x18]
2751 v_pk_max_f16 v5, v1, src_execz
2752 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0xf9,0x01,0x18]
2754 v_pk_max_f16 v5, v1, src_scc
2755 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0xfb,0x01,0x18]
2757 v_pk_max_f16 v5, v1, v2 op_sel:[0,0]
2758 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0x05,0x02,0x18]
2760 v_pk_max_f16 v5, v1, v2 op_sel:[1,0]
2761 // CHECK: [0x05,0x48,0x92,0xd3,0x01,0x05,0x02,0x18]
2763 v_pk_max_f16 v5, v1, v2 op_sel:[0,1]
2764 // CHECK: [0x05,0x50,0x92,0xd3,0x01,0x05,0x02,0x18]
2766 v_pk_max_f16 v5, v1, v2 op_sel:[1,1]
2767 // CHECK: [0x05,0x58,0x92,0xd3,0x01,0x05,0x02,0x18]
2769 v_pk_max_f16 v5, v1, v2 op_sel_hi:[1,1]
2770 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0x05,0x02,0x18]
2772 v_pk_max_f16 v5, v1, v2 op_sel_hi:[0,0]
2773 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0x05,0x02,0x00]
2775 v_pk_max_f16 v5, v1, v2 op_sel_hi:[1,0]
2776 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0x05,0x02,0x08]
2778 v_pk_max_f16 v5, v1, v2 op_sel_hi:[0,1]
2779 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0x05,0x02,0x10]
2781 v_pk_max_f16 v5, v1, v2 neg_lo:[1,0]
2782 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0x05,0x02,0x38]
2784 v_pk_max_f16 v5, v1, v2 neg_lo:[0,1]
2785 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0x05,0x02,0x58]
2787 v_pk_max_f16 v5, v1, v2 neg_lo:[1,1]
2788 // CHECK: [0x05,0x40,0x92,0xd3,0x01,0x05,0x02,0x78]
2790 v_pk_max_f16 v5, v1, v2 neg_hi:[1,0]
2791 // CHECK: [0x05,0x41,0x92,0xd3,0x01,0x05,0x02,0x18]
2793 v_pk_max_f16 v5, v1, v2 neg_hi:[0,1]
2794 // CHECK: [0x05,0x42,0x92,0xd3,0x01,0x05,0x02,0x18]
2796 v_pk_max_f16 v5, v1, v2 neg_hi:[1,1]
2797 // CHECK: [0x05,0x43,0x92,0xd3,0x01,0x05,0x02,0x18]
2799 v_pk_max_f16 v5, v1, v2 clamp
2800 // CHECK: [0x05,0xc0,0x92,0xd3,0x01,0x05,0x02,0x18]
2802 v_mad_mix_f32 v5, v1, v2, v3
2803 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0x0e,0x04]
2805 v_mad_mix_f32 v255, v1, v2, v3
2806 // CHECK: [0xff,0x00,0xa0,0xd3,0x01,0x05,0x0e,0x04]
2808 v_mad_mix_f32 v5, v255, v2, v3
2809 // CHECK: [0x05,0x00,0xa0,0xd3,0xff,0x05,0x0e,0x04]
2811 v_mad_mix_f32 v5, s1, v2, v3
2812 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x04,0x0e,0x04]
2814 v_mad_mix_f32 v5, s101, v2, v3
2815 // CHECK: [0x05,0x00,0xa0,0xd3,0x65,0x04,0x0e,0x04]
2817 v_mad_mix_f32 v5, flat_scratch_lo, v2, v3
2818 // CHECK: [0x05,0x00,0xa0,0xd3,0x66,0x04,0x0e,0x04]
2820 v_mad_mix_f32 v5, flat_scratch_hi, v2, v3
2821 // CHECK: [0x05,0x00,0xa0,0xd3,0x67,0x04,0x0e,0x04]
2823 v_mad_mix_f32 v5, vcc_lo, v2, v3
2824 // CHECK: [0x05,0x00,0xa0,0xd3,0x6a,0x04,0x0e,0x04]
2826 v_mad_mix_f32 v5, vcc_hi, v2, v3
2827 // CHECK: [0x05,0x00,0xa0,0xd3,0x6b,0x04,0x0e,0x04]
2829 v_mad_mix_f32 v5, ttmp15, v2, v3
2830 // CHECK: [0x05,0x00,0xa0,0xd3,0x7b,0x04,0x0e,0x04]
2832 v_mad_mix_f32 v5, m0, v2, v3
2833 // CHECK: [0x05,0x00,0xa0,0xd3,0x7c,0x04,0x0e,0x04]
2835 v_mad_mix_f32 v5, exec_lo, v2, v3
2836 // CHECK: [0x05,0x00,0xa0,0xd3,0x7e,0x04,0x0e,0x04]
2838 v_mad_mix_f32 v5, exec_hi, v2, v3
2839 // CHECK: [0x05,0x00,0xa0,0xd3,0x7f,0x04,0x0e,0x04]
2841 v_mad_mix_f32 v5, 0, v2, v3
2842 // CHECK: [0x05,0x00,0xa0,0xd3,0x80,0x04,0x0e,0x04]
2844 v_mad_mix_f32 v5, -1, v2, v3
2845 // CHECK: [0x05,0x00,0xa0,0xd3,0xc1,0x04,0x0e,0x04]
2847 v_mad_mix_f32 v5, 0.5, v2, v3
2848 // CHECK: [0x05,0x00,0xa0,0xd3,0xf0,0x04,0x0e,0x04]
2850 v_mad_mix_f32 v5, -4.0, v2, v3
2851 // CHECK: [0x05,0x00,0xa0,0xd3,0xf7,0x04,0x0e,0x04]
2853 v_mad_mix_f32 v5, src_vccz, v2, v3
2854 // CHECK: [0x05,0x00,0xa0,0xd3,0xfb,0x04,0x0e,0x04]
2856 v_mad_mix_f32 v5, src_execz, v2, v3
2857 // CHECK: [0x05,0x00,0xa0,0xd3,0xfc,0x04,0x0e,0x04]
2859 v_mad_mix_f32 v5, src_scc, v2, v3
2860 // CHECK: [0x05,0x00,0xa0,0xd3,0xfd,0x04,0x0e,0x04]
2862 v_mad_mix_f32 v5, src_lds_direct, v2, v3
2863 // CHECK: [0x05,0x00,0xa0,0xd3,0xfe,0x04,0x0e,0x04]
2865 v_mad_mix_f32 v5, v1, v255, v3
2866 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0xff,0x0f,0x04]
2868 v_mad_mix_f32 v5, v1, s2, v3
2869 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0x0c,0x04]
2871 v_mad_mix_f32 v5, v1, s101, v3
2872 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0xcb,0x0c,0x04]
2874 v_mad_mix_f32 v5, v1, flat_scratch_lo, v3
2875 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0xcd,0x0c,0x04]
2877 v_mad_mix_f32 v5, v1, flat_scratch_hi, v3
2878 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0xcf,0x0c,0x04]
2880 v_mad_mix_f32 v5, v1, vcc_lo, v3
2881 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0xd5,0x0c,0x04]
2883 v_mad_mix_f32 v5, v1, vcc_hi, v3
2884 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0xd7,0x0c,0x04]
2886 v_mad_mix_f32 v5, v1, ttmp15, v3
2887 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0xf7,0x0c,0x04]
2889 v_mad_mix_f32 v5, v1, m0, v3
2890 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0xf9,0x0c,0x04]
2892 v_mad_mix_f32 v5, v1, exec_lo, v3
2893 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0xfd,0x0c,0x04]
2895 v_mad_mix_f32 v5, v1, exec_hi, v3
2896 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0xff,0x0c,0x04]
2898 v_mad_mix_f32 v5, v1, 0, v3
2899 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x01,0x0d,0x04]
2901 v_mad_mix_f32 v5, v1, -1, v3
2902 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x83,0x0d,0x04]
2904 v_mad_mix_f32 v5, v1, 0.5, v3
2905 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0xe1,0x0d,0x04]
2907 v_mad_mix_f32 v5, v1, -4.0, v3
2908 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0xef,0x0d,0x04]
2910 v_mad_mix_f32 v5, v1, src_vccz, v3
2911 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0xf7,0x0d,0x04]
2913 v_mad_mix_f32 v5, v1, src_execz, v3
2914 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0xf9,0x0d,0x04]
2916 v_mad_mix_f32 v5, v1, src_scc, v3
2917 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0xfb,0x0d,0x04]
2919 v_mad_mix_f32 v5, v1, v2, v255
2920 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0xfe,0x07]
2922 v_mad_mix_f32 v5, v1, v2, s3
2923 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0x0e,0x00]
2925 v_mad_mix_f32 v5, v1, v2, s101
2926 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0x96,0x01]
2928 v_mad_mix_f32 v5, v1, v2, flat_scratch_lo
2929 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0x9a,0x01]
2931 v_mad_mix_f32 v5, v1, v2, flat_scratch_hi
2932 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0x9e,0x01]
2934 v_mad_mix_f32 v5, v1, v2, vcc_lo
2935 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0xaa,0x01]
2937 v_mad_mix_f32 v5, v1, v2, vcc_hi
2938 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0xae,0x01]
2940 v_mad_mix_f32 v5, v1, v2, ttmp15
2941 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0xee,0x01]
2943 v_mad_mix_f32 v5, v1, v2, m0
2944 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0xf2,0x01]
2946 v_mad_mix_f32 v5, v1, v2, exec_lo
2947 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0xfa,0x01]
2949 v_mad_mix_f32 v5, v1, v2, exec_hi
2950 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0xfe,0x01]
2952 v_mad_mix_f32 v5, v1, v2, 0
2953 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0x02,0x02]
2955 v_mad_mix_f32 v5, v1, v2, -1
2956 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0x06,0x03]
2958 v_mad_mix_f32 v5, v1, v2, 0.5
2959 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0xc2,0x03]
2961 v_mad_mix_f32 v5, v1, v2, -4.0
2962 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0xde,0x03]
2964 v_mad_mix_f32 v5, v1, v2, src_vccz
2965 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0xee,0x03]
2967 v_mad_mix_f32 v5, v1, v2, src_execz
2968 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0xf2,0x03]
2970 v_mad_mix_f32 v5, v1, v2, src_scc
2971 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0xf6,0x03]
2973 v_mad_mix_f32 v5, v1, v2, v3 op_sel:[0,0,0]
2974 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0x0e,0x04]
2976 v_mad_mix_f32 v5, v1, v2, v3 op_sel:[1,0,0]
2977 // CHECK: [0x05,0x08,0xa0,0xd3,0x01,0x05,0x0e,0x04]
2979 v_mad_mix_f32 v5, v1, v2, v3 op_sel:[0,1,0]
2980 // CHECK: [0x05,0x10,0xa0,0xd3,0x01,0x05,0x0e,0x04]
2982 v_mad_mix_f32 v5, v1, v2, v3 op_sel:[0,0,1]
2983 // CHECK: [0x05,0x20,0xa0,0xd3,0x01,0x05,0x0e,0x04]
2985 v_mad_mix_f32 v5, v1, v2, v3 op_sel:[1,1,1]
2986 // CHECK: [0x05,0x38,0xa0,0xd3,0x01,0x05,0x0e,0x04]
2988 v_mad_mix_f32 v5, v1, v2, v3 op_sel_hi:[0,0,0]
2989 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0x0e,0x04]
2991 v_mad_mix_f32 v5, v1, v2, v3 op_sel_hi:[1,0,0]
2992 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0x0e,0x0c]
2994 v_mad_mix_f32 v5, v1, v2, v3 op_sel_hi:[0,1,0]
2995 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0x0e,0x14]
2997 v_mad_mix_f32 v5, v1, v2, v3 op_sel_hi:[0,0,1]
2998 // CHECK: [0x05,0x40,0xa0,0xd3,0x01,0x05,0x0e,0x04]
3000 v_mad_mix_f32 v5, v1, v2, v3 op_sel_hi:[1,1,1]
3001 // CHECK: [0x05,0x40,0xa0,0xd3,0x01,0x05,0x0e,0x1c]
3003 v_mad_mix_f32 v5, -v1, v2, v3
3004 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0x0e,0x24]
3006 v_mad_mix_f32 v5, v1, -v2, v3
3007 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0x0e,0x44]
3009 v_mad_mix_f32 v5, v1, v2, -v3
3010 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0x0e,0x84]
3012 v_mad_mix_f32 v5, -v1, -v2, -v3
3013 // CHECK: [0x05,0x00,0xa0,0xd3,0x01,0x05,0x0e,0xe4]
3015 v_mad_mix_f32 v5, |v1|, v2, v3
3016 // CHECK: [0x05,0x01,0xa0,0xd3,0x01,0x05,0x0e,0x04]
3018 v_mad_mix_f32 v5, v1, |v2|, v3
3019 // CHECK: [0x05,0x02,0xa0,0xd3,0x01,0x05,0x0e,0x04]
3021 v_mad_mix_f32 v5, v1, v2, |v3|
3022 // CHECK: [0x05,0x04,0xa0,0xd3,0x01,0x05,0x0e,0x04]
3024 v_mad_mix_f32 v5, |v1|, |v2|, |v3|
3025 // CHECK: [0x05,0x07,0xa0,0xd3,0x01,0x05,0x0e,0x04]
3027 v_mad_mix_f32 v5, v1, v2, v3 clamp
3028 // CHECK: [0x05,0x80,0xa0,0xd3,0x01,0x05,0x0e,0x04]
3030 v_mad_mixlo_f16 v5, v1, v2, v3
3031 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0x0e,0x04]
3033 v_mad_mixlo_f16 v255, v1, v2, v3
3034 // CHECK: [0xff,0x00,0xa1,0xd3,0x01,0x05,0x0e,0x04]
3036 v_mad_mixlo_f16 v5, v255, v2, v3
3037 // CHECK: [0x05,0x00,0xa1,0xd3,0xff,0x05,0x0e,0x04]
3039 v_mad_mixlo_f16 v5, s1, v2, v3
3040 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x04,0x0e,0x04]
3042 v_mad_mixlo_f16 v5, s101, v2, v3
3043 // CHECK: [0x05,0x00,0xa1,0xd3,0x65,0x04,0x0e,0x04]
3045 v_mad_mixlo_f16 v5, flat_scratch_lo, v2, v3
3046 // CHECK: [0x05,0x00,0xa1,0xd3,0x66,0x04,0x0e,0x04]
3048 v_mad_mixlo_f16 v5, flat_scratch_hi, v2, v3
3049 // CHECK: [0x05,0x00,0xa1,0xd3,0x67,0x04,0x0e,0x04]
3051 v_mad_mixlo_f16 v5, vcc_lo, v2, v3
3052 // CHECK: [0x05,0x00,0xa1,0xd3,0x6a,0x04,0x0e,0x04]
3054 v_mad_mixlo_f16 v5, vcc_hi, v2, v3
3055 // CHECK: [0x05,0x00,0xa1,0xd3,0x6b,0x04,0x0e,0x04]
3057 v_mad_mixlo_f16 v5, ttmp15, v2, v3
3058 // CHECK: [0x05,0x00,0xa1,0xd3,0x7b,0x04,0x0e,0x04]
3060 v_mad_mixlo_f16 v5, m0, v2, v3
3061 // CHECK: [0x05,0x00,0xa1,0xd3,0x7c,0x04,0x0e,0x04]
3063 v_mad_mixlo_f16 v5, exec_lo, v2, v3
3064 // CHECK: [0x05,0x00,0xa1,0xd3,0x7e,0x04,0x0e,0x04]
3066 v_mad_mixlo_f16 v5, exec_hi, v2, v3
3067 // CHECK: [0x05,0x00,0xa1,0xd3,0x7f,0x04,0x0e,0x04]
3069 v_mad_mixlo_f16 v5, 0, v2, v3
3070 // CHECK: [0x05,0x00,0xa1,0xd3,0x80,0x04,0x0e,0x04]
3072 v_mad_mixlo_f16 v5, -1, v2, v3
3073 // CHECK: [0x05,0x00,0xa1,0xd3,0xc1,0x04,0x0e,0x04]
3075 v_mad_mixlo_f16 v5, 0.5, v2, v3
3076 // CHECK: [0x05,0x00,0xa1,0xd3,0xf0,0x04,0x0e,0x04]
3078 v_mad_mixlo_f16 v5, -4.0, v2, v3
3079 // CHECK: [0x05,0x00,0xa1,0xd3,0xf7,0x04,0x0e,0x04]
3081 v_mad_mixlo_f16 v5, src_vccz, v2, v3
3082 // CHECK: [0x05,0x00,0xa1,0xd3,0xfb,0x04,0x0e,0x04]
3084 v_mad_mixlo_f16 v5, src_execz, v2, v3
3085 // CHECK: [0x05,0x00,0xa1,0xd3,0xfc,0x04,0x0e,0x04]
3087 v_mad_mixlo_f16 v5, src_scc, v2, v3
3088 // CHECK: [0x05,0x00,0xa1,0xd3,0xfd,0x04,0x0e,0x04]
3090 v_mad_mixlo_f16 v5, src_lds_direct, v2, v3
3091 // CHECK: [0x05,0x00,0xa1,0xd3,0xfe,0x04,0x0e,0x04]
3093 v_mad_mixlo_f16 v5, v1, v255, v3
3094 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0xff,0x0f,0x04]
3096 v_mad_mixlo_f16 v5, v1, s2, v3
3097 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0x0c,0x04]
3099 v_mad_mixlo_f16 v5, v1, s101, v3
3100 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0xcb,0x0c,0x04]
3102 v_mad_mixlo_f16 v5, v1, flat_scratch_lo, v3
3103 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0xcd,0x0c,0x04]
3105 v_mad_mixlo_f16 v5, v1, flat_scratch_hi, v3
3106 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0xcf,0x0c,0x04]
3108 v_mad_mixlo_f16 v5, v1, vcc_lo, v3
3109 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0xd5,0x0c,0x04]
3111 v_mad_mixlo_f16 v5, v1, vcc_hi, v3
3112 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0xd7,0x0c,0x04]
3114 v_mad_mixlo_f16 v5, v1, ttmp15, v3
3115 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0xf7,0x0c,0x04]
3117 v_mad_mixlo_f16 v5, v1, m0, v3
3118 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0xf9,0x0c,0x04]
3120 v_mad_mixlo_f16 v5, v1, exec_lo, v3
3121 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0xfd,0x0c,0x04]
3123 v_mad_mixlo_f16 v5, v1, exec_hi, v3
3124 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0xff,0x0c,0x04]
3126 v_mad_mixlo_f16 v5, v1, 0, v3
3127 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x01,0x0d,0x04]
3129 v_mad_mixlo_f16 v5, v1, -1, v3
3130 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x83,0x0d,0x04]
3132 v_mad_mixlo_f16 v5, v1, 0.5, v3
3133 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0xe1,0x0d,0x04]
3135 v_mad_mixlo_f16 v5, v1, -4.0, v3
3136 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0xef,0x0d,0x04]
3138 v_mad_mixlo_f16 v5, v1, src_vccz, v3
3139 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0xf7,0x0d,0x04]
3141 v_mad_mixlo_f16 v5, v1, src_execz, v3
3142 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0xf9,0x0d,0x04]
3144 v_mad_mixlo_f16 v5, v1, src_scc, v3
3145 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0xfb,0x0d,0x04]
3147 v_mad_mixlo_f16 v5, v1, v2, v255
3148 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0xfe,0x07]
3150 v_mad_mixlo_f16 v5, v1, v2, s3
3151 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0x0e,0x00]
3153 v_mad_mixlo_f16 v5, v1, v2, s101
3154 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0x96,0x01]
3156 v_mad_mixlo_f16 v5, v1, v2, flat_scratch_lo
3157 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0x9a,0x01]
3159 v_mad_mixlo_f16 v5, v1, v2, flat_scratch_hi
3160 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0x9e,0x01]
3162 v_mad_mixlo_f16 v5, v1, v2, vcc_lo
3163 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0xaa,0x01]
3165 v_mad_mixlo_f16 v5, v1, v2, vcc_hi
3166 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0xae,0x01]
3168 v_mad_mixlo_f16 v5, v1, v2, ttmp15
3169 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0xee,0x01]
3171 v_mad_mixlo_f16 v5, v1, v2, m0
3172 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0xf2,0x01]
3174 v_mad_mixlo_f16 v5, v1, v2, exec_lo
3175 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0xfa,0x01]
3177 v_mad_mixlo_f16 v5, v1, v2, exec_hi
3178 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0xfe,0x01]
3180 v_mad_mixlo_f16 v5, v1, v2, 0
3181 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0x02,0x02]
3183 v_mad_mixlo_f16 v5, v1, v2, -1
3184 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0x06,0x03]
3186 v_mad_mixlo_f16 v5, v1, v2, 0.5
3187 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0xc2,0x03]
3189 v_mad_mixlo_f16 v5, v1, v2, -4.0
3190 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0xde,0x03]
3192 v_mad_mixlo_f16 v5, v1, v2, src_vccz
3193 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0xee,0x03]
3195 v_mad_mixlo_f16 v5, v1, v2, src_execz
3196 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0xf2,0x03]
3198 v_mad_mixlo_f16 v5, v1, v2, src_scc
3199 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0xf6,0x03]
3201 v_mad_mixlo_f16 v5, v1, v2, v3 op_sel:[0,0,0]
3202 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0x0e,0x04]
3204 v_mad_mixlo_f16 v5, v1, v2, v3 op_sel:[1,0,0]
3205 // CHECK: [0x05,0x08,0xa1,0xd3,0x01,0x05,0x0e,0x04]
3207 v_mad_mixlo_f16 v5, v1, v2, v3 op_sel:[0,1,0]
3208 // CHECK: [0x05,0x10,0xa1,0xd3,0x01,0x05,0x0e,0x04]
3210 v_mad_mixlo_f16 v5, v1, v2, v3 op_sel:[0,0,1]
3211 // CHECK: [0x05,0x20,0xa1,0xd3,0x01,0x05,0x0e,0x04]
3213 v_mad_mixlo_f16 v5, v1, v2, v3 op_sel:[1,1,1]
3214 // CHECK: [0x05,0x38,0xa1,0xd3,0x01,0x05,0x0e,0x04]
3216 v_mad_mixlo_f16 v5, v1, v2, v3 op_sel_hi:[0,0,0]
3217 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0x0e,0x04]
3219 v_mad_mixlo_f16 v5, v1, v2, v3 op_sel_hi:[1,0,0]
3220 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0x0e,0x0c]
3222 v_mad_mixlo_f16 v5, v1, v2, v3 op_sel_hi:[0,1,0]
3223 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0x0e,0x14]
3225 v_mad_mixlo_f16 v5, v1, v2, v3 op_sel_hi:[0,0,1]
3226 // CHECK: [0x05,0x40,0xa1,0xd3,0x01,0x05,0x0e,0x04]
3228 v_mad_mixlo_f16 v5, v1, v2, v3 op_sel_hi:[1,1,1]
3229 // CHECK: [0x05,0x40,0xa1,0xd3,0x01,0x05,0x0e,0x1c]
3231 v_mad_mixlo_f16 v5, -v1, v2, v3
3232 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0x0e,0x24]
3234 v_mad_mixlo_f16 v5, v1, -v2, v3
3235 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0x0e,0x44]
3237 v_mad_mixlo_f16 v5, v1, v2, -v3
3238 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0x0e,0x84]
3240 v_mad_mixlo_f16 v5, -v1, -v2, -v3
3241 // CHECK: [0x05,0x00,0xa1,0xd3,0x01,0x05,0x0e,0xe4]
3243 v_mad_mixlo_f16 v5, |v1|, v2, v3
3244 // CHECK: [0x05,0x01,0xa1,0xd3,0x01,0x05,0x0e,0x04]
3246 v_mad_mixlo_f16 v5, v1, |v2|, v3
3247 // CHECK: [0x05,0x02,0xa1,0xd3,0x01,0x05,0x0e,0x04]
3249 v_mad_mixlo_f16 v5, v1, v2, |v3|
3250 // CHECK: [0x05,0x04,0xa1,0xd3,0x01,0x05,0x0e,0x04]
3252 v_mad_mixlo_f16 v5, |v1|, |v2|, |v3|
3253 // CHECK: [0x05,0x07,0xa1,0xd3,0x01,0x05,0x0e,0x04]
3255 v_mad_mixlo_f16 v5, v1, v2, v3 clamp
3256 // CHECK: [0x05,0x80,0xa1,0xd3,0x01,0x05,0x0e,0x04]
3258 v_mad_mixhi_f16 v5, v1, v2, v3
3259 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0x0e,0x04]
3261 v_mad_mixhi_f16 v255, v1, v2, v3
3262 // CHECK: [0xff,0x00,0xa2,0xd3,0x01,0x05,0x0e,0x04]
3264 v_mad_mixhi_f16 v5, v255, v2, v3
3265 // CHECK: [0x05,0x00,0xa2,0xd3,0xff,0x05,0x0e,0x04]
3267 v_mad_mixhi_f16 v5, s1, v2, v3
3268 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x04,0x0e,0x04]
3270 v_mad_mixhi_f16 v5, s101, v2, v3
3271 // CHECK: [0x05,0x00,0xa2,0xd3,0x65,0x04,0x0e,0x04]
3273 v_mad_mixhi_f16 v5, flat_scratch_lo, v2, v3
3274 // CHECK: [0x05,0x00,0xa2,0xd3,0x66,0x04,0x0e,0x04]
3276 v_mad_mixhi_f16 v5, flat_scratch_hi, v2, v3
3277 // CHECK: [0x05,0x00,0xa2,0xd3,0x67,0x04,0x0e,0x04]
3279 v_mad_mixhi_f16 v5, vcc_lo, v2, v3
3280 // CHECK: [0x05,0x00,0xa2,0xd3,0x6a,0x04,0x0e,0x04]
3282 v_mad_mixhi_f16 v5, vcc_hi, v2, v3
3283 // CHECK: [0x05,0x00,0xa2,0xd3,0x6b,0x04,0x0e,0x04]
3285 v_mad_mixhi_f16 v5, ttmp15, v2, v3
3286 // CHECK: [0x05,0x00,0xa2,0xd3,0x7b,0x04,0x0e,0x04]
3288 v_mad_mixhi_f16 v5, m0, v2, v3
3289 // CHECK: [0x05,0x00,0xa2,0xd3,0x7c,0x04,0x0e,0x04]
3291 v_mad_mixhi_f16 v5, exec_lo, v2, v3
3292 // CHECK: [0x05,0x00,0xa2,0xd3,0x7e,0x04,0x0e,0x04]
3294 v_mad_mixhi_f16 v5, exec_hi, v2, v3
3295 // CHECK: [0x05,0x00,0xa2,0xd3,0x7f,0x04,0x0e,0x04]
3297 v_mad_mixhi_f16 v5, 0, v2, v3
3298 // CHECK: [0x05,0x00,0xa2,0xd3,0x80,0x04,0x0e,0x04]
3300 v_mad_mixhi_f16 v5, -1, v2, v3
3301 // CHECK: [0x05,0x00,0xa2,0xd3,0xc1,0x04,0x0e,0x04]
3303 v_mad_mixhi_f16 v5, 0.5, v2, v3
3304 // CHECK: [0x05,0x00,0xa2,0xd3,0xf0,0x04,0x0e,0x04]
3306 v_mad_mixhi_f16 v5, -4.0, v2, v3
3307 // CHECK: [0x05,0x00,0xa2,0xd3,0xf7,0x04,0x0e,0x04]
3309 v_mad_mixhi_f16 v5, src_vccz, v2, v3
3310 // CHECK: [0x05,0x00,0xa2,0xd3,0xfb,0x04,0x0e,0x04]
3312 v_mad_mixhi_f16 v5, src_execz, v2, v3
3313 // CHECK: [0x05,0x00,0xa2,0xd3,0xfc,0x04,0x0e,0x04]
3315 v_mad_mixhi_f16 v5, src_scc, v2, v3
3316 // CHECK: [0x05,0x00,0xa2,0xd3,0xfd,0x04,0x0e,0x04]
3318 v_mad_mixhi_f16 v5, src_lds_direct, v2, v3
3319 // CHECK: [0x05,0x00,0xa2,0xd3,0xfe,0x04,0x0e,0x04]
3321 v_mad_mixhi_f16 v5, v1, v255, v3
3322 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0xff,0x0f,0x04]
3324 v_mad_mixhi_f16 v5, v1, s2, v3
3325 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0x0c,0x04]
3327 v_mad_mixhi_f16 v5, v1, s101, v3
3328 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0xcb,0x0c,0x04]
3330 v_mad_mixhi_f16 v5, v1, flat_scratch_lo, v3
3331 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0xcd,0x0c,0x04]
3333 v_mad_mixhi_f16 v5, v1, flat_scratch_hi, v3
3334 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0xcf,0x0c,0x04]
3336 v_mad_mixhi_f16 v5, v1, vcc_lo, v3
3337 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0xd5,0x0c,0x04]
3339 v_mad_mixhi_f16 v5, v1, vcc_hi, v3
3340 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0xd7,0x0c,0x04]
3342 v_mad_mixhi_f16 v5, v1, ttmp15, v3
3343 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0xf7,0x0c,0x04]
3345 v_mad_mixhi_f16 v5, v1, m0, v3
3346 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0xf9,0x0c,0x04]
3348 v_mad_mixhi_f16 v5, v1, exec_lo, v3
3349 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0xfd,0x0c,0x04]
3351 v_mad_mixhi_f16 v5, v1, exec_hi, v3
3352 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0xff,0x0c,0x04]
3354 v_mad_mixhi_f16 v5, v1, 0, v3
3355 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x01,0x0d,0x04]
3357 v_mad_mixhi_f16 v5, v1, -1, v3
3358 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x83,0x0d,0x04]
3360 v_mad_mixhi_f16 v5, v1, 0.5, v3
3361 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0xe1,0x0d,0x04]
3363 v_mad_mixhi_f16 v5, v1, -4.0, v3
3364 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0xef,0x0d,0x04]
3366 v_mad_mixhi_f16 v5, v1, src_vccz, v3
3367 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0xf7,0x0d,0x04]
3369 v_mad_mixhi_f16 v5, v1, src_execz, v3
3370 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0xf9,0x0d,0x04]
3372 v_mad_mixhi_f16 v5, v1, src_scc, v3
3373 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0xfb,0x0d,0x04]
3375 v_mad_mixhi_f16 v5, v1, v2, v255
3376 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0xfe,0x07]
3378 v_mad_mixhi_f16 v5, v1, v2, s3
3379 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0x0e,0x00]
3381 v_mad_mixhi_f16 v5, v1, v2, s101
3382 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0x96,0x01]
3384 v_mad_mixhi_f16 v5, v1, v2, flat_scratch_lo
3385 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0x9a,0x01]
3387 v_mad_mixhi_f16 v5, v1, v2, flat_scratch_hi
3388 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0x9e,0x01]
3390 v_mad_mixhi_f16 v5, v1, v2, vcc_lo
3391 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0xaa,0x01]
3393 v_mad_mixhi_f16 v5, v1, v2, vcc_hi
3394 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0xae,0x01]
3396 v_mad_mixhi_f16 v5, v1, v2, ttmp15
3397 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0xee,0x01]
3399 v_mad_mixhi_f16 v5, v1, v2, m0
3400 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0xf2,0x01]
3402 v_mad_mixhi_f16 v5, v1, v2, exec_lo
3403 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0xfa,0x01]
3405 v_mad_mixhi_f16 v5, v1, v2, exec_hi
3406 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0xfe,0x01]
3408 v_mad_mixhi_f16 v5, v1, v2, 0
3409 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0x02,0x02]
3411 v_mad_mixhi_f16 v5, v1, v2, -1
3412 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0x06,0x03]
3414 v_mad_mixhi_f16 v5, v1, v2, 0.5
3415 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0xc2,0x03]
3417 v_mad_mixhi_f16 v5, v1, v2, -4.0
3418 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0xde,0x03]
3420 v_mad_mixhi_f16 v5, v1, v2, src_vccz
3421 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0xee,0x03]
3423 v_mad_mixhi_f16 v5, v1, v2, src_execz
3424 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0xf2,0x03]
3426 v_mad_mixhi_f16 v5, v1, v2, src_scc
3427 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0xf6,0x03]
3429 v_mad_mixhi_f16 v5, v1, v2, v3 op_sel:[0,0,0]
3430 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0x0e,0x04]
3432 v_mad_mixhi_f16 v5, v1, v2, v3 op_sel:[1,0,0]
3433 // CHECK: [0x05,0x08,0xa2,0xd3,0x01,0x05,0x0e,0x04]
3435 v_mad_mixhi_f16 v5, v1, v2, v3 op_sel:[0,1,0]
3436 // CHECK: [0x05,0x10,0xa2,0xd3,0x01,0x05,0x0e,0x04]
3438 v_mad_mixhi_f16 v5, v1, v2, v3 op_sel:[0,0,1]
3439 // CHECK: [0x05,0x20,0xa2,0xd3,0x01,0x05,0x0e,0x04]
3441 v_mad_mixhi_f16 v5, v1, v2, v3 op_sel:[1,1,1]
3442 // CHECK: [0x05,0x38,0xa2,0xd3,0x01,0x05,0x0e,0x04]
3444 v_mad_mixhi_f16 v5, v1, v2, v3 op_sel_hi:[0,0,0]
3445 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0x0e,0x04]
3447 v_mad_mixhi_f16 v5, v1, v2, v3 op_sel_hi:[1,0,0]
3448 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0x0e,0x0c]
3450 v_mad_mixhi_f16 v5, v1, v2, v3 op_sel_hi:[0,1,0]
3451 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0x0e,0x14]
3453 v_mad_mixhi_f16 v5, v1, v2, v3 op_sel_hi:[0,0,1]
3454 // CHECK: [0x05,0x40,0xa2,0xd3,0x01,0x05,0x0e,0x04]
3456 v_mad_mixhi_f16 v5, v1, v2, v3 op_sel_hi:[1,1,1]
3457 // CHECK: [0x05,0x40,0xa2,0xd3,0x01,0x05,0x0e,0x1c]
3459 v_mad_mixhi_f16 v5, -v1, v2, v3
3460 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0x0e,0x24]
3462 v_mad_mixhi_f16 v5, v1, -v2, v3
3463 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0x0e,0x44]
3465 v_mad_mixhi_f16 v5, v1, v2, -v3
3466 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0x0e,0x84]
3468 v_mad_mixhi_f16 v5, -v1, -v2, -v3
3469 // CHECK: [0x05,0x00,0xa2,0xd3,0x01,0x05,0x0e,0xe4]
3471 v_mad_mixhi_f16 v5, |v1|, v2, v3
3472 // CHECK: [0x05,0x01,0xa2,0xd3,0x01,0x05,0x0e,0x04]
3474 v_mad_mixhi_f16 v5, v1, |v2|, v3
3475 // CHECK: [0x05,0x02,0xa2,0xd3,0x01,0x05,0x0e,0x04]
3477 v_mad_mixhi_f16 v5, v1, v2, |v3|
3478 // CHECK: [0x05,0x04,0xa2,0xd3,0x01,0x05,0x0e,0x04]
3480 v_mad_mixhi_f16 v5, |v1|, |v2|, |v3|
3481 // CHECK: [0x05,0x07,0xa2,0xd3,0x01,0x05,0x0e,0x04]
3483 v_mad_mixhi_f16 v5, v1, v2, v3 clamp
3484 // CHECK: [0x05,0x80,0xa2,0xd3,0x01,0x05,0x0e,0x04]