[cfe-commits] r155900 - /cfe/trunk/lib/Basic/Targets.cpp

Craig Topper craig.topper at gmail.com
Tue May 1 00:18:03 PDT 2012


Author: ctopper
Date: Tue May  1 02:18:03 2012
New Revision: 155900

URL: http://llvm.org/viewvc/llvm-project?rev=155900&view=rev
Log:
Enable AVX on AMD Bulldozer processors.

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=155900&r1=155899&r2=155900&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Tue May  1 02:18:03 2012
@@ -1699,7 +1699,7 @@
     setFeatureEnabled(Features, "sse4a", true);
   case CK_BDVER1:
   case CK_BDVER2:
-    setFeatureEnabled(Features, "sse4", true);
+    setFeatureEnabled(Features, "avx", true);
     setFeatureEnabled(Features, "sse4a", true);
     setFeatureEnabled(Features, "aes", true);
     break;





More information about the cfe-commits mailing list