diff options
author | Eric Christopher <echristo@apple.com> | 2010-03-04 02:31:44 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-03-04 02:31:44 +0000 |
commit | d41b4ec5803110a164ad576f4d7a374ed41d786f (patch) | |
tree | 5ed8d8de0459d2fe2c474a64d402c8ee55d99b4e | |
parent | d39ebe2d2a24a331b89465191dce061fd9c6b5e4 (diff) |
Add in disabled case as well.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97716 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Basic/Targets.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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<bool> &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") |