1 // RUN
: not llvm-mc
-triple
=amdgcn
-show-encoding
%s | FileCheck
--check-prefixes
=GCN
,SICI
%s
2 // RUN
: not llvm-mc
-triple
=amdgcn
-mcpu
=tahiti
-show-encoding
%s | FileCheck
--check-prefixes
=GCN
,SICI
%s
3 // RUN
: not llvm-mc
-triple
=amdgcn
-mcpu
=bonaire
-show-encoding
%s | FileCheck
--check-prefixes
=GCN
,SICI
%s
4 // RUN
: not llvm-mc
-triple
=amdgcn
-mcpu
=fiji
-show-encoding
%s | FileCheck
--check-prefixes
=GCN
,GFX89
%s
5 // RUN
: not llvm-mc
-triple
=amdgcn
-mcpu
=gfx900
-show-encoding
%s | FileCheck
--check-prefixes
=GCN
,GFX89
,GFX9
%s
6 // RUN
: not llvm-mc
-triple
=amdgcn
-mcpu
=gfx1010
-show-encoding
%s | FileCheck
--check-prefixes
=GCN
,GFX10
%s
8 // RUN
: not llvm-mc
-triple
=amdgcn
%s
2>&1 | FileCheck
--check-prefix
=NOSICIVI
--implicit-check-
not=error
: %s
9 // RUN
: not llvm-mc
-triple
=amdgcn
-mcpu
=tahiti
%s
2>&1 | FileCheck
--check-prefix
=NOSICIVI
--implicit-check-
not=error
: %s
10 // RUN
: not llvm-mc
-triple
=amdgcn
-mcpu
=bonaire
%s
2>&1 | FileCheck
--check-prefix
=NOSICIVI
--implicit-check-
not=error
: %s
11 // RUN
: not llvm-mc
-triple
=amdgcn
-mcpu
=fiji
%s
2>&1 | FileCheck
--check-prefixes
=NOSICIVI
,NOGFX89
--implicit-check-
not=error
: %s
12 // RUN
: not llvm-mc
-triple
=amdgcn
-mcpu
=gfx900
%s
2>&1 | FileCheck
--check-prefixes
=NOGFX9
,NOGFX89
--implicit-check-
not=error
: %s
13 // RUN
: not llvm-mc
-triple
=amdgcn
-mcpu
=gfx1010
2>&1 %s | FileCheck
--check-prefix
=GFX10-ERR
--implicit-check-
not=error
: %s
16 // GCN
: s_add_u32 s1
, s2
, s3 ; encoding
: [0x02,0x03,0x01,0x80]
19 // GCN
: s_sub_u32 s1
, s2
, s3 ; encoding
: [0x02,0x03,0x81,0x80]
22 // GCN
: s_add_i32 s1
, s2
, s3 ; encoding
: [0x02,0x03,0x01,0x81]
25 // GCN
: s_sub_i32 s1
, s2
, s3 ; encoding
: [0x02,0x03,0x81,0x81]
28 // GCN
: s_addc_u32 s1
, s2
, s3 ; encoding
: [0x02,0x03,0x01,0x82]
31 // GCN
: s_subb_u32 s1
, s2
, s3 ; encoding
: [0x02,0x03,0x81,0x82]
34 // GCN
: s_min_i32 s1
, s2
, s3 ; encoding
: [0x02,0x03,0x01,0x83]
37 // GCN
: s_min_u32 s1
, s2
, s3 ; encoding
: [0x02,0x03,0x81,0x83]
40 // GCN
: s_max_i32 s1
, s2
, s3 ; encoding
: [0x02,0x03,0x01,0x84]
43 // GCN
: s_max_u32 s1
, s2
, s3 ; encoding
: [0x02,0x03,0x81,0x84]
45 s_cselect_b32 s1
, s2
, s3
46 // GCN
: s_cselect_b32 s1
, s2
, s3 ; encoding
: [0x02,0x03,0x01,0x85]
48 s_cselect_b64 s
[2:3], s
[4:5], s
[6:7]
49 // GCN
: s_cselect_b64 s
[2:3], s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x82,0x85]
52 // SICI
: s_and_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x87]
53 // GFX89
: s_and_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x86]
54 // GFX10
: s_and_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x87]
56 s_and_b32 s2
, 1234, 1234
57 // SICI
: s_and_b32 s2
, 0x4d2, 0x4d2 ; encoding
: [0xff,0xff,0x02,0x87,0xd2,0x04,0x00,0x00]
58 // GFX89
: s_and_b32 s2
, 0x4d2, 0x4d2 ; encoding
: [0xff,0xff,0x02,0x86,0xd2,0x04,0x00,0x00]
59 // GFX10
: s_and_b32 s2
, 0x4d2, 0x4d2 ; encoding
: [0xff,0xff,0x02,0x87,0xd2,0x04,0x00,0x00]
61 s_and_b32 s2
, 0xFFFF0000, -65536
62 // SICI
: s_and_b32 s2
, 0xffff0000, 0xffff0000 ; encoding
: [0xff,0xff,0x02,0x87,0x00,0x00,0xff,0xff]
63 // GFX89
: s_and_b32 s2
, 0xffff0000, 0xffff0000 ; encoding
: [0xff,0xff,0x02,0x86,0x00,0x00,0xff,0xff]
64 // GFX10
: s_and_b32 s2
, 0xffff0000, 0xffff0000 ; encoding
: [0xff,0xff,0x02,0x87,0x00,0x00,0xff,0xff]
66 s_and_b64 null
, s
[4:5], s
[6:7]
67 // GFX10
: s_and_b64 null
, s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0xfd,0x87]
68 // NOSICIVI
: :[[@LINE-
2]]:{{[0-9]+}}: error
: 'null' operand is
not supported on this GPU
69 // NOGFX9
: :[[@LINE-
3]]:{{[0-9]+}}: error
: 'null' operand is
not supported on this GPU
71 s_and_b64 s
[2:3], s
[4:5], s
[6:7]
72 // SICI
: s_and_b64 s
[2:3], s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x82,0x87]
73 // GFX89
: s_and_b64 s
[2:3], s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x82,0x86]
74 // GFX10
: s_and_b64 s
[2:3], s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x82,0x87]
77 // SICI
: s_or_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x88]
78 // GFX89
: s_or_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x87]
79 // GFX10
: s_or_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x88]
81 s_or_b64 s
[2:3], s
[4:5], s
[6:7]
82 // SICI
: s_or_b64 s
[2:3], s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x82,0x88]
83 // GFX89
: s_or_b64 s
[2:3], s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x82,0x87]
84 // GFX10
: s_or_b64 s
[2:3], s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x82,0x88]
87 // SICI
: s_xor_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x89]
88 // GFX89
: s_xor_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x88]
89 // GFX10
: s_xor_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x89]
91 s_xor_b64 s
[2:3], s
[4:5], s
[6:7]
92 // SICI
: s_xor_b64 s
[2:3], s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x82,0x89]
93 // GFX89
: s_xor_b64 s
[2:3], s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x82,0x88]
94 // GFX10
: s_xor_b64 s
[2:3], s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x82,0x89]
96 s_andn2_b32 s2
, s4
, s6
97 // SICI
: s_andn2_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x8a]
98 // GFX89
: s_andn2_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x89]
99 // GFX10
: s_andn2_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x8a]
101 s_andn2_b64 s
[2:3], s
[4:5], s
[6:7]
102 // SICI
: s_andn2_b64 s
[2:3], s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x82,0x8a]
103 // GFX89
: s_andn2_b64 s
[2:3], s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x82,0x89]
104 // GFX10
: s_andn2_b64 s
[2:3], s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x82,0x8a]
106 s_orn2_b32 s2
, s4
, s6
107 // SICI
: s_orn2_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x8b]
108 // GFX89
: s_orn2_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x8a]
109 // GFX10
: s_orn2_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x8b]
111 s_orn2_b64 s
[2:3], s
[4:5], s
[6:7]
112 // SICI
: s_orn2_b64 s
[2:3], s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x82,0x8b]
113 // GFX89
: s_orn2_b64 s
[2:3], s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x82,0x8a]
114 // GFX10
: s_orn2_b64 s
[2:3], s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x82,0x8b]
116 s_nand_b32 s2
, s4
, s6
117 // SICI
: s_nand_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x8c]
118 // GFX89
: s_nand_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x8b]
119 // GFX10
: s_nand_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x8c]
121 s_nand_b64 s
[2:3], s
[4:5], s
[6:7]
122 // SICI
: s_nand_b64 s
[2:3], s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x82,0x8c]
123 // GFX89
: s_nand_b64 s
[2:3], s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x82,0x8b]
124 // GFX10
: s_nand_b64 s
[2:3], s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x82,0x8c]
127 // SICI
: s_nor_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x8d]
128 // GFX89
: s_nor_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x8c]
129 // GFX10
: s_nor_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x8d]
131 s_nor_b64 s
[2:3], s
[4:5], s
[6:7]
132 // SICI
: s_nor_b64 s
[2:3], s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x82,0x8d]
133 // GFX89
: s_nor_b64 s
[2:3], s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x82,0x8c]
134 // GFX10
: s_nor_b64 s
[2:3], s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x82,0x8d]
136 s_xnor_b32 s2
, s4
, s6
137 // SICI
: s_xnor_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x8e]
138 // GFX89
: s_xnor_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x8d]
139 // GFX10
: s_xnor_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x8e]
141 s_xnor_b64 s
[2:3], s
[4:5], s
[6:7]
142 // SICI
: s_xnor_b64 s
[2:3], s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x82,0x8e]
143 // GFX89
: s_xnor_b64 s
[2:3], s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x82,0x8d]
144 // GFX10
: s_xnor_b64 s
[2:3], s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x82,0x8e]
146 s_lshl_b32 s2
, s4
, s6
147 // SICI
: s_lshl_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x8f]
148 // GFX89
: s_lshl_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x8e]
149 // GFX10
: s_lshl_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x8f]
151 s_lshl_b64 s
[2:3], s
[4:5], s6
152 // SICI
: s_lshl_b64 s
[2:3], s
[4:5], s6 ; encoding
: [0x04,0x06,0x82,0x8f]
153 // GFX89
: s_lshl_b64 s
[2:3], s
[4:5], s6 ; encoding
: [0x04,0x06,0x82,0x8e]
154 // GFX10
: s_lshl_b64 s
[2:3], s
[4:5], s6 ; encoding
: [0x04,0x06,0x82,0x8f]
156 s_lshr_b32 s2
, s4
, s6
157 // SICI
: s_lshr_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x90]
158 // GFX89
: s_lshr_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x8f]
159 // GFX10
: s_lshr_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x90]
161 s_lshr_b64 s
[2:3], s
[4:5], s6
162 // SICI
: s_lshr_b64 s
[2:3], s
[4:5], s6 ; encoding
: [0x04,0x06,0x82,0x90]
163 // GFX89
: s_lshr_b64 s
[2:3], s
[4:5], s6 ; encoding
: [0x04,0x06,0x82,0x8f]
164 // GFX10
: s_lshr_b64 s
[2:3], s
[4:5], s6 ; encoding
: [0x04,0x06,0x82,0x90]
166 s_ashr_i32 s2
, s4
, s6
167 // SICI
: s_ashr_i32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x91]
168 // GFX89
: s_ashr_i32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x90]
169 // GFX10
: s_ashr_i32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x91]
171 s_ashr_i64 s
[2:3], s
[4:5], s6
172 // SICI
: s_ashr_i64 s
[2:3], s
[4:5], s6 ; encoding
: [0x04,0x06,0x82,0x91]
173 // GFX89
: s_ashr_i64 s
[2:3], s
[4:5], s6 ; encoding
: [0x04,0x06,0x82,0x90]
174 // GFX10
: s_ashr_i64 s
[2:3], s
[4:5], s6 ; encoding
: [0x04,0x06,0x82,0x91]
176 s_ashr_i64 s
[2:3], -65536, 0xFFFF0000
177 // SICI
: s_ashr_i64 s
[2:3], 0xffff0000, 0xffff0000 ; encoding
: [0xff,0xff,0x82,0x91,0x00,0x00,0xff,0xff]
178 // GFX89
: s_ashr_i64 s
[2:3], 0xffff0000, 0xffff0000 ; encoding
: [0xff,0xff,0x82,0x90,0x00,0x00,0xff,0xff]
179 // GFX10
: s_ashr_i64 s
[2:3], 0xffff0000, 0xffff0000 ; encoding
: [0xff,0xff,0x82,0x91,0x00,0x00,0xff,0xff]
182 // SICI
: s_bfm_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x92]
183 // GFX89
: s_bfm_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x91]
184 // GFX10
: s_bfm_b32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x92]
186 s_bfm_b64 s
[2:3], s4
, s6
187 // SICI
: s_bfm_b64 s
[2:3], s4
, s6 ; encoding
: [0x04,0x06,0x82,0x92]
188 // GFX89
: s_bfm_b64 s
[2:3], s4
, s6 ; encoding
: [0x04,0x06,0x82,0x91]
189 // GFX10
: s_bfm_b64 s
[2:3], s4
, s6 ; encoding
: [0x04,0x06,0x82,0x92]
192 // SICI
: s_mul_i32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x93]
193 // GFX89
: s_mul_i32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x92]
194 // GFX10
: s_mul_i32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x93]
197 // SICI
: s_bfe_u32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x82,0x93]
198 // GFX89
: s_bfe_u32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x82,0x92]
199 // GFX10
: s_bfe_u32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x82,0x93]
202 // SICI
: s_bfe_i32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x94]
203 // GFX89
: s_bfe_i32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x93]
204 // GFX10
: s_bfe_i32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x94]
206 s_bfe_u64 s
[2:3], s
[4:5], s6
207 // SICI
: s_bfe_u64 s
[2:3], s
[4:5], s6 ; encoding
: [0x04,0x06,0x82,0x94]
208 // GFX89
: s_bfe_u64 s
[2:3], s
[4:5], s6 ; encoding
: [0x04,0x06,0x82,0x93]
209 // GFX10
: s_bfe_u64 s
[2:3], s
[4:5], s6 ; encoding
: [0x04,0x06,0x82,0x94]
211 s_bfe_i64 s
[2:3], s
[4:5], s6
212 // SICI
: s_bfe_i64 s
[2:3], s
[4:5], s6 ; encoding
: [0x04,0x06,0x02,0x95]
213 // GFX89
: s_bfe_i64 s
[2:3], s
[4:5], s6 ; encoding
: [0x04,0x06,0x02,0x94]
214 // GFX10
: s_bfe_i64 s
[2:3], s
[4:5], s6 ; encoding
: [0x04,0x06,0x02,0x95]
216 s_cbranch_g_fork s
[4:5], s
[6:7]
217 // SICI
: s_cbranch_g_fork s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x80,0x95]
218 // GFX89
: s_cbranch_g_fork s
[4:5], s
[6:7] ; encoding
: [0x04,0x06,0x80,0x94]
219 // GFX10-ERR
: :[[@LINE-
3]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
221 s_cbranch_g_fork
1, s
[6:7]
222 // SICI
: s_cbranch_g_fork
1, s
[6:7] ; encoding
: [0x81,0x06,0x80,0x95]
223 // GFX89
: s_cbranch_g_fork
1, s
[6:7] ; encoding
: [0x81,0x06,0x80,0x94]
224 // GFX10-ERR
: :[[@LINE-
3]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
226 s_cbranch_g_fork s
[6:7], 2
227 // SICI
: s_cbranch_g_fork s
[6:7], 2 ; encoding
: [0x06,0x82,0x80,0x95]
228 // GFX89
: s_cbranch_g_fork s
[6:7], 2 ; encoding
: [0x06,0x82,0x80,0x94]
229 // GFX10-ERR
: :[[@LINE-
3]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
231 s_absdiff_i32 s2
, s4
, s6
232 // SICI
: s_absdiff_i32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x96]
233 // GFX89
: s_absdiff_i32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x95]
234 // GFX10
: s_absdiff_i32 s2
, s4
, s6 ; encoding
: [0x04,0x06,0x02,0x96]
236 s_add_u32 s101
, s102
, s103
237 // SICI
: s_add_u32 s101
, s102
, s103 ; encoding
: [0x66,0x67,0x65,0x80]
238 // NOGFX89
: :[[@LINE-
2]]:{{[0-9]+}}: error
: s102 register
not available on this GPU
239 // GFX10
: s_add_u32 s101
, s102
, s103 ; encoding
: [0x66,0x67,0x65,0x80]
241 s_lshl1_add_u32 s5
, s1
, s2
242 // GFX9
: s_lshl1_add_u32 s5
, s1
, s2 ; encoding
: [0x01,0x02,0x05,0x97]
243 // NOSICIVI
: :[[@LINE-
2]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
244 // GFX10
: s_lshl1_add_u32 s5
, s1
, s2 ; encoding
: [0x01,0x02,0x05,0x97]
246 s_lshl1_add_u32 s5
, -1, s2
247 // GFX9
: s_lshl1_add_u32 s5
, -1, s2 ; encoding
: [0xc1,0x02,0x05,0x97]
248 // NOSICIVI
: :[[@LINE-
2]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
249 // GFX10
: s_lshl1_add_u32 s5
, -1, s2 ; encoding
: [0xc1,0x02,0x05,0x97]
251 s_lshl1_add_u32 s5
, s1
, 0
252 // GFX9
: s_lshl1_add_u32 s5
, s1
, 0 ; encoding
: [0x01,0x80,0x05,0x97]
253 // NOSICIVI
: :[[@LINE-
2]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
254 // GFX10
: s_lshl1_add_u32 s5
, s1
, 0 ; encoding
: [0x01,0x80,0x05,0x97]
256 s_lshl1_add_u32 s5
, s1
, 0x3f717273
257 // GFX9
: s_lshl1_add_u32 s5
, s1
, 0x3f717273 ; encoding
: [0x01,0xff,0x05,0x97,0x73,0x72,0x71,0x3f]
258 // NOSICIVI
: :[[@LINE-
2]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
259 // GFX10
: s_lshl1_add_u32 s5
, s1
, 0x3f717273 ; encoding
: [0x01,0xff,0x05,0x97,0x73,0x72,0x71,0x3f]
261 s_lshl2_add_u32 s101
, s1
, s2
262 // GFX9
: s_lshl2_add_u32 s101
, s1
, s2 ; encoding
: [0x01,0x02,0xe5,0x97]
263 // NOSICIVI
: :[[@LINE-
2]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
264 // GFX10
: s_lshl2_add_u32 s101
, s1
, s2 ; encoding
: [0x01,0x02,0xe5,0x97]
266 s_lshl2_add_u32 s5
, 0xaf123456, s2
267 // GFX9
: s_lshl2_add_u32 s5
, 0xaf123456, s2 ; encoding
: [0xff,0x02,0x85,0x97,0x56,0x34,0x12,0xaf]
268 // NOSICIVI
: :[[@LINE-
2]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
269 // GFX10
: s_lshl2_add_u32 s5
, 0xaf123456, s2 ; encoding
: [0xff,0x02,0x85,0x97,0x56,0x34,0x12,0xaf]
271 s_lshl3_add_u32 s5
, 0x3f717273, s2
272 // GFX9
: s_lshl3_add_u32 s5
, 0x3f717273, s2 ; encoding
: [0xff,0x02,0x05,0x98,0x73,0x72,0x71,0x3f]
273 // NOSICIVI
: :[[@LINE-
2]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
274 // GFX10
: s_lshl3_add_u32 s5
, 0x3f717273, s2 ; encoding
: [0xff,0x02,0x05,0x98,0x73,0x72,0x71,0x3f]
276 s_lshl3_add_u32 s5
, s1
, s101
277 // GFX9
: s_lshl3_add_u32 s5
, s1
, s101 ; encoding
: [0x01,0x65,0x05,0x98]
278 // NOSICIVI
: :[[@LINE-
2]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
279 // GFX10
: s_lshl3_add_u32 s5
, s1
, s101 ; encoding
: [0x01,0x65,0x05,0x98]
281 s_lshl4_add_u32 s5
, s1
, 0xaf123456
282 // GFX9
: s_lshl4_add_u32 s5
, s1
, 0xaf123456 ; encoding
: [0x01,0xff,0x85,0x98,0x56,0x34,0x12,0xaf]
283 // NOSICIVI
: :[[@LINE-
2]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
284 // GFX10
: s_lshl4_add_u32 s5
, s1
, 0xaf123456 ; encoding
: [0x01,0xff,0x85,0x98,0x56,0x34,0x12,0xaf]
286 s_lshl4_add_u32 s5
, -1, s2
287 // GFX9
: s_lshl4_add_u32 s5
, -1, s2 ; encoding
: [0xc1,0x02,0x85,0x98]
288 // NOSICIVI
: :[[@LINE-
2]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
289 // GFX10
: s_lshl4_add_u32 s5
, -1, s2 ; encoding
: [0xc1,0x02,0x85,0x98]
291 s_mul_hi_i32 s5
, s101
, s2
292 // GFX9
: s_mul_hi_i32 s5
, s101
, s2 ; encoding
: [0x65,0x02,0x85,0x96]
293 // NOSICIVI
: :[[@LINE-
2]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
294 // GFX10
: s_mul_hi_i32 s5
, s101
, s2 ; encoding
: [0x65,0x02,0x05,0x9b]
296 s_mul_hi_i32 s5
, 0, s2
297 // GFX9
: s_mul_hi_i32 s5
, 0, s2 ; encoding
: [0x80,0x02,0x85,0x96]
298 // NOSICIVI
: :[[@LINE-
2]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
299 // GFX10
: s_mul_hi_i32 s5
, 0, s2 ; encoding
: [0x80,0x02,0x05,0x9b]
301 s_mul_hi_i32 s5
, 0x3f717273, s2
302 // GFX9
: s_mul_hi_i32 s5
, 0x3f717273, s2 ; encoding
: [0xff,0x02,0x85,0x96,0x73,0x72,0x71,0x3f]
303 // NOSICIVI
: :[[@LINE-
2]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
304 // GFX10
: s_mul_hi_i32 s5
, 0x3f717273, s2 ; encoding
: [0xff,0x02,0x05,0x9b,0x73,0x72,0x71,0x3f]
306 s_mul_hi_i32 s5
, s1
, s101
307 // GFX9
: s_mul_hi_i32 s5
, s1
, s101 ; encoding
: [0x01,0x65,0x85,0x96]
308 // NOSICIVI
: :[[@LINE-
2]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
309 // GFX10
: s_mul_hi_i32 s5
, s1
, s101 ; encoding
: [0x01,0x65,0x05,0x9b]
311 s_mul_hi_i32 s5
, s1
, 0
312 // GFX9
: s_mul_hi_i32 s5
, s1
, 0 ; encoding
: [0x01,0x80,0x85,0x96]
313 // NOSICIVI
: :[[@LINE-
2]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
314 // GFX10
: s_mul_hi_i32 s5
, s1
, 0 ; encoding
: [0x01,0x80,0x05,0x9b]
316 s_mul_hi_u32 s5
, s1
, 0x3f717273
317 // GFX9
: s_mul_hi_u32 s5
, s1
, 0x3f717273 ; encoding
: [0x01,0xff,0x05,0x96,0x73,0x72,0x71,0x3f]
318 // NOSICIVI
: :[[@LINE-
2]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
319 // GFX10
: s_mul_hi_u32 s5
, s1
, 0x3f717273 ; encoding
: [0x01,0xff,0x85,0x9a,0x73,0x72,0x71,0x3f]
321 s_mul_hi_u32 s5
, s1
, s101
322 // GFX9
: s_mul_hi_u32 s5
, s1
, s101 ; encoding
: [0x01,0x65,0x05,0x96]
323 // NOSICIVI
: :[[@LINE-
2]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
324 // GFX10
: s_mul_hi_u32 s5
, s1
, s101 ; encoding
: [0x01,0x65,0x85,0x9a]
326 s_mul_hi_u32 s5
, s1
, 0
327 // GFX9
: s_mul_hi_u32 s5
, s1
, 0 ; encoding
: [0x01,0x80,0x05,0x96]
328 // NOSICIVI
: :[[@LINE-
2]]:{{[0-9]+}}: error
: instruction
not supported on this GPU
329 // GFX10
: s_mul_hi_u32 s5
, s1
, 0 ; encoding
: [0x01,0x80,0x85,0x9a]