xref: /llvm-project/llvm/test/MC/AMDGPU/vintrp-e64-err.s (revision 252c42354eca54274ed7b10c32c73c6937478e8b)
1// RUN: not llvm-mc -triple=amdgcn -mcpu=tonga %s 2>&1 | FileCheck %s --implicit-check-not=error:
2// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx900 %s 2>&1 | FileCheck %s --implicit-check-not=error:
3// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1010 %s 2>&1 | FileCheck %s --implicit-check-not=error:
4
5v_interp_p1_f32_e64 v5, 0.5, attr0.w
6// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
7
8v_interp_p1_f32_e64 v5, s1, attr0.w
9// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
10
11v_interp_p1ll_f16 v5, 0.5, attr0.w
12// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
13
14v_interp_p1ll_f16 v5, s1, attr0.w
15// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
16
17v_interp_p1lv_f16 v5, 0.5, attr0.w, v3
18// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
19
20v_interp_p1lv_f16 v5, s1, attr0.w, v3
21// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
22
23v_interp_p1lv_f16 v5, v1, attr31.w, 0.5
24// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
25
26v_interp_p1lv_f16 v5, v1, attr31.w, s1
27// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
28
29v_interp_p2_f16 v5, 0.5, attr0.w, v3
30// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
31
32v_interp_p2_f16 v5, s1, attr0.w, v3
33// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
34
35v_interp_p2_f16 v5, v1, attr1.w, 0.5
36// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
37
38v_interp_p2_f16 v5, v1, attr1.w, s1
39// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
40
41v_interp_p2_f32_e64 v5, 0.5, attr31.w
42// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
43
44v_interp_p2_f32_e64 v5, s1, attr31.w
45// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
46