aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/opts/SkOpts_sse42.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/opts/SkOpts_sse42.cpp')
-rw-r--r--src/opts/SkOpts_sse42.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/opts/SkOpts_sse42.cpp b/src/opts/SkOpts_sse42.cpp
new file mode 100644
index 0000000000..1883182192
--- /dev/null
+++ b/src/opts/SkOpts_sse42.cpp
@@ -0,0 +1,18 @@
+/*
+ * Copyright 2016 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#include "SkOpts.h"
+
+#define SK_OPTS_NS sse42
+#include "SkChecksum_opts.h"
+
+namespace SkOpts {
+ void Init_sse42() {
+ hash_fn = sse42::hash_fn;
+ }
+}
+