1 // RUN
: not llvm-mc
-triple aarch64
-filetype asm
-o
- %s
2>&1 | FileCheck
%s
4 .arch_extension nosve2p1
5 sclamp z0.s
, z1.s
, z2.s
6 // CHECK
: error
: instruction requires
: sme
or sve2p1
7 // CHECK
: sclamp z0.s
, z1.s
, z2.s
10 .arch_extension sve-b16b16
11 .arch_extension nosve-b16b16
12 bfadd z23.h
, p3
/m
, z23.h
, z13.h
13 // CHECK
: error
: instruction requires
: sve-b16b16
14 // CHECK
: bfadd z23.h
, p3
/m
, z23.h
, z13.h
16 .arch_extension sve-aes2
17 .arch_extension nosve-aes2
18 aesdimc
{z0.b-z3.
b}, {z0.b-z3.
b}, z0.q
[0]
19 // CHECK
: error
: instruction requires
: sve-aes2
20 // CHECK
: {z0.b-z3.
b}, {z0.b-z3.
b}, z0.q
[0]