1 // RUN
: llvm-mc
-triple aarch64-none-linux-gnu
-mattr
=+neon
-show-encoding
< %s | FileCheck
%s
3 // Check that the assembler can handle the documented syntax for AArch64
5 //----------------------------------------------------------------------
6 // Scalar Signed Saturating Extract Unsigned Narrow
7 //----------------------------------------------------------------------
13 // CHECK
: sqxtun b19
, h14
// encoding
: [0xd3,0x29,0x21,0x7e]
14 // CHECK
: sqxtun h21
, s15
// encoding
: [0xf5,0x29,0x61,0x7e]
15 // CHECK
: sqxtun s20
, d12
// encoding
: [0x94,0x29,0xa1,0x7e]
17 //----------------------------------------------------------------------
18 // Scalar Signed Saturating Extract Signed Narrow
19 //----------------------------------------------------------------------
25 // CHECK
: sqxtn b18
, h18
// encoding
: [0x52,0x4a,0x21,0x5e]
26 // CHECK
: sqxtn h20
, s17
// encoding
: [0x34,0x4a,0x61,0x5e]
27 // CHECK
: sqxtn s19
, d14
// encoding
: [0xd3,0x49,0xa1,0x5e]
30 //----------------------------------------------------------------------
31 // Scalar Unsigned Saturating Extract Narrow
32 //----------------------------------------------------------------------
38 // CHECK
: uqxtn b18
, h18
// encoding
: [0x52,0x4a,0x21,0x7e]
39 // CHECK
: uqxtn h20
, s17
// encoding
: [0x34,0x4a,0x61,0x7e]
40 // CHECK
: uqxtn s19
, d14
// encoding
: [0xd3,0x49,0xa1,0x7e]