1 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=gfx601
%s
2>&1 | FileCheck
--check-prefixes
=GFX6-
7,GFX6-
8,GFX6-
9 --implicit-check-
not=error
: %s
2 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=gfx701
%s
2>&1 | FileCheck
--check-prefixes
=GFX6-
7,GFX6-
8,GFX6-
9 --implicit-check-
not=error
: %s
3 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=gfx801
%s
2>&1 | FileCheck
--check-prefixes
=GFX6-
8,GFX6-
9,GFX8-
9 --implicit-check-
not=error
: %s
4 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=gfx900
%s
2>&1 | FileCheck
--check-prefixes
=GFX6-
9,GFX8-
9 --implicit-check-
not=error
: %s
5 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=gfx1010
-mattr
=+wavefrontsize32
,-wavefrontsize64
%s
2>&1 | FileCheck
--check-prefixes
=GFX10
--implicit-check-
not=error
: %s
6 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=gfx1010
-mattr
=-wavefrontsize32
,+wavefrontsize64
%s
2>&1 | FileCheck
--check-prefixes
=GFX10
--implicit-check-
not=error
: %s
8 //===----------------------------------------------------------------------===//
10 //===----------------------------------------------------------------------===//
14 ds_write_b8_d16_hi v1
, v2
15 // GFX6-
8: error
: instruction
not supported on this GPU
17 ds_write_b16_d16_hi v1
, v2
18 // GFX6-
8: error
: instruction
not supported on this GPU
21 // GFX6-
8: error
: instruction
not supported on this GPU
23 ds_read_u8_d16_hi v5
, v1
24 // GFX6-
8: error
: instruction
not supported on this GPU
27 // GFX6-
8: error
: instruction
not supported on this GPU
29 ds_read_i8_d16_hi v5
, v1
30 // GFX6-
8: error
: instruction
not supported on this GPU
32 ds_read_u16_d16 v5
, v1
33 // GFX6-
8: error
: instruction
not supported on this GPU
35 ds_read_u16_d16_hi v5
, v1
36 // GFX6-
8: error
: instruction
not supported on this GPU
38 ds_write_addtid_b32 v5
39 // GFX6-
8: error
: instruction
not supported on this GPU
42 // GFX6-
8: error
: instruction
not supported on this GPU
47 // GFX6-
7: error
: instruction
not supported on this GPU
50 // GFX6-
7: error
: instruction
not supported on this GPU
52 ds_add_rtn_f32 v0
, v1
, v2
53 // GFX6-
7: error
: instruction
not supported on this GPU
55 ds_permute_b32 v0
, v1
, v2
56 // GFX6-
7: error
: instruction
not supported on this GPU
58 ds_bpermute_b32 v0
, v1
, v2
59 // GFX6-
7: error
: instruction
not supported on this GPU
61 //===----------------------------------------------------------------------===//
63 //===----------------------------------------------------------------------===//
67 s_and_saveexec_b32 s0
, s1
68 // GFX6-
9: error
: instruction
not supported on this GPU
70 s_or_saveexec_b32 s0
, s1
71 // GFX6-
9: error
: instruction
not supported on this GPU
73 s_xor_saveexec_b32 s0
, s1
74 // GFX6-
9: error
: instruction
not supported on this GPU
76 s_andn2_saveexec_b32 s0
, s1
77 // GFX6-
9: error
: instruction
not supported on this GPU
79 s_orn2_saveexec_b32 s0
, s1
80 // GFX6-
9: error
: instruction
not supported on this GPU
82 s_nand_saveexec_b32 s0
, s1
83 // GFX6-
9: error
: instruction
not supported on this GPU
85 s_nor_saveexec_b32 s0
, s1
86 // GFX6-
9: error
: instruction
not supported on this GPU
88 s_xnor_saveexec_b32 s0
, s1
89 // GFX6-
9: error
: instruction
not supported on this GPU
91 s_andn1_saveexec_b32 s0
, s1
92 // GFX6-
9: error
: instruction
not supported on this GPU
94 s_orn1_saveexec_b32 s0
, s1
95 // GFX6-
9: error
: instruction
not supported on this GPU
97 s_andn1_wrexec_b32 s0
, s1
98 // GFX6-
9: error
: instruction
not supported on this GPU
100 s_andn2_wrexec_b32 s0
, s1
101 // GFX6-
9: error
: instruction
not supported on this GPU
103 s_movrelsd_2_b32 s0
, s1
104 // GFX6-
9: error
: instruction
not supported on this GPU
108 s_andn1_saveexec_b64 s
[0:1], s
[2:3]
109 // GFX6-
8: error
: instruction
not supported on this GPU
111 s_orn1_saveexec_b64 s
[0:1], s
[2:3]
112 // GFX6-
8: error
: instruction
not supported on this GPU
114 s_andn1_wrexec_b64 s
[0:1], s
[2:3]
115 // GFX6-
8: error
: instruction
not supported on this GPU
117 s_andn2_wrexec_b64 s
[0:1], s
[2:3]
118 // GFX6-
8: error
: instruction
not supported on this GPU
120 s_bitreplicate_b64_b32 s
[0:1], s2
121 // GFX6-
8: error
: instruction
not supported on this GPU
126 // GFX10
: error
: instruction
not supported on this GPU
127 // GFX6-
7: error
: instruction
not supported on this GPU
129 // GFX6
, GFX7
, GFX8
, GFX9.
132 // GFX10
: error
: instruction
not supported on this GPU
134 //===----------------------------------------------------------------------===//
136 //===----------------------------------------------------------------------===//
140 s_lshl1_add_u32 s0
, s1
, s2
141 // GFX6-
8: error
: instruction
not supported on this GPU
143 s_lshl2_add_u32 s0
, s1
, s2
144 // GFX6-
8: error
: instruction
not supported on this GPU
146 s_lshl3_add_u32 s0
, s1
, s2
147 // GFX6-
8: error
: instruction
not supported on this GPU
149 s_lshl4_add_u32 s0
, s1
, s2
150 // GFX6-
8: error
: instruction
not supported on this GPU
152 s_mul_hi_u32 s0
, s1
, s2
153 // GFX6-
8: error
: instruction
not supported on this GPU
155 s_mul_hi_i32 s0
, s1
, s2
156 // GFX6-
8: error
: instruction
not supported on this GPU
158 s_pack_ll_b32_b16 s0
, s1
, s2
159 // GFX6-
8: error
: instruction
not supported on this GPU
161 s_pack_lh_b32_b16 s0
, s1
, s2
162 // GFX6-
8: error
: instruction
not supported on this GPU
164 s_pack_hh_b32_b16 s0
, s1
, s2
165 // GFX6-
8: error
: instruction
not supported on this GPU
169 s_rfe_restore_b64 s
[0:1], s2
170 // GFX10
: error
: instruction
not supported on this GPU
171 // GFX6-
7: error
: instruction
not supported on this GPU
173 // GFX6
, GFX7
, GFX8
, GFX9.
175 s_cbranch_g_fork s
[0:1], s
[2:3]
176 // GFX10
: error
: instruction
not supported on this GPU
178 //===----------------------------------------------------------------------===//
180 //===----------------------------------------------------------------------===//
184 s_cmp_eq_u64 s
[0:1], s
[2:3]
185 // GFX6-
7: error
: instruction
not supported on this GPU
187 s_cmp_lg_u64 s
[0:1], s
[2:3]
188 // GFX6-
7: error
: instruction
not supported on this GPU
190 // GFX6
, GFX7
, GFX8
, GFX9.
193 // GFX10
: error
: instruction
not supported on this GPU
195 //===----------------------------------------------------------------------===//
197 //===----------------------------------------------------------------------===//
202 // GFX6-
9: error
: instruction
not supported on this GPU
204 s_waitcnt_vscnt s0
, 0x1234
205 // GFX6-
9: error
: instruction
not supported on this GPU
207 s_waitcnt_vmcnt s0
, 0x1234
208 // GFX6-
9: error
: instruction
not supported on this GPU
210 s_waitcnt_expcnt s0
, 0x1234
211 // GFX6-
9: error
: instruction
not supported on this GPU
213 s_waitcnt_lgkmcnt s0
, 0x1234
214 // GFX6-
9: error
: instruction
not supported on this GPU
216 s_subvector_loop_begin s0
, 0x1234
217 // GFX6-
9: error
: instruction
not supported on this GPU
219 s_subvector_loop_end s0
, 0x1234
220 // GFX6-
9: error
: instruction
not supported on this GPU
224 s_call_b64 s
[0:1], 0x1234
225 // GFX6-
8: error
: instruction
not supported on this GPU
227 // GFX6
, GFX7
, GFX8
, GFX9.
229 s_cbranch_i_fork s
[0:1], 0x1234
230 // GFX10
: error
: instruction
not supported on this GPU
232 //===----------------------------------------------------------------------===//
234 //===----------------------------------------------------------------------===//
239 // GFX6-
9: error
: instruction
not supported on this GPU
242 // GFX6-
9: error
: instruction
not supported on this GPU
245 // GFX6-
9: error
: instruction
not supported on this GPU
248 // GFX6-
9: error
: instruction
not supported on this GPU
251 // GFX6-
9: error
: instruction
not supported on this GPU
254 // GFX6-
9: error
: instruction
not supported on this GPU
258 s_endpgm_ordered_ps_done
259 // GFX6-
8: error
: instruction
not supported on this GPU
264 // GFX6-
7: error
: instruction
not supported on this GPU
267 // GFX6-
7: error
: instruction
not supported on this GPU
269 //===----------------------------------------------------------------------===//
271 //===----------------------------------------------------------------------===//
273 v_mov_b32_dpp v5
, v1 dpp8
:[0,1,2,3,4,5,6,7]
274 // GFX6-
7: error
: dpp variant of this instruction is
not supported
275 // GFX8-
9: error
: not a valid operand
277 //===----------------------------------------------------------------------===//
279 //===----------------------------------------------------------------------===//
281 v_add_co_ci_u32 v5
, 0, v1
, v2
, vcc
282 // GFX6-
7: error
: instruction
not supported on this GPU
283 // GFX8-
9: error
: instruction
not supported on this GPU
284 // GFX10
: error
: invalid operand for instruction
286 v_add_co_ci_u32 v5
, vcc
, v1
, v2
, 0
287 // GFX6-
7: error
: instruction
not supported on this GPU
288 // GFX8-
9: error
: instruction
not supported on this GPU
289 // GFX10
: error
: invalid operand for instruction
291 v_add_co_ci_u32 v5
, 0, v1
, v2
, vcc_lo
292 // GFX6-
7: error
: instruction
not supported on this GPU
293 // GFX8-
9: error
: instruction
not supported on this GPU
294 // GFX10
: error
: invalid operand for instruction
296 v_add_co_ci_u32 v5
, vcc_lo
, v1
, v2
, 0
297 // GFX6-
7: error
: instruction
not supported on this GPU
298 // GFX8-
9: error
: instruction
not supported on this GPU
299 // GFX10
: error
: invalid operand for instruction