From c8b09a1fa2112964496f27094010bae45c97c42a Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Wed, 29 Dec 2010 13:28:29 +0000 Subject: [PATCH] set features for k8-sse3 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122629 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Basic/Targets.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 45e5db7500..697603bbac 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -1063,6 +1063,9 @@ void X86TargetInfo::getDefaultFeatures(const std::string &CPU, CPU == "athlon-fx") { setFeatureEnabled(Features, "sse2", true); setFeatureEnabled(Features, "3dnowa", true); + } else if (CPU == "k8-sse3") { + setFeatureEnabled(Features, "sse3", true); + setFeatureEnabled(Features, "3dnowa", true); } else if (CPU == "c3-2") setFeatureEnabled(Features, "sse", true); } -- 2.40.0