blob: bceb3e115bcae6efd66e5d2fb5bb0244458c651f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/*
* 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 avx
#include "src/opts/SkUtils_opts.h"
namespace SkOpts {
void Init_avx() {
memset16 = SK_OPTS_NS::memset16;
memset32 = SK_OPTS_NS::memset32;
memset64 = SK_OPTS_NS::memset64;
rect_memset16 = SK_OPTS_NS::rect_memset16;
rect_memset32 = SK_OPTS_NS::rect_memset32;
rect_memset64 = SK_OPTS_NS::rect_memset64;
}
} // namespace SkOpts
#endif // SK_ENABLE_OPTIMIZE_SIZE
|