From: Eric Christopher Date: Thu, 4 Mar 2010 02:31:44 +0000 (+0000) Subject: Add in disabled case as well. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d41b4ec5803110a164ad576f4d7a374ed41d786f;p=clang Add in disabled case as well. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97716 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 608a4f0279..43873ee0a3 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -780,6 +780,10 @@ bool X86TargetInfo::setFeatureEnabled(llvm::StringMap &Features, Features["ssse3"] = Features["sse41"] = Features["sse42"] = false; else if (Name == "sse4") Features["sse41"] = Features["sse42"] = false; + else if (Name == "sse4.2") + Features["sse42"] = false; + else if (Name == "sse4.1") + Features["sse41"] = Features["sse42"] = false; else if (Name == "3dnow") Features["3dnow"] = Features["3dnowa"] = false; else if (Name == "3dnowa")