1 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sve
< %s \
2 // RUN
: | FileCheck
%s
--check-prefixes
=CHECK-ENCODING
,CHECK-INST
3 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sme
< %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
=+sve
< %s \
8 // RUN
: | llvm-objdump
-d
--mattr
=+sve
- | FileCheck
%s
--check-prefix
=CHECK-INST
9 // RUN
: llvm-mc
-triple
=aarch64
-filetype
=obj
-mattr
=+sve
< %s \
10 // RUN
: | llvm-objdump
-d
--mattr
=-sve
- | FileCheck
%s
--check-prefix
=CHECK-UNKNOWN
13 // CHECK-INST
: dupm z5.
b, #0xf9
14 // CHECK-ENCODING
: [0xa5,0x2e,0xc0,0x05]
15 // CHECK-ERROR
: instruction requires
: sve
or sme
16 // CHECK-UNKNOWN
: 05c02ea5
<unknown
>
19 // CHECK-INST
: dupm z5.
b, #0xf9
20 // CHECK-ENCODING
: [0xa5,0x2e,0xc0,0x05]
21 // CHECK-ERROR
: instruction requires
: sve
or sme
22 // CHECK-UNKNOWN
: 05c02ea5
<unknown
>
24 dupm z5.s
, #0xf9f9f9f9
25 // CHECK-INST
: dupm z5.
b, #0xf9
26 // CHECK-ENCODING
: [0xa5,0x2e,0xc0,0x05]
27 // CHECK-ERROR
: instruction requires
: sve
or sme
28 // CHECK-UNKNOWN
: 05c02ea5
<unknown
>
30 dupm z5.d
, #0xf9f9f9f9f9f9f9f9
31 // CHECK-INST
: dupm z5.
b, #0xf9
32 // CHECK-ENCODING
: [0xa5,0x2e,0xc0,0x05]
33 // CHECK-ERROR
: instruction requires
: sve
or sme
34 // CHECK-UNKNOWN
: 05c02ea5
<unknown
>
37 // CHECK-INST
: dupm z23.h
, #0xfff9
38 // CHECK-ENCODING
: [0xb7,0x6d,0xc0,0x05]
39 // CHECK-ERROR
: instruction requires
: sve
or sme
40 // CHECK-UNKNOWN
: 05c06db7
<unknown
>
42 dupm z23.s
, #0xfff9fff9
43 // CHECK-INST
: dupm z23.h
, #0xfff9
44 // CHECK-ENCODING
: [0xb7,0x6d,0xc0,0x05]
45 // CHECK-ERROR
: instruction requires
: sve
or sme
46 // CHECK-UNKNOWN
: 05c06db7
<unknown
>
48 dupm z23.d
, #0xfff9fff9fff9fff9
49 // CHECK-INST
: dupm z23.h
, #0xfff9
50 // CHECK-ENCODING
: [0xb7,0x6d,0xc0,0x05]
51 // CHECK-ERROR
: instruction requires
: sve
or sme
52 // CHECK-UNKNOWN
: 05c06db7
<unknown
>
54 dupm z0.s
, #0xfffffff9
55 // CHECK-INST
: dupm z0.s
, #0xfffffff9
56 // CHECK-ENCODING
: [0xa0,0xeb,0xc0,0x05]
57 // CHECK-ERROR
: instruction requires
: sve
or sme
58 // CHECK-UNKNOWN
: 05c0eba0
<unknown
>
60 dupm z0.d
, #0xfffffff9fffffff9
61 // CHECK-INST
: dupm z0.s
, #0xfffffff9
62 // CHECK-ENCODING
: [0xa0,0xeb,0xc0,0x05]
63 // CHECK-ERROR
: instruction requires
: sve
or sme
64 // CHECK-UNKNOWN
: 05c0eba0
<unknown
>
66 dupm z0.d
, #0xfffffffffffffff9
67 // CHECK-INST
: dupm z0.d
, #0xfffffffffffffff9
68 // CHECK-ENCODING
: [0xa0,0xef,0xc3,0x05]
69 // CHECK-ERROR
: instruction requires
: sve
or sme
70 // CHECK-UNKNOWN
: 05c3efa0
<unknown
>