Flutter Engine
The Flutter Engine
Macros
SkFeatures.h File Reference

Go to the source code of this file.

Macros

#define SK_BUILD_FOR_MAC
 
#define SK_RESTRICT   __restrict__
 
#define SK_CPU_LENDIAN
 
#define SK_CPU_SSE_LEVEL_SSE1   10
 
#define SK_CPU_SSE_LEVEL_SSE2   20
 
#define SK_CPU_SSE_LEVEL_SSE3   30
 
#define SK_CPU_SSE_LEVEL_SSSE3   31
 
#define SK_CPU_SSE_LEVEL_SSE41   41
 
#define SK_CPU_SSE_LEVEL_SSE42   42
 
#define SK_CPU_SSE_LEVEL_AVX   51
 
#define SK_CPU_SSE_LEVEL_AVX2   52
 
#define SK_CPU_SSE_LEVEL_SKX   60
 
#define SK_CPU_LSX_LEVEL_LSX   70
 
#define SK_CPU_LSX_LEVEL_LASX   80
 

Macro Definition Documentation

◆ SK_BUILD_FOR_MAC

#define SK_BUILD_FOR_MAC

Definition at line 30 of file SkFeatures.h.

◆ SK_CPU_LENDIAN

#define SK_CPU_LENDIAN

Definition at line 60 of file SkFeatures.h.

◆ SK_CPU_LSX_LEVEL_LASX

#define SK_CPU_LSX_LEVEL_LASX   80

Definition at line 95 of file SkFeatures.h.

◆ SK_CPU_LSX_LEVEL_LSX

#define SK_CPU_LSX_LEVEL_LSX   70

SK_CPU_LSX_LEVEL

If defined, SK_CPU_LSX_LEVEL should be set to the highest supported level. On non-loongarch CPU this should be undefined.

Definition at line 94 of file SkFeatures.h.

◆ SK_CPU_SSE_LEVEL_AVX

#define SK_CPU_SSE_LEVEL_AVX   51

Definition at line 84 of file SkFeatures.h.

◆ SK_CPU_SSE_LEVEL_AVX2

#define SK_CPU_SSE_LEVEL_AVX2   52

Definition at line 85 of file SkFeatures.h.

◆ SK_CPU_SSE_LEVEL_SKX

#define SK_CPU_SSE_LEVEL_SKX   60

Definition at line 86 of file SkFeatures.h.

◆ SK_CPU_SSE_LEVEL_SSE1

#define SK_CPU_SSE_LEVEL_SSE1   10

SK_CPU_SSE_LEVEL

If defined, SK_CPU_SSE_LEVEL should be set to the highest supported level. On non-intel CPU this should be undefined.

Definition at line 78 of file SkFeatures.h.

◆ SK_CPU_SSE_LEVEL_SSE2

#define SK_CPU_SSE_LEVEL_SSE2   20

Definition at line 79 of file SkFeatures.h.

◆ SK_CPU_SSE_LEVEL_SSE3

#define SK_CPU_SSE_LEVEL_SSE3   30

Definition at line 80 of file SkFeatures.h.

◆ SK_CPU_SSE_LEVEL_SSE41

#define SK_CPU_SSE_LEVEL_SSE41   41

Definition at line 82 of file SkFeatures.h.

◆ SK_CPU_SSE_LEVEL_SSE42

#define SK_CPU_SSE_LEVEL_SSE42   42

Definition at line 83 of file SkFeatures.h.

◆ SK_CPU_SSE_LEVEL_SSSE3

#define SK_CPU_SSE_LEVEL_SSSE3   31

Definition at line 81 of file SkFeatures.h.

◆ SK_RESTRICT

#define SK_RESTRICT   __restrict__

Definition at line 42 of file SkFeatures.h.