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
This commit is contained in:
Bruno Cardoso Lopes 2011-07-11 23:33:46 +00:00
parent 9312c6464d
commit 3472838c7a
1 changed files with 1 additions and 1 deletions

View File

@ -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" ||