summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
diff options
context:
space:
mode:
authorOliver Stannard <oliver.stannard@arm.com>2018-09-26 12:48:21 +0000
committerOliver Stannard <oliver.stannard@arm.com>2018-09-26 12:48:21 +0000
commit7c3c4baa3fbae3b4302a989000f5049b6db6c0e0 (patch)
treec8160a8fd2ff658eb60a8543ed09817af73f75fa /llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
parente2437689a882ff4f13a1b6201bc2f2f0ed58df14 (diff)
downloadbcm5719-llvm-7c3c4baa3fbae3b4302a989000f5049b6db6c0e0.tar.gz
bcm5719-llvm-7c3c4baa3fbae3b4302a989000f5049b6db6c0e0.zip
[ARM/AArch64][v8.5A] Add Armv8.5-A target
This patch allows targeting Armv8.5-A, adding the architecture to tablegen and setting the options to be identical to Armv8.4-A for the time being. Subsequent patches will add support for the different features included in the Armv8.5-A Reference Manual. Patch by Pablo Barrio! Differential revision: https://reviews.llvm.org/D52470 llvm-svn: 343102
Diffstat (limited to 'llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp')
-rw-r--r--llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp b/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
index 2a2504a1a95..b0be9225bf3 100644
--- a/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+++ b/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
@@ -4948,6 +4948,7 @@ static void ExpandCryptoAEK(AArch64::ArchKind ArchKind,
RequestedExtensions.push_back("aes");
break;
case AArch64::ArchKind::ARMV8_4A:
+ case AArch64::ArchKind::ARMV8_5A:
RequestedExtensions.push_back("sm4");
RequestedExtensions.push_back("sha3");
RequestedExtensions.push_back("sha2");
@@ -4966,6 +4967,7 @@ static void ExpandCryptoAEK(AArch64::ArchKind ArchKind,
RequestedExtensions.push_back("noaes");
break;
case AArch64::ArchKind::ARMV8_4A:
+ case AArch64::ArchKind::ARMV8_5A:
RequestedExtensions.push_back("nosm4");
RequestedExtensions.push_back("nosha3");
RequestedExtensions.push_back("nosha2");
OpenPOWER on IntegriCloud