summaryrefslogtreecommitdiffstats
path: root/gfx/skia/skia/src/opts/SkOpts_sse42.cpp
blob: aa210014d0046684b60d069187299a15e500358c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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