[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / AMDGPU / gfx10_unsupported.s
blobc59d434fde8e1a26d17cadb8ba9f23f14f3562cd
1 // RUN: not llvm-mc -arch=amdgcn -mcpu=gfx1010 -mattr=+wavefrontsize32,-wavefrontsize64 %s 2>&1 | FileCheck --implicit-check-not=error: %s
2 // RUN: not llvm-mc -arch=amdgcn -mcpu=gfx1010 -mattr=-wavefrontsize32,+wavefrontsize64 %s 2>&1 | FileCheck --implicit-check-not=error: %s
3 // RUN: not llvm-mc -arch=amdgcn -mcpu=gfx1013 -mattr=-wavefrontsize32,+wavefrontsize64 %s 2>&1 | FileCheck --implicit-check-not=error: %s
5 //===----------------------------------------------------------------------===//
6 // Unsupported instructions.
7 //===----------------------------------------------------------------------===//
9 buffer_atomic_add_f32 v255, off, s[8:11], s3 offset:4095
10 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
12 buffer_atomic_pk_add_f16 v255, off, s[8:11], s3 offset:4095
13 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
15 buffer_store_lds_dword s[4:7], s0 lds
16 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
18 buffer_wbinvl1_vol
19 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
21 global_atomic_add_f32 v[1:2], v2, off
22 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
24 global_atomic_pk_add_f16 v[1:2], v2, off
25 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
27 s_cbranch_g_fork -1, s[4:5]
28 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
30 s_cbranch_i_fork exec, 12609
31 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
33 s_cbranch_join 1
34 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
36 s_dcache_inv_vol
37 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
39 s_dcache_wb_vol
40 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
42 s_rfe_restore_b64 -1, s2
43 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
45 s_set_gpr_idx_idx -1
46 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
48 s_set_gpr_idx_mode 0
49 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
51 s_set_gpr_idx_off
52 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
54 s_set_gpr_idx_on -1, 0x0
55 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
57 s_setvskip -1, s2
58 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
60 v_accvgpr_read_b32 a0, a0
61 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
63 v_accvgpr_write_b32 a0, 65
64 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
66 v_add_i16 v255, v1, v2
67 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
69 v_add_i32 lds_direct, v0, v0
70 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
72 v_add_i32_e32 v0, vcc, 0.5, v0
73 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
75 v_add_i32_e64 v1, s[0:1], v2, v3
76 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
78 v_add_u16 v0, (i1+100)*2, v0
79 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
81 v_add_u16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
82 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
84 v_add_u16_e64 v255, v1, v2
85 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
87 v_add_u16_sdwa v0, scc, v0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
88 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
90 v_add_u32 v0, execz, v0
91 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
93 v_add_u32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
94 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
96 v_add_u32_e32 v1, s1, v3
97 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
99 v_add_u32_e64 v0, scc, v0
100 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
102 v_add_u32_sdwa v1, vcc, v2, v3 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2
103 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
105 v_addc_co_u32 v0, vcc, shared_base, v0, vcc
106 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
108 v_addc_co_u32_dpp v255, vcc, v1, v2, vcc quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
109 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
111 v_addc_co_u32_e32 v3, vcc, 12345, v3, vcc
112 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
114 v_addc_co_u32_e64 v255, s[12:13], v1, v2, s[6:7]
115 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
117 v_addc_co_u32_sdwa v1, vcc, v2, v3, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2
118 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
120 v_addc_u32 v0, vcc, exec_hi, v0, vcc
121 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
123 v_addc_u32_dpp v255, vcc, v1, v2, vcc quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
124 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
126 v_addc_u32_e32 v1, -1, v2, v3, s0
127 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
129 v_addc_u32_e64 v0, s[0:1], s0, s0, s[0:1]
130 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
132 v_addc_u32_sdwa v1, vcc, v2, v3, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2
133 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
135 v_ashr_i32 v255, v1, v2
136 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
138 v_ashr_i32_e64 v255, v1, v2
139 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
141 v_ashr_i64 v[254:255], v[1:2], v2
142 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
144 v_cmp_f_i16 vcc, -1, v2
145 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
147 v_cmp_f_i16_e64 flat_scratch, v1, v2
148 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
150 v_cmp_f_i16_sdwa flat_scratch, v1, v2 src0_sel:DWORD src1_sel:DWORD
151 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
153 v_cmp_f_u16 vcc, -1, v2
154 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
156 v_cmp_f_u16_e64 flat_scratch, v1, v2
157 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
159 v_cmp_f_u16_sdwa flat_scratch, v1, v2 src0_sel:DWORD src1_sel:DWORD
160 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
162 v_cmp_t_i16 vcc, -1, v2
163 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
165 v_cmp_t_i16_e64 flat_scratch, v1, v2
166 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
168 v_cmp_t_i16_sdwa flat_scratch, v1, v2 src0_sel:DWORD src1_sel:DWORD
169 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
171 v_cmp_t_u16 vcc, -1, v2
172 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
174 v_cmp_t_u16_e64 flat_scratch, v1, v2
175 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
177 v_cmp_t_u16_sdwa flat_scratch, v1, v2 src0_sel:DWORD src1_sel:DWORD
178 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
180 v_cmps_eq_f32 vcc, -1, v2
181 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
183 v_cmps_eq_f32_e64 flat_scratch, v1, v2
184 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
186 v_cmps_eq_f64 vcc, -1, v[2:3]
187 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
189 v_cmps_eq_f64_e64 flat_scratch, v[1:2], v[2:3]
190 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
192 v_cmps_f_f32 vcc, -1, v2
193 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
195 v_cmps_f_f32_e64 flat_scratch, v1, v2
196 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
198 v_cmps_f_f64 vcc, -1, v[2:3]
199 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
201 v_cmps_f_f64_e64 flat_scratch, v[1:2], v[2:3]
202 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
204 v_cmps_ge_f32 vcc, -1, v2
205 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
207 v_cmps_ge_f32_e64 flat_scratch, v1, v2
208 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
210 v_cmps_ge_f64 vcc, -1, v[2:3]
211 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
213 v_cmps_ge_f64_e64 flat_scratch, v[1:2], v[2:3]
214 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
216 v_cmps_gt_f32 vcc, -1, v2
217 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
219 v_cmps_gt_f32_e64 flat_scratch, v1, v2
220 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
222 v_cmps_gt_f64 vcc, -1, v[2:3]
223 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
225 v_cmps_gt_f64_e64 flat_scratch, v[1:2], v[2:3]
226 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
228 v_cmps_le_f32 vcc, -1, v2
229 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
231 v_cmps_le_f32_e64 flat_scratch, v1, v2
232 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
234 v_cmps_le_f64 vcc, -1, v[2:3]
235 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
237 v_cmps_le_f64_e64 flat_scratch, v[1:2], v[2:3]
238 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
240 v_cmps_lg_f32 vcc, -1, v2
241 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
243 v_cmps_lg_f32_e64 flat_scratch, v1, v2
244 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
246 v_cmps_lg_f64 vcc, -1, v[2:3]
247 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
249 v_cmps_lg_f64_e64 flat_scratch, v[1:2], v[2:3]
250 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
252 v_cmps_lt_f32 vcc, -1, v2
253 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
255 v_cmps_lt_f32_e64 flat_scratch, v1, v2
256 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
258 v_cmps_lt_f64 vcc, -1, v[2:3]
259 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
261 v_cmps_lt_f64_e64 flat_scratch, v[1:2], v[2:3]
262 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
264 v_cmps_neq_f32 vcc, -1, v2
265 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
267 v_cmps_neq_f32_e64 flat_scratch, v1, v2
268 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
270 v_cmps_neq_f64 vcc, -1, v[2:3]
271 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
273 v_cmps_neq_f64_e64 flat_scratch, v[1:2], v[2:3]
274 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
276 v_cmps_nge_f32 vcc, -1, v2
277 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
279 v_cmps_nge_f32_e64 flat_scratch, v1, v2
280 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
282 v_cmps_nge_f64 vcc, -1, v[2:3]
283 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
285 v_cmps_nge_f64_e64 flat_scratch, v[1:2], v[2:3]
286 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
288 v_cmps_ngt_f32 vcc, -1, v2
289 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
291 v_cmps_ngt_f32_e64 flat_scratch, v1, v2
292 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
294 v_cmps_ngt_f64 vcc, -1, v[2:3]
295 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
297 v_cmps_ngt_f64_e64 flat_scratch, v[1:2], v[2:3]
298 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
300 v_cmps_nle_f32 vcc, -1, v2
301 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
303 v_cmps_nle_f32_e64 flat_scratch, v1, v2
304 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
306 v_cmps_nle_f64 vcc, -1, v[2:3]
307 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
309 v_cmps_nle_f64_e64 flat_scratch, v[1:2], v[2:3]
310 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
312 v_cmps_nlg_f32 vcc, -1, v2
313 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
315 v_cmps_nlg_f32_e64 flat_scratch, v1, v2
316 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
318 v_cmps_nlg_f64 vcc, -1, v[2:3]
319 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
321 v_cmps_nlg_f64_e64 flat_scratch, v[1:2], v[2:3]
322 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
324 v_cmps_nlt_f32 vcc, -1, v2
325 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
327 v_cmps_nlt_f32_e64 flat_scratch, v1, v2
328 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
330 v_cmps_nlt_f64 vcc, -1, v[2:3]
331 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
333 v_cmps_nlt_f64_e64 flat_scratch, v[1:2], v[2:3]
334 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
336 v_cmps_o_f32 vcc, -1, v2
337 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
339 v_cmps_o_f32_e64 flat_scratch, v1, v2
340 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
342 v_cmps_o_f64 vcc, -1, v[2:3]
343 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
345 v_cmps_o_f64_e64 flat_scratch, v[1:2], v[2:3]
346 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
348 v_cmps_tru_f32 vcc, -1, v2
349 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
351 v_cmps_tru_f32_e64 flat_scratch, v1, v2
352 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
354 v_cmps_tru_f64 vcc, -1, v[2:3]
355 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
357 v_cmps_tru_f64_e64 flat_scratch, v[1:2], v[2:3]
358 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
360 v_cmps_u_f32 vcc, -1, v2
361 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
363 v_cmps_u_f32_e64 flat_scratch, v1, v2
364 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
366 v_cmps_u_f64 vcc, -1, v[2:3]
367 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
369 v_cmps_u_f64_e64 flat_scratch, v[1:2], v[2:3]
370 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
372 v_cmpsx_eq_f32 vcc, -1, v2
373 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
375 v_cmpsx_eq_f32_e64 flat_scratch, v1, v2
376 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
378 v_cmpsx_eq_f64 vcc, -1, v[2:3]
379 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
381 v_cmpsx_eq_f64_e64 flat_scratch, v[1:2], v[2:3]
382 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
384 v_cmpsx_f_f32 vcc, -1, v2
385 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
387 v_cmpsx_f_f32_e64 flat_scratch, v1, v2
388 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
390 v_cmpsx_f_f64 vcc, -1, v[2:3]
391 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
393 v_cmpsx_f_f64_e64 flat_scratch, v[1:2], v[2:3]
394 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
396 v_cmpsx_ge_f32 vcc, -1, v2
397 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
399 v_cmpsx_ge_f32_e64 flat_scratch, v1, v2
400 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
402 v_cmpsx_ge_f64 vcc, -1, v[2:3]
403 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
405 v_cmpsx_ge_f64_e64 flat_scratch, v[1:2], v[2:3]
406 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
408 v_cmpsx_gt_f32 vcc, -1, v2
409 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
411 v_cmpsx_gt_f32_e64 flat_scratch, v1, v2
412 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
414 v_cmpsx_gt_f64 vcc, -1, v[2:3]
415 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
417 v_cmpsx_gt_f64_e64 flat_scratch, v[1:2], v[2:3]
418 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
420 v_cmpsx_le_f32 vcc, -1, v2
421 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
423 v_cmpsx_le_f32_e64 flat_scratch, v1, v2
424 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
426 v_cmpsx_le_f64 vcc, -1, v[2:3]
427 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
429 v_cmpsx_le_f64_e64 flat_scratch, v[1:2], v[2:3]
430 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
432 v_cmpsx_lg_f32 vcc, -1, v2
433 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
435 v_cmpsx_lg_f32_e64 flat_scratch, v1, v2
436 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
438 v_cmpsx_lg_f64 vcc, -1, v[2:3]
439 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
441 v_cmpsx_lg_f64_e64 flat_scratch, v[1:2], v[2:3]
442 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
444 v_cmpsx_lt_f32 vcc, -1, v2
445 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
447 v_cmpsx_lt_f32_e64 flat_scratch, v1, v2
448 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
450 v_cmpsx_lt_f64 vcc, -1, v[2:3]
451 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
453 v_cmpsx_lt_f64_e64 flat_scratch, v[1:2], v[2:3]
454 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
456 v_cmpsx_neq_f32 vcc, -1, v2
457 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
459 v_cmpsx_neq_f32_e64 flat_scratch, v1, v2
460 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
462 v_cmpsx_neq_f64 vcc, -1, v[2:3]
463 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
465 v_cmpsx_neq_f64_e64 flat_scratch, v[1:2], v[2:3]
466 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
468 v_cmpsx_nge_f32 vcc, -1, v2
469 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
471 v_cmpsx_nge_f32_e64 flat_scratch, v1, v2
472 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
474 v_cmpsx_nge_f64 vcc, -1, v[2:3]
475 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
477 v_cmpsx_nge_f64_e64 flat_scratch, v[1:2], v[2:3]
478 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
480 v_cmpsx_ngt_f32 vcc, -1, v2
481 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
483 v_cmpsx_ngt_f32_e64 flat_scratch, v1, v2
484 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
486 v_cmpsx_ngt_f64 vcc, -1, v[2:3]
487 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
489 v_cmpsx_ngt_f64_e64 flat_scratch, v[1:2], v[2:3]
490 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
492 v_cmpsx_nle_f32 vcc, -1, v2
493 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
495 v_cmpsx_nle_f32_e64 flat_scratch, v1, v2
496 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
498 v_cmpsx_nle_f64 vcc, -1, v[2:3]
499 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
501 v_cmpsx_nle_f64_e64 flat_scratch, v[1:2], v[2:3]
502 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
504 v_cmpsx_nlg_f32 vcc, -1, v2
505 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
507 v_cmpsx_nlg_f32_e64 flat_scratch, v1, v2
508 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
510 v_cmpsx_nlg_f64 vcc, -1, v[2:3]
511 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
513 v_cmpsx_nlg_f64_e64 flat_scratch, v[1:2], v[2:3]
514 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
516 v_cmpsx_nlt_f32 vcc, -1, v2
517 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
519 v_cmpsx_nlt_f32_e64 flat_scratch, v1, v2
520 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
522 v_cmpsx_nlt_f64 vcc, -1, v[2:3]
523 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
525 v_cmpsx_nlt_f64_e64 flat_scratch, v[1:2], v[2:3]
526 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
528 v_cmpsx_o_f32 vcc, -1, v2
529 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
531 v_cmpsx_o_f32_e64 flat_scratch, v1, v2
532 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
534 v_cmpsx_o_f64 vcc, -1, v[2:3]
535 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
537 v_cmpsx_o_f64_e64 flat_scratch, v[1:2], v[2:3]
538 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
540 v_cmpsx_tru_f32 vcc, -1, v2
541 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
543 v_cmpsx_tru_f32_e64 flat_scratch, v1, v2
544 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
546 v_cmpsx_tru_f64 vcc, -1, v[2:3]
547 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
549 v_cmpsx_tru_f64_e64 flat_scratch, v[1:2], v[2:3]
550 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
552 v_cmpsx_u_f32 vcc, -1, v2
553 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
555 v_cmpsx_u_f32_e64 flat_scratch, v1, v2
556 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
558 v_cmpsx_u_f64 vcc, -1, v[2:3]
559 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
561 v_cmpsx_u_f64_e64 flat_scratch, v[1:2], v[2:3]
562 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
564 v_cmpx_f_i16 vcc, -1, v2
565 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
567 v_cmpx_f_i16_e64 exec, v1, v2
568 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
570 v_cmpx_f_i16_sdwa flat_scratch, v1, v2 src0_sel:DWORD src1_sel:DWORD
571 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
573 v_cmpx_f_u16 vcc, -1, v2
574 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
576 v_cmpx_f_u16_e64 exec, v1, v2
577 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
579 v_cmpx_f_u16_sdwa flat_scratch, v1, v2 src0_sel:DWORD src1_sel:DWORD
580 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
582 v_cmpx_t_i16 vcc, -1, v2
583 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
585 v_cmpx_t_i16_e64 exec, v1, v2
586 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
588 v_cmpx_t_i16_sdwa flat_scratch, v1, v2 src0_sel:DWORD src1_sel:DWORD
589 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
591 v_cmpx_t_u16 vcc, -1, v2
592 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
594 v_cmpx_t_u16_e64 exec, v1, v2
595 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
597 v_cmpx_t_u16_sdwa flat_scratch, v1, v2 src0_sel:DWORD src1_sel:DWORD
598 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
600 v_cvt_pkaccum_u8_f32 v1, v2, v3
601 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
603 v_cvt_pkaccum_u8_f32_e64 v255, v1, v2
604 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
606 v_div_fixup_legacy_f16 v255, v1, v2, v3
607 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
609 v_div_fixup_legacy_f16_e64 v5, 0.5, v2, v3
610 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
612 v_dot2_f32_f16 v0, -v1, -v2, -v3
613 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
615 v_dot2_i32_i16 v0, -v1, -v2, -v3
616 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
618 v_dot2_u32_u16 v0, -v1, -v2, -v3
619 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
621 v_dot2c_f32_f16 v0, v1, v2
622 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
624 v_dot2c_f32_f16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
625 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
627 v_dot2c_f32_f16_e32 v255, v1, v2
628 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
630 v_dot2c_i32_i16 v0, v1, v2
631 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
633 v_dot2c_i32_i16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
634 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
636 v_dot4_i32_i8 v0, v1, v2, v3
637 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
639 v_dot4_u32_u8 v0, v1, v2, v3
640 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
642 v_dot4c_i32_i8 v0, v1, v2
643 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
645 v_dot4c_i32_i8_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
646 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
648 v_dot4c_i32_i8_e32 v255, v1, v2
649 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
651 v_dot8_i32_i4 v0, v1, v2, v3
652 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
654 v_dot8_u32_u4 v0, v1, v2, v3
655 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
657 v_dot8c_i32_i4 v0, v1, v2
658 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
660 v_dot8c_i32_i4_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
661 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
663 v_exp_legacy_f32 v1, v0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1
664 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
666 v_exp_legacy_f32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
667 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
669 v_exp_legacy_f32_e64 v255, v1
670 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
672 v_exp_legacy_f32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD
673 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
675 v_fma_legacy_f16 v255, v1, v2, v3
676 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
678 v_fma_legacy_f16_e64 v5, v1, v2, v3
679 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
681 v_interp_p2_legacy_f16 v255, v2, attr0.x, v3
682 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
684 v_log_clamp_f32 v1, 0.5
685 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
687 v_log_clamp_f32_e64 v255, v1
688 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
690 v_log_legacy_f32 v1, v0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1
691 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
693 v_log_legacy_f32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
694 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
696 v_log_legacy_f32_e64 v255, v1
697 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
699 v_log_legacy_f32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD
700 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
702 v_lshl_b32 v255, v1, v2
703 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
705 v_lshl_b32_e64 v255, v1, v2
706 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
708 v_lshl_b64 v[254:255], v[1:2], v2
709 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
711 v_lshr_b32 v255, v1, v2
712 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
714 v_lshr_b32_e64 v255, v1, v2
715 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
717 v_lshr_b64 v[254:255], v[1:2], v2
718 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
720 v_mac_f16 v1, v2, v3 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2
721 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
723 v_mac_f16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
724 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
726 v_mac_f16_e64 v0, -4.0, flat_scratch_lo
727 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
729 v_mac_f16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
730 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
732 v_mad_f16 v255, v1, v2, v3
733 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
735 v_mad_f16_e64 v5, 0.5, v2, v3
736 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
738 v_mad_legacy_f16 v255, v1, v2, v3
739 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
741 v_mad_legacy_f16_e64 v5, 0.5, v2, v3
742 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
744 v_mad_legacy_i16 v255, v1, v2, v3
745 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
747 v_mad_legacy_i16_e64 v5, 0, v2, v3
748 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
750 v_mad_legacy_u16 v255, v1, v2, v3
751 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
753 v_mad_legacy_u16_e64 v5, 0, v2, v3
754 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
756 v_mad_mix_f32 v0, -abs(v1), v2, v3
757 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
759 v_mad_mixhi_f16 v0, -v1, abs(v2), -abs(v3)
760 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
762 v_mad_mixlo_f16 v0, abs(v1), -v2, abs(v3)
763 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
765 v_madak_f16 v0, src_lds_direct, v0, 0x1121
766 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
768 v_madmk_f16 v0, src_lds_direct, 0x1121, v0
769 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
771 v_max_legacy_f32 v255, v1, v2
772 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
774 v_max_legacy_f32_e64 v255, v1, v2
775 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
777 v_mfma_f32_16x16x16f16 a[0:3], a[0:1], a[1:2], -2.0
778 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
780 v_mfma_f32_16x16x1f32 a[0:15], a0, a1, -2.0
781 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
783 v_mfma_f32_16x16x2bf16 a[0:15], a0, a1, -2.0
784 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
786 v_mfma_f32_16x16x4f16 a[0:15], a[0:1], a[1:2], -2.0
787 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
789 v_mfma_f32_16x16x4f32 a[0:3], a0, a1, -2.0
790 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
792 v_mfma_f32_16x16x8bf16 a[0:3], a0, a1, -2.0
793 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
795 v_mfma_f32_32x32x1f32 a[0:31], 1, v1, a[1:32]
796 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
798 v_mfma_f32_32x32x2bf16 a[0:31], a0, a1, -2.0
799 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
801 v_mfma_f32_32x32x2f32 a[0:15], a0, a1, -2.0
802 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
804 v_mfma_f32_32x32x4bf16 a[0:15], a0, a1, -2.0
805 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
807 v_mfma_f32_32x32x4f16 a[0:31], a[0:1], a[1:2], -2.0
808 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
810 v_mfma_f32_32x32x8f16 a[0:15], a[0:1], a[1:2], -2.0
811 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
813 v_mfma_f32_4x4x1f32 a[0:3], a0, a1, -2.0
814 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
816 v_mfma_f32_4x4x2bf16 a[0:3], a0, a1, -2.0
817 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
819 v_mfma_f32_4x4x4f16 a[0:3], a[0:1], a[1:2], -2.0
820 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
822 v_mfma_i32_16x16x16i8 a[0:3], a0, a1, 2
823 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
825 v_mfma_i32_16x16x4i8 a[0:15], a0, a1, 2
826 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
828 v_mfma_i32_32x32x4i8 a[0:31], a0, a1, 2
829 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
831 v_mfma_i32_32x32x8i8 a[0:15], a0, a1, 2
832 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
834 v_mfma_i32_4x4x4i8 a[0:3], a0, a1, 2
835 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
837 v_min_legacy_f32 v255, v1, v2
838 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
840 v_min_legacy_f32_e64 v255, v1, v2
841 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
843 v_rcp_clamp_f32 v255, v1
844 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
846 v_rcp_clamp_f32_e64 v255, v1
847 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
849 v_rcp_clamp_f64 v[254:255], v[1:2]
850 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
852 v_rcp_clamp_f64_e64 v[254:255], v[1:2]
853 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
855 v_rcp_legacy_f32 v255, v1
856 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
858 v_rcp_legacy_f32_e64 v255, v1
859 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
861 v_rsq_clamp_f32 v255, v1
862 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
864 v_rsq_clamp_f32_e64 v255, v1
865 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
867 v_rsq_clamp_f64 v[254:255], v[1:2]
868 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
870 v_rsq_clamp_f64_e64 v[254:255], v[1:2]
871 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
873 v_rsq_legacy_f32 v255, v1
874 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
876 v_rsq_legacy_f32_e64 v255, v1
877 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
879 v_screen_partition_4se_b32 v5, -1
880 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
882 v_screen_partition_4se_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:0
883 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
885 v_screen_partition_4se_b32_e64 v5, -1
886 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
888 v_screen_partition_4se_b32_sdwa v5, v1 src0_sel:BYTE_0
889 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
891 v_sub_i16 v255, v1, v2
892 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
894 v_sub_i32 v1, s[0:1], v2, v3
895 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
897 v_sub_i32_e64 v255, s[12:13], v1, v2
898 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
900 v_sub_u16 v1, v2, v3 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2
901 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
903 v_sub_u16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
904 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
906 v_sub_u16_e64 v255, v1, v2
907 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
909 v_sub_u16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
910 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
912 v_sub_u32 v1, 4.0, v2
913 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
915 v_sub_u32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
916 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
918 v_sub_u32_e32 v1, s1, v3
919 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
921 v_sub_u32_e64 v255, s[12:13], v1, v2
922 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
924 v_sub_u32_sdwa v1, vcc, v2, v3 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2
925 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
927 v_subb_co_u32 v1, vcc, v2, v3, vcc row_shl:1 row_mask:0xa bank_mask:0x1 bound_ctrl:0
928 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
930 v_subb_co_u32_dpp v255, vcc, v1, v2, vcc quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
931 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
933 v_subb_co_u32_e64 v255, s[12:13], v1, v2, s[6:7]
934 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
936 v_subb_co_u32_sdwa v1, vcc, v2, v3, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2
937 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
939 v_subb_u32 v1, s[0:1], v2, v3, vcc
940 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
942 v_subb_u32_dpp v255, vcc, v1, v2, vcc quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
943 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
945 v_subb_u32_e64 v255, s[12:13], v1, v2, s[6:7]
946 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
948 v_subb_u32_sdwa v1, vcc, v2, v3, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2
949 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
951 v_subbrev_co_u32 v0, vcc, src_lds_direct, v0, vcc
952 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
954 v_subbrev_co_u32_dpp v255, vcc, v1, v2, vcc quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
955 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
957 v_subbrev_co_u32_e64 v255, s[12:13], v1, v2, s[6:7]
958 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
960 v_subbrev_co_u32_sdwa v1, vcc, v2, v3, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2
961 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
963 v_subbrev_u32 v1, s[0:1], v2, v3, vcc
964 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
966 v_subbrev_u32_dpp v255, vcc, v1, v2, vcc quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
967 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
969 v_subbrev_u32_e64 v255, s[12:13], v1, v2, s[6:7]
970 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
972 v_subbrev_u32_sdwa v1, vcc, v2, v3, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2
973 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
975 v_subrev_i32 v1, s[0:1], v2, v3
976 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
978 v_subrev_i32_e64 v255, s[12:13], v1, v2
979 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
981 v_subrev_u16 v0, src_lds_direct, v0
982 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
984 v_subrev_u16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
985 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
987 v_subrev_u16_e64 v255, v1, v2
988 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
990 v_subrev_u16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
991 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
993 v_subrev_u32 v0, src_lds_direct, v0
994 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
996 v_subrev_u32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
997 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
999 v_subrev_u32_e32 v1, s1, v3
1000 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1002 v_subrev_u32_e64 v255, s[12:13], v1, v2
1003 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1005 v_subrev_u32_sdwa v1, vcc, v2, v3 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2
1006 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1008 //===----------------------------------------------------------------------===//
1009 // Unsupported e32 variants.
1010 //===----------------------------------------------------------------------===//
1012 v_add_co_u32_e32 v2, vcc, s0, v2
1013 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: e32 variant of this instruction is not supported
1015 v_sub_co_u32_e32 v2, vcc, s0, v2
1016 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: e32 variant of this instruction is not supported
1018 v_subrev_co_u32_e32 v2, vcc, s0, v2
1019 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: e32 variant of this instruction is not supported
1021 //===----------------------------------------------------------------------===//
1022 // Unsupported e64 variants.
1023 //===----------------------------------------------------------------------===//
1025 v_swap_b32_e64 v1, v2
1026 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: e64 variant of this instruction is not supported
1028 //===----------------------------------------------------------------------===//
1029 // Unsupported dpp variants.
1030 //===----------------------------------------------------------------------===//
1032 v_add_co_u32_dpp v255, vcc, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
1033 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: dpp variant of this instruction is not supported
1035 v_ashrrev_i16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
1036 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: dpp variant of this instruction is not supported
1038 v_lshlrev_b16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
1039 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: dpp variant of this instruction is not supported
1041 v_lshrrev_b16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
1042 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: dpp variant of this instruction is not supported
1044 v_mac_legacy_f32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
1045 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: dpp variant of this instruction is not supported
1047 v_max_i16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
1048 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: dpp variant of this instruction is not supported
1050 v_max_u16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
1051 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: dpp variant of this instruction is not supported
1053 v_min_i16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
1054 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: dpp variant of this instruction is not supported
1056 v_min_u16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
1057 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: dpp variant of this instruction is not supported
1059 v_mul_lo_u16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
1060 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: dpp variant of this instruction is not supported
1062 v_sub_co_u32_dpp v255, vcc, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
1063 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: dpp variant of this instruction is not supported
1065 v_subrev_co_u32_dpp v255, vcc, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
1066 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: dpp variant of this instruction is not supported
1068 //===----------------------------------------------------------------------===//
1069 // Unsupported sdwa variants.
1070 //===----------------------------------------------------------------------===//
1072 v_add_co_u32_sdwa v0, v0, v4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0
1073 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported
1075 v_ashrrev_i16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
1076 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported
1078 v_lshlrev_b16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
1079 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported
1081 v_lshrrev_b16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
1082 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported
1084 v_mac_f32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
1085 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported
1087 v_mac_legacy_f32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
1088 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported
1090 v_max_i16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
1091 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported
1093 v_max_u16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
1094 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported
1096 v_min_i16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
1097 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported
1099 v_min_u16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
1100 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported
1102 v_mul_lo_u16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
1103 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported
1105 v_sub_co_u32_sdwa v0, v0, v4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0
1106 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported
1108 v_subrev_co_u32_sdwa v0, v0, v4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0
1109 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported