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

Unified Diff: gyp/common_conditions.gypi

Issue 294963002: SSE2 everywhere. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: try again forcing sse for fp math Created 6 years, 7 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: gyp/common_conditions.gypi
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi
index 506c39f6ad4901cb9c45019a07dede20b77951ed..a745c706dad2c8876f027f58dcfb61f8baca3fbd 100644
--- a/gyp/common_conditions.gypi
+++ b/gyp/common_conditions.gypi
@@ -14,6 +14,14 @@
],
}],
+ # As of M35, Chrome requires SSE2 on x86 (and SSSE3 on Mac).
+ [ 'skia_arch_type == "x86"', {
+ 'cflags': [
+ '-msse2',
+ '-mfpmath=sse',
+ ],
+ }],
+
[ 'skia_os == "win"',
{
'defines': [
« 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