1 // RUN
: llvm-mc
-triple
=amdgcn
-mcpu
=gfx1100
-mattr
=-real-true16
,+wavefrontsize32
-show-encoding
%s | FileCheck
--check-prefix
=GFX11
%s
2 // RUN
: llvm-mc
-triple
=amdgcn
-mcpu
=gfx1100
-mattr
=-real-true16
,+wavefrontsize64
-show-encoding
%s | FileCheck
--check-prefix
=GFX11
%s
5 // GFX11
: encoding
: [0x01,0xb7,0x0a,0x7e]
8 // GFX11
: encoding
: [0x7f,0xb7,0x0a,0x7e]
11 // GFX11
: encoding
: [0x01,0xb6,0x0a,0x7e]
14 // GFX11
: encoding
: [0x69,0xb6,0x0a,0x7e]
16 v_floor_f16 v5
, vcc_lo
17 // GFX11
: encoding
: [0x6a,0xb6,0x0a,0x7e]
19 v_floor_f16 v5
, vcc_hi
20 // GFX11
: encoding
: [0x6b,0xb6,0x0a,0x7e]
22 v_floor_f16 v5
, ttmp15
23 // GFX11
: encoding
: [0x7b,0xb6,0x0a,0x7e]
26 // GFX11
: encoding
: [0x7d,0xb6,0x0a,0x7e]
28 v_floor_f16 v5
, exec_lo
29 // GFX11
: encoding
: [0x7e,0xb6,0x0a,0x7e]
31 v_floor_f16 v5
, exec_hi
32 // GFX11
: encoding
: [0x7f,0xb6,0x0a,0x7e]
35 // GFX11
: encoding
: [0x7c,0xb6,0x0a,0x7e]
38 // GFX11
: encoding
: [0xc1,0xb6,0x0a,0x7e]
41 // GFX11
: encoding
: [0xf0,0xb6,0x0a,0x7e]
43 v_floor_f16 v5
, src_scc
44 // GFX11
: encoding
: [0xfd,0xb6,0x0a,0x7e]
46 v_floor_f16 v127
, 0xfe0b
47 // GFX11
: encoding
: [0xff,0xb6,0xfe,0x7e,0x0b,0xfe,0x00,0x00]
50 // GFX11
: encoding
: [0x01,0x49,0x0a,0x7e]
53 // GFX11
: encoding
: [0x01,0xb9,0x0a,0x7e]
56 // GFX11
: encoding
: [0x7f,0xb9,0x0a,0x7e]
59 // GFX11
: encoding
: [0x01,0xb8,0x0a,0x7e]
62 // GFX11
: encoding
: [0x69,0xb8,0x0a,0x7e]
65 // GFX11
: encoding
: [0x6a,0xb8,0x0a,0x7e]
68 // GFX11
: encoding
: [0x6b,0xb8,0x0a,0x7e]
71 // GFX11
: encoding
: [0x7b,0xb8,0x0a,0x7e]
74 // GFX11
: encoding
: [0x7d,0xb8,0x0a,0x7e]
76 v_ceil_f16 v5
, exec_lo
77 // GFX11
: encoding
: [0x7e,0xb8,0x0a,0x7e]
79 v_ceil_f16 v5
, exec_hi
80 // GFX11
: encoding
: [0x7f,0xb8,0x0a,0x7e]
83 // GFX11
: encoding
: [0x7c,0xb8,0x0a,0x7e]
86 // GFX11
: encoding
: [0xc1,0xb8,0x0a,0x7e]
89 // GFX11
: encoding
: [0xf0,0xb8,0x0a,0x7e]
91 v_ceil_f16 v5
, src_scc
92 // GFX11
: encoding
: [0xfd,0xb8,0x0a,0x7e]
94 v_ceil_f16 v127
, 0xfe0b
95 // GFX11
: encoding
: [0xff,0xb8,0xfe,0x7e,0x0b,0xfe,0x00,0x00]
98 // GFX11
: encoding
: [0x01,0xa9,0x0a,0x7e]
101 // GFX11
: encoding
: [0x7f,0xa9,0x0a,0x7e]
104 // GFX11
: encoding
: [0x01,0xa8,0x0a,0x7e]
107 // GFX11
: encoding
: [0x69,0xa8,0x0a,0x7e]
110 // GFX11
: encoding
: [0x6a,0xa8,0x0a,0x7e]
113 // GFX11
: encoding
: [0x6b,0xa8,0x0a,0x7e]
116 // GFX11
: encoding
: [0x7b,0xa8,0x0a,0x7e]
119 // GFX11
: encoding
: [0x7d,0xa8,0x0a,0x7e]
121 v_rcp_f16 v5
, exec_lo
122 // GFX11
: encoding
: [0x7e,0xa8,0x0a,0x7e]
124 v_rcp_f16 v5
, exec_hi
125 // GFX11
: encoding
: [0x7f,0xa8,0x0a,0x7e]
128 // GFX11
: encoding
: [0x7c,0xa8,0x0a,0x7e]
131 // GFX11
: encoding
: [0xc1,0xa8,0x0a,0x7e]
134 // GFX11
: encoding
: [0xf0,0xa8,0x0a,0x7e]
136 v_rcp_f16 v5
, src_scc
137 // GFX11
: encoding
: [0xfd,0xa8,0x0a,0x7e]
139 v_rcp_f16 v127
, 0xfe0b
140 // GFX11
: encoding
: [0xff,0xa8,0xfe,0x7e,0x0b,0xfe,0x00,0x00]
143 // GFX11
: encoding
: [0x01,0xab,0x0a,0x7e]
146 // GFX11
: encoding
: [0x7f,0xab,0x0a,0x7e]
149 // GFX11
: encoding
: [0x01,0xaa,0x0a,0x7e]
152 // GFX11
: encoding
: [0x69,0xaa,0x0a,0x7e]
154 v_sqrt_f16 v5
, vcc_lo
155 // GFX11
: encoding
: [0x6a,0xaa,0x0a,0x7e]
157 v_sqrt_f16 v5
, vcc_hi
158 // GFX11
: encoding
: [0x6b,0xaa,0x0a,0x7e]
160 v_sqrt_f16 v5
, ttmp15
161 // GFX11
: encoding
: [0x7b,0xaa,0x0a,0x7e]
164 // GFX11
: encoding
: [0x7d,0xaa,0x0a,0x7e]
166 v_sqrt_f16 v5
, exec_lo
167 // GFX11
: encoding
: [0x7e,0xaa,0x0a,0x7e]
169 v_sqrt_f16 v5
, exec_hi
170 // GFX11
: encoding
: [0x7f,0xaa,0x0a,0x7e]
173 // GFX11
: encoding
: [0x7c,0xaa,0x0a,0x7e]
176 // GFX11
: encoding
: [0xc1,0xaa,0x0a,0x7e]
179 // GFX11
: encoding
: [0xf0,0xaa,0x0a,0x7e]
181 v_sqrt_f16 v5
, src_scc
182 // GFX11
: encoding
: [0xfd,0xaa,0x0a,0x7e]
184 v_sqrt_f16 v127
, 0xfe0b
185 // GFX11
: encoding
: [0xff,0xaa,0xfe,0x7e,0x0b,0xfe,0x00,0x00]
188 // GFX11
: encoding
: [0x01,0xad,0x0a,0x7e]
191 // GFX11
: encoding
: [0x7f,0xad,0x0a,0x7e]
194 // GFX11
: encoding
: [0x01,0xac,0x0a,0x7e]
197 // GFX11
: encoding
: [0x69,0xac,0x0a,0x7e]
200 // GFX11
: encoding
: [0x6a,0xac,0x0a,0x7e]
203 // GFX11
: encoding
: [0x6b,0xac,0x0a,0x7e]
206 // GFX11
: encoding
: [0x7b,0xac,0x0a,0x7e]
209 // GFX11
: encoding
: [0x7d,0xac,0x0a,0x7e]
211 v_rsq_f16 v5
, exec_lo
212 // GFX11
: encoding
: [0x7e,0xac,0x0a,0x7e]
214 v_rsq_f16 v5
, exec_hi
215 // GFX11
: encoding
: [0x7f,0xac,0x0a,0x7e]
218 // GFX11
: encoding
: [0x7c,0xac,0x0a,0x7e]
221 // GFX11
: encoding
: [0xc1,0xac,0x0a,0x7e]
224 // GFX11
: encoding
: [0xf0,0xac,0x0a,0x7e]
226 v_rsq_f16 v5
, src_scc
227 // GFX11
: encoding
: [0xfd,0xac,0x0a,0x7e]
230 // GFX11
: encoding
: [0x01,0xaf,0x0a,0x7e]
233 // GFX11
: encoding
: [0x7f,0xaf,0x0a,0x7e]
236 // GFX11
: encoding
: [0x01,0xae,0x0a,0x7e]
239 // GFX11
: encoding
: [0x69,0xae,0x0a,0x7e]
242 // GFX11
: encoding
: [0x6a,0xae,0x0a,0x7e]
245 // GFX11
: encoding
: [0x6b,0xae,0x0a,0x7e]
248 // GFX11
: encoding
: [0x7b,0xae,0x0a,0x7e]
251 // GFX11
: encoding
: [0x7d,0xae,0x0a,0x7e]
253 v_log_f16 v5
, exec_lo
254 // GFX11
: encoding
: [0x7e,0xae,0x0a,0x7e]
256 v_log_f16 v5
, exec_hi
257 // GFX11
: encoding
: [0x7f,0xae,0x0a,0x7e]
260 // GFX11
: encoding
: [0x7c,0xae,0x0a,0x7e]
263 // GFX11
: encoding
: [0xc1,0xae,0x0a,0x7e]
266 // GFX11
: encoding
: [0xf0,0xae,0x0a,0x7e]
268 v_log_f16 v5
, src_scc
269 // GFX11
: encoding
: [0xfd,0xae,0x0a,0x7e]
271 v_log_f16 v127
, 0xfe0b
272 // GFX11
: encoding
: [0xff,0xae,0xfe,0x7e,0x0b,0xfe,0x00,0x00]
275 // GFX11
: encoding
: [0x01,0xb1,0x0a,0x7e]
278 // GFX11
: encoding
: [0x7f,0xb1,0x0a,0x7e]
281 // GFX11
: encoding
: [0x01,0xb0,0x0a,0x7e]
284 // GFX11
: encoding
: [0x69,0xb0,0x0a,0x7e]
287 // GFX11
: encoding
: [0x6a,0xb0,0x0a,0x7e]
290 // GFX11
: encoding
: [0x6b,0xb0,0x0a,0x7e]
293 // GFX11
: encoding
: [0x7b,0xb0,0x0a,0x7e]
296 // GFX11
: encoding
: [0x7d,0xb0,0x0a,0x7e]
298 v_exp_f16 v5
, exec_lo
299 // GFX11
: encoding
: [0x7e,0xb0,0x0a,0x7e]
301 v_exp_f16 v5
, exec_hi
302 // GFX11
: encoding
: [0x7f,0xb0,0x0a,0x7e]
305 // GFX11
: encoding
: [0x7c,0xb0,0x0a,0x7e]
308 // GFX11
: encoding
: [0xc1,0xb0,0x0a,0x7e]
311 // GFX11
: encoding
: [0xf0,0xb0,0x0a,0x7e]
313 v_exp_f16 v5
, src_scc
314 // GFX11
: encoding
: [0xfd,0xb0,0x0a,0x7e]
316 v_exp_f16 v127
, 0xfe0b
317 // GFX11
: encoding
: [0xff,0xb0,0xfe,0x7e,0x0b,0xfe,0x00,0x00]