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 4//===----------------------------------------------------------------------===// 5// Unsupported instructions. 6//===----------------------------------------------------------------------===// 7 8buffer_atomic_add_f32 v255, off, s[8:11], s3 offset:4095 9// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 10 11buffer_atomic_pk_add_f16 v255, off, s[8:11], s3 offset:4095 12// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 13 14buffer_store_lds_dword s[4:7], s0 lds 15// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 16 17buffer_wbinvl1_vol 18// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 19 20global_atomic_add_f32 v[1:2], v2, off 21// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 22 23global_atomic_pk_add_f16 v[1:2], v2, off 24// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 25 26s_cbranch_g_fork -1, s[4:5] 27// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 28 29s_cbranch_i_fork exec, 12609 30// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 31 32s_cbranch_join 1 33// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 34 35s_dcache_inv_vol 36// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 37 38s_dcache_wb_vol 39// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 40 41s_rfe_restore_b64 -1, s2 42// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 43 44s_set_gpr_idx_idx -1 45// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 46 47s_set_gpr_idx_mode 0 48// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 49 50s_set_gpr_idx_off 51// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 52 53s_set_gpr_idx_on -1, 0x0 54// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 55 56s_setvskip -1, s2 57// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 58 59v_accvgpr_read_b32 a0, a0 60// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 61 62v_accvgpr_write_b32 a0, 65 63// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 64 65v_add_i16 v255, v1, v2 66// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 67 68v_add_i32 lds_direct, v0, v0 69// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 70 71v_add_i32_e32 v0, vcc, 0.5, v0 72// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 73 74v_add_i32_e64 v1, s[0:1], v2, v3 75// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 76 77v_add_u16 v0, (i1+100)*2, v0 78// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 79 80v_add_u16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 81// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 82 83v_add_u16_e64 v255, v1, v2 84// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 85 86v_add_u16_sdwa v0, scc, v0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD 87// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 88 89v_add_u32 v0, execz, v0 90// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 91 92v_add_u32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 93// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 94 95v_add_u32_e32 v1, s1, v3 96// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 97 98v_add_u32_e64 v0, scc, v0 99// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 100 101v_add_u32_sdwa v1, vcc, v2, v3 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2 102// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 103 104v_addc_co_u32 v0, vcc, shared_base, v0, vcc 105// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 106 107v_addc_co_u32_dpp v255, vcc, v1, v2, vcc quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 108// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 109 110v_addc_co_u32_e32 v3, vcc, 12345, v3, vcc 111// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 112 113v_addc_co_u32_e64 v255, s[12:13], v1, v2, s[6:7] 114// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 115 116v_addc_co_u32_sdwa v1, vcc, v2, v3, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2 117// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 118 119v_addc_u32 v0, vcc, exec_hi, v0, vcc 120// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 121 122v_addc_u32_dpp v255, vcc, v1, v2, vcc quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 123// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 124 125v_addc_u32_e32 v1, -1, v2, v3, s0 126// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 127 128v_addc_u32_e64 v0, s[0:1], s0, s0, s[0:1] 129// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 130 131v_addc_u32_sdwa v1, vcc, v2, v3, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2 132// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 133 134v_ashr_i32 v255, v1, v2 135// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 136 137v_ashr_i32_e64 v255, v1, v2 138// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 139 140v_ashr_i64 v[254:255], v[1:2], v2 141// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 142 143v_cmp_f_i16 vcc, -1, v2 144// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 145 146v_cmp_f_i16_e64 flat_scratch, v1, v2 147// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 148 149v_cmp_f_i16_sdwa flat_scratch, v1, v2 src0_sel:DWORD src1_sel:DWORD 150// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 151 152v_cmp_f_u16 vcc, -1, v2 153// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 154 155v_cmp_f_u16_e64 flat_scratch, v1, v2 156// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 157 158v_cmp_f_u16_sdwa flat_scratch, v1, v2 src0_sel:DWORD src1_sel:DWORD 159// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 160 161v_cmp_t_i16 vcc, -1, v2 162// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 163 164v_cmp_t_i16_e64 flat_scratch, v1, v2 165// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 166 167v_cmp_t_i16_sdwa flat_scratch, v1, v2 src0_sel:DWORD src1_sel:DWORD 168// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 169 170v_cmp_t_u16 vcc, -1, v2 171// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 172 173v_cmp_t_u16_e64 flat_scratch, v1, v2 174// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 175 176v_cmp_t_u16_sdwa flat_scratch, v1, v2 src0_sel:DWORD src1_sel:DWORD 177// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 178 179v_cmps_eq_f32 vcc, -1, v2 180// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 181 182v_cmps_eq_f32_e64 flat_scratch, v1, v2 183// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 184 185v_cmps_eq_f64 vcc, -1, v[2:3] 186// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 187 188v_cmps_eq_f64_e64 flat_scratch, v[1:2], v[2:3] 189// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 190 191v_cmps_f_f32 vcc, -1, v2 192// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 193 194v_cmps_f_f32_e64 flat_scratch, v1, v2 195// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 196 197v_cmps_f_f64 vcc, -1, v[2:3] 198// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 199 200v_cmps_f_f64_e64 flat_scratch, v[1:2], v[2:3] 201// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 202 203v_cmps_ge_f32 vcc, -1, v2 204// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 205 206v_cmps_ge_f32_e64 flat_scratch, v1, v2 207// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 208 209v_cmps_ge_f64 vcc, -1, v[2:3] 210// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 211 212v_cmps_ge_f64_e64 flat_scratch, v[1:2], v[2:3] 213// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 214 215v_cmps_gt_f32 vcc, -1, v2 216// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 217 218v_cmps_gt_f32_e64 flat_scratch, v1, v2 219// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 220 221v_cmps_gt_f64 vcc, -1, v[2:3] 222// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 223 224v_cmps_gt_f64_e64 flat_scratch, v[1:2], v[2:3] 225// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 226 227v_cmps_le_f32 vcc, -1, v2 228// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 229 230v_cmps_le_f32_e64 flat_scratch, v1, v2 231// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 232 233v_cmps_le_f64 vcc, -1, v[2:3] 234// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 235 236v_cmps_le_f64_e64 flat_scratch, v[1:2], v[2:3] 237// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 238 239v_cmps_lg_f32 vcc, -1, v2 240// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 241 242v_cmps_lg_f32_e64 flat_scratch, v1, v2 243// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 244 245v_cmps_lg_f64 vcc, -1, v[2:3] 246// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 247 248v_cmps_lg_f64_e64 flat_scratch, v[1:2], v[2:3] 249// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 250 251v_cmps_lt_f32 vcc, -1, v2 252// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 253 254v_cmps_lt_f32_e64 flat_scratch, v1, v2 255// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 256 257v_cmps_lt_f64 vcc, -1, v[2:3] 258// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 259 260v_cmps_lt_f64_e64 flat_scratch, v[1:2], v[2:3] 261// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 262 263v_cmps_neq_f32 vcc, -1, v2 264// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 265 266v_cmps_neq_f32_e64 flat_scratch, v1, v2 267// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 268 269v_cmps_neq_f64 vcc, -1, v[2:3] 270// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 271 272v_cmps_neq_f64_e64 flat_scratch, v[1:2], v[2:3] 273// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 274 275v_cmps_nge_f32 vcc, -1, v2 276// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 277 278v_cmps_nge_f32_e64 flat_scratch, v1, v2 279// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 280 281v_cmps_nge_f64 vcc, -1, v[2:3] 282// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 283 284v_cmps_nge_f64_e64 flat_scratch, v[1:2], v[2:3] 285// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 286 287v_cmps_ngt_f32 vcc, -1, v2 288// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 289 290v_cmps_ngt_f32_e64 flat_scratch, v1, v2 291// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 292 293v_cmps_ngt_f64 vcc, -1, v[2:3] 294// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 295 296v_cmps_ngt_f64_e64 flat_scratch, v[1:2], v[2:3] 297// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 298 299v_cmps_nle_f32 vcc, -1, v2 300// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 301 302v_cmps_nle_f32_e64 flat_scratch, v1, v2 303// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 304 305v_cmps_nle_f64 vcc, -1, v[2:3] 306// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 307 308v_cmps_nle_f64_e64 flat_scratch, v[1:2], v[2:3] 309// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 310 311v_cmps_nlg_f32 vcc, -1, v2 312// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 313 314v_cmps_nlg_f32_e64 flat_scratch, v1, v2 315// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 316 317v_cmps_nlg_f64 vcc, -1, v[2:3] 318// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 319 320v_cmps_nlg_f64_e64 flat_scratch, v[1:2], v[2:3] 321// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 322 323v_cmps_nlt_f32 vcc, -1, v2 324// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 325 326v_cmps_nlt_f32_e64 flat_scratch, v1, v2 327// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 328 329v_cmps_nlt_f64 vcc, -1, v[2:3] 330// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 331 332v_cmps_nlt_f64_e64 flat_scratch, v[1:2], v[2:3] 333// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 334 335v_cmps_o_f32 vcc, -1, v2 336// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 337 338v_cmps_o_f32_e64 flat_scratch, v1, v2 339// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 340 341v_cmps_o_f64 vcc, -1, v[2:3] 342// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 343 344v_cmps_o_f64_e64 flat_scratch, v[1:2], v[2:3] 345// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 346 347v_cmps_tru_f32 vcc, -1, v2 348// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 349 350v_cmps_tru_f32_e64 flat_scratch, v1, v2 351// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 352 353v_cmps_tru_f64 vcc, -1, v[2:3] 354// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 355 356v_cmps_tru_f64_e64 flat_scratch, v[1:2], v[2:3] 357// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 358 359v_cmps_u_f32 vcc, -1, v2 360// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 361 362v_cmps_u_f32_e64 flat_scratch, v1, v2 363// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 364 365v_cmps_u_f64 vcc, -1, v[2:3] 366// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 367 368v_cmps_u_f64_e64 flat_scratch, v[1:2], v[2:3] 369// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 370 371v_cmpsx_eq_f32 vcc, -1, v2 372// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 373 374v_cmpsx_eq_f32_e64 flat_scratch, v1, v2 375// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 376 377v_cmpsx_eq_f64 vcc, -1, v[2:3] 378// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 379 380v_cmpsx_eq_f64_e64 flat_scratch, v[1:2], v[2:3] 381// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 382 383v_cmpsx_f_f32 vcc, -1, v2 384// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 385 386v_cmpsx_f_f32_e64 flat_scratch, v1, v2 387// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 388 389v_cmpsx_f_f64 vcc, -1, v[2:3] 390// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 391 392v_cmpsx_f_f64_e64 flat_scratch, v[1:2], v[2:3] 393// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 394 395v_cmpsx_ge_f32 vcc, -1, v2 396// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 397 398v_cmpsx_ge_f32_e64 flat_scratch, v1, v2 399// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 400 401v_cmpsx_ge_f64 vcc, -1, v[2:3] 402// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 403 404v_cmpsx_ge_f64_e64 flat_scratch, v[1:2], v[2:3] 405// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 406 407v_cmpsx_gt_f32 vcc, -1, v2 408// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 409 410v_cmpsx_gt_f32_e64 flat_scratch, v1, v2 411// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 412 413v_cmpsx_gt_f64 vcc, -1, v[2:3] 414// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 415 416v_cmpsx_gt_f64_e64 flat_scratch, v[1:2], v[2:3] 417// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 418 419v_cmpsx_le_f32 vcc, -1, v2 420// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 421 422v_cmpsx_le_f32_e64 flat_scratch, v1, v2 423// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 424 425v_cmpsx_le_f64 vcc, -1, v[2:3] 426// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 427 428v_cmpsx_le_f64_e64 flat_scratch, v[1:2], v[2:3] 429// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 430 431v_cmpsx_lg_f32 vcc, -1, v2 432// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 433 434v_cmpsx_lg_f32_e64 flat_scratch, v1, v2 435// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 436 437v_cmpsx_lg_f64 vcc, -1, v[2:3] 438// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 439 440v_cmpsx_lg_f64_e64 flat_scratch, v[1:2], v[2:3] 441// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 442 443v_cmpsx_lt_f32 vcc, -1, v2 444// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 445 446v_cmpsx_lt_f32_e64 flat_scratch, v1, v2 447// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 448 449v_cmpsx_lt_f64 vcc, -1, v[2:3] 450// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 451 452v_cmpsx_lt_f64_e64 flat_scratch, v[1:2], v[2:3] 453// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 454 455v_cmpsx_neq_f32 vcc, -1, v2 456// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 457 458v_cmpsx_neq_f32_e64 flat_scratch, v1, v2 459// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 460 461v_cmpsx_neq_f64 vcc, -1, v[2:3] 462// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 463 464v_cmpsx_neq_f64_e64 flat_scratch, v[1:2], v[2:3] 465// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 466 467v_cmpsx_nge_f32 vcc, -1, v2 468// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 469 470v_cmpsx_nge_f32_e64 flat_scratch, v1, v2 471// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 472 473v_cmpsx_nge_f64 vcc, -1, v[2:3] 474// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 475 476v_cmpsx_nge_f64_e64 flat_scratch, v[1:2], v[2:3] 477// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 478 479v_cmpsx_ngt_f32 vcc, -1, v2 480// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 481 482v_cmpsx_ngt_f32_e64 flat_scratch, v1, v2 483// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 484 485v_cmpsx_ngt_f64 vcc, -1, v[2:3] 486// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 487 488v_cmpsx_ngt_f64_e64 flat_scratch, v[1:2], v[2:3] 489// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 490 491v_cmpsx_nle_f32 vcc, -1, v2 492// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 493 494v_cmpsx_nle_f32_e64 flat_scratch, v1, v2 495// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 496 497v_cmpsx_nle_f64 vcc, -1, v[2:3] 498// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 499 500v_cmpsx_nle_f64_e64 flat_scratch, v[1:2], v[2:3] 501// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 502 503v_cmpsx_nlg_f32 vcc, -1, v2 504// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 505 506v_cmpsx_nlg_f32_e64 flat_scratch, v1, v2 507// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 508 509v_cmpsx_nlg_f64 vcc, -1, v[2:3] 510// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 511 512v_cmpsx_nlg_f64_e64 flat_scratch, v[1:2], v[2:3] 513// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 514 515v_cmpsx_nlt_f32 vcc, -1, v2 516// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 517 518v_cmpsx_nlt_f32_e64 flat_scratch, v1, v2 519// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 520 521v_cmpsx_nlt_f64 vcc, -1, v[2:3] 522// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 523 524v_cmpsx_nlt_f64_e64 flat_scratch, v[1:2], v[2:3] 525// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 526 527v_cmpsx_o_f32 vcc, -1, v2 528// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 529 530v_cmpsx_o_f32_e64 flat_scratch, v1, v2 531// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 532 533v_cmpsx_o_f64 vcc, -1, v[2:3] 534// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 535 536v_cmpsx_o_f64_e64 flat_scratch, v[1:2], v[2:3] 537// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 538 539v_cmpsx_tru_f32 vcc, -1, v2 540// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 541 542v_cmpsx_tru_f32_e64 flat_scratch, v1, v2 543// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 544 545v_cmpsx_tru_f64 vcc, -1, v[2:3] 546// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 547 548v_cmpsx_tru_f64_e64 flat_scratch, v[1:2], v[2:3] 549// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 550 551v_cmpsx_u_f32 vcc, -1, v2 552// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 553 554v_cmpsx_u_f32_e64 flat_scratch, v1, v2 555// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 556 557v_cmpsx_u_f64 vcc, -1, v[2:3] 558// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 559 560v_cmpsx_u_f64_e64 flat_scratch, v[1:2], v[2:3] 561// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 562 563v_cmpx_f_i16 vcc, -1, v2 564// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 565 566v_cmpx_f_i16_e64 exec, v1, v2 567// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 568 569v_cmpx_f_i16_sdwa flat_scratch, v1, v2 src0_sel:DWORD src1_sel:DWORD 570// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 571 572v_cmpx_f_u16 vcc, -1, v2 573// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 574 575v_cmpx_f_u16_e64 exec, v1, v2 576// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 577 578v_cmpx_f_u16_sdwa flat_scratch, v1, v2 src0_sel:DWORD src1_sel:DWORD 579// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 580 581v_cmpx_t_i16 vcc, -1, v2 582// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 583 584v_cmpx_t_i16_e64 exec, v1, v2 585// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 586 587v_cmpx_t_i16_sdwa flat_scratch, v1, v2 src0_sel:DWORD src1_sel:DWORD 588// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 589 590v_cmpx_t_u16 vcc, -1, v2 591// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 592 593v_cmpx_t_u16_e64 exec, v1, v2 594// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 595 596v_cmpx_t_u16_sdwa flat_scratch, v1, v2 src0_sel:DWORD src1_sel:DWORD 597// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 598 599v_cvt_pkaccum_u8_f32 v1, v2, v3 600// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 601 602v_cvt_pkaccum_u8_f32_e64 v255, v1, v2 603// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 604 605v_div_fixup_legacy_f16 v255, v1, v2, v3 606// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 607 608v_div_fixup_legacy_f16_e64 v5, 0.5, v2, v3 609// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 610 611v_dot2_f32_f16 v0, -v1, -v2, -v3 612// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 613 614v_dot2_i32_i16 v0, -v1, -v2, -v3 615// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 616 617v_dot2_u32_u16 v0, -v1, -v2, -v3 618// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 619 620v_dot2c_f32_f16 v0, v1, v2 621// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 622 623v_dot2c_f32_f16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 624// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 625 626v_dot2c_f32_f16_e32 v255, v1, v2 627// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 628 629v_dot2c_i32_i16 v0, v1, v2 630// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 631 632v_dot2c_i32_i16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 633// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 634 635v_dot4_i32_i8 v0, v1, v2, v3 636// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 637 638v_dot4_u32_u8 v0, v1, v2, v3 639// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 640 641v_dot4c_i32_i8 v0, v1, v2 642// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 643 644v_dot4c_i32_i8_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 645// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 646 647v_dot4c_i32_i8_e32 v255, v1, v2 648// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 649 650v_dot8_i32_i4 v0, v1, v2, v3 651// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 652 653v_dot8_u32_u4 v0, v1, v2, v3 654// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 655 656v_dot8c_i32_i4 v0, v1, v2 657// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 658 659v_dot8c_i32_i4_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 660// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 661 662v_exp_legacy_f32 v1, v0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 663// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 664 665v_exp_legacy_f32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 666// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 667 668v_exp_legacy_f32_e64 v255, v1 669// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 670 671v_exp_legacy_f32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD 672// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 673 674v_fma_legacy_f16 v255, v1, v2, v3 675// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 676 677v_fma_legacy_f16_e64 v5, v1, v2, v3 678// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 679 680v_interp_p2_legacy_f16 v255, v2, attr0.x, v3 681// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 682 683v_log_clamp_f32 v1, 0.5 684// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 685 686v_log_clamp_f32_e64 v255, v1 687// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 688 689v_log_legacy_f32 v1, v0 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 690// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 691 692v_log_legacy_f32_dpp v255, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 693// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 694 695v_log_legacy_f32_e64 v255, v1 696// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 697 698v_log_legacy_f32_sdwa v255, v1 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD 699// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 700 701v_lshl_b32 v255, v1, v2 702// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 703 704v_lshl_b32_e64 v255, v1, v2 705// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 706 707v_lshl_b64 v[254:255], v[1:2], v2 708// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 709 710v_lshr_b32 v255, v1, v2 711// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 712 713v_lshr_b32_e64 v255, v1, v2 714// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 715 716v_lshr_b64 v[254:255], v[1:2], v2 717// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 718 719v_mac_f16 v1, v2, v3 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2 720// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 721 722v_mac_f16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 723// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 724 725v_mac_f16_e64 v0, -4.0, flat_scratch_lo 726// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 727 728v_mac_f16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD 729// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 730 731v_mad_f16 v255, v1, v2, v3 732// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 733 734v_mad_f16_e64 v5, 0.5, v2, v3 735// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 736 737v_mad_legacy_f16 v255, v1, v2, v3 738// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 739 740v_mad_legacy_f16_e64 v5, 0.5, v2, v3 741// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 742 743v_mad_legacy_i16 v255, v1, v2, v3 744// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 745 746v_mad_legacy_i16_e64 v5, 0, v2, v3 747// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 748 749v_mad_legacy_u16 v255, v1, v2, v3 750// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 751 752v_mad_legacy_u16_e64 v5, 0, v2, v3 753// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 754 755v_mad_mix_f32 v0, -abs(v1), v2, v3 756// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 757 758v_mad_mixhi_f16 v0, -v1, abs(v2), -abs(v3) 759// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 760 761v_mad_mixlo_f16 v0, abs(v1), -v2, abs(v3) 762// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 763 764v_madak_f16 v0, src_lds_direct, v0, 0x1121 765// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 766 767v_madmk_f16 v0, src_lds_direct, 0x1121, v0 768// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 769 770v_max_legacy_f32 v255, v1, v2 771// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 772 773v_max_legacy_f32_e64 v255, v1, v2 774// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 775 776v_mfma_f32_16x16x16f16 a[0:3], a[0:1], a[1:2], -2.0 777// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 778 779v_mfma_f32_16x16x1f32 a[0:15], a0, a1, -2.0 780// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 781 782v_mfma_f32_16x16x2bf16 a[0:15], a0, a1, -2.0 783// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 784 785v_mfma_f32_16x16x4f16 a[0:15], a[0:1], a[1:2], -2.0 786// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 787 788v_mfma_f32_16x16x4f32 a[0:3], a0, a1, -2.0 789// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 790 791v_mfma_f32_16x16x8bf16 a[0:3], a0, a1, -2.0 792// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 793 794v_mfma_f32_32x32x1f32 a[0:31], 1, v1, a[1:32] 795// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 796 797v_mfma_f32_32x32x2bf16 a[0:31], a0, a1, -2.0 798// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 799 800v_mfma_f32_32x32x2f32 a[0:15], a0, a1, -2.0 801// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 802 803v_mfma_f32_32x32x4bf16 a[0:15], a0, a1, -2.0 804// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 805 806v_mfma_f32_32x32x4f16 a[0:31], a[0:1], a[1:2], -2.0 807// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 808 809v_mfma_f32_32x32x8f16 a[0:15], a[0:1], a[1:2], -2.0 810// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 811 812v_mfma_f32_4x4x1f32 a[0:3], a0, a1, -2.0 813// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 814 815v_mfma_f32_4x4x2bf16 a[0:3], a0, a1, -2.0 816// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 817 818v_mfma_f32_4x4x4f16 a[0:3], a[0:1], a[1:2], -2.0 819// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 820 821v_mfma_i32_16x16x16i8 a[0:3], a0, a1, 2 822// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 823 824v_mfma_i32_16x16x4i8 a[0:15], a0, a1, 2 825// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 826 827v_mfma_i32_32x32x4i8 a[0:31], a0, a1, 2 828// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 829 830v_mfma_i32_32x32x8i8 a[0:15], a0, a1, 2 831// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 832 833v_mfma_i32_4x4x4i8 a[0:3], a0, a1, 2 834// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 835 836v_min_legacy_f32 v255, v1, v2 837// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 838 839v_min_legacy_f32_e64 v255, v1, v2 840// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 841 842v_rcp_clamp_f32 v255, v1 843// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 844 845v_rcp_clamp_f32_e64 v255, v1 846// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 847 848v_rcp_clamp_f64 v[254:255], v[1:2] 849// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 850 851v_rcp_clamp_f64_e64 v[254:255], v[1:2] 852// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 853 854v_rcp_legacy_f32 v255, v1 855// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 856 857v_rcp_legacy_f32_e64 v255, v1 858// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 859 860v_rsq_clamp_f32 v255, v1 861// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 862 863v_rsq_clamp_f32_e64 v255, v1 864// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 865 866v_rsq_clamp_f64 v[254:255], v[1:2] 867// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 868 869v_rsq_clamp_f64_e64 v[254:255], v[1:2] 870// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 871 872v_rsq_legacy_f32 v255, v1 873// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 874 875v_rsq_legacy_f32_e64 v255, v1 876// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 877 878v_screen_partition_4se_b32 v5, -1 879// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 880 881v_screen_partition_4se_b32_dpp v5, v1 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 bound_ctrl:0 882// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 883 884v_screen_partition_4se_b32_e64 v5, -1 885// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 886 887v_screen_partition_4se_b32_sdwa v5, v1 src0_sel:BYTE_0 888// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 889 890v_sub_i16 v255, v1, v2 891// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 892 893v_sub_i32 v1, s[0:1], v2, v3 894// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 895 896v_sub_i32_e64 v255, s[12:13], v1, v2 897// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 898 899v_sub_u16 v1, v2, v3 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2 900// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 901 902v_sub_u16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 903// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 904 905v_sub_u16_e64 v255, v1, v2 906// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 907 908v_sub_u16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD 909// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 910 911v_sub_u32 v1, 4.0, v2 912// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 913 914v_sub_u32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 915// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 916 917v_sub_u32_e32 v1, s1, v3 918// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 919 920v_sub_u32_e64 v255, s[12:13], v1, v2 921// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 922 923v_sub_u32_sdwa v1, vcc, v2, v3 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2 924// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 925 926v_subb_co_u32 v1, vcc, v2, v3, vcc row_shl:1 row_mask:0xa bank_mask:0x1 bound_ctrl:0 927// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 928 929v_subb_co_u32_dpp v255, vcc, v1, v2, vcc quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 930// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 931 932v_subb_co_u32_e64 v255, s[12:13], v1, v2, s[6:7] 933// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 934 935v_subb_co_u32_sdwa v1, vcc, v2, v3, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2 936// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 937 938v_subb_u32 v1, s[0:1], v2, v3, vcc 939// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 940 941v_subb_u32_dpp v255, vcc, v1, v2, vcc quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 942// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 943 944v_subb_u32_e64 v255, s[12:13], v1, v2, s[6:7] 945// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 946 947v_subb_u32_sdwa v1, vcc, v2, v3, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2 948// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 949 950v_subbrev_co_u32 v0, vcc, src_lds_direct, v0, vcc 951// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 952 953v_subbrev_co_u32_dpp v255, vcc, v1, v2, vcc quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 954// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 955 956v_subbrev_co_u32_e64 v255, s[12:13], v1, v2, s[6:7] 957// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 958 959v_subbrev_co_u32_sdwa v1, vcc, v2, v3, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2 960// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 961 962v_subbrev_u32 v1, s[0:1], v2, v3, vcc 963// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 964 965v_subbrev_u32_dpp v255, vcc, v1, v2, vcc quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 966// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 967 968v_subbrev_u32_e64 v255, s[12:13], v1, v2, s[6:7] 969// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 970 971v_subbrev_u32_sdwa v1, vcc, v2, v3, vcc dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2 972// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 973 974v_subrev_i32 v1, s[0:1], v2, v3 975// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 976 977v_subrev_i32_e64 v255, s[12:13], v1, v2 978// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 979 980v_subrev_u16 v0, src_lds_direct, v0 981// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 982 983v_subrev_u16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 984// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 985 986v_subrev_u16_e64 v255, v1, v2 987// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 988 989v_subrev_u16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD 990// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 991 992v_subrev_u32 v0, src_lds_direct, v0 993// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 994 995v_subrev_u32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 996// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 997 998v_subrev_u32_e32 v1, s1, v3 999// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 1000 1001v_subrev_u32_e64 v255, s[12:13], v1, v2 1002// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 1003 1004v_subrev_u32_sdwa v1, vcc, v2, v3 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:WORD_1 src1_sel:BYTE_2 1005// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU 1006 1007//===----------------------------------------------------------------------===// 1008// Unsupported e32 variants. 1009//===----------------------------------------------------------------------===// 1010 1011v_add_co_u32_e32 v2, vcc, s0, v2 1012// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: e32 variant of this instruction is not supported 1013 1014v_sub_co_u32_e32 v2, vcc, s0, v2 1015// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: e32 variant of this instruction is not supported 1016 1017v_subrev_co_u32_e32 v2, vcc, s0, v2 1018// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: e32 variant of this instruction is not supported 1019 1020//===----------------------------------------------------------------------===// 1021// Unsupported e64 variants. 1022//===----------------------------------------------------------------------===// 1023 1024v_swap_b32_e64 v1, v2 1025// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: e64 variant of this instruction is not supported 1026 1027//===----------------------------------------------------------------------===// 1028// Unsupported dpp variants. 1029//===----------------------------------------------------------------------===// 1030 1031v_add_co_u32_dpp v255, vcc, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 1032// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: dpp variant of this instruction is not supported 1033 1034v_ashrrev_i16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 1035// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: dpp variant of this instruction is not supported 1036 1037v_lshlrev_b16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 1038// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: dpp variant of this instruction is not supported 1039 1040v_lshrrev_b16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 1041// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: dpp variant of this instruction is not supported 1042 1043v_mac_legacy_f32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 1044// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: dpp variant of this instruction is not supported 1045 1046v_max_i16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 1047// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: dpp variant of this instruction is not supported 1048 1049v_max_u16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 1050// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: dpp variant of this instruction is not supported 1051 1052v_min_i16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 1053// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: dpp variant of this instruction is not supported 1054 1055v_min_u16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 1056// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: dpp variant of this instruction is not supported 1057 1058v_mul_lo_u16_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 1059// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: dpp variant of this instruction is not supported 1060 1061v_sub_co_u32_dpp v255, vcc, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 1062// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: dpp variant of this instruction is not supported 1063 1064v_subrev_co_u32_dpp v255, vcc, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0 1065// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: dpp variant of this instruction is not supported 1066 1067//===----------------------------------------------------------------------===// 1068// Unsupported sdwa variants. 1069//===----------------------------------------------------------------------===// 1070 1071v_add_co_u32_sdwa v0, v0, v4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 1072// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported 1073 1074v_ashrrev_i16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD 1075// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported 1076 1077v_lshlrev_b16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD 1078// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported 1079 1080v_lshrrev_b16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD 1081// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported 1082 1083v_mac_f32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD 1084// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported 1085 1086v_mac_legacy_f32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD 1087// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported 1088 1089v_max_i16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD 1090// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported 1091 1092v_max_u16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD 1093// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported 1094 1095v_min_i16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD 1096// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported 1097 1098v_min_u16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD 1099// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported 1100 1101v_mul_lo_u16_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD 1102// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported 1103 1104v_sub_co_u32_sdwa v0, v0, v4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 1105// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported 1106 1107v_subrev_co_u32_sdwa v0, v0, v4 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:BYTE_0 1108// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported 1109