1 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sme2p1
< %s \
2 // RUN
: | FileCheck
%s
--check-prefixes
=CHECK-ENCODING
,CHECK-INST
3 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sve2p1
< %s \
4 // RUN
: | FileCheck
%s
--check-prefixes
=CHECK-ENCODING
,CHECK-INST
5 // RUN
: not llvm-mc
-triple
=aarch64
-show-encoding
< %s
2>&1 \
6 // RUN
: | FileCheck
%s
--check-prefix
=CHECK-ERROR
7 // RUN
: llvm-mc
-triple
=aarch64
-filetype
=obj
-mattr
=+sme2p1
< %s \
8 // RUN
: | llvm-objdump
-d
--no-print-imm-hex
--mattr
=+sme2p1
- | FileCheck
%s
--check-prefix
=CHECK-INST
9 // RUN
: llvm-mc
-triple
=aarch64
-filetype
=obj
-mattr
=+sme2p1
< %s \
10 // RUN
: | llvm-objdump
-d
--mattr
=-sme2p1
,-sve2p1
- | FileCheck
%s
--check-prefix
=CHECK-UNKNOWN
11 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sme2p1
< %s \
12 // RUN
: | sed
'/.text/d' | sed
's/.*encoding: //g' \
13 // RUN
: | llvm-mc
-triple
=aarch64
-mattr
=+sme2p1
-disassemble
-show-encoding \
14 // RUN
: | FileCheck
%s
--check-prefixes
=CHECK-ENCODING
,CHECK-INST
17 uzpq2 z0.h
, z0.h
, z0.h
// 01000100-01000000-11101100-00000000
18 // CHECK-INST
: uzpq2 z0.h
, z0.h
, z0.h
19 // CHECK-ENCODING
: [0x00,0xec,0x40,0x44]
20 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
21 // CHECK-UNKNOWN
: 4440ec00
<unknown
>
23 uzpq2 z21.h
, z10.h
, z21.h
// 01000100-01010101-11101101-01010101
24 // CHECK-INST
: uzpq2 z21.h
, z10.h
, z21.h
25 // CHECK-ENCODING
: [0x55,0xed,0x55,0x44]
26 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
27 // CHECK-UNKNOWN
: 4455ed55
<unknown
>
29 uzpq2 z23.h
, z13.h
, z8.h
// 01000100-01001000-11101101-10110111
30 // CHECK-INST
: uzpq2 z23.h
, z13.h
, z8.h
31 // CHECK-ENCODING
: [0xb7,0xed,0x48,0x44]
32 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
33 // CHECK-UNKNOWN
: 4448edb7
<unknown
>
35 uzpq2 z31.h
, z31.h
, z31.h
// 01000100-01011111-11101111-11111111
36 // CHECK-INST
: uzpq2 z31.h
, z31.h
, z31.h
37 // CHECK-ENCODING
: [0xff,0xef,0x5f,0x44]
38 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
39 // CHECK-UNKNOWN
: 445fefff
<unknown
>
42 uzpq2 z0.s
, z0.s
, z0.s
// 01000100-10000000-11101100-00000000
43 // CHECK-INST
: uzpq2 z0.s
, z0.s
, z0.s
44 // CHECK-ENCODING
: [0x00,0xec,0x80,0x44]
45 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
46 // CHECK-UNKNOWN
: 4480ec00
<unknown
>
48 uzpq2 z21.s
, z10.s
, z21.s
// 01000100-10010101-11101101-01010101
49 // CHECK-INST
: uzpq2 z21.s
, z10.s
, z21.s
50 // CHECK-ENCODING
: [0x55,0xed,0x95,0x44]
51 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
52 // CHECK-UNKNOWN
: 4495ed55
<unknown
>
54 uzpq2 z23.s
, z13.s
, z8.s
// 01000100-10001000-11101101-10110111
55 // CHECK-INST
: uzpq2 z23.s
, z13.s
, z8.s
56 // CHECK-ENCODING
: [0xb7,0xed,0x88,0x44]
57 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
58 // CHECK-UNKNOWN
: 4488edb7
<unknown
>
60 uzpq2 z31.s
, z31.s
, z31.s
// 01000100-10011111-11101111-11111111
61 // CHECK-INST
: uzpq2 z31.s
, z31.s
, z31.s
62 // CHECK-ENCODING
: [0xff,0xef,0x9f,0x44]
63 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
64 // CHECK-UNKNOWN
: 449fefff
<unknown
>
67 uzpq2 z0.d
, z0.d
, z0.d
// 01000100-11000000-11101100-00000000
68 // CHECK-INST
: uzpq2 z0.d
, z0.d
, z0.d
69 // CHECK-ENCODING
: [0x00,0xec,0xc0,0x44]
70 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
71 // CHECK-UNKNOWN
: 44c0ec00
<unknown
>
73 uzpq2 z21.d
, z10.d
, z21.d
// 01000100-11010101-11101101-01010101
74 // CHECK-INST
: uzpq2 z21.d
, z10.d
, z21.d
75 // CHECK-ENCODING
: [0x55,0xed,0xd5,0x44]
76 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
77 // CHECK-UNKNOWN
: 44d5ed55
<unknown
>
79 uzpq2 z23.d
, z13.d
, z8.d
// 01000100-11001000-11101101-10110111
80 // CHECK-INST
: uzpq2 z23.d
, z13.d
, z8.d
81 // CHECK-ENCODING
: [0xb7,0xed,0xc8,0x44]
82 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
83 // CHECK-UNKNOWN
: 44c8edb7
<unknown
>
85 uzpq2 z31.d
, z31.d
, z31.d
// 01000100-11011111-11101111-11111111
86 // CHECK-INST
: uzpq2 z31.d
, z31.d
, z31.d
87 // CHECK-ENCODING
: [0xff,0xef,0xdf,0x44]
88 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
89 // CHECK-UNKNOWN
: 44dfefff
<unknown
>
92 uzpq2 z0.
b, z0.
b, z0.
b // 01000100-00000000-11101100-00000000
93 // CHECK-INST
: uzpq2 z0.
b, z0.
b, z0.
b
94 // CHECK-ENCODING
: [0x00,0xec,0x00,0x44]
95 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
96 // CHECK-UNKNOWN
: 4400ec00
<unknown
>
98 uzpq2 z21.
b, z10.
b, z21.
b // 01000100-00010101-11101101-01010101
99 // CHECK-INST
: uzpq2 z21.
b, z10.
b, z21.
b
100 // CHECK-ENCODING
: [0x55,0xed,0x15,0x44]
101 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
102 // CHECK-UNKNOWN
: 4415ed55
<unknown
>
104 uzpq2 z23.
b, z13.
b, z8.
b // 01000100-00001000-11101101-10110111
105 // CHECK-INST
: uzpq2 z23.
b, z13.
b, z8.
b
106 // CHECK-ENCODING
: [0xb7,0xed,0x08,0x44]
107 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
108 // CHECK-UNKNOWN
: 4408edb7
<unknown
>
110 uzpq2 z31.
b, z31.
b, z31.
b // 01000100-00011111-11101111-11111111
111 // CHECK-INST
: uzpq2 z31.
b, z31.
b, z31.
b
112 // CHECK-ENCODING
: [0xff,0xef,0x1f,0x44]
113 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
114 // CHECK-UNKNOWN
: 441fefff
<unknown
>