[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / AMDGPU / gfx12_unsupported.s
blobc34cb9e29c199446aa9f348da791a4e0a3a952f4
1 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1200 %s 2>&1 | FileCheck --implicit-check-not=error: %s
3 //===----------------------------------------------------------------------===//
4 // Unsupported instructions.
5 //===----------------------------------------------------------------------===//
7 s_waitcnt_expcnt exec_hi, 0x1234
8 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
10 s_waitcnt_lgkmcnt exec_hi, 0x1234
11 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
13 s_waitcnt_vmcnt exec_hi, 0x1234
14 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
16 s_waitcnt_vscnt exec_hi, 0x1234
17 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
19 s_subvector_loop_begin s0, 0x1234
20 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
22 s_subvector_loop_end s0, 0x1234
23 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
25 s_cbranch_cdbgsys 0
26 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
28 s_cbranch_cdbguser 0
29 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
31 s_cbranch_cdbgsys_or_user 0
32 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
34 s_cbranch_cdbgsys_and_user 0
35 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
37 v_fmac_legacy_f32 v0, v1, v2
38 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
40 v_dot2c_f32_f16 v0, v1, v2
41 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
43 v_dual_max_f32 v0, v1, v2 :: v_dual_max_f32 v3, v4, v5
44 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
46 v_dual_min_f32 v0, v1, v2 :: v_dual_min_f32 v3, v4, v5
47 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
49 ds_cmpstore_f32 v0, v1, v2
50 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
52 ds_cmpstore_rtn_f32 v0, v1, v2, v3
53 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
55 ds_cmpstore_f64 v0, v[1:2], v[3:4]
56 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
58 ds_cmpstore_rtn_f64 v[0:1], v2, v[3:4], v[5:6]
59 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
61 ds_add_gs_reg_rtn v[0:1], v2 gds
62 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
64 ds_sub_gs_reg_rtn v[0:1], v2 gds
65 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
67 ds_wrap_rtn_b32 v0, v1, v2, v3
68 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
70 s_cmpk_eq_i32 s0, 0
71 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
73 s_cmpk_lg_i32 s0, 0
74 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
76 s_cmpk_gt_i32 s0, 0
77 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
79 s_cmpk_ge_i32 s0, 0
80 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
82 s_cmpk_lt_i32 s0, 0
83 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
85 s_cmpk_le_i32 s0, 0
86 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
88 s_cmpk_eq_u32 s0, 0
89 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
91 s_cmpk_lg_u32 s0, 0
92 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
94 s_cmpk_gt_u32 s0, 0
95 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
97 s_cmpk_ge_u32 s0, 0
98 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
100 s_cmpk_lt_u32 s0, 0
101 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
103 s_cmpk_le_u32 s0, 0
104 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
106 s_inst_prefetch 1
107 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
109 s_barrier
110 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
112 buffer_atomic_cmpswap_f32 v[5:6], off, s[96:99], s3
113 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
115 flat_atomic_cmpswap_f32 v[5:6], off, s[96:99], s3
116 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
118 global_atomic_cmpswap_f32 v[5:6], off, s[96:99], s3
119 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
121 ds_gws_sema_release_all gds
122 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
124 ds_gws_init v0 gds
125 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
127 ds_gws_sema_v gds
128 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
130 ds_gws_sema_br v0 gds
131 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
133 ds_gws_sema_p gds
134 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
136 ds_gws_barrier v0 gds
137 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
139 ds_ordered_count v0, v1 gds
140 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
142 v_cmp_f_f16 v0, v1
143 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
145 v_cmp_t_f16 v0, v1
146 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
148 v_cmp_f_f32 v0, v1
149 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
151 v_cmp_t_f32 v0, v1
152 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
154 v_cmp_f_f64 v[0:1], v[2:3]
155 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
157 v_cmp_t_f64 v[0:1], v[2:3]
158 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
160 v_cmp_f_i32 v0, v1
161 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
163 v_cmp_t_i32 v0, v1
164 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
166 v_cmp_f_u32 v0, v1
167 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
169 v_cmp_t_u32 v0, v1
170 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
172 v_cmp_f_i64 v[0:1], v[2:3]
173 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
175 v_cmp_t_i64 v[0:1], v[2:3]
176 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
178 v_cmp_f_u64 v[0:1], v[2:3]
179 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
181 v_cmp_t_u64 v[0:1], v[2:3]
182 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
184 v_cmpx_f_f16 v0, v1
185 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
187 v_cmpx_t_f16 v0, v1
188 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
190 v_cmpx_f_f32 v0, v1
191 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
193 v_cmpx_t_f32 v0, v1
194 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
196 v_cmpx_f_f64 v[0:1], v[2:3]
197 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
199 v_cmpx_t_f64 v[0:1], v[2:3]
200 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
202 v_cmpx_f_i32 v0, v1
203 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
205 v_cmpx_t_i32 v0, v1
206 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
208 v_cmpx_f_u32 v0, v1
209 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
211 v_cmpx_t_u32 v0, v1
212 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
214 v_cmpx_f_i64 v[0:1], v[2:3]
215 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
217 v_cmpx_t_i64 v[0:1], v[2:3]
218 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
220 v_cmpx_f_u64 v[0:1], v[2:3]
221 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
223 v_cmpx_t_u64 v[0:1], v[2:3]
224 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
226 buffer_atomic_cmpswap_f32 v[5:6], off, s[96:99], s3
227 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
229 buffer_gl0_inv
230 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
232 buffer_gl1_inv
233 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
235 buffer_store_lds_dword s[4:7], -1 offset:4095 lds
236 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
238 buffer_wbinvl1
239 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
241 buffer_wbinvl1_vol
242 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
244 flat_atomic_csub v1, v[0:1], v2 offset:64 th:TH_ATOMIC_RETURN
245 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: invalid instruction
247 ds_add_f32 v255, v255 offset:4 gds
248 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: gds modifier is not supported on this GPU
250 buffer_load_lds_b32 off, s[8:11], s3
251 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
253 buffer_load_lds_format_x off, s[8:11], s3
254 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
256 buffer_load_lds_i8 off, s[8:11], s3
257 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
259 buffer_load_lds_i16 off, s[8:11], s3
260 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
262 buffer_load_lds_u8 off, s[8:11], s3
263 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
265 buffer_load_lds_u16 off, s[8:11], s3
266 // CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU