Reviewers: Jakob, Sven Panne,
Description:
Activate SSE2 for all Visual Studio builds
BUG=
Please review this at https://codereview.chromium.org/424763002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+12, -2 lines):
M src/d8.gyp
M test/cctest/cctest.gyp
M tools/gyp/v8.gyp
Index: src/d8.gyp
diff --git a/src/d8.gyp b/src/d8.gyp
index
a084979de22f827996e82cfbb1dea0b61383d254..7e0bd7d3d77da4d6331dbb12a7945fdbfacb2503
100644
--- a/src/d8.gyp
+++ b/src/d8.gyp
@@ -64,7 +64,12 @@
'sources': [ 'd8-posix.cc', ]
}],
[ 'OS=="win"', {
- 'sources': [ 'd8-windows.cc', ]
+ 'sources': [ 'd8-windows.cc', ],
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ 'AdditionalOptions': ['/arch:SSE2'],
+ },
+ },
}],
[ 'component!="shared_library"', {
'sources':
[ 'd8-debug.cc', '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', ],
Index: test/cctest/cctest.gyp
diff --git a/test/cctest/cctest.gyp b/test/cctest/cctest.gyp
index
090aed2dd1dc67b9c4d9a33788be43561085ccff..3bfd2f3fb81a7d8f00cd1783e299ecf7ba5eae08
100644
--- a/test/cctest/cctest.gyp
+++ b/test/cctest/cctest.gyp
@@ -217,7 +217,7 @@
'msvs_settings': {
'VCCLCompilerTool': {
# MSVS wants this for gay-{precision,shortest}.cc.
- 'AdditionalOptions': ['/bigobj'],
+ 'AdditionalOptions': ['/bigobj, /arch:SSE2'],
},
},
}],
Index: tools/gyp/v8.gyp
diff --git a/tools/gyp/v8.gyp b/tools/gyp/v8.gyp
index
d7afa3be4005be300eff1c434d24f86c7177ad4d..bdbc0755aa911b9c8a20a422e68e4068e285146b
100644
--- a/tools/gyp/v8.gyp
+++ b/tools/gyp/v8.gyp
@@ -942,6 +942,11 @@
'gyp_generators': '<!(echo $GYP_GENERATORS)',
},
'msvs_disabled_warnings': [4351, 4355, 4800],
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ 'AdditionalOptions': ['/arch:SSE2'],
+ },
+ },
}],
['component=="shared_library"', {
'defines': [
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.