1 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sme2
< %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
=+sme2
< %s \
8 // RUN
: | llvm-objdump
-d
--mattr
=+sme2
- | FileCheck
%s
--check-prefix
=CHECK-INST
9 // RUN
: llvm-mc
-triple
=aarch64
-filetype
=obj
-mattr
=+sme2
< %s \
10 // RUN
: | llvm-objdump
-d
--mattr
=-sme2
,-sve2p1
- | FileCheck
%s
--check-prefix
=CHECK-UNKNOWN
11 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sme2
< %s \
12 // RUN
: | sed
'/.text/d' | sed
's/.*encoding: //g' \
13 // RUN
: | llvm-mc
-triple
=aarch64
-mattr
=+sme2
-disassemble
-show-encoding \
14 // RUN
: | FileCheck
%s
--check-prefixes
=CHECK-ENCODING
,CHECK-INST
16 whilels pn8.h
, x0
, x0
, vlx2
// 00100101-01100000-01001100-00011000
17 // CHECK-INST
: whilels pn8.h
, x0
, x0
, vlx2
18 // CHECK-ENCODING
: [0x18,0x4c,0x60,0x25]
19 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
20 // CHECK-UNKNOWN
: 25604c18
<unknown
>
22 whilels pn13.h
, x10
, x21
, vlx2
// 00100101-01110101-01001101-01011101
23 // CHECK-INST
: whilels pn13.h
, x10
, x21
, vlx2
24 // CHECK-ENCODING
: [0x5d,0x4d,0x75,0x25]
25 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
26 // CHECK-UNKNOWN
: 25754d5d
<unknown
>
28 whilels pn15.h
, x13
, x8
, vlx4
// 00100101-01101000-01101101-10111111
29 // CHECK-INST
: whilels pn15.h
, x13
, x8
, vlx4
30 // CHECK-ENCODING
: [0xbf,0x6d,0x68,0x25]
31 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
32 // CHECK-UNKNOWN
: 25686dbf
<unknown
>
34 whilels pn15.h
, xzr
, xzr
, vlx4
// 00100101-01111111-01101111-11111111
35 // CHECK-INST
: whilels pn15.h
, xzr
, xzr
, vlx4
36 // CHECK-ENCODING
: [0xff,0x6f,0x7f,0x25]
37 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
38 // CHECK-UNKNOWN
: 257f6fff
<unknown
>
40 whilels
{p0.h
, p1.h
}, x0
, x0
// 00100101-01100000-01011100-00010001
41 // CHECK-INST
: whilels
{ p0.h
, p1.h
}, x0
, x0
42 // CHECK-ENCODING
: [0x11,0x5c,0x60,0x25]
43 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
44 // CHECK-UNKNOWN
: 25605c11
<unknown
>
46 whilels
{p4.h
, p5.h
}, x10
, x21
// 00100101-01110101-01011101-01010101
47 // CHECK-INST
: whilels
{ p4.h
, p5.h
}, x10
, x21
48 // CHECK-ENCODING
: [0x55,0x5d,0x75,0x25]
49 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
50 // CHECK-UNKNOWN
: 25755d55
<unknown
>
52 whilels
{p6.h
, p7.h
}, x13
, x8
// 00100101-01101000-01011101-10110111
53 // CHECK-INST
: whilels
{ p6.h
, p7.h
}, x13
, x8
54 // CHECK-ENCODING
: [0xb7,0x5d,0x68,0x25]
55 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
56 // CHECK-UNKNOWN
: 25685db7
<unknown
>
58 whilels
{p14.h
, p15.h
}, xzr
, xzr
// 00100101-01111111-01011111-11111111
59 // CHECK-INST
: whilels
{ p14.h
, p15.h
}, xzr
, xzr
60 // CHECK-ENCODING
: [0xff,0x5f,0x7f,0x25]
61 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
62 // CHECK-UNKNOWN
: 257f5fff
<unknown
>
64 whilels pn8.s
, x0
, x0
, vlx2
// 00100101-10100000-01001100-00011000
65 // CHECK-INST
: whilels pn8.s
, x0
, x0
, vlx2
66 // CHECK-ENCODING
: [0x18,0x4c,0xa0,0x25]
67 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
68 // CHECK-UNKNOWN
: 25a04c18
<unknown
>
70 whilels pn13.s
, x10
, x21
, vlx2
// 00100101-10110101-01001101-01011101
71 // CHECK-INST
: whilels pn13.s
, x10
, x21
, vlx2
72 // CHECK-ENCODING
: [0x5d,0x4d,0xb5,0x25]
73 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
74 // CHECK-UNKNOWN
: 25b54d5d
<unknown
>
76 whilels pn15.s
, x13
, x8
, vlx4
// 00100101-10101000-01101101-10111111
77 // CHECK-INST
: whilels pn15.s
, x13
, x8
, vlx4
78 // CHECK-ENCODING
: [0xbf,0x6d,0xa8,0x25]
79 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
80 // CHECK-UNKNOWN
: 25a86dbf
<unknown
>
82 whilels pn15.s
, xzr
, xzr
, vlx4
// 00100101-10111111-01101111-11111111
83 // CHECK-INST
: whilels pn15.s
, xzr
, xzr
, vlx4
84 // CHECK-ENCODING
: [0xff,0x6f,0xbf,0x25]
85 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
86 // CHECK-UNKNOWN
: 25bf6fff
<unknown
>
88 whilels
{p0.s
, p1.s
}, x0
, x0
// 00100101-10100000-01011100-00010001
89 // CHECK-INST
: whilels
{ p0.s
, p1.s
}, x0
, x0
90 // CHECK-ENCODING
: [0x11,0x5c,0xa0,0x25]
91 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
92 // CHECK-UNKNOWN
: 25a05c11
<unknown
>
94 whilels
{p4.s
, p5.s
}, x10
, x21
// 00100101-10110101-01011101-01010101
95 // CHECK-INST
: whilels
{ p4.s
, p5.s
}, x10
, x21
96 // CHECK-ENCODING
: [0x55,0x5d,0xb5,0x25]
97 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
98 // CHECK-UNKNOWN
: 25b55d55
<unknown
>
100 whilels
{p6.s
, p7.s
}, x13
, x8
// 00100101-10101000-01011101-10110111
101 // CHECK-INST
: whilels
{ p6.s
, p7.s
}, x13
, x8
102 // CHECK-ENCODING
: [0xb7,0x5d,0xa8,0x25]
103 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
104 // CHECK-UNKNOWN
: 25a85db7
<unknown
>
106 whilels
{p14.s
, p15.s
}, xzr
, xzr
// 00100101-10111111-01011111-11111111
107 // CHECK-INST
: whilels
{ p14.s
, p15.s
}, xzr
, xzr
108 // CHECK-ENCODING
: [0xff,0x5f,0xbf,0x25]
109 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
110 // CHECK-UNKNOWN
: 25bf5fff
<unknown
>
112 whilels pn8.d
, x0
, x0
, vlx2
// 00100101-11100000-01001100-00011000
113 // CHECK-INST
: whilels pn8.d
, x0
, x0
, vlx2
114 // CHECK-ENCODING
: [0x18,0x4c,0xe0,0x25]
115 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
116 // CHECK-UNKNOWN
: 25e04c18
<unknown
>
118 whilels pn13.d
, x10
, x21
, vlx2
// 00100101-11110101-01001101-01011101
119 // CHECK-INST
: whilels pn13.d
, x10
, x21
, vlx2
120 // CHECK-ENCODING
: [0x5d,0x4d,0xf5,0x25]
121 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
122 // CHECK-UNKNOWN
: 25f54d5d
<unknown
>
124 whilels pn15.d
, x13
, x8
, vlx4
// 00100101-11101000-01101101-10111111
125 // CHECK-INST
: whilels pn15.d
, x13
, x8
, vlx4
126 // CHECK-ENCODING
: [0xbf,0x6d,0xe8,0x25]
127 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
128 // CHECK-UNKNOWN
: 25e86dbf
<unknown
>
130 whilels pn15.d
, xzr
, xzr
, vlx4
// 00100101-11111111-01101111-11111111
131 // CHECK-INST
: whilels pn15.d
, xzr
, xzr
, vlx4
132 // CHECK-ENCODING
: [0xff,0x6f,0xff,0x25]
133 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
134 // CHECK-UNKNOWN
: 25ff6fff
<unknown
>
136 whilels
{p0.d
, p1.d
}, x0
, x0
// 00100101-11100000-01011100-00010001
137 // CHECK-INST
: whilels
{ p0.d
, p1.d
}, x0
, x0
138 // CHECK-ENCODING
: [0x11,0x5c,0xe0,0x25]
139 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
140 // CHECK-UNKNOWN
: 25e05c11
<unknown
>
142 whilels
{p4.d
, p5.d
}, x10
, x21
// 00100101-11110101-01011101-01010101
143 // CHECK-INST
: whilels
{ p4.d
, p5.d
}, x10
, x21
144 // CHECK-ENCODING
: [0x55,0x5d,0xf5,0x25]
145 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
146 // CHECK-UNKNOWN
: 25f55d55
<unknown
>
148 whilels
{p6.d
, p7.d
}, x13
, x8
// 00100101-11101000-01011101-10110111
149 // CHECK-INST
: whilels
{ p6.d
, p7.d
}, x13
, x8
150 // CHECK-ENCODING
: [0xb7,0x5d,0xe8,0x25]
151 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
152 // CHECK-UNKNOWN
: 25e85db7
<unknown
>
154 whilels
{p14.d
, p15.d
}, xzr
, xzr
// 00100101-11111111-01011111-11111111
155 // CHECK-INST
: whilels
{ p14.d
, p15.d
}, xzr
, xzr
156 // CHECK-ENCODING
: [0xff,0x5f,0xff,0x25]
157 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
158 // CHECK-UNKNOWN
: 25ff5fff
<unknown
>
160 whilels pn8.
b, x0
, x0
, vlx2
// 00100101-00100000-01001100-00011000
161 // CHECK-INST
: whilels pn8.
b, x0
, x0
, vlx2
162 // CHECK-ENCODING
: [0x18,0x4c,0x20,0x25]
163 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
164 // CHECK-UNKNOWN
: 25204c18
<unknown
>
166 whilels pn13.
b, x10
, x21
, vlx2
// 00100101-00110101-01001101-01011101
167 // CHECK-INST
: whilels pn13.
b, x10
, x21
, vlx2
168 // CHECK-ENCODING
: [0x5d,0x4d,0x35,0x25]
169 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
170 // CHECK-UNKNOWN
: 25354d5d
<unknown
>
172 whilels pn15.
b, x13
, x8
, vlx4
// 00100101-00101000-01101101-10111111
173 // CHECK-INST
: whilels pn15.
b, x13
, x8
, vlx4
174 // CHECK-ENCODING
: [0xbf,0x6d,0x28,0x25]
175 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
176 // CHECK-UNKNOWN
: 25286dbf
<unknown
>
178 whilels pn15.
b, xzr
, xzr
, vlx4
// 00100101-00111111-01101111-11111111
179 // CHECK-INST
: whilels pn15.
b, xzr
, xzr
, vlx4
180 // CHECK-ENCODING
: [0xff,0x6f,0x3f,0x25]
181 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
182 // CHECK-UNKNOWN
: 253f6fff
<unknown
>
184 whilels
{p0.
b, p1.
b}, x0
, x0
// 00100101-00100000-01011100-00010001
185 // CHECK-INST
: whilels
{ p0.
b, p1.
b }, x0
, x0
186 // CHECK-ENCODING
: [0x11,0x5c,0x20,0x25]
187 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
188 // CHECK-UNKNOWN
: 25205c11
<unknown
>
190 whilels
{p4.
b, p5.
b}, x10
, x21
// 00100101-00110101-01011101-01010101
191 // CHECK-INST
: whilels
{ p4.
b, p5.
b }, x10
, x21
192 // CHECK-ENCODING
: [0x55,0x5d,0x35,0x25]
193 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
194 // CHECK-UNKNOWN
: 25355d55
<unknown
>
196 whilels
{p6.
b, p7.
b}, x13
, x8
// 00100101-00101000-01011101-10110111
197 // CHECK-INST
: whilels
{ p6.
b, p7.
b }, x13
, x8
198 // CHECK-ENCODING
: [0xb7,0x5d,0x28,0x25]
199 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
200 // CHECK-UNKNOWN
: 25285db7
<unknown
>
202 whilels
{p14.
b, p15.
b}, xzr
, xzr
// 00100101-00111111-01011111-11111111
203 // CHECK-INST
: whilels
{ p14.
b, p15.
b }, xzr
, xzr
204 // CHECK-ENCODING
: [0xff,0x5f,0x3f,0x25]
205 // CHECK-ERROR
: instruction requires
: sme2
or sve2p1
206 // CHECK-UNKNOWN
: 253f5fff
<unknown
>