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