Flutter Engine
The Flutter Engine
SkMemset_opts_avx.cpp
Go to the documentation of this file.
1/*
2 * Copyright 2023 Google LLC
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
9#include "src/core/SkMemset.h"
11
12#if defined(SK_CPU_X86) && !defined(SK_ENABLE_OPTIMIZE_SIZE)
13
14// The order of these includes is important:
15// 1) Select the target CPU architecture by defining SK_OPTS_TARGET and including SkOpts_SetTarget
16// 2) Include the code to compile, typically in a _opts.h file.
17// 3) Include SkOpts_RestoreTarget to switch back to the default CPU architecture
18
19#define SK_OPTS_TARGET SK_OPTS_TARGET_AVX
21
23
25
26namespace SkOpts {
27 void Init_Memset_avx() {
31
35 }
36} // namespace SkOpts
37
38#endif // SK_CPU_X86 && !SK_ENABLE_OPTIMIZE_SIZE
void(* rect_memset32)(uint32_t[], uint32_t, int, size_t, int)
void(* rect_memset16)(uint16_t[], uint16_t, int, size_t, int)
void(* memset64)(uint64_t[], uint64_t, int)
void(* memset16)(uint16_t[], uint16_t, int)
void Init_Memset_avx()
void(* memset32)(uint32_t[], uint32_t, int)
void(* rect_memset64)(uint64_t[], uint64_t, int, size_t, int)