[cfe-commits] r122629 - /cfe/trunk/lib/Basic/Targets.cpp
Roman Divacky
rdivacky at freebsd.org
Wed Dec 29 05:28:30 PST 2010
Author: rdivacky
Date: Wed Dec 29 07:28:29 2010
New Revision: 122629
URL: http://llvm.org/viewvc/llvm-project?rev=122629&view=rev
Log:
set features for k8-sse3
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=122629&r1=122628&r2=122629&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Wed Dec 29 07:28:29 2010
@@ -1063,6 +1063,9 @@
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);
}
More information about the cfe-commits
mailing list