Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AMDGPU / gfx9_unsupported.s
blobe6cece5d67f6bd6bf398f371a7ddc950924d103b
1 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx900 %s 2>&1 | FileCheck --implicit-check-not=error: %s
3 //===----------------------------------------------------------------------===//
4 // Unsupported instructions.
5 //===----------------------------------------------------------------------===//
7 image_sample_c_cd_cl_g16 v[5:6], v[1:5], s[8:15], s[12:15] dmask:0x3
8 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
10 image_sample_c_cd_cl_o_g16 v[5:6], v[1:6], s[8:15], s[12:15] dmask:0x3
11 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
13 image_sample_c_cd_g16 v[5:6], v[1:4], s[8:15], s[12:15] dmask:0x3
14 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
16 image_sample_c_cd_o_g16 v[5:6], v[1:5], s[8:15], s[12:15] dmask:0x3
17 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
19 image_sample_c_d_cl_g16 v[5:6], v[1:5], s[8:15], s[12:15] dmask:0x3
20 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
22 image_sample_c_d_cl_o_g16 v[5:6], v[1:6], s[8:15], s[12:15] dmask:0x3
23 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
25 image_sample_c_d_g16 v[5:6], v[1:4], s[8:15], s[12:15] dmask:0x3
26 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
28 image_sample_c_d_o_g16 v[5:6], v[1:5], s[8:15], s[12:15] dmask:0x3
29 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
31 image_sample_cd_cl_g16 v[5:6], v[1:4], s[8:15], s[12:15] dmask:0x3
32 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
34 image_sample_cd_cl_o_g16 v[5:6], v[1:5], s[8:15], s[12:15] dmask:0x3
35 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
37 image_sample_cd_g16 v[5:6], v[1:3], s[8:15], s[12:15] dmask:0x3
38 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
40 image_sample_cd_o_g16 v[5:6], v[1:4], s[8:15], s[12:15] dmask:0x3
41 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
43 image_sample_d_cl_g16 v[5:6], v[1:4], s[8:15], s[12:15] dmask:0x3
44 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
46 image_sample_d_cl_o_g16 v[5:6], v[1:5], s[8:15], s[12:15] dmask:0x3
47 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
49 image_sample_d_g16 v[5:6], v[1:3], s[8:15], s[12:15] dmask:0x3
50 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
52 image_sample_d_o_g16 v[5:6], v[1:4], s[8:15], s[12:15] dmask:0x3
53 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
55 buffer_atomic_add_f32 v255, off, s[8:11], s3 offset:4095
56 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
58 buffer_atomic_fcmpswap v[0:1], off, s[0:3], s0 offset:4095
59 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
61 buffer_atomic_fcmpswap_x2 v[0:3], off, s[0:3], s0 offset:4095
62 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
64 buffer_atomic_fmax v0, off, s[0:3], s0 offset:4095 glc
65 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
67 buffer_atomic_fmax_x2 v[0:1], v0, s[0:3], s0 idxen offset:4095
68 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
70 buffer_atomic_fmin v0, off, s[0:3], s0
71 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
73 buffer_atomic_fmin_x2 v[0:1], off, s[0:3], s0 offset:4095 slc
74 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
76 buffer_atomic_pk_add_f16 v255, off, s[8:11], s3 offset:4095
77 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
79 buffer_gl0_inv
80 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
82 buffer_gl1_inv
83 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
85 flat_atomic_fcmpswap v0, v[1:2], v[2:3] glc
86 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
88 flat_atomic_fcmpswap_x2 v[0:1], v[1:2], v[2:5] glc
89 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
91 flat_atomic_fmax v0, v[1:2], v2 glc
92 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
94 flat_atomic_fmax_x2 v[0:1], v[1:2], v[2:3] glc
95 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
97 flat_atomic_fmin v0, v[1:2], v2 glc
98 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
100 flat_atomic_fmin_x2 v[0:1], v[1:2], v[2:3] glc
101 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
103 global_atomic_add_f32 v[1:2], v2, off
104 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
106 global_atomic_pk_add_f16 v[1:2], v2, off
107 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
109 s_and_saveexec_b32 exec_hi, s1
110 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
112 s_andn1_saveexec_b32 exec_hi, s1
113 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
115 s_andn1_wrexec_b32 exec_hi, s1
116 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
118 s_andn2_saveexec_b32 exec_hi, s1
119 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
121 s_andn2_wrexec_b32 exec_hi, s1
122 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
124 s_clause 0x0
125 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
127 s_code_end
128 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
130 s_denorm_mode 0x0
131 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
133 s_get_waveid_in_workgroup s0
134 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
136 s_gl1_inv
137 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
139 s_inst_prefetch 0x0
140 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
142 s_movrelsd_2_b32 s0, s1
143 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
145 s_nand_saveexec_b32 exec_hi, s1
146 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
148 s_nor_saveexec_b32 exec_hi, s1
149 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
151 s_or_saveexec_b32 exec_hi, s1
152 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
154 s_orn1_saveexec_b32 exec_hi, s1
155 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
157 s_orn2_saveexec_b32 exec_hi, s1
158 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
160 s_round_mode 0x0
161 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
163 s_subvector_loop_begin exec_hi, 0x1234
164 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
166 s_subvector_loop_end exec_hi, 0x1234
167 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
169 s_ttracedata_imm 0x0
170 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
172 s_version 0x1234
173 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
175 s_waitcnt_expcnt exec_hi, 0x1234
176 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
178 s_waitcnt_lgkmcnt exec_hi, 0x1234
179 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
181 s_waitcnt_vmcnt exec_hi, 0x1234
182 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
184 s_waitcnt_vscnt exec_hi, 0x1234
185 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
187 s_xnor_saveexec_b32 exec_hi, s1
188 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
190 s_xor_saveexec_b32 exec_hi, s1
191 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
193 v_accvgpr_read_b32 a0, a0
194 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
196 v_accvgpr_write_b32 a0, 65
197 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
199 v_add_co_ci_u32 v1, sext(v1), sext(v4) dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD
200 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
202 v_add_co_ci_u32_dpp v0, vcc, v0, v0, vcc dpp8:[7,6,5,4,3,2,1,0] fi:1
203 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
205 v_add_co_ci_u32_e32 v255, vcc, v1, v2, vcc
206 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
208 v_add_co_ci_u32_e64 v255, s12, v1, v2, s6
209 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
211 v_add_co_ci_u32_sdwa v1, v1, v4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD
212 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
214 v_add_nc_i16 v255, v1, v2
215 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
217 v_add_nc_i32 v255, v1, v2
218 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
220 v_add_nc_u16 v255, v1, v2
221 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
223 v_add_nc_u32_dpp v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
224 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
226 v_add_nc_u32_e32 v255, v1, v2
227 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
229 v_add_nc_u32_e64 v255, v1, v2
230 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
232 v_add_nc_u32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
233 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
235 v_addc_u32 v0, vcc, exec_hi, v0, vcc
236 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
238 v_addc_u32_dpp v255, vcc, v1, v2, vcc quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
239 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
241 v_addc_u32_e32 v1, -1, v2, v3, s0
242 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
244 v_addc_u32_e64 v0, s[0:1], s0, s0, s[0:1]
245 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
247 v_addc_u32_sdwa v1, vcc, v2, v3, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2
248 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
250 v_ashr_i32 v255, v1, v2
251 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
253 v_ashr_i32_e64 v255, v1, v2
254 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
256 v_ashr_i64 v[254:255], v[1:2], v2
257 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
259 v_cmps_eq_f32 vcc, -1, v2
260 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
262 v_cmps_eq_f32_e64 flat_scratch, v1, v2
263 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
265 v_cmps_eq_f64 vcc, -1, v[2:3]
266 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
268 v_cmps_eq_f64_e64 flat_scratch, v[1:2], v[2:3]
269 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
271 v_cmps_f_f32 vcc, -1, v2
272 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
274 v_cmps_f_f32_e64 flat_scratch, v1, v2
275 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
277 v_cmps_f_f64 vcc, -1, v[2:3]
278 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
280 v_cmps_f_f64_e64 flat_scratch, v[1:2], v[2:3]
281 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
283 v_cmps_ge_f32 vcc, -1, v2
284 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
286 v_cmps_ge_f32_e64 flat_scratch, v1, v2
287 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
289 v_cmps_ge_f64 vcc, -1, v[2:3]
290 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
292 v_cmps_ge_f64_e64 flat_scratch, v[1:2], v[2:3]
293 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
295 v_cmps_gt_f32 vcc, -1, v2
296 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
298 v_cmps_gt_f32_e64 flat_scratch, v1, v2
299 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
301 v_cmps_gt_f64 vcc, -1, v[2:3]
302 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
304 v_cmps_gt_f64_e64 flat_scratch, v[1:2], v[2:3]
305 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
307 v_cmps_le_f32 vcc, -1, v2
308 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
310 v_cmps_le_f32_e64 flat_scratch, v1, v2
311 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
313 v_cmps_le_f64 vcc, -1, v[2:3]
314 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
316 v_cmps_le_f64_e64 flat_scratch, v[1:2], v[2:3]
317 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
319 v_cmps_lg_f32 vcc, -1, v2
320 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
322 v_cmps_lg_f32_e64 flat_scratch, v1, v2
323 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
325 v_cmps_lg_f64 vcc, -1, v[2:3]
326 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
328 v_cmps_lg_f64_e64 flat_scratch, v[1:2], v[2:3]
329 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
331 v_cmps_lt_f32 vcc, -1, v2
332 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
334 v_cmps_lt_f32_e64 flat_scratch, v1, v2
335 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
337 v_cmps_lt_f64 vcc, -1, v[2:3]
338 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
340 v_cmps_lt_f64_e64 flat_scratch, v[1:2], v[2:3]
341 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
343 v_cmps_neq_f32 vcc, -1, v2
344 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
346 v_cmps_neq_f32_e64 flat_scratch, v1, v2
347 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
349 v_cmps_neq_f64 vcc, -1, v[2:3]
350 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
352 v_cmps_neq_f64_e64 flat_scratch, v[1:2], v[2:3]
353 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
355 v_cmps_nge_f32 vcc, -1, v2
356 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
358 v_cmps_nge_f32_e64 flat_scratch, v1, v2
359 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
361 v_cmps_nge_f64 vcc, -1, v[2:3]
362 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
364 v_cmps_nge_f64_e64 flat_scratch, v[1:2], v[2:3]
365 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
367 v_cmps_ngt_f32 vcc, -1, v2
368 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
370 v_cmps_ngt_f32_e64 flat_scratch, v1, v2
371 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
373 v_cmps_ngt_f64 vcc, -1, v[2:3]
374 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
376 v_cmps_ngt_f64_e64 flat_scratch, v[1:2], v[2:3]
377 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
379 v_cmps_nle_f32 vcc, -1, v2
380 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
382 v_cmps_nle_f32_e64 flat_scratch, v1, v2
383 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
385 v_cmps_nle_f64 vcc, -1, v[2:3]
386 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
388 v_cmps_nle_f64_e64 flat_scratch, v[1:2], v[2:3]
389 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
391 v_cmps_nlg_f32 vcc, -1, v2
392 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
394 v_cmps_nlg_f32_e64 flat_scratch, v1, v2
395 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
397 v_cmps_nlg_f64 vcc, -1, v[2:3]
398 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
400 v_cmps_nlg_f64_e64 flat_scratch, v[1:2], v[2:3]
401 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
403 v_cmps_nlt_f32 vcc, -1, v2
404 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
406 v_cmps_nlt_f32_e64 flat_scratch, v1, v2
407 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
409 v_cmps_nlt_f64 vcc, -1, v[2:3]
410 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
412 v_cmps_nlt_f64_e64 flat_scratch, v[1:2], v[2:3]
413 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
415 v_cmps_o_f32 vcc, -1, v2
416 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
418 v_cmps_o_f32_e64 flat_scratch, v1, v2
419 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
421 v_cmps_o_f64 vcc, -1, v[2:3]
422 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
424 v_cmps_o_f64_e64 flat_scratch, v[1:2], v[2:3]
425 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
427 v_cmps_tru_f32 vcc, -1, v2
428 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
430 v_cmps_tru_f32_e64 flat_scratch, v1, v2
431 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
433 v_cmps_tru_f64 vcc, -1, v[2:3]
434 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
436 v_cmps_tru_f64_e64 flat_scratch, v[1:2], v[2:3]
437 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
439 v_cmps_u_f32 vcc, -1, v2
440 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
442 v_cmps_u_f32_e64 flat_scratch, v1, v2
443 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
445 v_cmps_u_f64 vcc, -1, v[2:3]
446 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
448 v_cmps_u_f64_e64 flat_scratch, v[1:2], v[2:3]
449 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
451 v_cmpsx_eq_f32 vcc, -1, v2
452 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
454 v_cmpsx_eq_f32_e64 flat_scratch, v1, v2
455 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
457 v_cmpsx_eq_f64 vcc, -1, v[2:3]
458 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
460 v_cmpsx_eq_f64_e64 flat_scratch, v[1:2], v[2:3]
461 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
463 v_cmpsx_f_f32 vcc, -1, v2
464 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
466 v_cmpsx_f_f32_e64 flat_scratch, v1, v2
467 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
469 v_cmpsx_f_f64 vcc, -1, v[2:3]
470 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
472 v_cmpsx_f_f64_e64 flat_scratch, v[1:2], v[2:3]
473 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
475 v_cmpsx_ge_f32 vcc, -1, v2
476 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
478 v_cmpsx_ge_f32_e64 flat_scratch, v1, v2
479 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
481 v_cmpsx_ge_f64 vcc, -1, v[2:3]
482 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
484 v_cmpsx_ge_f64_e64 flat_scratch, v[1:2], v[2:3]
485 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
487 v_cmpsx_gt_f32 vcc, -1, v2
488 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
490 v_cmpsx_gt_f32_e64 flat_scratch, v1, v2
491 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
493 v_cmpsx_gt_f64 vcc, -1, v[2:3]
494 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
496 v_cmpsx_gt_f64_e64 flat_scratch, v[1:2], v[2:3]
497 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
499 v_cmpsx_le_f32 vcc, -1, v2
500 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
502 v_cmpsx_le_f32_e64 flat_scratch, v1, v2
503 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
505 v_cmpsx_le_f64 vcc, -1, v[2:3]
506 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
508 v_cmpsx_le_f64_e64 flat_scratch, v[1:2], v[2:3]
509 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
511 v_cmpsx_lg_f32 vcc, -1, v2
512 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
514 v_cmpsx_lg_f32_e64 flat_scratch, v1, v2
515 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
517 v_cmpsx_lg_f64 vcc, -1, v[2:3]
518 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
520 v_cmpsx_lg_f64_e64 flat_scratch, v[1:2], v[2:3]
521 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
523 v_cmpsx_lt_f32 vcc, -1, v2
524 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
526 v_cmpsx_lt_f32_e64 flat_scratch, v1, v2
527 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
529 v_cmpsx_lt_f64 vcc, -1, v[2:3]
530 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
532 v_cmpsx_lt_f64_e64 flat_scratch, v[1:2], v[2:3]
533 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
535 v_cmpsx_neq_f32 vcc, -1, v2
536 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
538 v_cmpsx_neq_f32_e64 flat_scratch, v1, v2
539 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
541 v_cmpsx_neq_f64 vcc, -1, v[2:3]
542 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
544 v_cmpsx_neq_f64_e64 flat_scratch, v[1:2], v[2:3]
545 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
547 v_cmpsx_nge_f32 vcc, -1, v2
548 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
550 v_cmpsx_nge_f32_e64 flat_scratch, v1, v2
551 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
553 v_cmpsx_nge_f64 vcc, -1, v[2:3]
554 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
556 v_cmpsx_nge_f64_e64 flat_scratch, v[1:2], v[2:3]
557 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
559 v_cmpsx_ngt_f32 vcc, -1, v2
560 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
562 v_cmpsx_ngt_f32_e64 flat_scratch, v1, v2
563 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
565 v_cmpsx_ngt_f64 vcc, -1, v[2:3]
566 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
568 v_cmpsx_ngt_f64_e64 flat_scratch, v[1:2], v[2:3]
569 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
571 v_cmpsx_nle_f32 vcc, -1, v2
572 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
574 v_cmpsx_nle_f32_e64 flat_scratch, v1, v2
575 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
577 v_cmpsx_nle_f64 vcc, -1, v[2:3]
578 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
580 v_cmpsx_nle_f64_e64 flat_scratch, v[1:2], v[2:3]
581 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
583 v_cmpsx_nlg_f32 vcc, -1, v2
584 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
586 v_cmpsx_nlg_f32_e64 flat_scratch, v1, v2
587 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
589 v_cmpsx_nlg_f64 vcc, -1, v[2:3]
590 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
592 v_cmpsx_nlg_f64_e64 flat_scratch, v[1:2], v[2:3]
593 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
595 v_cmpsx_nlt_f32 vcc, -1, v2
596 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
598 v_cmpsx_nlt_f32_e64 flat_scratch, v1, v2
599 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
601 v_cmpsx_nlt_f64 vcc, -1, v[2:3]
602 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
604 v_cmpsx_nlt_f64_e64 flat_scratch, v[1:2], v[2:3]
605 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
607 v_cmpsx_o_f32 vcc, -1, v2
608 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
610 v_cmpsx_o_f32_e64 flat_scratch, v1, v2
611 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
613 v_cmpsx_o_f64 vcc, -1, v[2:3]
614 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
616 v_cmpsx_o_f64_e64 flat_scratch, v[1:2], v[2:3]
617 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
619 v_cmpsx_tru_f32 vcc, -1, v2
620 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
622 v_cmpsx_tru_f32_e64 flat_scratch, v1, v2
623 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
625 v_cmpsx_tru_f64 vcc, -1, v[2:3]
626 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
628 v_cmpsx_tru_f64_e64 flat_scratch, v[1:2], v[2:3]
629 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
631 v_cmpsx_u_f32 vcc, -1, v2
632 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
634 v_cmpsx_u_f32_e64 flat_scratch, v1, v2
635 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
637 v_cmpsx_u_f64 vcc, -1, v[2:3]
638 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
640 v_cmpsx_u_f64_e64 flat_scratch, v[1:2], v[2:3]
641 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
643 v_dot2_f32_f16 v0, -v1, -v2, -v3
644 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
646 v_dot2_i32_i16 v0, -v1, -v2, -v3
647 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
649 v_dot2_u32_u16 v0, -v1, -v2, -v3
650 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
652 v_dot2c_f32_f16 v0, v1, v2
653 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
655 v_dot2c_f32_f16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
656 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
658 v_dot2c_f32_f16_e32 v255, v1, v2
659 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
661 v_dot2c_i32_i16 v0, v1, v2
662 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
664 v_dot2c_i32_i16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
665 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
667 v_dot4_i32_i8 v0, v1, v2, v3
668 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
670 v_dot4_u32_u8 v0, v1, v2, v3
671 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
673 v_dot4c_i32_i8 v0, v1, v2
674 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
676 v_dot4c_i32_i8_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
677 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
679 v_dot4c_i32_i8_e32 v255, v1, v2
680 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
682 v_dot8_i32_i4 v0, v1, v2, v3
683 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
685 v_dot8_u32_u4 v0, v1, v2, v3
686 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
688 v_dot8c_i32_i4 v0, v1, v2
689 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
691 v_dot8c_i32_i4_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
692 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
694 v_fma_mix_f32 v0, -abs(v1), v2, v3
695 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
697 v_fma_mixhi_f16 v0, -v1, abs(v2), -abs(v3)
698 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
700 v_fma_mixlo_f16 v0, abs(v1), -v2, abs(v3)
701 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
703 v_fmaak_f32 v255, v1, v2, 0x1121
704 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
706 v_fmac_f16 v5, 0x1234, v2
707 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
709 v_fmac_f16_dpp v5, v1, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0
710 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
712 v_fmac_f16_e32 v255, v1, v2
713 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
715 v_fmac_f16_e64 v255, v1, v2
716 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
718 v_fmac_f32 v0, v1, v2
719 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
721 v_fmac_f32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
722 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
724 v_fmac_f32_e32 v255, v1, v2
725 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
727 v_fmac_f32_e64 v255, v1, v2
728 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
730 v_fmamk_f32 v255, v1, 0x1121, v3
731 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
733 v_log_clamp_f32 v1, 0.5
734 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
736 v_log_clamp_f32_e64 v255, v1
737 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
739 v_lshl_b32 v255, v1, v2
740 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
742 v_lshl_b32_e64 v255, v1, v2
743 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
745 v_lshl_b64 v[254:255], v[1:2], v2
746 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
748 v_lshr_b32 v255, v1, v2
749 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
751 v_lshr_b32_e64 v255, v1, v2
752 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
754 v_lshr_b64 v[254:255], v[1:2], v2
755 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
757 v_mac_legacy_f32 v0, v1, v2
758 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
760 v_mac_legacy_f32_e32 v255, v1, v2
761 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
763 v_mac_legacy_f32_e64 v255, v1, v2
764 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
766 v_max_legacy_f32 v255, v1, v2
767 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
769 v_max_legacy_f32_e64 v255, v1, v2
770 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
772 v_mfma_f32_16x16x16f16 a[0:3], a[0:1], a[1:2], -2.0
773 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
775 v_mfma_f32_16x16x1f32 a[0:15], a0, a1, -2.0
776 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
778 v_mfma_f32_16x16x2bf16 a[0:15], a0, a1, -2.0
779 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
781 v_mfma_f32_16x16x4f16 a[0:15], a[0:1], a[1:2], -2.0
782 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
784 v_mfma_f32_16x16x4f32 a[0:3], a0, a1, -2.0
785 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
787 v_mfma_f32_16x16x8bf16 a[0:3], a0, a1, -2.0
788 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
790 v_mfma_f32_32x32x1f32 a[0:31], 1, v1, a[1:32]
791 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
793 v_mfma_f32_32x32x2bf16 a[0:31], a0, a1, -2.0
794 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
796 v_mfma_f32_32x32x2f32 a[0:15], a0, a1, -2.0
797 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
799 v_mfma_f32_32x32x4bf16 a[0:15], a0, a1, -2.0
800 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
802 v_mfma_f32_32x32x4f16 a[0:31], a[0:1], a[1:2], -2.0
803 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
805 v_mfma_f32_32x32x8f16 a[0:15], a[0:1], a[1:2], -2.0
806 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
808 v_mfma_f32_4x4x1f32 a[0:3], a0, a1, -2.0
809 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
811 v_mfma_f32_4x4x2bf16 a[0:3], a0, a1, -2.0
812 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
814 v_mfma_f32_4x4x4f16 a[0:3], a[0:1], a[1:2], -2.0
815 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
817 v_mfma_i32_16x16x16i8 a[0:3], a0, a1, 2
818 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
820 v_mfma_i32_16x16x4i8 a[0:15], a0, a1, 2
821 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
823 v_mfma_i32_32x32x4i8 a[0:31], a0, a1, 2
824 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
826 v_mfma_i32_32x32x8i8 a[0:15], a0, a1, 2
827 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
829 v_mfma_i32_4x4x4i8 a[0:3], a0, a1, 2
830 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
832 v_min_legacy_f32 v255, v1, v2
833 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
835 v_min_legacy_f32_e64 v255, v1, v2
836 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
838 v_movreld_b32 v0, 123
839 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
841 v_movreld_b32_dpp v1, v0 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0
842 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
844 v_movreld_b32_e32 v1, v2
845 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
847 v_movreld_b32_e64 v0, flat_scratch_hi
848 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
850 v_movreld_b32_sdwa v0, 64 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD
851 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
853 v_movrels_b32 v0, v2 dpp8:[0,0,0,0,0,0,0,0]
854 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
856 v_movrels_b32_dpp v1, v0 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0 fi:1
857 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
859 v_movrels_b32_e32 v1, v2
860 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
862 v_movrels_b32_e64 v255, v1
863 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
865 v_movrels_b32_sdwa v0, 1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD
866 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
868 v_movrelsd_2_b32 v0, v255 dpp8:[7,6,5,4,3,2,1,0]
869 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
871 v_movrelsd_2_b32_dpp v0, v2 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0
872 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
874 v_movrelsd_2_b32_e32 v5, 1
875 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
877 v_movrelsd_2_b32_e64 v255, v1
878 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
880 v_movrelsd_2_b32_sdwa v0, 0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD
881 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
883 v_movrelsd_b32 v0, v2 dpp8:[7,6,5,4,3,2,1,0]
884 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
886 v_movrelsd_b32_dpp v0, v255 quad_perm:[3,2,1,0] row_mask:0x0 bank_mask:0x0
887 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
889 v_movrelsd_b32_e32 v1, s2
890 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
892 v_movrelsd_b32_e64 v255, v1
893 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
895 v_movrelsd_b32_sdwa v0, 1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD
896 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
898 v_mullit_f32 v255, v1, v2, v3
899 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
901 v_permlane16_b32 v0, lds_direct, s0, s0
902 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
904 v_permlanex16_b32 v0, lds_direct, s0, s0
905 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
907 v_pipeflush
908 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
910 v_pipeflush_e64
911 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
913 v_pk_fmac_f16 v0, v1, v2
914 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
916 v_rcp_clamp_f32 v255, v1
917 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
919 v_rcp_clamp_f32_e64 v255, v1
920 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
922 v_rcp_clamp_f64 v[254:255], v[1:2]
923 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
925 v_rcp_clamp_f64_e64 v[254:255], v[1:2]
926 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
928 v_rcp_legacy_f32 v255, v1
929 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
931 v_rcp_legacy_f32_e64 v255, v1
932 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
934 v_rsq_clamp_f32 v255, v1
935 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
937 v_rsq_clamp_f32_e64 v255, v1
938 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
940 v_rsq_clamp_f64 v[254:255], v[1:2]
941 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
943 v_rsq_clamp_f64_e64 v[254:255], v[1:2]
944 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
946 v_rsq_legacy_f32 v255, v1
947 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
949 v_rsq_legacy_f32_e64 v255, v1
950 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
952 v_sub_co_ci_u32_dpp v0, vcc, v0, v0, vcc dpp8:[7,6,5,4,3,2,1,0] fi:1
953 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
955 v_sub_co_ci_u32_e32 v255, vcc, v1, v2, vcc
956 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
958 v_sub_co_ci_u32_e64 v255, s12, v1, v2, s6
959 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
961 v_sub_co_ci_u32_sdwa v1, v1, v4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD
962 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
964 v_sub_nc_i16 v255, v1, v2
965 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
967 v_sub_nc_i32 v255, v1, v2
968 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
970 v_sub_nc_u16 v255, v1, v2
971 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
973 v_sub_nc_u32_dpp v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0]
974 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
976 v_sub_nc_u32_e32 v255, v1, v2
977 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
979 v_sub_nc_u32_e64 v255, v1, v2
980 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
982 v_sub_nc_u32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
983 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
985 v_subb_u32 v1, s[0:1], v2, v3, vcc
986 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
988 v_subb_u32_dpp v255, vcc, v1, v2, vcc quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
989 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
991 v_subb_u32_e64 v255, s[12:13], v1, v2, s[6:7]
992 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
994 v_subb_u32_sdwa v1, vcc, v2, v3, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2
995 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
997 v_subbrev_u32 v1, s[0:1], v2, v3, vcc
998 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1000 v_subbrev_u32_dpp v255, vcc, v1, v2, vcc quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
1001 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1003 v_subbrev_u32_e64 v255, s[12:13], v1, v2, s[6:7]
1004 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1006 v_subbrev_u32_sdwa v1, vcc, v2, v3, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2
1007 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1009 v_subrev_co_ci_u32 v0, vcc_lo, src_lds_direct, v0, vcc_lo
1010 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1012 v_subrev_co_ci_u32_dpp v0, vcc, v0, v0, vcc dpp8:[7,6,5,4,3,2,1,0]
1013 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1015 v_subrev_co_ci_u32_e32 v1, 0, v1
1016 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1018 v_subrev_co_ci_u32_e64 v255, s12, v1, v2, s6
1019 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1021 v_subrev_co_ci_u32_sdwa v1, v1, v4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:BYTE_0 src1_sel:DWORD
1022 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1024 v_subrev_i32 v1, s[0:1], v2, v3
1025 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1027 v_subrev_i32_e64 v255, s[12:13], v1, v2
1028 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1030 v_subrev_nc_u32 v0, src_lds_direct, v0
1031 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1033 v_subrev_nc_u32_dpp v5, v1, v2 dpp8:[7,6,5,4,3,2,1,0] fi:1
1034 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1036 v_subrev_nc_u32_e32 v255, v1, v2
1037 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1039 v_subrev_nc_u32_e64 v255, v1, v2
1040 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1042 v_subrev_nc_u32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
1043 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1045 v_swaprel_b32 v255, v1
1046 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1048 v_xnor_b32 v0, v1, v2
1049 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1051 v_xnor_b32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
1052 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1054 v_xnor_b32_e32 v255, v1, v2
1055 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1057 v_xnor_b32_e64 v255, v1, v2
1058 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1060 v_xnor_b32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
1061 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1063 v_xor3_b32 v255, v1, v2, v3
1064 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
1066 //===----------------------------------------------------------------------===//
1067 // Unsupported e32 variants.
1068 //===----------------------------------------------------------------------===//
1070 v_add_i32_e32 v0, vcc, 0.5, v0
1071 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: e32 variant of this instruction is not supported
1073 v_cvt_pkrtz_f16_f32_e32 v255, v1, v2
1074 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: e32 variant of this instruction is not supported
1076 //===----------------------------------------------------------------------===//
1077 // Unsupported e64 variants.
1078 //===----------------------------------------------------------------------===//
1080 v_swap_b32_e64 v1, v2
1081 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: e64 variant of this instruction is not supported
1083 //===----------------------------------------------------------------------===//
1084 // Unsupported sdwa variants.
1085 //===----------------------------------------------------------------------===//
1087 v_mac_f16_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_mac_f32_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