diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2019-12-22 11:50:44 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2019-12-22 11:50:44 +0000 |
commit | c14a5a8800a0f7a007f8cd197b4cad4d26a78f8c (patch) | |
tree | a1dde3bcaa50b579a1c761196c9bb100d2021707 /contrib/llvm-project/clang/lib/Basic | |
parent | 3cf3b4e6419d14ed25c0b67b84763b3be937c8b5 (diff) | |
parent | b96995b67f15110f39c41149543e19c8189abdaf (diff) | |
download | src-c14a5a8800a0f7a007f8cd197b4cad4d26a78f8c.tar.gz src-c14a5a8800a0f7a007f8cd197b4cad4d26a78f8c.zip |
Notes
Diffstat (limited to 'contrib/llvm-project/clang/lib/Basic')
-rw-r--r-- | contrib/llvm-project/clang/lib/Basic/Targets/ARM.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/llvm-project/clang/lib/Basic/Targets/ARM.cpp b/contrib/llvm-project/clang/lib/Basic/Targets/ARM.cpp index 31b7085f6ce2..c6834b9fac15 100644 --- a/contrib/llvm-project/clang/lib/Basic/Targets/ARM.cpp +++ b/contrib/llvm-project/clang/lib/Basic/Targets/ARM.cpp @@ -427,10 +427,11 @@ bool ARMTargetInfo::handleTargetFeatures(std::vector<std::string> &Features, for (const auto &Feature : Features) { if (Feature == "+soft-float") { SoftFloat = true; - } else if (Feature == "+vfp2sp" || Feature == "+vfp2") { + } else if (Feature == "+vfp2sp" || Feature == "+vfp2d16sp" || + Feature == "+vfp2" || Feature == "+vfp2d16") { FPU |= VFP2FPU; HW_FP |= HW_FP_SP; - if (Feature == "+vfp2") + if (Feature == "+vfp2" || Feature == "+vfp2d16") HW_FP |= HW_FP_DP; } else if (Feature == "+vfp3sp" || Feature == "+vfp3d16sp" || Feature == "+vfp3" || Feature == "+vfp3d16") { |