diff options
Diffstat (limited to 'test/MC/AArch64/nofp-crypto-diagnostic.s')
-rw-r--r-- | test/MC/AArch64/nofp-crypto-diagnostic.s | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/MC/AArch64/nofp-crypto-diagnostic.s b/test/MC/AArch64/nofp-crypto-diagnostic.s new file mode 100644 index 0000000000000..36da8a83128de --- /dev/null +++ b/test/MC/AArch64/nofp-crypto-diagnostic.s @@ -0,0 +1,8 @@ +// RUN: not llvm-mc -triple aarch64-none-linux-gnu -mattr=+neon,+crypto,-fp-armv8 < %s 2> %t +// RUN: FileCheck --check-prefix=CHECK-ERROR < %t %s + + sha1h s0, s1 + +// CHECK-ERROR: error: instruction requires: crypto +// CHECK-ERROR-NEXT: sha1h s0, s1 +// CHECK-ERROR-NEXT: ^ |