]> granicus.if.org Git - clang/commit
[AArch64][ARM] Context sensitive meaning of crypto
authorSjoerd Meijer <sjoerd.meijer@arm.com>
Thu, 4 Oct 2018 07:38:53 +0000 (07:38 +0000)
committerSjoerd Meijer <sjoerd.meijer@arm.com>
Thu, 4 Oct 2018 07:38:53 +0000 (07:38 +0000)
commitf80073d763e01f0449a46daac1e000a5bc25d9b0
tree4f32993bab929cbad13b834ae2ac4bfba974ee17
parent8eb53fe10a0783cb2d4aed0059513925de7ddec6
[AArch64][ARM] Context sensitive meaning of crypto

For AArch64, crypto means:
- sm4 + sha3 + sha2 + aes for Armv8.4-A and up, and
- sha2 + aes for Armv8.3-A and earlier.

For AArch32:
Crypto means sha2 + aes, because the Armv8.2-A crypto instructions
were added to AArch64 only.

Differential Revision: https://reviews.llvm.org/D50179

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343758 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Arch/AArch64.cpp
lib/Driver/ToolChains/Arch/ARM.cpp
test/Driver/arm-features.c
test/Preprocessor/aarch64-target-features.c