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
=+sme2p2
< %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
: not llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sme
< %s
2>&1 \
8 // RUN
: | FileCheck
%s
--check-prefix
=CHECK-ERROR
9 // RUN
: llvm-mc
-triple
=aarch64
-filetype
=obj
-mattr
=+sve
< %s \
10 // RUN
: | llvm-objdump
-d
--mattr
=+sve
- | FileCheck
%s
--check-prefix
=CHECK-INST
11 // RUN
: llvm-mc
-triple
=aarch64
-filetype
=obj
-mattr
=+sve
< %s \
12 // RUN
: | llvm-objdump
-d
--mattr
=-sve
- | FileCheck
%s
--check-prefix
=CHECK-UNKNOWN
15 // CHECK-INST
: fexpa z0.h
, z31.h
16 // CHECK-ENCODING
: [0xe0,0xbb,0x60,0x04]
17 // CHECK-ERROR
: instruction requires
: sve
or sme2p2
18 // CHECK-UNKNOWN
: 0460bbe0
<unknown
>
21 // CHECK-INST
: fexpa z0.s
, z31.s
22 // CHECK-ENCODING
: [0xe0,0xbb,0xa0,0x04]
23 // CHECK-ERROR
: instruction requires
: sve
or sme2p2
24 // CHECK-UNKNOWN
: 04a0bbe0
<unknown
>
27 // CHECK-INST
: fexpa z0.d
, z31.d
28 // CHECK-ENCODING
: [0xe0,0xbb,0xe0,0x04]
29 // CHECK-ERROR
: instruction requires
: sve
or sme2p2
30 // CHECK-UNKNOWN
: 04e0bbe0
<unknown
>