From 09b60b2a63e664b3feec6c6abfa3502cf1a57f7d Mon Sep 17 00:00:00 2001 From: Richard Barton Date: Fri, 28 Nov 2014 20:39:54 +0000 Subject: Add -mfpu=neon-vfpv4 This enables user to architecturally specify ARMv7A + VFPv4 + NEON. Change-Id: I779b01fef5c47e5e4ac702ae24ed2f76a0e4c63f llvm-svn: 222932 --- clang/lib/Driver/Tools.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'clang/lib/Driver') diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index b372b65c315..96a4b43ab5c 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/lib/Driver/Tools.cpp @@ -589,6 +589,9 @@ static void getARMFPUFeatures(const Driver &D, const Arg *A, Features.push_back("+crypto"); } else if (FPU == "neon") { Features.push_back("+neon"); + } else if (FPU == "neon-vfpv4") { + Features.push_back("+neon"); + Features.push_back("+vfpv4"); } else if (FPU == "none") { Features.push_back("-vfp2"); Features.push_back("-vfp3"); -- cgit v1.2.3