[cfe-commits] r137905 - /cfe/trunk/lib/Basic/Targets.cpp
Bruno Cardoso Lopes
bruno.cardoso at gmail.com
Wed Aug 17 17:07:03 PDT 2011
Author: bruno
Date: Wed Aug 17 19:07:03 2011
New Revision: 137905
URL: http://llvm.org/viewvc/llvm-project?rev=137905&view=rev
Log:
"-mavx" should also enable all other SSE levels.
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=137905&r1=137904&r2=137905&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Wed Aug 17 19:07:03 2011
@@ -1284,7 +1284,8 @@
else if (Name == "aes")
Features["aes"] = true;
else if (Name == "avx")
- Features["avx"] = true;
+ Features["avx"] = Features["sse"] = Features["sse2"] = Features["sse3"] =
+ Features["ssse3"] = Features["sse41"] = Features["sse42"] = true;
} else {
if (Name == "mmx")
Features["mmx"] = Features["3dnow"] = Features["3dnowa"] = false;
More information about the cfe-commits
mailing list