[RemoveDIs][DebugInfo] Update SROA to handle DPVAssigns (#78475)
[llvm-project.git] / llvm / test / MC / AMDGPU / gfx11_asm_flat_errs.s
blob83e4d8f0b9fca7b3e633ed92a2520e6323a3c98e
1 // RUN: not llvm-mc -triple=amdgcn -mcpu=tonga 2>&1 %s | FileCheck -check-prefix=VI-GFX9_10-ERR --implicit-check-not=error: %s
2 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx900 2>&1 %s | FileCheck -check-prefix=VI-GFX9_10-ERR --implicit-check-not=error: %s
3 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1010 2>&1 %s | FileCheck --check-prefix=VI-GFX9_10-ERR --implicit-check-not=error: %s
4 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1030 2>&1 %s | FileCheck --check-prefix=VI-GFX9_10-ERR --implicit-check-not=error: %s
5 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1100 2>&1 %s | FileCheck --check-prefix=GFX11-ERR --implicit-check-not=error: %s
7 // FLAT
9 flat_load_u8 v1, v[3:4]
10 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
12 flat_load_i8 v1, v[3:4]
13 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
15 flat_load_u16 v1, v[3:4]
16 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
18 flat_load_i16 v1, v[3:4]
19 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
21 flat_load_d16_b16 v1, v[3:4]
22 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
24 flat_load_b32 v1, v[3:4]
25 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
27 flat_load_b32 v1, v[3:4] offset:-1
28 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: expected a 12-bit unsigned offset
29 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
31 flat_load_b32 v1, v[3:4] offset:2047
32 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
34 flat_load_b32 v1, v[3:4] offset:4096
35 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: expected a 12-bit unsigned offset
36 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
38 flat_load_b32 v1, v[3:4] offset:4 glc
39 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
41 flat_load_b32 v1, v[3:4] offset:4 glc slc
42 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
44 flat_load_b32 v1, v[3:4] offset:4 glc slc dlc
45 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
47 flat_load_b64 v[1:2], v[3:4]
48 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
50 flat_load_b96 v[1:3], v[5:6]
51 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
53 flat_load_b128 v[1:4], v[5:6]
54 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
56 flat_load_d16_i8 v1, v[3:4]
57 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
59 flat_load_d16_hi_i8 v1, v[3:4]
60 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
62 flat_store_b8 v[3:4], v1
63 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
65 flat_store_b16 v[3:4], v1
66 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
68 flat_store_b32 v[3:4], v1 offset:16
69 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
71 flat_store_b32 v[3:4], v1, off
72 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
73 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
75 flat_store_b32 v[3:4], v1, s[0:1]
76 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
77 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
79 flat_store_b32 v[3:4], v1, s0
80 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
81 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
83 flat_load_b32 v1, v[3:4], off
84 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
85 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
87 flat_load_b32 v1, v[3:4], s[0:1]
88 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
89 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
91 flat_load_b32 v1, v[3:4], s0
92 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
93 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
95 flat_load_b32 v1, v[3:4], exec_hi
96 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
97 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
99 flat_store_b32 v[3:4], v1, exec_hi
100 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
101 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
103 flat_store_b64 v[1:2], v[3:4]
104 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
106 flat_store_b96 v[1:2], v[3:5]
107 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
109 flat_store_b128 v[1:2], v[3:6]
110 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
112 flat_atomic_swap_b32 v0, v[1:2], v3 offset:2047
113 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must use glc
114 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
116 flat_atomic_swap_b32 v[1:2], v3 offset:2047 glc
117 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must not use glc
118 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
120 flat_atomic_swap_b32 v0, v[1:2], v3 offset:2047 glc
121 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
123 flat_atomic_swap_b32 v0, v[1:2], v3 offset:2047 glc slc
124 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
126 flat_atomic_swap_b32 v0, v[1:2], v3 glc
127 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
129 flat_atomic_swap_b32 v0, v[1:2], v3 glc slc
130 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
132 flat_atomic_swap_b32 v0, v[1:2], v3
133 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must use glc
134 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
136 flat_atomic_swap_b32 v0, v[1:2], v3 slc
137 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must use glc
138 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
140 flat_atomic_swap_b32 v0, v[1:2], v3 offset:2047 slc
141 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must use glc
142 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
144 flat_atomic_swap_b64 v[1:2], v[3:4] offset:2047 glc
145 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must not use glc
146 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
148 flat_atomic_swap_b64 v[1:2], v[3:4] glc
149 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must not use glc
150 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
152 flat_atomic_swap_b64 v[1:2], v[3:4], v[5:6] offset:2047 glc
153 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
155 flat_atomic_swap_b64 v[1:2], v[3:4], v[5:6] offset:2047 glc slc
156 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
158 flat_atomic_swap_b64 v[1:2], v[3:4], v[5:6] glc
159 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
161 flat_atomic_swap_b64 v[1:2], v[3:4], v[5:6] glc slc
162 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
164 flat_atomic_add_u32 v[3:4], v5 slc
165 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
167 flat_atomic_add_u32 v2, v[3:4], v5 slc
168 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must use glc
169 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
171 flat_atomic_add_u32 v1, v[3:4], v5 offset:8 slc
172 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must use glc
173 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
175 flat_atomic_cmpswap_b32 v0, v[1:2], v[3:4] offset:2047
176 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must use glc
177 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
179 flat_atomic_cmpswap_b32 v[1:2], v[3:4] offset:2047 glc
180 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must not use glc
181 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
183 flat_atomic_cmpswap_b32 v0, v[1:2], v[3:4] offset:2047 glc
184 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
186 flat_atomic_cmpswap_b32 v0, v[1:2], v[3:4] offset:2047 glc slc
187 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
189 flat_atomic_cmpswap_b32 v0, v[1:2], v[3:4] glc
190 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
192 flat_atomic_cmpswap_b32 v0, v[1:2], v[3:4] glc slc
193 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
195 flat_atomic_cmpswap_b32 v0, v[1:2], v[3:4]
196 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must use glc
197 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
199 flat_atomic_cmpswap_b32 v0, v[1:2], v[3:4] slc
200 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must use glc
201 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
203 flat_atomic_cmpswap_b32 v0, v[1:2], v[3:4] offset:2047 slc
204 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must use glc
205 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
207 flat_atomic_cmpswap_b64 v[1:2], v[3:4] offset:2047
208 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
209 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
211 flat_atomic_cmpswap_b64 v[1:2], v[3:4] offset:2047 glc
212 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
213 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
215 flat_atomic_cmpswap_b64 v[1:2], v[3:4] glc
216 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
217 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
219 flat_atomic_cmpswap_b64 v[1:2], v[3:4], v[5:8] offset:2047 glc
220 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
222 flat_atomic_cmpswap_b64 v[1:2], v[3:4], v[5:8] offset:2047 glc slc
223 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
225 flat_atomic_cmpswap_b64 v[1:2], v[3:4], v[5:8] glc
226 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
228 flat_atomic_cmpswap_b64 v[1:2], v[3:4], v[5:8] glc slc
229 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
231 flat_load_d16_u8 v1, v[3:4]
232 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
234 flat_load_d16_hi_u8 v1, v[3:4]
235 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
237 flat_load_d16_i8 v1, v[3:4]
238 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
240 flat_load_d16_hi_i8 v1, v[3:4]
241 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
243 flat_load_d16_b16 v1, v[3:4]
244 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
246 flat_load_d16_hi_b16 v1, v[3:4]
247 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
249 flat_store_d16_hi_b8 v[3:4], v1
250 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
252 flat_store_d16_hi_b16 v[3:4], v1
253 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
255 // GLOBAL No saddr
257 global_load_u8 v1, v[3:4], off
258 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
260 global_load_i8 v1, v[3:4], off
261 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
263 global_load_u16 v1, v[3:4], off
264 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
266 global_load_i16 v1, v[3:4], off
267 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
269 global_load_d16_b16 v1, v[3:4], off
270 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
272 global_load_b32 v1, v[3:4], off
273 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
275 global_load_b32 v1, v[3:4], off offset:-1
276 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
278 global_load_b32 v1, v[3:4], off offset:2047
279 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
281 global_load_b32 v1, v[3:4], off offset:2048
282 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
284 global_load_b32 v1, v[3:4], off offset:4096
285 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: expected a 13-bit signed offset
286 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
288 global_load_b32 v1, v[3:4], off offset:4 glc
289 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
291 global_load_b32 v1, v[3:4], off offset:4 glc slc
292 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
294 global_load_b32 v1, v[3:4], off offset:4 glc slc dlc
295 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
297 global_load_b64 v[1:2], v[3:4], off
298 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
300 global_load_b96 v[1:3], v[5:6], off
301 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
303 global_load_b128 v[1:4], v[5:6], off
304 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
306 global_load_d16_i8 v1, v[3:4], off
307 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
309 global_load_d16_hi_i8 v1, v[3:4], off
310 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
312 global_store_b8 v[3:4], v1, off
313 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
315 global_store_b16 v[3:4], v1, off
316 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
318 global_store_b32 v[3:4], v1, off offset:16
319 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
321 global_store_b32 v[3:4], v1
322 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: too few operands for instruction
323 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
325 global_store_b32 v[3:4], v1, s[0:1]
326 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
327 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
329 global_store_b32 v[3:4], v1, s0
330 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
331 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
333 global_load_b32 v1, v[3:4], off
334 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
336 global_load_b32 v1, v[3:4], off, s[0:1]
337 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
338 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
340 global_load_b32 v1, v[3:4], s0
341 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
342 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
344 global_load_b32 v1, v[3:4], exec_hi
345 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
346 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
348 global_store_b32 v[3:4], v1, exec_hi
349 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
350 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
352 global_store_b64 v[1:2], v[3:4], off
353 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
355 global_store_b96 v[1:2], v[3:5], off
356 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
358 global_store_b128 v[1:2], v[3:6], off
359 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
361 global_atomic_swap_b32 v0, v[1:2], v3, off offset:2047
362 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must use glc
363 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
365 global_atomic_swap_b32 v[1:2], v3 offset:2047 glc
366 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: not a valid operand
367 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
369 global_atomic_swap_b32 v[1:2], v3 glc
370 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
371 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
373 global_atomic_swap_b32 v0, v[1:2], v3, off offset:2047 glc
374 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
376 global_atomic_swap_b32 v0, v[1:2], v3, off offset:2047 glc slc
377 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
379 global_atomic_swap_b32 v0, v[1:2], v3, off glc
380 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
382 global_atomic_swap_b32 v0, v[1:2], v3, off glc slc
383 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
385 global_atomic_swap_b32 v0, v[1:2], v3, off
386 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must use glc
387 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
389 global_atomic_swap_b32 v0, v[1:2], v3, off slc
390 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must use glc
391 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
393 global_atomic_swap_b32 v0, v[1:2], v3, off offset:2047 slc
394 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must use glc
395 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
397 global_atomic_swap_b64 v[1:2], v[3:4], v[5:6], off offset:2047 glc
398 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
400 global_atomic_swap_b64 v[1:2], v[3:4], v[5:6], off offset:2047 glc slc
401 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
403 global_atomic_swap_b64 v[1:2], v[3:4], v[5:6], off glc
404 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
406 global_atomic_swap_b64 v[1:2], v[3:4], v[5:6], off glc slc
407 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
409 global_atomic_add_u32 v2, v[3:4], off, v5 slc
410 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
411 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
413 global_atomic_add_u32 v1, v[3:4], off, v5 offset:8 slc
414 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
415 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
417 global_atomic_cmpswap_b32 v0, v[1:2], v[3:4], off offset:2047
418 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must use glc
419 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
421 global_atomic_cmpswap_b32 v0, v[1:2], v[3:4], off offset:2047 glc
422 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
424 global_atomic_cmpswap_b32 v0, v[1:2], v[3:4], off offset:2047 glc slc
425 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
427 global_atomic_cmpswap_b32 v0, v[1:2], v[3:4], off glc
428 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
430 global_atomic_cmpswap_b32 v0, v[1:2], v[3:4], off glc slc
431 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
433 global_atomic_cmpswap_b32 v0, v[1:2], off, v[3:4]
434 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
435 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
437 global_atomic_cmpswap_b32 v0, v[1:2], v[3:4], off slc
438 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must use glc
439 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
441 global_atomic_cmpswap_b32 v0, v[1:2], v[3:4], off offset:2047 slc
442 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must use glc
443 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
445 global_atomic_cmpswap_b64 v[1:2], v[3:4], off offset:2047
446 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
447 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
449 global_atomic_cmpswap_b64 v[1:2], v[3:4], v[5:8], off offset:2047 glc
450 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
452 global_atomic_cmpswap_b64 v[1:2], v[3:4], v[5:8], off offset:2047 glc slc
453 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
455 global_atomic_cmpswap_b64 v[1:2], v[3:4], v[5:8], off glc
456 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
458 global_atomic_cmpswap_b64 v[1:2], v[3:4], v[5:8], off glc slc
459 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
461 global_atomic_cmpswap_x2 v[1:4], v3, v[5:8], off offset:2047 glc
462 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
463 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error:
465 global_load_d16_u8 v1, v[3:4], off
466 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
468 global_load_d16_hi_u8 v1, v[3:4], off
469 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
471 global_load_d16_i8 v1, v[3:4], off
472 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
474 global_load_d16_hi_i8 v1, v[3:4], off
475 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
477 global_load_d16_b16 v1, v[3:4], off
478 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
480 global_load_d16_hi_b16 v1, v[3:4], off
481 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
483 global_store_d16_hi_b8 v[3:4], v1, off
484 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
486 global_store_d16_hi_b16 v[3:4], v1, off
487 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
489 global_load_addtid_b32 v1, off
490 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
492 // GLOBAL With saddr
494 global_load_u8 v1, v3, s2
495 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
496 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
498 global_load_u8 v1, v3, s[2:3]
499 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
501 global_load_i8 v1, v3, s[2:3]
502 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
504 global_load_u16 v1, v3, s[2:3]
505 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
507 global_load_i16 v1, v3, s[2:3]
508 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
510 global_load_d16_b16 v1, v3, s[2:3]
511 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
513 global_load_b32 v1, v3, s[2:3]
514 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
516 global_load_b32 v1, v3, s[2:3] offset:-1
517 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
519 global_load_b32 v1, v3, s[2:3] offset:-4097
520 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: expected a 13-bit signed offset
521 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
523 global_load_b32 v1, v3, s[2:3] offset:2047
524 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
526 global_load_b32 v1, v3, s[2:3] offset:2048
527 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
529 global_load_b32 v1, v3, s[2:3] offset:4096
530 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: expected a 13-bit signed offset
531 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
533 global_load_b32 v1, v3, s[2:3] offset:4 glc
534 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
536 global_load_b32 v1, v3, s[2:3] offset:4 glc slc
537 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
539 global_load_b32 v1, v3, s[2:3] offset:4 glc slc dlc
540 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
542 global_load_b64 v[1:2], v3, s[2:3]
543 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
545 global_load_b96 v[1:3], v5, s[2:3]
546 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
548 global_load_b128 v[1:4], v5, s[2:3]
549 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
551 global_load_d16_i8 v1, v3, s[2:3]
552 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
554 global_load_d16_hi_i8 v1, v3, s[2:3]
555 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
557 global_store_b8 v3, v1, s[2:3]
558 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
560 global_store_b16 v3, v1, s[2:3]
561 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
563 global_store_b32 v3, v1, s[2:3] offset:16
564 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
566 global_store_b32 v3, v1
567 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: too few operands for instruction
568 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
570 global_store_b32 v3, v1, s[0:1]
571 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
573 global_store_b32 v3, v1, s0
574 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
575 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
577 global_load_b32 v1, v3, s[2:3]
578 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
580 global_load_b32 v1, v3, s[2:3], s[0:1]
581 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
582 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
584 global_load_b32 v1, v3, s0
585 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
586 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
588 global_load_b32 v1, v3, exec_hi
589 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
590 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
592 global_store_b32 v3, v1, exec_hi
593 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
594 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
596 global_store_b64 v1, v[2:3], s[2:3]
597 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
599 global_store_b96 v1, v[3:5], s[2:3]
600 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
602 global_store_b128 v1, v[3:6], s[2:3]
603 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
605 global_atomic_swap_b32 v0, v[1:2], v3, s[2:3] offset:2047
606 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
607 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
609 global_atomic_swap_b32 v[1:2], v3 offset:2047 glc
610 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: not a valid operand
611 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
613 global_atomic_swap_b32 v[1:2], v3 glc
614 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
615 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
617 global_atomic_swap_b32 v0, v1, v3, s[2:3] offset:2047 glc
618 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
620 global_atomic_swap_b32 v0, v1, v3, s[2:3] offset:2047 glc slc
621 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
623 global_atomic_swap_b32 v0, v1, v3, s[2:3] glc
624 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
626 global_atomic_swap_b32 v0, v1, v3, s[2:3] glc slc
627 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
629 global_atomic_swap_b32 v0, v1, v3, s[2:3]
630 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must use glc
631 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
633 global_atomic_swap_b32 v0, v1, v3, s[2:3] slc
634 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction must use glc
635 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
637 global_atomic_swap_b32 v0, v[1:2], v3, s[2:3] offset:2047 slc
638 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
639 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
641 global_atomic_swap_b64 v[1:2], v3, v[5:6], s[2:3] offset:2047 glc
642 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
644 global_atomic_swap_b64 v[1:2], v3, v[5:6], s[2:3] offset:2047 glc slc
645 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
647 global_atomic_swap_b64 v[1:2], v3, v[5:6], s[2:3] glc
648 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
650 global_atomic_swap_b64 v[1:2], v3, v[5:6], s[2:3] glc slc
651 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
653 global_atomic_add_u32 v2, v3, s[2:3], v5 slc
654 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
655 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
657 global_atomic_add_u32 v1, v3, s[2:3], v5 offset:8 slc
658 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
659 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
661 global_atomic_cmpswap_b32 v0, v1, v3, s[2:3] offset:2047
662 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
663 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
665 global_atomic_cmpswap_b32 v0, v1, v[2:3], s[2:3] offset:2047 glc
666 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
668 global_atomic_cmpswap_b32 v0, v1, v[2:3], s[2:3] offset:2047 glc slc
669 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
671 global_atomic_cmpswap_b32 v0, v1, v[2:3], s[2:3] glc
672 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
674 global_atomic_cmpswap_b32 v0, v1, v[2:3], s[2:3] glc slc
675 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
677 global_atomic_cmpswap_b32 v0, v1, s[2:3], v3
678 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
679 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
681 global_atomic_cmpswap_b32 v0, v1, v3, s[2:3] slc
682 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
683 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
685 global_atomic_cmpswap_b32 v0, v1, v3, s[2:3] offset:2047 slc
686 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
687 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
689 global_atomic_cmpswap_b64 v[1:2], v3, s[2:3] offset:2047
690 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction
691 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
693 global_atomic_cmpswap_b64 v[1:2], v3, v[5:8], s[2:3] offset:2047 glc
694 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
696 global_atomic_cmpswap_b64 v[1:2], v3, v[5:8], s[2:3] offset:2047 glc slc
697 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
699 global_atomic_cmpswap_b64 v[1:2], v3, v[5:8], s[2:3] glc
700 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
702 global_atomic_cmpswap_b64 v[1:2], v3, v[5:8], s[2:3] glc slc
703 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
705 global_load_d16_u8 v1, v3, s[2:3]
706 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
708 global_load_d16_hi_u8 v1, v3, s[2:3]
709 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
711 global_load_d16_i8 v1, v3, s[2:3]
712 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
714 global_load_d16_hi_i8 v1, v3, s[2:3]
715 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
717 global_load_d16_b16 v1, v3, s[2:3]
718 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
720 global_load_d16_hi_b16 v1, v3, s[2:3]
721 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
723 global_store_d16_hi_b8 v3, v1, s[2:3]
724 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
726 global_store_d16_hi_b16 v3, v1, s[2:3]
727 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
729 global_load_addtid_b32 v1, s[2:3]
730 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
732 // SCRATCH
734 scratch_load_u8 v1, v2, s1
735 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
737 scratch_load_i8 v1, v2, s1
738 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
740 scratch_load_u16 v1, v2, s1
741 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
743 scratch_load_i16 v1, v2, s1
744 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
746 scratch_load_b32 v1, v2, s1
747 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
749 scratch_load_b64 v[1:2], v2, s1
750 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
752 scratch_load_b96 v[1:3], v2, s1
753 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
755 scratch_load_b128 v[1:4], v2, s1
756 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
758 scratch_store_b8 v1, v2, s3
759 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
761 scratch_store_b16 v1, v2, s3
762 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
764 scratch_store_b32 v1, v2, s3
765 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
767 scratch_store_b64 v1, v[2:3], s3
768 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
770 scratch_store_b96 v1, v[2:4], s3
771 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
773 scratch_store_b128 v1, v[2:5], s3
774 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
776 scratch_load_d16_u8 v1, v2, s1
777 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
779 scratch_load_d16_hi_u8 v1, v2, s1
780 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
782 scratch_load_d16_i8 v1, v2, s1
783 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
785 scratch_load_d16_hi_i8 v1, v2, s1
786 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
788 scratch_load_d16_b16 v1, v2, s1
789 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
791 scratch_load_d16_hi_b16 v1, v2, s1
792 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
794 scratch_store_d16_hi_b8 v1, v2, s3
795 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
797 scratch_store_d16_hi_b16 v1, v2, s3
798 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
800 scratch_load_b32 v1, v2, s1 offset:2047
801 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
803 scratch_load_b32 v1, v2, off offset:2047
804 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
806 scratch_load_b32 v1, off, s1 offset:2047
807 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
809 scratch_load_b32 v1, off, off offset:2047
810 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
812 scratch_load_b32 v1, off, off
813 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
815 scratch_store_b32 v1, v2, s3 offset:2047
816 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
818 scratch_store_b32 v1, v2, off offset:2047
819 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
821 scratch_store_b32 off, v2, s3 offset:2047
822 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
824 scratch_store_b32 off, v2, off offset:2047
825 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
827 scratch_load_b32 v1, v2, s1 offset:4095
828 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
830 scratch_load_b32 v1, v2, s1 offset:-4096
831 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
833 scratch_store_b32 v1, v2, s1 offset:4095
834 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
836 scratch_store_b32 v1, v2, s1 offset:-4096
837 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
839 scratch_load_b32 v1, v2, s1 offset:4096
840 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: expected a 13-bit signed offset
841 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
843 scratch_load_b32 v1, v2, s1 offset:-4097
844 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: expected a 13-bit signed offset
845 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
847 scratch_store_b32 v1, v2, s1 offset:4096
848 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: expected a 13-bit signed offset
849 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
851 scratch_store_b32 v1, v2, s1 offset:-4097
852 // GFX11-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: expected a 13-bit signed offset
853 // VI-GFX9_10-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction not supported on this GPU
855 scratch_store_b32 off, v2, off
856 // VI-GFX9_10-ERR: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU