Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(285)

Unified Diff: test/win/compiler-flags/enable-enhanced-instruction-set.cc

Issue 872643002: win: 'EnableEnhancedInstructionSet': '5' now enables /arch:AVX2. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/win/compiler-flags/enable-enhanced-instruction-set.cc
===================================================================
--- test/win/compiler-flags/enable-enhanced-instruction-set.cc (revision 2027)
+++ test/win/compiler-flags/enable-enhanced-instruction-set.cc (working copy)
@@ -12,8 +12,10 @@
#elif _M_IX86_FP == 2
# if !defined(__AVX__)
return "SSE2";
+# elif !defined(__AVX2__)
+ return "AVX";
# else
- return "AVX";
+ return "AVX2";
# endif
#else
return "UNSUPPORTED OPTION";

Powered by Google App Engine
This is Rietveld 408576698