1 // RUN
: not llvm-mc
-triple aarch64
-filetype asm
-o
- %s
2>&1 | FileCheck
%s
6 // CHECK
: error
: instruction requires
: sve2
7 // CHECK-NEXT
: tbx z0.
b, z1.
b, z2.
b
10 .arch armv8-a+nosve2-aes
11 aesd z23.
b, z23.
b, z13.
b
12 // CHECK
: error
: instruction requires
: sve2-aes
13 // CHECK-NEXT
: aesd z23.
b, z23.
b, z13.
b
15 .arch armv8-a+sve2-sm4
16 .arch armv8-a+nosve2-sm4
18 // CHECK
: error
: instruction requires
: sve2-sm4
19 // CHECK-NEXT
: sm4e z0.s
, z0.s
, z0.s
21 .arch armv8-a+sve2-sha3
22 .arch armv8-a+nosve2-sha3
24 // CHECK
: error
: instruction requires
: sve2-sha3
25 // CHECK-NEXT
: rax1 z0.d
, z0.d
, z0.d
27 .arch armv8-a+sve2-bitperm
28 .arch armv8-a+nosve2-bitperm
29 bgrp z21.s
, z10.s
, z21.s
30 // CHECK
: error
: instruction requires
: sve2-bitperm
31 // CHECK-NEXT
: bgrp z21.s
, z10.s
, z21.s