mtklein | 4e97607 | 2016-08-08 09:06:27 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016 Google Inc. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | */ |
| 7 | |
Mike Klein | 7f5b734 | 2020-06-04 14:20:00 +0000 | [diff] [blame] | 8 | #include "src/core/SkOpts.h" |
| 9 | |
| 10 | #define SK_OPTS_NS sse42 |
| 11 | #include "src/opts/SkChecksum_opts.h" |
| 12 | |
| 13 | namespace SkOpts { |
| 14 | void Init_sse42() { |
| 15 | hash_fn = sse42::hash_fn; |
| 16 | } |
John Stiles | a6841be | 2020-08-06 14:11:56 -0400 | [diff] [blame] | 17 | } // namespace SkOpts |
Mike Klein | 7f5b734 | 2020-06-04 14:20:00 +0000 | [diff] [blame] | 18 | |