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

Unified Diff: src/opts/SkOpts_crc32.cpp

Issue 2260823002: Use ARMv8 CRC32 instructions for SkOpts::hash(). (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 | « src/opts/SkChecksum_opts.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/opts/SkOpts_crc32.cpp
diff --git a/src/opts/SkOpts_sse42.cpp b/src/opts/SkOpts_crc32.cpp
similarity index 72%
copy from src/opts/SkOpts_sse42.cpp
copy to src/opts/SkOpts_crc32.cpp
index 18831821920cf16e8e3d88e6d90b46756f41dae2..8fc88aa7f560bfbb722132052ddb2dd990e71035 100644
--- a/src/opts/SkOpts_sse42.cpp
+++ b/src/opts/SkOpts_crc32.cpp
@@ -7,12 +7,11 @@
#include "SkOpts.h"
-#define SK_OPTS_NS sse42
+#define SK_OPTS_NS crc32
#include "SkChecksum_opts.h"
namespace SkOpts {
- void Init_sse42() {
- hash_fn = sse42::hash_fn;
+ void Init_crc32() {
+ hash_fn = crc32::hash_fn;
}
}
-
« no previous file with comments | « src/opts/SkChecksum_opts.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698