1 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=gfx601
-show-encoding
%s
2>&1 | FileCheck
--check-prefixes
=GFX6-
7,GFX6-
8,GFX6-
9 %s
2 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=gfx701
-show-encoding
%s
2>&1 | FileCheck
--check-prefixes
=GFX6-
7,GFX6-
8,GFX6-
9 %s
3 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=gfx801
-show-encoding
%s
2>&1 | FileCheck
--check-prefixes
=GFX6-
8,GFX6-
9 %s
4 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=gfx900
-show-encoding
%s
2>&1 | FileCheck
--check-prefixes
=GFX6-
9 %s
5 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=gfx1010
-mattr
=+WavefrontSize32
,-WavefrontSize64
-show-encoding
%s
2>&1 | FileCheck
--check-prefixes
=GFX10
%s
6 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=gfx1010
-mattr
=-WavefrontSize32
,+WavefrontSize64
-show-encoding
%s
2>&1 | FileCheck
--check-prefixes
=GFX10
%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
128 // GFX6
, GFX7
, GFX8
, GFX9.
131 // GFX10
: error
: instruction
not supported on this GPU
133 s_mov_regrd_b32 s0
, s1
134 // GFX10
: error
: instruction
not supported on this GPU
136 //===----------------------------------------------------------------------===//
138 //===----------------------------------------------------------------------===//
142 s_lshl1_add_u32 s0
, s1
, s2
143 // GFX6-
8: error
: instruction
not supported on this GPU
145 s_lshl2_add_u32 s0
, s1
, s2
146 // GFX6-
8: error
: instruction
not supported on this GPU
148 s_lshl3_add_u32 s0
, s1
, s2
149 // GFX6-
8: error
: instruction
not supported on this GPU
151 s_lshl4_add_u32 s0
, s1
, s2
152 // GFX6-
8: error
: instruction
not supported on this GPU
154 s_mul_hi_u32 s0
, s1
, s2
155 // GFX6-
8: error
: instruction
not supported on this GPU
157 s_mul_hi_i32 s0
, s1
, s2
158 // GFX6-
8: error
: instruction
not supported on this GPU
160 s_pack_ll_b32_b16 s0
, s1
, s2
161 // GFX6-
8: error
: instruction
not supported on this GPU
163 s_pack_lh_b32_b16 s0
, s1
, s2
164 // GFX6-
8: error
: instruction
not supported on this GPU
166 s_pack_hh_b32_b16 s0
, s1
, s2
167 // GFX6-
8: error
: instruction
not supported on this GPU
171 s_rfe_restore_b64 s
[0:1], s2
172 // GFX10
: error
: instruction
not supported on this GPU
174 // GFX6
, GFX7
, GFX8
, GFX9.
176 s_cbranch_g_fork s
[0:1], s
[2:3]
177 // GFX10
: error
: instruction
not supported on this GPU
179 //===----------------------------------------------------------------------===//
181 //===----------------------------------------------------------------------===//
185 s_cmp_eq_u64 s
[0:1], s
[2:3]
186 // GFX6-
7: error
: instruction
not supported on this GPU
188 s_cmp_lg_u64 s
[0:1], s
[2:3]
189 // GFX6-
7: error
: instruction
not supported on this GPU
191 // GFX6
, GFX7
, GFX8
, GFX9.
194 // GFX10
: error
: instruction
not supported on this GPU
196 //===----------------------------------------------------------------------===//
198 //===----------------------------------------------------------------------===//
203 // GFX6-
9: error
: instruction
not supported on this GPU
205 s_waitcnt_vscnt s0
, 0x1234
206 // GFX6-
9: error
: instruction
not supported on this GPU
208 s_waitcnt_vmcnt s0
, 0x1234
209 // GFX6-
9: error
: instruction
not supported on this GPU
211 s_waitcnt_expcnt s0
, 0x1234
212 // GFX6-
9: error
: instruction
not supported on this GPU
214 s_waitcnt_lgkmcnt s0
, 0x1234
215 // GFX6-
9: error
: instruction
not supported on this GPU
217 s_subvector_loop_begin s0
, 0x1234
218 // GFX6-
9: error
: instruction
not supported on this GPU
220 s_subvector_loop_end s0
, 0x1234
221 // GFX6-
9: error
: instruction
not supported on this GPU
225 s_call_b64 s
[0:1], 0x1234
226 // GFX6-
8: error
: instruction
not supported on this GPU
228 // GFX6
, GFX7
, GFX8
, GFX9.
230 s_cbranch_i_fork s
[0:1], 0x1234
231 // GFX10
: error
: instruction
not supported on this GPU
233 //===----------------------------------------------------------------------===//
235 //===----------------------------------------------------------------------===//
240 // GFX6-
9: error
: instruction
not supported on this GPU
243 // GFX6-
9: error
: instruction
not supported on this GPU
246 // GFX6-
9: error
: instruction
not supported on this GPU
249 // GFX6-
9: error
: instruction
not supported on this GPU
252 // GFX6-
9: error
: instruction
not supported on this GPU
255 // GFX6-
9: error
: instruction
not supported on this GPU
259 s_endpgm_ordered_ps_done
260 // GFX6-
8: error
: instruction
not supported on this GPU
265 // GFX6-
7: error
: instruction
not supported on this GPU
268 // GFX6-
7: error
: instruction
not supported on this GPU
270 //===----------------------------------------------------------------------===//
272 //===----------------------------------------------------------------------===//
274 v_mov_b32_dpp v5
, v1 dpp8
:[0,1,2,3,4,5,6,7]
275 // GFX6-
9: error
: not a valid operand