forked from OSchip/llvm-project
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:
parent
9312c6464d
commit
3472838c7a
|
@ -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" ||
|
||||
|
|
Loading…
Reference in New Issue