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

Unified Diff: test/win/gyptest-cl-enable-enhanced-instruction-set.py

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
« no previous file with comments | « test/win/compiler-flags/enable-enhanced-instruction-set.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/win/gyptest-cl-enable-enhanced-instruction-set.py
===================================================================
--- test/win/gyptest-cl-enable-enhanced-instruction-set.py (revision 2027)
+++ test/win/gyptest-cl-enable-enhanced-instruction-set.py (working copy)
@@ -28,7 +28,7 @@
# /arch:AVX introduced in VS2010, but MSBuild support lagged until 2012.
if os.path.exists(test.built_file_path('avx_extensions')):
- test.run_built_executable('no_extensions', chdir=CHDIR,
+ test.run_built_executable('avx_extensions', chdir=CHDIR,
stdout='/arch:AVX\n')
# /arch:IA32 introduced in VS2012.
@@ -36,4 +36,9 @@
test.run_built_executable('no_extensions', chdir=CHDIR,
stdout='/arch:IA32\n')
+ # /arch:AVX2 introduced in VS2013r2.
+ if os.path.exists(test.built_file_path('avx2_extensions')):
+ test.run_built_executable('avx2_extensions', chdir=CHDIR,
+ stdout='/arch:AVX2\n')
+
test.pass_test()
« no previous file with comments | « test/win/compiler-flags/enable-enhanced-instruction-set.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698