xref: /llvm-project/llvm/test/MC/AArch64/LSFE/directive-cpu-negative.s (revision 67ff5ba9af9754261abe11d762af11532a816126)
1// RUN: not llvm-mc -triple aarch64 -filetype asm -o - %s 2>&1 | FileCheck %s
2
3.cpu generic+lsfe
4.cpu generic+nolsfe
5ldfadd h0, h1, [x2]
6// CHECK: error: instruction requires: lsfe
7// CHECK-NEXT: ldfadd h0, h1, [x2]