44 lines · plain
1// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=-real-true16 %s 2>&1 | FileCheck %s -check-prefix=GCN-ERR --implicit-check-not=error: --strict-whitespace2// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1200 -mattr=-real-true16 %s 2>&1 | FileCheck %s -check-prefix=GCN-ERR --implicit-check-not=error: --strict-whitespace3 4//===----------------------------------------------------------------------===//5// VINTERP src operands must be VGPRs.6// Check that other operand kinds are rejected by assembler.7//===----------------------------------------------------------------------===//8 9v_interp_p10_f32 v0, s1, v2, v310// GCN-ERR: :[[@LINE-1]]:22: error: invalid operand for instruction11 12v_interp_p10_f32 v0, v1, s2, v313// GCN-ERR: :[[@LINE-1]]:26: error: invalid operand for instruction14 15v_interp_p10_f32 v0, v1, v2, s316// GCN-ERR: :[[@LINE-1]]:30: error: invalid operand for instruction17 18v_interp_p2_f32 v0, 1, v2, v319// GCN-ERR: :[[@LINE-1]]:21: error: invalid operand for instruction20 21v_interp_p2_f32 v0, v1, 2, v322// GCN-ERR: :[[@LINE-1]]:25: error: invalid operand for instruction23 24v_interp_p2_f32 v0, v1, v2, 325// GCN-ERR: :[[@LINE-1]]:29: error: invalid operand for instruction26 27v_interp_p10_f16_f32 v0, s1, v2, v328// GCN-ERR: :[[@LINE-1]]:26: error: invalid operand for instruction29 30v_interp_p10_f16_f32 v0, v1, s2, v331// GCN-ERR: :[[@LINE-1]]:30: error: invalid operand for instruction32 33v_interp_p10_f16_f32 v0, v1, v2, s334// GCN-ERR: :[[@LINE-1]]:34: error: invalid operand for instruction35 36v_interp_p2_f16_f32 v0, 1, v2, v337// GCN-ERR: :[[@LINE-1]]:25: error: invalid operand for instruction38 39v_interp_p2_f16_f32 v0, v1, 2, v340// GCN-ERR: :[[@LINE-1]]:29: error: invalid operand for instruction41 42v_interp_p2_f16_f32 v0, v1, v2, 343// GCN-ERR: :[[@LINE-1]]:33: error: invalid operand for instruction44