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

Unified Diff: third_party/qcms/qcms.gyp

Issue 12088098: Disable MMX intrinsics in qcms for x64 earlier than MSVC 2012 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/qcms/qcms.gyp
===================================================================
--- third_party/qcms/qcms.gyp (revision 179897)
+++ third_party/qcms/qcms.gyp (working copy)
@@ -33,9 +33,11 @@
'variables': {
'conditions': [
# For x86, turn off SSE2 for non-CrOS *nix Chrome builds.
+ # Disable MMX on x64 for MSVC prior to 2012 (eg. 2012e is enabled).
['disable_sse2==1 or \
(branding=="Chrome" and target_arch=="ia32" and \
- os_posix==1 and OS!="mac" and chromeos==0)', {
+ os_posix==1 and OS!="mac" and chromeos==0) or \
+ (OS=="win" and target_arch=="x64" and MSVS_VERSION<"2012")', {
'qcms_use_sse': 0,
}, {
'qcms_use_sse': 1,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698