1// RUN: not llvm-mc -arch=amdgcn %s 2>&1 | FileCheck -check-prefix=GCN -check-prefix=SI --implicit-check-not=error: %s 2// RUN: not llvm-mc -arch=amdgcn -mcpu=tonga %s 2>&1 | FileCheck -check-prefix=GCN -check-prefix=VI --implicit-check-not=error: %s 3 4v_interp_p1_f32 v0, v1, attr64.w 5// GCN: :25: error: out of bounds attr 6 7v_interp_p1_f32 v0, v1, attr64.x 8// GCN: :25: error: out of bounds attr 9 10v_interp_p2_f32 v9, v1, attr64.x 11// GCN: :25: error: out of bounds attr 12 13v_interp_p2_f32 v0, v1, attr64.x 14// GCN: :25: error: out of bounds attr 15 16v_interp_p2_f32 v0, v1, attr0.q 17// GCN: :25: error: failed parsing operand. 18 19v_interp_p2_f32 v0, v1, attr0. 20// GCN: :25: error: failed parsing operand. 21 22v_interp_p2_f32 v0, v1, attr 23// GCN: :25: error: failed parsing operand. 24 25// XXX - Why does this one parse? 26v_interp_p2_f32 v0, v1, att 27// GCN: :25: error: invalid operand for instruction 28 29v_interp_p2_f32 v0, v1, attrq 30// GCN: :25: error: failed parsing operand. 31 32v_interp_mov_f32 v11, invalid_param_3, attr0.y 33// GCN: :23: error: failed parsing operand. 34 35v_interp_mov_f32 v12, invalid_param_10, attr0.x 36// GCN: :23: error: failed parsing operand. 37 38v_interp_mov_f32 v3, invalid_param_3, attr0.x 39// GCN: :22: error: failed parsing operand. 40 41v_interp_mov_f32 v8, invalid_param_8, attr0.x 42// GCN: :22: error: failed parsing operand. 43 44v_interp_mov_f32 v8, foo, attr0.x 45// GCN: :22: error: failed parsing operand. 46