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

Unified Diff: BUILD.gn

Issue 2208903002: Use sse4.2 CRC32 instructions to hash when available. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 4 years, 4 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 | bench/ChecksumBench.cpp » ('j') | src/opts/SkChecksum_opts.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 0d15f3169c54d6730fe2750a30d2ca6411a37690..6b9741f5c2c0c9ad6bfcafb8f350ee276e8fe0fc 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -154,6 +154,13 @@ source_set("opts_sse41") {
cflags = [ "-msse4.1" ]
}
+source_set("opts_sse42") {
+ configs += skia_library_configs
+
+ sources = opts_gypi.sse42_sources
+ cflags = [ "-msse4.2" ]
+}
+
source_set("opts_avx") {
configs += skia_library_configs
@@ -168,6 +175,7 @@ component("skia") {
deps = [
":opts_avx",
":opts_sse41",
+ ":opts_sse42",
":opts_ssse3",
"//third_party/expat",
"//third_party/giflib",
« no previous file with comments | « no previous file | bench/ChecksumBench.cpp » ('j') | src/opts/SkChecksum_opts.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698