1// RUN: not llvm-mc -arch=amdgcn -mcpu=gfx906 %s 2>&1 | FileCheck --check-prefix=GFX906-ERR --implicit-check-not=error: %s
2// RUN: not llvm-mc -arch=amdgcn -mcpu=gfx908 %s 2>&1 | FileCheck --check-prefix=GFX908-ERR --implicit-check-not=error: %s
3
4// GFX906-ERR: error: instruction not supported on this GPU
5v_dot2c_f32_f16 v0, v1, v2
6
7// GFX906-ERR: error: instruction not supported on this GPU
8// GFX908-ERR: error: e64 variant of this instruction is not supported
9v_dot2c_f32_f16_e64 v0, v1, v2
10
11// GFX906-ERR: error: instruction not supported on this GPU
12// GFX908-ERR: error: sdwa variant of this instruction is not supported
13v_dot2c_f32_f16_sdwa v0, v1, v2
14
15// GFX906-ERR: error: instruction not supported on this GPU
16v_dot2c_i32_i16 v0, v1, v2
17
18// GFX906-ERR: error: instruction not supported on this GPU
19// GFX908-ERR: error: e64 variant of this instruction is not supported
20v_dot2c_i32_i16_e64 v0, v1, v2
21
22// GFX906-ERR: error: instruction not supported on this GPU
23// GFX908-ERR: error: sdwa variant of this instruction is not supported
24v_dot2c_i32_i16_sdwa v0, v1, v2
25
26// GFX906-ERR: error: instruction not supported on this GPU
27v_dot4c_i32_i8 v0, v1, v2
28
29// GFX906-ERR: error: instruction not supported on this GPU
30// GFX908-ERR: error: e64 variant of this instruction is not supported
31v_dot4c_i32_i8_e64 v0, v1, v2
32
33// GFX906-ERR: error: instruction not supported on this GPU
34// GFX908-ERR: error: sdwa variant of this instruction is not supported
35v_dot4c_i32_i8_sdwa v0, v1, v2
36
37// GFX906-ERR: error: instruction not supported on this GPU
38v_dot8c_i32_i4 v0, v1, v2
39
40// GFX906-ERR: error: instruction not supported on this GPU
41// GFX908-ERR: error: e64 variant of this instruction is not supported
42v_dot8c_i32_i4_e64 v0, v1, v2
43
44// GFX906-ERR: error: instruction not supported on this GPU
45// GFX908-ERR: error: sdwa variant of this instruction is not supported
46v_dot8c_i32_i4_sdwa v0, v1, v2
47
48// GFX906-ERR: error: instruction not supported on this GPU
49v_pk_fmac_f16 v0, v1, v2
50