xref: /llvm-project/llvm/test/MC/AArch64/SVE2p2/directive-cpu-negative.s (revision 2c5208a2dc4aaa5615e6c19e3f417f4727f4b65b)
1// RUN: not llvm-mc -triple aarch64 -filetype asm -o - %s 2>&1 | FileCheck %s
2
3.cpu generic+sve2p2
4.cpu generic+nosve2p2
5fcvtnt  z0.s, p0/z, z0.d
6// CHECK: error: instruction requires: sme2p2 or sve2p2
7// CHECK-NEXT: fcvtnt  z0.s, p0/z, z0.d