summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/ARMBuildAttrs.cpp
diff options
context:
space:
mode:
authorSjoerd Meijer <sjoerd.meijer@arm.com>2019-05-30 12:57:04 +0000
committerSjoerd Meijer <sjoerd.meijer@arm.com>2019-05-30 12:57:04 +0000
commit930dee2c0b8a1128bd0ba23995d666899ef76c89 (patch)
treea16cda6f635fcd880f21e91d38f0829c4b7740f1 /llvm/lib/Support/ARMBuildAttrs.cpp
parent31e6d8feea1ac18d568cbd5299c54bdae9da5f44 (diff)
downloadbcm5719-llvm-930dee2c0b8a1128bd0ba23995d666899ef76c89.tar.gz
bcm5719-llvm-930dee2c0b8a1128bd0ba23995d666899ef76c89.zip
[ARM] add target arch definitions for 8.1-M and MVE
This adds: - LLVM subtarget features to make all the new instructions conditional on, - CPU and FPU names for use on clang's command line, with default FPUs set so that "armv8.1-m.main+fp" and "armv8.1-m.main+fp.dp" will select the right FPU features, - architecture extension names "mve" and "mve.fp", - ABI build attribute support for v8.1-M (a new value for Tag_CPU_arch) and MVE (a new actual tag). Patch mostly by Simon Tatham. Differential Revision: https://reviews.llvm.org/D60698 llvm-svn: 362090
Diffstat (limited to 'llvm/lib/Support/ARMBuildAttrs.cpp')
-rw-r--r--llvm/lib/Support/ARMBuildAttrs.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Support/ARMBuildAttrs.cpp b/llvm/lib/Support/ARMBuildAttrs.cpp
index f5fb64bb7ba..d0c4fb792cb 100644
--- a/llvm/lib/Support/ARMBuildAttrs.cpp
+++ b/llvm/lib/Support/ARMBuildAttrs.cpp
@@ -28,6 +28,7 @@ const struct {
{ ARMBuildAttrs::FP_arch, "Tag_FP_arch" },
{ ARMBuildAttrs::WMMX_arch, "Tag_WMMX_arch" },
{ ARMBuildAttrs::Advanced_SIMD_arch, "Tag_Advanced_SIMD_arch" },
+ { ARMBuildAttrs::MVE_arch, "Tag_MVE_arch" },
{ ARMBuildAttrs::PCS_config, "Tag_PCS_config" },
{ ARMBuildAttrs::ABI_PCS_R9_use, "Tag_ABI_PCS_R9_use" },
{ ARMBuildAttrs::ABI_PCS_RW_data, "Tag_ABI_PCS_RW_data" },
OpenPOWER on IntegriCloud