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
26 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
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
71 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
74 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
77 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
80 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
83 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
86 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
89 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
92 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
95 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
98 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
101 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
104 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
107 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
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
125 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
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
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
143 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
146 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
149 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
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
161 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
164 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
167 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
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
185 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
188 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
191 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
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
203 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
206 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
209 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
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
230 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
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
239 // CHECK
: :[[@LINE-
1]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
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