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