[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / AMDGPU / exp-err.s
blob5d84f22a5714edb28290d2fe18c26ae5b7a7cb69
1 // RUN: not llvm-mc -triple=amdgcn %s 2>&1 | FileCheck -check-prefixes=GCN,GFX68 --implicit-check-not=error: %s
2 // RUN: not llvm-mc -triple=amdgcn -mcpu=tonga %s 2>&1 | FileCheck -check-prefixes=GCN,GFX68 --implicit-check-not=error: %s
3 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1100 %s 2>&1 | FileCheck -check-prefixes=GCN,GFX11 --implicit-check-not=error: %s
5 exp mrt8 v3, v2, v1, v0
6 // GCN: :[[@LINE-1]]:5: error: invalid exp target
8 exp pos4 v3, v2, v1, v0
9 // GFX68: :[[@LINE-1]]:5: error: exp target is not supported on this GPU
11 exp pos5 v3, v2, v1, v0
12 // GCN: :[[@LINE-1]]:5: error: invalid exp target
14 exp param32 v3, v2, v1, v0
15 // GCN: :[[@LINE-1]]:5: error: invalid exp target
17 exp invalid_target_10 v3, v2, v1, v0
18 // GCN: :[[@LINE-1]]:5: error: invalid exp target
20 exp invalid_target_10 v3, v2, v1, v0 done
21 // GCN: :[[@LINE-1]]:5: error: invalid exp target
23 exp invalid_target_11 v3, v2, v1, v0
24 // GCN: :[[@LINE-1]]:5: error: invalid exp target
26 exp invalid_target_11 v3, v2, v1, v0 done
27 // GCN: :[[@LINE-1]]:5: error: invalid exp target
29 exp mrt-1 v3, v2, v1, v0
30 // GCN: :[[@LINE-1]]:5: error: invalid exp target
32 exp mrtX v3, v2, v1, v0
33 // GCN: :[[@LINE-1]]:5: error: invalid exp target
35 exp pos-1 v3, v2, v1, v0
36 // GCN: :[[@LINE-1]]:5: error: invalid exp target
38 exp posX v3, v2, v1, v0
39 // GCN: :[[@LINE-1]]:5: error: invalid exp target
41 exp param-1 v3, v2, v1, v0
42 // GCN: :[[@LINE-1]]:5: error: invalid exp target
44 exp paramX v3, v2, v1, v0
45 // GCN: :[[@LINE-1]]:5: error: invalid exp target
47 exp invalid_target_-1 v3, v2, v1, v0
48 // GCN: :[[@LINE-1]]:5: error: invalid exp target
50 exp invalid_target_X v3, v2, v1, v0
51 // GCN: :[[@LINE-1]]:5: error: invalid exp target
53 exp 0 v3, v2, v1, v0
54 // GCN: :[[@LINE-1]]:5: error: invalid operand for instruction
56 exp , v3, v2, v1, v0
57 // GCN: :[[@LINE-1]]:5: error: unknown token in expression
59 exp
60 // GCN: :[[@LINE-1]]:1: error: too few operands for instruction
62 exp mrt0 s0, v0, v0, v0
63 // GCN: :[[@LINE-1]]:10: error: invalid operand for instruction
65 exp mrt0 v0, s0, v0, v0
66 // GCN: :[[@LINE-1]]:14: error: invalid operand for instruction
68 exp mrt0 v0, v0, s0, v0
69 // GCN: :[[@LINE-1]]:18: error: invalid operand for instruction
71 exp mrt0 v0, v0, v0, s0
72 // GCN: :[[@LINE-1]]:22: error: invalid operand for instruction
74 exp mrt0 v[0:1], v0, v0, v0
75 // GCN: :[[@LINE-1]]:10: error: invalid operand for instruction
77 exp mrt0 v0, v[0:1], v0, v0
78 // GCN: :[[@LINE-1]]:14: error: invalid operand for instruction
80 exp mrt0 v0, v0, v[0:1], v0
81 // GCN: :[[@LINE-1]]:18: error: invalid operand for instruction
83 exp mrt0 v0, v0, v0, v[0:1]
84 // GCN: :[[@LINE-1]]:22: error: invalid operand for instruction
86 exp mrt0 1.0, v0, v0, v0
87 // GCN: :[[@LINE-1]]:10: error: invalid operand for instruction
89 exp mrt0 v0, 1.0, v0, v0
90 // GCN: :[[@LINE-1]]:14: error: invalid operand for instruction
92 exp mrt0 v0, v0, 1.0, v0
93 // GCN: :[[@LINE-1]]:18: error: invalid operand for instruction
95 exp mrt0 v0, v0, v0, 1.0
96 // GCN: :[[@LINE-1]]:22: error: invalid operand for instruction
98 exp mrt0 7, v0, v0, v0
99 // GCN: :[[@LINE-1]]:10: error: invalid operand for instruction
101 exp mrt0 v0, 7, v0, v0
102 // GCN: :[[@LINE-1]]:14: error: invalid operand for instruction
104 exp mrt0 v0, v0, 7, v0
105 // GCN: :[[@LINE-1]]:18: error: invalid operand for instruction
107 exp mrt0 v0, v0, v0, 7
108 // GCN: :[[@LINE-1]]:22: error: invalid operand for instruction
110 exp mrt0 0x12345678, v0, v0, v0
111 // GCN: :[[@LINE-1]]:10: error: invalid operand for instruction
113 exp mrt0 v0, 0x12345678, v0, v0
114 // GCN: :[[@LINE-1]]:14: error: invalid operand for instruction
116 exp mrt0 v0, v0, 0x12345678, v0
117 // GCN: :[[@LINE-1]]:18: error: invalid operand for instruction
119 exp mrt0 v0, v0, v0, 0x12345678
120 // GCN: :[[@LINE-1]]:22: error: invalid operand for instruction
122 exp null v4, v3, v2, v1
123 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: exp target is not supported on this GPU
125 exp param0 v4, v3, v2, v1
126 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: exp target is not supported on this GPU
128 exp param31 v4, v3, v2, v1
129 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: exp target is not supported on this GPU
131 exp mrt0 v4, v3, v2, v1 vm
132 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
134 exp mrtz, v3, v3, off, off compr
135 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction