forked from OSchip/llvm-project
"-mavx" should also enable all other SSE levels.
llvm-svn: 137905
This commit is contained in:
parent
4c7269474e
commit
bf9246d1f0
|
@ -1284,7 +1284,8 @@ bool X86TargetInfo::setFeatureEnabled(llvm::StringMap<bool> &Features,
|
||||||
else if (Name == "aes")
|
else if (Name == "aes")
|
||||||
Features["aes"] = true;
|
Features["aes"] = true;
|
||||||
else if (Name == "avx")
|
else if (Name == "avx")
|
||||||
Features["avx"] = true;
|
Features["avx"] = Features["sse"] = Features["sse2"] = Features["sse3"] =
|
||||||
|
Features["ssse3"] = Features["sse41"] = Features["sse42"] = true;
|
||||||
} else {
|
} else {
|
||||||
if (Name == "mmx")
|
if (Name == "mmx")
|
||||||
Features["mmx"] = Features["3dnow"] = Features["3dnowa"] = false;
|
Features["mmx"] = Features["3dnow"] = Features["3dnowa"] = false;
|
||||||
|
|
Loading…
Reference in New Issue