[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / AMDGPU / gfx11_flat_instructions_err.s
blob9e51b0b8cc8cdaf7495dd93232b8854d8590d65c
1 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1100 %s 2>&1 | FileCheck --check-prefixes=GFX11 --implicit-check-not=error: %s
3 global_atomic_add_f32 v0, v2, null
4 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
6 global_atomic_add_f32 v0, v2, v4, null glc
7 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
9 global_atomic_add_u32 v0, v2, null
10 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
12 global_atomic_add_u32 v0, v2, v4, null glc
13 // GFX11: :[[@LINE-1]]:35: error: invalid operand for instruction
15 global_atomic_add_u64 v0, v[2:3], null
16 // GFX11: :[[@LINE-1]]:35: error: invalid operand for instruction
18 global_atomic_add_u64 v[0:1], v2, v[4:5], null
19 // GFX11: :[[@LINE-1]]:43: error: invalid operand for instruction
21 global_atomic_and_b32 v0, v2, null
22 // GFX11: :[[@LINE-1]]:31: error: invalid operand for instruction
24 global_atomic_and_b32 v0, v2, v4, null
25 // GFX11: :[[@LINE-1]]:35: error: invalid operand for instruction
27 global_atomic_and_b64 v0, v[2:3], null
28 // GFX11: :[[@LINE-1]]:35: error: invalid operand for instruction
30 global_atomic_and_b64 v[0:1], v2, v[4:5], null
31 // GFX11: :[[@LINE-1]]:43: error: invalid operand for instruction
33 global_atomic_cmpswap_b32 v0, v[2:3], null
34 // GFX11: :[[@LINE-1]]:39: error: invalid operand for instruction
36 global_atomic_cmpswap_b32 v0, v2, v[4:5], null
37 // GFX11: :[[@LINE-1]]:43: error: invalid operand for instruction
39 global_atomic_cmpswap_b64 v0, v[2:5], null
40 // GFX11: :[[@LINE-1]]:39: error: invalid operand for instruction
42 global_atomic_cmpswap_b64 v[0:1], v2, v[4:7], null
43 // GFX11: :[[@LINE-1]]:47: error: invalid operand for instruction
45 global_atomic_cmpswap_f32 v0, v[2:3], null
46 // GFX11: :[[@LINE-1]]:39: error: invalid operand for instruction
48 global_atomic_cmpswap_f32 v0, v2, v[4:5], null
49 // GFX11: :[[@LINE-1]]:43: error: invalid operand for instruction
51 global_atomic_csub_u32 v0, v2, null
52 // GFX11: :[[@LINE-1]]:32: error: invalid operand for instruction
54 global_atomic_csub_u32 v0, v2, v4, null
55 // GFX11: :[[@LINE-1]]:36: error: invalid operand for instruction
57 global_atomic_dec_u32 v0, v2, null
58 // GFX11: :[[@LINE-1]]:31: error: invalid operand for instruction
60 global_atomic_dec_u32 v0, v2, v4, null
61 // GFX11: :[[@LINE-1]]:35: error: invalid operand for instruction
63 global_atomic_dec_u64 v0, v[2:3], null
64 // GFX11: :[[@LINE-1]]:35: error: invalid operand for instruction
66 global_atomic_dec_u64 v[0:1], v2, v[4:5], null
67 // GFX11: :[[@LINE-1]]:43: error: invalid operand for instruction
69 global_atomic_inc_u32 v0, v2, null
70 // GFX11: :[[@LINE-1]]:31: error: invalid operand for instruction
72 global_atomic_inc_u32 v0, v2, v4, null
73 // GFX11: :[[@LINE-1]]:35: error: invalid operand for instruction
75 global_atomic_inc_u64 v0, v[2:3], null
76 // GFX11: :[[@LINE-1]]:35: error: invalid operand for instruction
78 global_atomic_inc_u64 v[0:1], v2, v[4:5], null
79 // GFX11: :[[@LINE-1]]:43: error: invalid operand for instruction
81 global_atomic_max_f32 v0, v2, null
82 // GFX11: :[[@LINE-1]]:31: error: invalid operand for instruction
84 global_atomic_max_f32 v0, v2, v4, null
85 // GFX11: :[[@LINE-1]]:35: error: invalid operand for instruction
87 global_atomic_max_i32 v0, v2, null
88 // GFX11: :[[@LINE-1]]:31: error: invalid operand for instruction
90 global_atomic_max_i32 v0, v2, v4, null
91 // GFX11: :[[@LINE-1]]:35: error: invalid operand for instruction
93 global_atomic_max_i64 v0, v[2:3], null
94 // GFX11: :[[@LINE-1]]:35: error: invalid operand for instruction
96 global_atomic_max_i64 v[0:1], v2, v[4:5], null
97 // GFX11: :[[@LINE-1]]:43: error: invalid operand for instruction
99 global_atomic_max_u32 v0, v2, null
100 // GFX11: :[[@LINE-1]]:31: error: invalid operand for instruction
102 global_atomic_max_u32 v0, v2, v4, null
103 // GFX11: :[[@LINE-1]]:35: error: invalid operand for instruction
105 global_atomic_max_u64 v0, v[2:3], null
106 // GFX11: :[[@LINE-1]]:35: error: invalid operand for instruction
108 global_atomic_max_u64 v[0:1], v2, v[4:5], null
109 // GFX11: :[[@LINE-1]]:43: error: invalid operand for instruction
111 global_atomic_min_f32 v0, v2, v4, null
112 // GFX11: :[[@LINE-1]]:35: error: invalid operand for instruction
114 global_atomic_min_f32 v0, v2, null
115 // GFX11: :[[@LINE-1]]:31: error: invalid operand for instruction
117 global_atomic_min_i32 v0, v2, v4, null
118 // GFX11: :[[@LINE-1]]:35: error: invalid operand for instruction
120 global_atomic_min_i32 v0, v2, null
121 // GFX11: :[[@LINE-1]]:31: error: invalid operand for instruction
123 global_atomic_min_i64 v0, v[2:3], null
124 // GFX11: :[[@LINE-1]]:35: error: invalid operand for instruction
126 global_atomic_min_i64 v[0:1], v2, v[4:5], null
127 // GFX11: :[[@LINE-1]]:43: error: invalid operand for instruction
129 global_atomic_min_u32 v0, v2, null
130 // GFX11: :[[@LINE-1]]:31: error: invalid operand for instruction
132 global_atomic_min_u32 v0, v2, v4, null
133 // GFX11: :[[@LINE-1]]:35: error: invalid operand for instruction
135 global_atomic_min_u64 v0, v[2:3], null
136 // GFX11: :[[@LINE-1]]:35: error: invalid operand for instruction
138 global_atomic_min_u64 v[0:1], v2, v[4:5], null
139 // GFX11: :[[@LINE-1]]:43: error: invalid operand for instruction
141 global_atomic_or_b32 v0, v2, null
142 // GFX11: :[[@LINE-1]]:30: error: invalid operand for instruction
144 global_atomic_or_b32 v0, v2, v4, null
145 // GFX11: :[[@LINE-1]]:34: error: invalid operand for instruction
147 global_atomic_or_b64 v0, v[2:3], null
148 // GFX11: :[[@LINE-1]]:34: error: invalid operand for instruction
150 global_atomic_or_b64 v[0:1], v2, v[4:5], null
151 // GFX11: :[[@LINE-1]]:42: error: invalid operand for instruction
153 global_atomic_sub_u32 v0, v2, null
154 // GFX11: :[[@LINE-1]]:31: error: invalid operand for instruction
156 global_atomic_sub_u32 v0, v2, v4, null
157 // GFX11: :[[@LINE-1]]:35: error: invalid operand for instruction
159 global_atomic_sub_u64 v0, v[2:3], null
160 // GFX11: :[[@LINE-1]]:35: error: invalid operand for instruction
162 global_atomic_sub_u64 v[0:1], v2, v[4:5], null
163 // GFX11: :[[@LINE-1]]:43: error: invalid operand for instruction
165 global_atomic_swap_b32 v0, v2, null
166 // GFX11: :[[@LINE-1]]:32: error: invalid operand for instruction
168 global_atomic_swap_b32 v0, v2, v4, null
169 // GFX11: :[[@LINE-1]]:36: error: invalid operand for instruction
171 global_atomic_swap_b64 v0, v[2:3], null
172 // GFX11: :[[@LINE-1]]:36: error: invalid operand for instruction
174 global_atomic_swap_b64 v[0:1], v2, v[4:5], null
175 // GFX11: :[[@LINE-1]]:44: error: invalid operand for instruction
177 global_atomic_xor_b32 v0, v2, null
178 // GFX11: :[[@LINE-1]]:31: error: invalid operand for instruction
180 global_atomic_xor_b32 v0, v2, v4, null
181 // GFX11: :[[@LINE-1]]:35: error: invalid operand for instruction
183 global_atomic_xor_b64 v0, v[2:3], null
184 // GFX11: :[[@LINE-1]]:35: error: invalid operand for instruction
186 global_atomic_xor_b64 v[0:1], v2, v[4:5], null
187 // GFX11: :[[@LINE-1]]:43: error: invalid operand for instruction
189 global_load_b128 v[0:3], v4, null
190 // GFX11: :[[@LINE-1]]:30: error: invalid operand for instruction
192 global_load_b32 v0, v4, null
193 // GFX11: :[[@LINE-1]]:25: error: invalid operand for instruction
195 global_load_b64 v[0:1], v4, null
196 // GFX11: :[[@LINE-1]]:29: error: invalid operand for instruction
198 global_load_b96 v[0:2], v4, null
199 // GFX11: :[[@LINE-1]]:29: error: invalid operand for instruction
201 global_load_d16_b16 v0, v2, null
202 // GFX11: :[[@LINE-1]]:29: error: invalid operand for instruction
204 global_load_d16_hi_b16 v0, v2, null
205 // GFX11: :[[@LINE-1]]:32: error: invalid operand for instruction
207 global_load_d16_hi_i8 v0, v2, null
208 // GFX11: :[[@LINE-1]]:31: error: invalid operand for instruction
210 global_load_d16_hi_u8 v0, v2, null
211 // GFX11: :[[@LINE-1]]:31: error: invalid operand for instruction
213 global_load_d16_i8 v0, v2, null
214 // GFX11: :[[@LINE-1]]:28: error: invalid operand for instruction
216 global_load_d16_u8 v0, v2, null
217 // GFX11: :[[@LINE-1]]:28: error: invalid operand for instruction
219 global_load_i16 v0, v2, null
220 // GFX11: :[[@LINE-1]]:25: error: invalid operand for instruction
222 global_load_i8 v0, v2, null
223 // GFX11: :[[@LINE-1]]:24: error: invalid operand for instruction
225 global_load_u16 v0, v2, null
226 // GFX11: :[[@LINE-1]]:25: error: invalid operand for instruction
228 global_load_u8 v0, v2, null
229 // GFX11: :[[@LINE-1]]:24: error: invalid operand for instruction
231 global_store_b128 v0, v[2:5], null
232 // GFX11: :[[@LINE-1]]:31: error: invalid operand for instruction
234 global_store_b16 v0, v2, null
235 // GFX11: :[[@LINE-1]]:26: error: invalid operand for instruction
237 global_store_b32 v0, v2, null
238 // GFX11: :[[@LINE-1]]:26: error: invalid operand for instruction
240 global_store_b64 v0, v[2:3], null
241 // GFX11: :[[@LINE-1]]:30: error: invalid operand for instruction
243 global_store_b8 v0, v2, null
244 // GFX11: :[[@LINE-1]]:25: error: invalid operand for instruction
246 global_store_b96 v0, v[2:4], null
247 // GFX11: :[[@LINE-1]]:30: error: invalid operand for instruction
249 global_store_d16_hi_b16 v0, v2, null
250 // GFX11: :[[@LINE-1]]:33: error: invalid operand for instruction
252 global_store_d16_hi_b8 v0, v2, null
253 // GFX11: :[[@LINE-1]]:32: error: invalid operand for instruction