From 3472838c7a4de30bb8d03ebad0522a3422e5faee Mon Sep 17 00:00:00 2001 From: Bruno Cardoso Lopes Date: Mon, 11 Jul 2011 23:33:46 +0000 Subject: Disable avx feature from corei7-avx, and use -mavx for now. Right now, if -mavx is specified, 128 avx code is used and we're not sure yet if this the behavior we want (and if it does, some improvements are needed before relying on it). llvm-svn: 134939 --- clang/lib/Basic/Targets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/Basic/Targets.cpp') diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index 0a2c14ec9a0..b8123006b86 100644 --- a/clang/lib/Basic/Targets.cpp +++ b/clang/lib/Basic/Targets.cpp @@ -1220,7 +1220,7 @@ void X86TargetInfo::getDefaultFeatures(const std::string &CPU, setFeatureEnabled(Features, "mmx", true); setFeatureEnabled(Features, "sse4", true); setFeatureEnabled(Features, "aes", true); - setFeatureEnabled(Features, "avx", true); + //setFeatureEnabled(Features, "avx", true); } else if (CPU == "k6" || CPU == "winchip-c6") setFeatureEnabled(Features, "mmx", true); else if (CPU == "k6-2" || CPU == "k6-3" || CPU == "athlon" || -- cgit v1.2.3