1// RUN: not llvm-mc -arch=amdgcn -mcpu=gfx1030 -mattr=+wavefrontsize32,-wavefrontsize64 %s 2>&1 | FileCheck --implicit-check-not=error: %s
2// RUN: not llvm-mc -arch=amdgcn -mcpu=gfx1030 -mattr=-wavefrontsize32,+wavefrontsize64 %s 2>&1 | FileCheck --implicit-check-not=error: %s
3
4v_mul_lo_i32 v0, v1, v2
5// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
6
7//===----------------------------------------------------------------------===//
8// Unsupported dpp variants.
9//===----------------------------------------------------------------------===//
10
11v_fmac_legacy_f32_dpp v255, v1, v2 quad_perm:[0,1,2,3] row_mask:0x0 bank_mask:0x0
12// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: dpp variant of this instruction is not supported
13
14//===----------------------------------------------------------------------===//
15// Unsupported sdwa variants.
16//===----------------------------------------------------------------------===//
17
18v_fmac_legacy_f32_sdwa v255, v1, v2 dst_sel:DWORD dst_unused:UNUSED_PAD src0_sel:DWORD src1_sel:DWORD
19// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported
20