1 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sve2
,+sve-bitperm
< %s \
2 // RUN
: | FileCheck
%s
--check-prefixes
=CHECK-ENCODING
,CHECK-INST
3 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+ssve-bitperm
< %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
=+sve2
,+sve-bitperm
< %s \
10 // RUN
: | llvm-objdump
-d
--mattr
=+sve2
,+sve-bitperm
- | FileCheck
%s
--check-prefix
=CHECK-INST
11 // RUN
: llvm-mc
-triple
=aarch64
-filetype
=obj
-mattr
=+sve2
,+sve-bitperm
< %s \
12 // RUN
: | llvm-objdump
-d
--mattr
=-sve2
- | FileCheck
%s
--check-prefix
=CHECK-UNKNOWN
14 bgrp z0.
b, z1.
b, z31.
b
15 // CHECK-INST
: bgrp z0.
b, z1.
b, z31.
b
16 // CHECK-ENCODING
: [0x20,0xb8,0x1f,0x45]
17 // CHECK-ERROR
: instruction requires
: sve2
or ssve-bitperm sve-bitperm
18 // CHECK-UNKNOWN
: 451fb820
<unknown
>
20 bgrp z0.h
, z1.h
, z31.h
21 // CHECK-INST
: bgrp z0.h
, z1.h
, z31.h
22 // CHECK-ENCODING
: [0x20,0xb8,0x5f,0x45]
23 // CHECK-ERROR
: instruction requires
: sve2
or ssve-bitperm sve-bitperm
24 // CHECK-UNKNOWN
: 455fb820
<unknown
>
26 bgrp z0.s
, z1.s
, z31.s
27 // CHECK-INST
: bgrp z0.s
, z1.s
, z31.s
28 // CHECK-ENCODING
: [0x20,0xb8,0x9f,0x45]
29 // CHECK-ERROR
: instruction requires
: sve2
or ssve-bitperm sve-bitperm
30 // CHECK-UNKNOWN
: 459fb820
<unknown
>
32 bgrp z0.d
, z1.d
, z31.d
33 // CHECK-INST
: bgrp z0.d
, z1.d
, z31.d
34 // CHECK-ENCODING
: [0x20,0xb8,0xdf,0x45]
35 // CHECK-ERROR
: instruction requires
: sve2
or ssve-bitperm sve-bitperm
36 // CHECK-UNKNOWN
: 45dfb820
<unknown
>