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

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') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 76b04d59b611fdfb5eb9f636f663e9d157baaf5c..ff3c492ffde7e72d7f8d4df9fa836e172e42ec04 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -158,6 +158,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
@@ -172,6 +179,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698