diff options
Diffstat (limited to 'gfx/skia/skia/src/opts/SkOpts_sse42.cpp')
-rw-r--r-- | gfx/skia/skia/src/opts/SkOpts_sse42.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gfx/skia/skia/src/opts/SkOpts_sse42.cpp b/gfx/skia/skia/src/opts/SkOpts_sse42.cpp new file mode 100644 index 0000000000..aa210014d0 --- /dev/null +++ b/gfx/skia/skia/src/opts/SkOpts_sse42.cpp @@ -0,0 +1,21 @@ +/* + * 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 "src/core/SkOpts.h" + +#if !defined(SK_ENABLE_OPTIMIZE_SIZE) + +#define SK_OPTS_NS sse42 +#include "src/opts/SkChecksum_opts.h" + +namespace SkOpts { + void Init_sse42() { + hash_fn = sse42::hash_fn; + } +} // namespace SkOpts + +#endif // SK_ENABLE_OPTIMIZE_SIZE |