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 
8 #include "SkSafe_math.h"   // Keep this first.
9 #include "SkOpts.h"
10 
11 #if defined(_INC_MATH) && !defined(INC_MATH_IS_SAFE_NOW)
12     #error We have included ucrt\math.h without protecting it against ODR violation.
13 #endif
14 
15 #define SK_OPTS_NS avx
16 #include "SkUtils_opts.h"
17 
18 namespace SkOpts {
19     void Init_avx() {
20         memset16 = SK_OPTS_NS::memset16;
21         memset32 = SK_OPTS_NS::memset32;
22         memset64 = SK_OPTS_NS::memset64;
23     }
24 }
25