Revert "[lldb][test] Remove compiler version check and use regex" (#124101)
[llvm-project.git] / llvm / test / MC / AArch64 / SVE2p1 / directive-arch_extension-negative.s
blob4ab6373ee8a2ac9cd0ddfef2a2b0959d5dca5269
1 // RUN: not llvm-mc -triple aarch64 -filetype asm -o - %s 2>&1 | FileCheck %s
3 .arch_extension sve2p1
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
9 .arch_extension sve2p1
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]