commit | 8825fec37e73eea1bc3e4f5c125e1fd02d002d6c | [log] [tgz] |
---|---|---|
author | Sjoerd Meijer <sjoerd.meijer@arm.com> | Thu Oct 01 15:47:31 2020 +0100 |
committer | Sjoerd Meijer <sjoerd.meijer@arm.com> | Fri Oct 02 12:47:23 2020 +0100 |
tree | d32e2b6078f8a00d5c06183d1e0c1db24ead6bd6 | |
parent | 57ac47d78885c9a3d712692b1476d99840591db1 [diff] |
[AArch64] Add CPU Cortex-R82 This adds support for -mcpu=cortex-r82. Some more information about this core can be found here: https://www.arm.com/products/silicon-ip-cpu/cortex-r/cortex-r82 One note about the system register: that is a bit of a refactoring because of small differences between v8.4-A AArch64 and v8-R AArch64. This is based on patches from Mark Murray and Mikhail Maltsev. Differential Revision: https://reviews.llvm.org/D88660
diff --git a/llvm/lib/Support/AArch64TargetParser.cpp b/llvm/lib/Support/AArch64TargetParser.cpp index 82f7707..49e123a 100644 --- a/llvm/lib/Support/AArch64TargetParser.cpp +++ b/llvm/lib/Support/AArch64TargetParser.cpp
@@ -118,6 +118,8 @@ Features.push_back("+v8.5a"); if (AK == AArch64::ArchKind::ARMV8_6A) Features.push_back("+v8.6a"); + if(AK == AArch64::ArchKind::ARMV8R) + Features.push_back("+v8r"); return AK != ArchKind::INVALID; }