mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-10 13:51:37 +00:00
539ee65110
This adds MC support for the crypto instructions that were made optional extensions in Armv8.2-A (AArch64 only). Differential Revision: https://reviews.llvm.org/D49370 llvm-svn: 338010
9 lines
283 B
ArmAsm
9 lines
283 B
ArmAsm
// 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: sha2
|
|
// CHECK-ERROR-NEXT: sha1h s0, s1
|
|
// CHECK-ERROR-NEXT: ^
|