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

Unified Diff: skia/BUILD.gn

Issue 332393003: Manually roll Skia, picking up new SSE4 procs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: try again Created 6 years, 6 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 | « DEPS ('k') | skia/skia_library_opts.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/BUILD.gn
diff --git a/skia/BUILD.gn b/skia/BUILD.gn
index 6979a32b4400a43330fc5e79dc35acf7949ecdff..72b8739b4b3531e4e60a9766a747c35671219e27 100644
--- a/skia/BUILD.gn
+++ b/skia/BUILD.gn
@@ -538,7 +538,7 @@ source_set("skia_opts") {
"//third_party/skia/src/opts/SkUtils_opts_SSE2.cpp",
"//third_party/skia/src/opts/SkXfermode_opts_SSE2.cpp",
- # SSE 3
+ # SSSE 3
"//third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp",
# Chrome-specific.
@@ -549,8 +549,15 @@ source_set("skia_opts") {
"//third_party/skia/include/core/SkTypes.h",
]
+ # SSE 4
+ if (cpu_arch == "x86") {
+ sources += [ "//third_party/skia/src/opts/SkBlitRow_opts_SSE4_asm.S" ]
+ } else { # x64
+ sources += [ "//third_party/skia/src/opts/SkBlitRow_opts_SSE4_x64_asm.S" ]
+ }
+
if (is_linux || is_mac) {
- cflags += [ "-mssse3" ] # Note third 's'.
+ cflags += [ "-msse4" ]
}
} else if (cpu_arch == "arm") {
sources = [
« no previous file with comments | « DEPS ('k') | skia/skia_library_opts.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698