[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / AMDGPU / xdl-insts-err.s
blob8f596bea7aad049c55fcdaf6017846804fade536
1 // RUN: not llvm-mc -arch=amdgcn -mcpu=gfx906 -show-encoding %s 2>&1 | FileCheck --check-prefixes=GCN-ERR,GFX906-ERR %s
2 // RUN: not llvm-mc -arch=amdgcn -mcpu=gfx908 -show-encoding %s 2>&1 | FileCheck --check-prefixes=GCN-ERR,GFX908-ERR %s
4 // GFX906-ERR: error: instruction not supported on this GPU
5 v_dot2c_f32_f16 v0, v1, v2
7 // GCN-ERR: error: invalid instruction
8 v_dot2c_f32_f16_e64 v0, v1, v2
10 // GCN-ERR: error: invalid instruction
11 v_dot2c_f32_f16_sdwa v0, v1, v2
13 // GFX906-ERR: error: instruction not supported on this GPU
14 v_dot2c_i32_i16 v0, v1, v2
16 // GCN-ERR: error: invalid instruction
17 v_dot2c_i32_i16_e64 v0, v1, v2
19 // GCN-ERR: error: invalid instruction
20 v_dot2c_i32_i16_sdwa v0, v1, v2
22 // GFX906-ERR: error: instruction not supported on this GPU
23 v_dot4c_i32_i8 v0, v1, v2
25 // GCN-ERR: error: invalid instruction
26 v_dot4c_i32_i8_e64 v0, v1, v2
28 // GCN-ERR: error: invalid instruction
29 v_dot4c_i32_i8_sdwa v0, v1, v2
31 // GFX906-ERR: error: instruction not supported on this GPU
32 v_dot8c_i32_i4 v0, v1, v2
34 // GCN-ERR: error: invalid instruction
35 v_dot8c_i32_i4_e64 v0, v1, v2
37 // GCN-ERR: error: invalid instruction
38 v_dot8c_i32_i4_sdwa v0, v1, v2
40 // GFX906-ERR: error: instruction not supported on this GPU
41 v_pk_fmac_f16 v0, v1, v2