1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
// RUN: not llvm-mc -arch=amdgcn %s 2>&1 | FileCheck -check-prefix=GCN --implicit-check-not=error: %s
// RUN: not llvm-mc -arch=amdgcn -mcpu=tonga %s 2>&1 | FileCheck -check-prefix=GCN --implicit-check-not=error: %s
v_interp_p1_f32 v0, v1
// GCN: error: too few operands for instruction
v_interp_p1_f32 v0, v1, attr64.w
// GCN: error: out of bounds interpolation attribute number
v_interp_p1_f32 v0, v1, attr64.x
// GCN: error: out of bounds interpolation attribute number
v_interp_p2_f32 v9, v1, attr64.x
// GCN: error: out of bounds interpolation attribute number
v_interp_p2_f32 v0, v1, attr64.x
// GCN: error: out of bounds interpolation attribute number
v_interp_p2_f32 v0, v1, attr0.q
// GCN: error: invalid or missing interpolation attribute channel
v_interp_p2_f32 v0, v1, attr0.
// GCN: error: invalid or missing interpolation attribute channel
v_interp_p2_f32 v0, v1, attr
// GCN: error: invalid or missing interpolation attribute channel
v_interp_p2_f32 v0, v1, att
// GCN: error: invalid interpolation attribute
v_interp_p2_f32 v0, v1, attrq
// GCN: error: invalid or missing interpolation attribute channel
v_interp_p2_f32 v7, v1, attr.x
// GCN: error: invalid or missing interpolation attribute number
v_interp_p2_f32 v7, v1, attr-1.x
// GCN: error: invalid or missing interpolation attribute channel
v_interp_p2_f32 v7, v1, attrA.x
// GCN: error: invalid or missing interpolation attribute number
v_interp_mov_f32 v11, invalid_param_3, attr0.y
// GCN: error: invalid interpolation slot
v_interp_mov_f32 v12, invalid_param_10, attr0.x
// GCN: error: invalid interpolation slot
v_interp_mov_f32 v3, invalid_param_3, attr0.x
// GCN: error: invalid interpolation slot
v_interp_mov_f32 v8, invalid_param_8, attr0.x
// GCN: error: invalid interpolation slot
v_interp_mov_f32 v8, foo, attr0.x
// GCN: error: invalid interpolation slot
v_interp_mov_f32 v8, 0, attr0.x
// GCN: error: invalid operand for instruction
v_interp_mov_f32 v8, -1, attr0.x
// GCN: error: invalid operand for instruction
v_interp_mov_f32 v8, p-1, attr0.x
// GCN: error: invalid interpolation slot
v_interp_mov_f32 v8, p1, attr0.x
// GCN: error: invalid interpolation slot
|