46 lines · plain
1// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx906 %s 2>&1 | FileCheck --check-prefix=GFX906-ERR --implicit-check-not=error: %s2// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx908 %s 2>&1 | FileCheck --check-prefix=GFX908-ERR --implicit-check-not=error: %s3 4// GFX906-ERR: :[[@LINE+1]]:{{[0-9]+}}: error: instruction not supported on this GPU5v_dot2c_f32_f16 v0, v1, v26 7// GFX906-ERR: :[[@LINE+1]]:{{[0-9]+}}: error: instruction not supported on this GPU8v_dot2c_f32_f16_e64 v0, v1, v29 10// GFX906-ERR: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU11// GFX908-ERR: :[[@LINE+1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported12v_dot2c_f32_f16_sdwa v0, v1, v213 14// GFX906-ERR: :[[@LINE+1]]:{{[0-9]+}}: error: instruction not supported on this GPU15v_dot2c_i32_i16 v0, v1, v216 17// GFX906-ERR: :[[@LINE+1]]:{{[0-9]+}}: error: instruction not supported on this GPU18v_dot2c_i32_i16_e64 v0, v1, v219 20// GFX906-ERR: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU21// GFX908-ERR: :[[@LINE+1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported22v_dot2c_i32_i16_sdwa v0, v1, v223 24// GFX906-ERR: :[[@LINE+1]]:{{[0-9]+}}: error: instruction not supported on this GPU25v_dot4c_i32_i8 v0, v1, v226 27// GFX906-ERR: :[[@LINE+1]]:{{[0-9]+}}: error: instruction not supported on this GPU28v_dot4c_i32_i8_e64 v0, v1, v229 30// GFX906-ERR: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU31// GFX908-ERR: :[[@LINE+1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported32v_dot4c_i32_i8_sdwa v0, v1, v233 34// GFX906-ERR: :[[@LINE+1]]:{{[0-9]+}}: error: instruction not supported on this GPU35v_dot8c_i32_i4 v0, v1, v236 37// GFX906-ERR: :[[@LINE+1]]:{{[0-9]+}}: error: instruction not supported on this GPU38v_dot8c_i32_i4_e64 v0, v1, v239 40// GFX906-ERR: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU41// GFX908-ERR: :[[@LINE+1]]:{{[0-9]+}}: error: sdwa variant of this instruction is not supported42v_dot8c_i32_i4_sdwa v0, v1, v243 44// GFX906-ERR: :[[@LINE+1]]:{{[0-9]+}}: error: instruction not supported on this GPU45v_pk_fmac_f16 v0, v1, v246