1 // RUN
: llvm-mc
-triple
=arm64
-mattr
=+neon
,+fullfp16
-show-encoding
< %s | FileCheck
%s
3 // Check that the assembler can handle the documented syntax for AArch64
6 //------------------------------------------------------------------------------
8 //------------------------------------------------------------------------------
16 // CHECK
: rev64 v0.16
b, v31.16
b // encoding
: [0xe0,0x0b,0x20,0x4e]
17 // CHECK
: rev64 v2.8h
, v4.8h
// encoding
: [0x82,0x08,0x60,0x4e]
18 // CHECK
: rev64 v6.4s
, v8.4s
// encoding
: [0x06,0x09,0xa0,0x4e]
19 // CHECK
: rev64 v1.8
b, v9.8
b // encoding
: [0x21,0x09,0x20,0x0e]
20 // CHECK
: rev64 v13.4h
, v21.4h
// encoding
: [0xad,0x0a,0x60,0x0e]
21 // CHECK
: rev64 v4.2s
, v0.2s
// encoding
: [0x04,0x08,0xa0,0x0e]
23 rev32 v30.16
b, v31.16
b
28 // CHECK
: rev32 v30.16
b, v31.16
b // encoding
: [0xfe,0x0b,0x20,0x6e]
29 // CHECK
: rev32 v4.8h
, v7.8h
// encoding
: [0xe4,0x08,0x60,0x6e]
30 // CHECK
: rev32 v21.8
b, v1.8
b // encoding
: [0x35,0x08,0x20,0x2e]
31 // CHECK
: rev32 v0.4h
, v9.4h
// encoding
: [0x20,0x09,0x60,0x2e]
33 rev16 v30.16
b, v31.16
b
36 // CHECK
: rev16 v30.16
b, v31.16
b // encoding
: [0xfe,0x1b,0x20,0x4e]
37 // CHECK
: rev16 v21.8
b, v1.8
b // encoding
: [0x35,0x18,0x20,0x0e]
39 //------------------------------------------------------------------------------
40 // Signed integer pairwise
add long
41 //------------------------------------------------------------------------------
50 // CHECK
: saddlp v3.8h
, v21.16
b // encoding
: [0xa3,0x2a,0x20,0x4e]
51 // CHECK
: saddlp v8.4h
, v5.8
b // encoding
: [0xa8,0x28,0x20,0x0e]
52 // CHECK
: saddlp v9.4s
, v1.8h
// encoding
: [0x29,0x28,0x60,0x4e]
53 // CHECK
: saddlp v0.2s
, v1.4h
// encoding
: [0x20,0x28,0x60,0x0e]
54 // CHECK
: saddlp v12.2d
, v4.4s
// encoding
: [0x8c,0x28,0xa0,0x4e]
55 // CHECK
: saddlp v17.1d
, v28.2s
// encoding
: [0x91,0x2b,0xa0,0x0e]
57 //------------------------------------------------------------------------------
58 // Unsigned integer pairwise
add long
59 //------------------------------------------------------------------------------
68 // CHECK
: uaddlp v3.8h
, v21.16
b // encoding
: [0xa3,0x2a,0x20,0x6e]
69 // CHECK
: uaddlp v8.4h
, v5.8
b // encoding
: [0xa8,0x28,0x20,0x2e]
70 // CHECK
: uaddlp v9.4s
, v1.8h
// encoding
: [0x29,0x28,0x60,0x6e]
71 // CHECK
: uaddlp v0.2s
, v1.4h
// encoding
: [0x20,0x28,0x60,0x2e]
72 // CHECK
: uaddlp v12.2d
, v4.4s
// encoding
: [0x8c,0x28,0xa0,0x6e]
73 // CHECK
: uaddlp v17.1d
, v28.2s
// encoding
: [0x91,0x2b,0xa0,0x2e]
75 //------------------------------------------------------------------------------
76 // Signed integer pairwise
add and accumulate long
77 //------------------------------------------------------------------------------
86 // CHECK
: sadalp v3.8h
, v21.16
b // encoding
: [0xa3,0x6a,0x20,0x4e]
87 // CHECK
: sadalp v8.4h
, v5.8
b // encoding
: [0xa8,0x68,0x20,0x0e]
88 // CHECK
: sadalp v9.4s
, v1.8h
// encoding
: [0x29,0x68,0x60,0x4e]
89 // CHECK
: sadalp v0.2s
, v1.4h
// encoding
: [0x20,0x68,0x60,0x0e]
90 // CHECK
: sadalp v12.2d
, v4.4s
// encoding
: [0x8c,0x68,0xa0,0x4e]
91 // CHECK
: sadalp v17.1d
, v28.2s
// encoding
: [0x91,0x6b,0xa0,0x0e]
93 //------------------------------------------------------------------------------
94 // Unsigned integer pairwise
add and accumulate long
95 //------------------------------------------------------------------------------
102 uadalp v17.1d
, v28.2s
104 // CHECK
: uadalp v3.8h
, v21.16
b // encoding
: [0xa3,0x6a,0x20,0x6e]
105 // CHECK
: uadalp v8.4h
, v5.8
b // encoding
: [0xa8,0x68,0x20,0x2e]
106 // CHECK
: uadalp v9.4s
, v1.8h
// encoding
: [0x29,0x68,0x60,0x6e]
107 // CHECK
: uadalp v0.2s
, v1.4h
// encoding
: [0x20,0x68,0x60,0x2e]
108 // CHECK
: uadalp v12.2d
, v4.4s
// encoding
: [0x8c,0x68,0xa0,0x6e]
109 // CHECK
: uadalp v17.1d
, v28.2s
// encoding
: [0x91,0x6b,0xa0,0x2e]
111 //------------------------------------------------------------------------------
112 // Signed integer saturating accumulate of unsigned value
113 //------------------------------------------------------------------------------
115 suqadd v0.16
b, v31.16
b
120 suqadd v13.4h
, v21.4h
123 // CHECK
: suqadd v0.16
b, v31.16
b // encoding
: [0xe0,0x3b,0x20,0x4e]
124 // CHECK
: suqadd v2.8h
, v4.8h
// encoding
: [0x82,0x38,0x60,0x4e]
125 // CHECK
: suqadd v6.4s
, v8.4s
// encoding
: [0x06,0x39,0xa0,0x4e]
126 // CHECK
: suqadd v6.2d
, v8.2d
// encoding
: [0x06,0x39,0xe0,0x4e]
127 // CHECK
: suqadd v1.8
b, v9.8
b // encoding
: [0x21,0x39,0x20,0x0e]
128 // CHECK
: suqadd v13.4h
, v21.4h
// encoding
: [0xad,0x3a,0x60,0x0e]
129 // CHECK
: suqadd v4.2s
, v0.2s
// encoding
: [0x04,0x38,0xa0,0x0e]
131 //------------------------------------------------------------------------------
132 // Unsigned integer saturating accumulate of signed value
133 //------------------------------------------------------------------------------
135 usqadd v0.16
b, v31.16
b
140 usqadd v13.4h
, v21.4h
143 // CHECK
: usqadd v0.16
b, v31.16
b // encoding
: [0xe0,0x3b,0x20,0x6e]
144 // CHECK
: usqadd v2.8h
, v4.8h
// encoding
: [0x82,0x38,0x60,0x6e]
145 // CHECK
: usqadd v6.4s
, v8.4s
// encoding
: [0x06,0x39,0xa0,0x6e]
146 // CHECK
: usqadd v6.2d
, v8.2d
// encoding
: [0x06,0x39,0xe0,0x6e]
147 // CHECK
: usqadd v1.8
b, v9.8
b // encoding
: [0x21,0x39,0x20,0x2e]
148 // CHECK
: usqadd v13.4h
, v21.4h
// encoding
: [0xad,0x3a,0x60,0x2e]
149 // CHECK
: usqadd v4.2s
, v0.2s
// encoding
: [0x04,0x38,0xa0,0x2e]
151 //------------------------------------------------------------------------------
152 // Integer saturating absolute
153 //------------------------------------------------------------------------------
155 sqabs v0.16
b, v31.16
b
163 // CHECK
: sqabs v0.16
b, v31.16
b // encoding
: [0xe0,0x7b,0x20,0x4e]
164 // CHECK
: sqabs v2.8h
, v4.8h
// encoding
: [0x82,0x78,0x60,0x4e]
165 // CHECK
: sqabs v6.4s
, v8.4s
// encoding
: [0x06,0x79,0xa0,0x4e]
166 // CHECK
: sqabs v6.2d
, v8.2d
// encoding
: [0x06,0x79,0xe0,0x4e]
167 // CHECK
: sqabs v1.8
b, v9.8
b // encoding
: [0x21,0x79,0x20,0x0e]
168 // CHECK
: sqabs v13.4h
, v21.4h
// encoding
: [0xad,0x7a,0x60,0x0e]
169 // CHECK
: sqabs v4.2s
, v0.2s
// encoding
: [0x04,0x78,0xa0,0x0e]
171 //------------------------------------------------------------------------------
172 // Signed integer saturating negate
173 //------------------------------------------------------------------------------
175 sqneg v0.16
b, v31.16
b
183 // CHECK
: sqneg v0.16
b, v31.16
b // encoding
: [0xe0,0x7b,0x20,0x6e]
184 // CHECK
: sqneg v2.8h
, v4.8h
// encoding
: [0x82,0x78,0x60,0x6e]
185 // CHECK
: sqneg v6.4s
, v8.4s
// encoding
: [0x06,0x79,0xa0,0x6e]
186 // CHECK
: sqneg v6.2d
, v8.2d
// encoding
: [0x06,0x79,0xe0,0x6e]
187 // CHECK
: sqneg v1.8
b, v9.8
b // encoding
: [0x21,0x79,0x20,0x2e]
188 // CHECK
: sqneg v13.4h
, v21.4h
// encoding
: [0xad,0x7a,0x60,0x2e]
189 // CHECK
: sqneg v4.2s
, v0.2s
// encoding
: [0x04,0x78,0xa0,0x2e]
191 //------------------------------------------------------------------------------
193 //------------------------------------------------------------------------------
203 // CHECK
: abs v0.16
b, v31.16
b // encoding
: [0xe0,0xbb,0x20,0x4e]
204 // CHECK
: abs v2.8h
, v4.8h
// encoding
: [0x82,0xb8,0x60,0x4e]
205 // CHECK
: abs v6.4s
, v8.4s
// encoding
: [0x06,0xb9,0xa0,0x4e]
206 // CHECK
: abs v6.2d
, v8.2d
// encoding
: [0x06,0xb9,0xe0,0x4e]
207 // CHECK
: abs v1.8
b, v9.8
b // encoding
: [0x21,0xb9,0x20,0x0e]
208 // CHECK
: abs v13.4h
, v21.4h
// encoding
: [0xad,0xba,0x60,0x0e]
209 // CHECK
: abs v4.2s
, v0.2s
// encoding
: [0x04,0xb8,0xa0,0x0e]
211 //------------------------------------------------------------------------------
213 //------------------------------------------------------------------------------
223 // CHECK
: neg v0.16
b, v31.16
b // encoding
: [0xe0,0xbb,0x20,0x6e]
224 // CHECK
: neg v2.8h
, v4.8h
// encoding
: [0x82,0xb8,0x60,0x6e]
225 // CHECK
: neg v6.4s
, v8.4s
// encoding
: [0x06,0xb9,0xa0,0x6e]
226 // CHECK
: neg v6.2d
, v8.2d
// encoding
: [0x06,0xb9,0xe0,0x6e]
227 // CHECK
: neg v1.8
b, v9.8
b // encoding
: [0x21,0xb9,0x20,0x2e]
228 // CHECK
: neg v13.4h
, v21.4h
// encoding
: [0xad,0xba,0x60,0x2e]
229 // CHECK
: neg v4.2s
, v0.2s
// encoding
: [0x04,0xb8,0xa0,0x2e]
231 //------------------------------------------------------------------------------
232 // Integer count leading sign bits
233 //------------------------------------------------------------------------------
242 // CHECK
: cls v0.16
b, v31.16
b // encoding
: [0xe0,0x4b,0x20,0x4e]
243 // CHECK
: cls v2.8h
, v4.8h
// encoding
: [0x82,0x48,0x60,0x4e]
244 // CHECK
: cls v6.4s
, v8.4s
// encoding
: [0x06,0x49,0xa0,0x4e]
245 // CHECK
: cls v1.8
b, v9.8
b // encoding
: [0x21,0x49,0x20,0x0e]
246 // CHECK
: cls v13.4h
, v21.4h
// encoding
: [0xad,0x4a,0x60,0x0e]
247 // CHECK
: cls v4.2s
, v0.2s
// encoding
: [0x04,0x48,0xa0,0x0e]
249 //------------------------------------------------------------------------------
250 // Integer count leading zeros
251 //------------------------------------------------------------------------------
260 // CHECK
: clz v0.16
b, v31.16
b // encoding
: [0xe0,0x4b,0x20,0x6e]
261 // CHECK
: clz v2.8h
, v4.8h
// encoding
: [0x82,0x48,0x60,0x6e]
262 // CHECK
: clz v6.4s
, v8.4s
// encoding
: [0x06,0x49,0xa0,0x6e]
263 // CHECK
: clz v1.8
b, v9.8
b // encoding
: [0x21,0x49,0x20,0x2e]
264 // CHECK
: clz v13.4h
, v21.4h
// encoding
: [0xad,0x4a,0x60,0x2e]
265 // CHECK
: clz v4.2s
, v0.2s
// encoding
: [0x04,0x48,0xa0,0x2e]
267 //------------------------------------------------------------------------------
269 //------------------------------------------------------------------------------
274 // CHECK
: cnt v0.16
b, v31.16
b // encoding
: [0xe0,0x5b,0x20,0x4e]
275 // CHECK
: cnt v1.8
b, v9.8
b // encoding
: [0x21,0x59,0x20,0x0e]
277 //------------------------------------------------------------------------------
279 //------------------------------------------------------------------------------
284 // CHECK
: {{mvn|
not}} v0.16
b, v31.16
b // encoding
: [0xe0,0x5b,0x20,0x6e]
285 // CHECK
: {{mvn|
not}} v1.8
b, v9.8
b // encoding
: [0x21,0x59,0x20,0x2e]
287 //------------------------------------------------------------------------------
289 //------------------------------------------------------------------------------
294 // CHECK
: rbit v0.16
b, v31.16
b // encoding
: [0xe0,0x5b,0x60,0x6e]
295 // CHECK
: rbit v1.8
b, v9.8
b // encoding
: [0x21,0x59,0x60,0x2e]
297 //------------------------------------------------------------------------------
298 // Floating-point absolute
299 //------------------------------------------------------------------------------
307 // CHECK
: fabs v4.4h
, v0.4h
// encoding
: [0x04,0xf8,0xf8,0x0e]
308 // CHECK
: fabs v6.8h
, v8.8h
// encoding
: [0x06,0xf9,0xf8,0x4e]
309 // CHECK
: fabs v6.4s
, v8.4s
// encoding
: [0x06,0xf9,0xa0,0x4e]
310 // CHECK
: fabs v6.2d
, v8.2d
// encoding
: [0x06,0xf9,0xe0,0x4e]
311 // CHECK
: fabs v4.2s
, v0.2s
// encoding
: [0x04,0xf8,0xa0,0x0e]
313 //------------------------------------------------------------------------------
314 // Floating-point negate
315 //------------------------------------------------------------------------------
323 // CHECK
: fneg v4.4h
, v0.4h
// encoding
: [0x04,0xf8,0xf8,0x2e]
324 // CHECK
: fneg v6.8h
, v8.8h
// encoding
: [0x06,0xf9,0xf8,0x6e]
325 // CHECK
: fneg v6.4s
, v8.4s
// encoding
: [0x06,0xf9,0xa0,0x6e]
326 // CHECK
: fneg v6.2d
, v8.2d
// encoding
: [0x06,0xf9,0xe0,0x6e]
327 // CHECK
: fneg v4.2s
, v0.2s
// encoding
: [0x04,0xf8,0xa0,0x2e]
329 //------------------------------------------------------------------------------
330 // Integer extract
and narrow
331 //------------------------------------------------------------------------------
340 // CHECK
: xtn2 v0.16
b, v31.8h
// encoding
: [0xe0,0x2b,0x21,0x4e]
341 // CHECK
: xtn2 v2.8h
, v4.4s
// encoding
: [0x82,0x28,0x61,0x4e]
342 // CHECK
: xtn2 v6.4s
, v8.2d
// encoding
: [0x06,0x29,0xa1,0x4e]
343 // CHECK
: xtn v1.8
b, v9.8h
// encoding
: [0x21,0x29,0x21,0x0e]
344 // CHECK
: xtn v13.4h
, v21.4s
// encoding
: [0xad,0x2a,0x61,0x0e]
345 // CHECK
: xtn v4.2s
, v0.2d
// encoding
: [0x04,0x28,0xa1,0x0e]
347 //------------------------------------------------------------------------------
348 // Signed integer saturating extract
and unsigned narrow
349 //------------------------------------------------------------------------------
351 sqxtun2 v0.16
b, v31.8h
355 sqxtun v13.4h
, v21.4s
358 // CHECK
: sqxtun2 v0.16
b, v31.8h
// encoding
: [0xe0,0x2b,0x21,0x6e]
359 // CHECK
: sqxtun2 v2.8h
, v4.4s
// encoding
: [0x82,0x28,0x61,0x6e]
360 // CHECK
: sqxtun2 v6.4s
, v8.2d
// encoding
: [0x06,0x29,0xa1,0x6e]
361 // CHECK
: sqxtun v1.8
b, v9.8h
// encoding
: [0x21,0x29,0x21,0x2e]
362 // CHECK
: sqxtun v13.4h
, v21.4s
// encoding
: [0xad,0x2a,0x61,0x2e]
363 // CHECK
: sqxtun v4.2s
, v0.2d
// encoding
: [0x04,0x28,0xa1,0x2e]
365 //------------------------------------------------------------------------------
366 // Signed integer saturating extract
and narrow
367 //------------------------------------------------------------------------------
369 sqxtn2 v0.16
b, v31.8h
376 // CHECK
: sqxtn2 v0.16
b, v31.8h
// encoding
: [0xe0,0x4b,0x21,0x4e]
377 // CHECK
: sqxtn2 v2.8h
, v4.4s
// encoding
: [0x82,0x48,0x61,0x4e]
378 // CHECK
: sqxtn2 v6.4s
, v8.2d
// encoding
: [0x06,0x49,0xa1,0x4e]
379 // CHECK
: sqxtn v1.8
b, v9.8h
// encoding
: [0x21,0x49,0x21,0x0e]
380 // CHECK
: sqxtn v13.4h
, v21.4s
// encoding
: [0xad,0x4a,0x61,0x0e]
381 // CHECK
: sqxtn v4.2s
, v0.2d
// encoding
: [0x04,0x48,0xa1,0x0e]
383 //------------------------------------------------------------------------------
384 // Unsigned integer saturating extract
and narrow
385 //------------------------------------------------------------------------------
387 uqxtn2 v0.16
b, v31.8h
394 // CHECK
: uqxtn2 v0.16
b, v31.8h
// encoding
: [0xe0,0x4b,0x21,0x6e]
395 // CHECK
: uqxtn2 v2.8h
, v4.4s
// encoding
: [0x82,0x48,0x61,0x6e]
396 // CHECK
: uqxtn2 v6.4s
, v8.2d
// encoding
: [0x06,0x49,0xa1,0x6e]
397 // CHECK
: uqxtn v1.8
b, v9.8h
// encoding
: [0x21,0x49,0x21,0x2e]
398 // CHECK
: uqxtn v13.4h
, v21.4s
// encoding
: [0xad,0x4a,0x61,0x2e]
399 // CHECK
: uqxtn v4.2s
, v0.2d
// encoding
: [0x04,0x48,0xa1,0x2e]
401 //------------------------------------------------------------------------------
402 // Integer shift left long
403 //------------------------------------------------------------------------------
405 shll2 v2.8h
, v4.16
b, #8
406 shll2 v6.4s
, v8.8h
, #16
407 shll2 v6.2d
, v8.4s
, #32
408 shll v2.8h
, v4.8
b, #8
409 shll v6.4s
, v8.4h
, #16
410 shll v6.2d
, v8.2s
, #32
412 // CHECK
: shll2 v2.8h
, v4.16
b, #8 // encoding: [0x82,0x38,0x21,0x6e]
413 // CHECK
: shll2 v6.4s
, v8.8h
, #16 // encoding: [0x06,0x39,0x61,0x6e]
414 // CHECK
: shll2 v6.2d
, v8.4s
, #32 // encoding: [0x06,0x39,0xa1,0x6e]
415 // CHECK
: shll v2.8h
, v4.8
b, #8 // encoding: [0x82,0x38,0x21,0x2e]
416 // CHECK
: shll v6.4s
, v8.4h
, #16 // encoding: [0x06,0x39,0x61,0x2e]
417 // CHECK
: shll v6.2d
, v8.2s
, #32 // encoding: [0x06,0x39,0xa1,0x2e]
419 //------------------------------------------------------------------------------
420 // Floating-point convert downsize
421 //------------------------------------------------------------------------------
428 // CHECK
: fcvtn2 v2.8h
, v4.4s
// encoding
: [0x82,0x68,0x21,0x4e]
429 // CHECK
: fcvtn2 v6.4s
, v8.2d
// encoding
: [0x06,0x69,0x61,0x4e]
430 // CHECK
: fcvtn v13.4h
, v21.4s
// encoding
: [0xad,0x6a,0x21,0x0e]
431 // CHECK
: fcvtn v4.2s
, v0.2d
// encoding
: [0x04,0x68,0x61,0x0e]
433 //------------------------------------------------------------------------------
434 // Floating-point convert downsize with inexact
435 //------------------------------------------------------------------------------
440 // CHECK
: fcvtxn2 v6.4s
, v8.2d
// encoding
: [0x06,0x69,0x61,0x6e]
441 // CHECK
: fcvtxn v4.2s
, v0.2d
// encoding
: [0x04,0x68,0x61,0x2e]
443 //------------------------------------------------------------------------------
444 // Floating-point convert upsize
445 //------------------------------------------------------------------------------
450 fcvtl2 v17.2d
, v28.4s
452 // CHECK
: fcvtl v9.4s
, v1.4h
// encoding
: [0x29,0x78,0x21,0x0e]
453 // CHECK
: fcvtl v0.2d
, v1.2s
// encoding
: [0x20,0x78,0x61,0x0e]
454 // CHECK
: fcvtl2 v12.4s
, v4.8h
// encoding
: [0x8c,0x78,0x21,0x4e]
455 // CHECK
: fcvtl2 v17.2d
, v28.4s
// encoding
: [0x91,0x7b,0x61,0x4e]
457 //------------------------------------------------------------------------------
458 // Floating-point round to integral
459 //------------------------------------------------------------------------------
467 // CHECK
: frintn v4.4h
, v0.4h
// encoding
: [0x04,0x88,0x79,0x0e]
468 // CHECK
: frintn v6.8h
, v8.8h
// encoding
: [0x06,0x89,0x79,0x4e]
469 // CHECK
: frintn v6.4s
, v8.4s
// encoding
: [0x06,0x89,0x21,0x4e]
470 // CHECK
: frintn v6.2d
, v8.2d
// encoding
: [0x06,0x89,0x61,0x4e]
471 // CHECK
: frintn v4.2s
, v0.2s
// encoding
: [0x04,0x88,0x21,0x0e]
479 // CHECK
: frinta v4.4h
, v0.4h
// encoding
: [0x04,0x88,0x79,0x2e]
480 // CHECK
: frinta v6.8h
, v8.8h
// encoding
: [0x06,0x89,0x79,0x6e]
481 // CHECK
: frinta v6.4s
, v8.4s
// encoding
: [0x06,0x89,0x21,0x6e]
482 // CHECK
: frinta v6.2d
, v8.2d
// encoding
: [0x06,0x89,0x61,0x6e]
483 // CHECK
: frinta v4.2s
, v0.2s
// encoding
: [0x04,0x88,0x21,0x2e]
491 // CHECK
: frintp v4.4h
, v0.4h
// encoding
: [0x04,0x88,0xf9,0x0e]
492 // CHECK
: frintp v6.8h
, v8.8h
// encoding
: [0x06,0x89,0xf9,0x4e]
493 // CHECK
: frintp v6.4s
, v8.4s
// encoding
: [0x06,0x89,0xa1,0x4e]
494 // CHECK
: frintp v6.2d
, v8.2d
// encoding
: [0x06,0x89,0xe1,0x4e]
495 // CHECK
: frintp v4.2s
, v0.2s
// encoding
: [0x04,0x88,0xa1,0x0e]
503 // CHECK
: frintm v4.4h
, v0.4h
// encoding
: [0x04,0x98,0x79,0x0e]
504 // CHECK
: frintm v6.8h
, v8.8h
// encoding
: [0x06,0x99,0x79,0x4e]
505 // CHECK
: frintm v6.4s
, v8.4s
// encoding
: [0x06,0x99,0x21,0x4e]
506 // CHECK
: frintm v6.2d
, v8.2d
// encoding
: [0x06,0x99,0x61,0x4e]
507 // CHECK
: frintm v4.2s
, v0.2s
// encoding
: [0x04,0x98,0x21,0x0e]
515 // CHECK
: frintx v4.4h
, v0.4h
// encoding
: [0x04,0x98,0x79,0x2e]
516 // CHECK
: frintx v6.8h
, v8.8h
// encoding
: [0x06,0x99,0x79,0x6e]
517 // CHECK
: frintx v6.4s
, v8.4s
// encoding
: [0x06,0x99,0x21,0x6e]
518 // CHECK
: frintx v6.2d
, v8.2d
// encoding
: [0x06,0x99,0x61,0x6e]
519 // CHECK
: frintx v4.2s
, v0.2s
// encoding
: [0x04,0x98,0x21,0x2e]
527 // CHECK
: frintz v4.4h
, v0.4h
// encoding
: [0x04,0x98,0xf9,0x0e]
528 // CHECK
: frintz v6.8h
, v8.8h
// encoding
: [0x06,0x99,0xf9,0x4e]
529 // CHECK
: frintz v6.4s
, v8.4s
// encoding
: [0x06,0x99,0xa1,0x4e]
530 // CHECK
: frintz v6.2d
, v8.2d
// encoding
: [0x06,0x99,0xe1,0x4e]
531 // CHECK
: frintz v4.2s
, v0.2s
// encoding
: [0x04,0x98,0xa1,0x0e]
539 // CHECK
: frinti v4.4h
, v0.4h
// encoding
: [0x04,0x98,0xf9,0x2e]
540 // CHECK
: frinti v6.8h
, v8.8h
// encoding
: [0x06,0x99,0xf9,0x6e]
541 // CHECK
: frinti v6.4s
, v8.4s
// encoding
: [0x06,0x99,0xa1,0x6e]
542 // CHECK
: frinti v6.2d
, v8.2d
// encoding
: [0x06,0x99,0xe1,0x6e]
543 // CHECK
: frinti v4.2s
, v0.2s
// encoding
: [0x04,0x98,0xa1,0x2e]
545 //------------------------------------------------------------------------------
546 // Floating-point convert to integer
547 //------------------------------------------------------------------------------
555 // CHECK
: fcvtns v4.4h
, v0.4h
// encoding
: [0x04,0xa8,0x79,0x0e]
556 // CHECK
: fcvtns v6.8h
, v8.8h
// encoding
: [0x06,0xa9,0x79,0x4e]
557 // CHECK
: fcvtns v6.4s
, v8.4s
// encoding
: [0x06,0xa9,0x21,0x4e]
558 // CHECK
: fcvtns v6.2d
, v8.2d
// encoding
: [0x06,0xa9,0x61,0x4e]
559 // CHECK
: fcvtns v4.2s
, v0.2s
// encoding
: [0x04,0xa8,0x21,0x0e]
567 // CHECK
: fcvtnu v4.4h
, v0.4h
// encoding
: [0x04,0xa8,0x79,0x2e]
568 // CHECK
: fcvtnu v6.8h
, v8.8h
// encoding
: [0x06,0xa9,0x79,0x6e]
569 // CHECK
: fcvtnu v6.4s
, v8.4s
// encoding
: [0x06,0xa9,0x21,0x6e]
570 // CHECK
: fcvtnu v6.2d
, v8.2d
// encoding
: [0x06,0xa9,0x61,0x6e]
571 // CHECK
: fcvtnu v4.2s
, v0.2s
// encoding
: [0x04,0xa8,0x21,0x2e]
579 // CHECK
: fcvtps v4.4h
, v0.4h
// encoding
: [0x04,0xa8,0xf9,0x0e]
580 // CHECK
: fcvtps v6.8h
, v8.8h
// encoding
: [0x06,0xa9,0xf9,0x4e]
581 // CHECK
: fcvtps v6.4s
, v8.4s
// encoding
: [0x06,0xa9,0xa1,0x4e]
582 // CHECK
: fcvtps v6.2d
, v8.2d
// encoding
: [0x06,0xa9,0xe1,0x4e]
583 // CHECK
: fcvtps v4.2s
, v0.2s
// encoding
: [0x04,0xa8,0xa1,0x0e]
591 // CHECK
: fcvtpu v4.4h
, v0.4h
// encoding
: [0x04,0xa8,0xf9,0x2e]
592 // CHECK
: fcvtpu v6.8h
, v8.8h
// encoding
: [0x06,0xa9,0xf9,0x6e]
593 // CHECK
: fcvtpu v6.4s
, v8.4s
// encoding
: [0x06,0xa9,0xa1,0x6e]
594 // CHECK
: fcvtpu v6.2d
, v8.2d
// encoding
: [0x06,0xa9,0xe1,0x6e]
595 // CHECK
: fcvtpu v4.2s
, v0.2s
// encoding
: [0x04,0xa8,0xa1,0x2e]
603 // CHECK
: fcvtms v4.4h
, v0.4h
// encoding
: [0x04,0xb8,0x79,0x0e]
604 // CHECK
: fcvtms v6.8h
, v8.8h
// encoding
: [0x06,0xb9,0x79,0x4e]
605 // CHECK
: fcvtms v6.4s
, v8.4s
// encoding
: [0x06,0xb9,0x21,0x4e]
606 // CHECK
: fcvtms v6.2d
, v8.2d
// encoding
: [0x06,0xb9,0x61,0x4e]
607 // CHECK
: fcvtms v4.2s
, v0.2s
// encoding
: [0x04,0xb8,0x21,0x0e]
615 // CHECK
: fcvtmu v4.4h
, v0.4h
// encoding
: [0x04,0xb8,0x79,0x2e]
616 // CHECK
: fcvtmu v6.8h
, v8.8h
// encoding
: [0x06,0xb9,0x79,0x6e]
617 // CHECK
: fcvtmu v6.4s
, v8.4s
// encoding
: [0x06,0xb9,0x21,0x6e]
618 // CHECK
: fcvtmu v6.2d
, v8.2d
// encoding
: [0x06,0xb9,0x61,0x6e]
619 // CHECK
: fcvtmu v4.2s
, v0.2s
// encoding
: [0x04,0xb8,0x21,0x2e]
627 // CHECK
: fcvtzs v4.4h
, v0.4h
// encoding
: [0x04,0xb8,0xf9,0x0e]
628 // CHECK
: fcvtzs v6.8h
, v8.8h
// encoding
: [0x06,0xb9,0xf9,0x4e]
629 // CHECK
: fcvtzs v6.4s
, v8.4s
// encoding
: [0x06,0xb9,0xa1,0x4e]
630 // CHECK
: fcvtzs v6.2d
, v8.2d
// encoding
: [0x06,0xb9,0xe1,0x4e]
631 // CHECK
: fcvtzs v4.2s
, v0.2s
// encoding
: [0x04,0xb8,0xa1,0x0e]
640 // CHECK
: fcvtzu v4.4h
, v0.4h
// encoding
: [0x04,0xb8,0xf9,0x2e]
641 // CHECK
: fcvtzu v6.8h
, v8.8h
// encoding
: [0x06,0xb9,0xf9,0x6e]
642 // CHECK
: fcvtzu v6.4s
, v8.4s
// encoding
: [0x06,0xb9,0xa1,0x6e]
643 // CHECK
: fcvtzu v6.2d
, v8.2d
// encoding
: [0x06,0xb9,0xe1,0x6e]
644 // CHECK
: fcvtzu v4.2s
, v0.2s
// encoding
: [0x04,0xb8,0xa1,0x2e]
652 // CHECK
: fcvtas v4.4h
, v0.4h
// encoding
: [0x04,0xc8,0x79,0x0e]
653 // CHECK
: fcvtas v6.8h
, v8.8h
// encoding
: [0x06,0xc9,0x79,0x4e]
654 // CHECK
: fcvtas v6.4s
, v8.4s
// encoding
: [0x06,0xc9,0x21,0x4e]
655 // CHECK
: fcvtas v6.2d
, v8.2d
// encoding
: [0x06,0xc9,0x61,0x4e]
656 // CHECK
: fcvtas v4.2s
, v0.2s
// encoding
: [0x04,0xc8,0x21,0x0e]
664 // CHECK
: fcvtau v4.4h
, v0.4h
// encoding
: [0x04,0xc8,0x79,0x2e]
665 // CHECK
: fcvtau v6.8h
, v8.8h
// encoding
: [0x06,0xc9,0x79,0x6e]
666 // CHECK
: fcvtau v6.4s
, v8.4s
// encoding
: [0x06,0xc9,0x21,0x6e]
667 // CHECK
: fcvtau v6.2d
, v8.2d
// encoding
: [0x06,0xc9,0x61,0x6e]
668 // CHECK
: fcvtau v4.2s
, v0.2s
// encoding
: [0x04,0xc8,0x21,0x2e]
673 // CHECK
: urecpe v6.4s
, v8.4s
// encoding
: [0x06,0xc9,0xa1,0x4e]
674 // CHECK
: urecpe v4.2s
, v0.2s
// encoding
: [0x04,0xc8,0xa1,0x0e]
679 // CHECK
: ursqrte v6.4s
, v8.4s
// encoding
: [0x06,0xc9,0xa1,0x6e]
680 // CHECK
: ursqrte v4.2s
, v0.2s
// encoding
: [0x04,0xc8,0xa1,0x2e]
688 // CHECK
: scvtf v4.4h
, v0.4h
// encoding
: [0x04,0xd8,0x79,0x0e]
689 // CHECK
: scvtf v6.8h
, v8.8h
// encoding
: [0x06,0xd9,0x79,0x4e]
690 // CHECK
: scvtf v6.4s
, v8.4s
// encoding
: [0x06,0xd9,0x21,0x4e]
691 // CHECK
: scvtf v6.2d
, v8.2d
// encoding
: [0x06,0xd9,0x61,0x4e]
692 // CHECK
: scvtf v4.2s
, v0.2s
// encoding
: [0x04,0xd8,0x21,0x0e]
700 // CHECK
: ucvtf v4.4h
, v0.4h
// encoding
: [0x04,0xd8,0x79,0x2e]
701 // CHECK
: ucvtf v6.8h
, v8.8h
// encoding
: [0x06,0xd9,0x79,0x6e]
702 // CHECK
: ucvtf v6.4s
, v8.4s
// encoding
: [0x06,0xd9,0x21,0x6e]
703 // CHECK
: ucvtf v6.2d
, v8.2d
// encoding
: [0x06,0xd9,0x61,0x6e]
704 // CHECK
: ucvtf v4.2s
, v0.2s
// encoding
: [0x04,0xd8,0x21,0x2e]
712 // CHECK
: frecpe v4.4h
, v0.4h
// encoding
: [0x04,0xd8,0xf9,0x0e]
713 // CHECK
: frecpe v6.8h
, v8.8h
// encoding
: [0x06,0xd9,0xf9,0x4e]
714 // CHECK
: frecpe v6.4s
, v8.4s
// encoding
: [0x06,0xd9,0xa1,0x4e]
715 // CHECK
: frecpe v6.2d
, v8.2d
// encoding
: [0x06,0xd9,0xe1,0x4e]
716 // CHECK
: frecpe v4.2s
, v0.2s
// encoding
: [0x04,0xd8,0xa1,0x0e]
724 // CHECK
: frsqrte v4.4h
, v0.4h
// encoding
: [0x04,0xd8,0xf9,0x2e]
725 // CHECK
: frsqrte v6.8h
, v8.8h
// encoding
: [0x06,0xd9,0xf9,0x6e]
726 // CHECK
: frsqrte v6.4s
, v8.4s
// encoding
: [0x06,0xd9,0xa1,0x6e]
727 // CHECK
: frsqrte v6.2d
, v8.2d
// encoding
: [0x06,0xd9,0xe1,0x6e]
728 // CHECK
: frsqrte v4.2s
, v0.2s
// encoding
: [0x04,0xd8,0xa1,0x2e]
736 // CHECK
: fsqrt v4.4h
, v0.4h
// encoding
: [0x04,0xf8,0xf9,0x2e]
737 // CHECK
: fsqrt v6.8h
, v8.8h
// encoding
: [0x06,0xf9,0xf9,0x6e]
738 // CHECK
: fsqrt v6.4s
, v8.4s
// encoding
: [0x06,0xf9,0xa1,0x6e]
739 // CHECK
: fsqrt v6.2d
, v8.2d
// encoding
: [0x06,0xf9,0xe1,0x6e]
740 // CHECK
: fsqrt v4.2s
, v0.2s
// encoding
: [0x04,0xf8,0xa1,0x2e]