 |
Blender V5.0
|
Go to the documentation of this file.
13#if (defined(__ARM_NEON) || (defined(_M_ARM64) && defined(_MSC_VER))) && \
14 defined(WITH_SSE2NEON) && !defined(DISABLE_SSE2NEON)
16# if !defined(SSE2NEON_PRECISE_MINMAX)
17# define SSE2NEON_PRECISE_MINMAX 1
19# if !defined(SSE2NEON_PRECISE_DIV)
20# define SSE2NEON_PRECISE_DIV 1
22# if !defined(SSE2NEON_PRECISE_SQRT)
23# define SSE2NEON_PRECISE_SQRT 1
26# define BLI_HAVE_SSE2 1
27#elif defined(__SSE2__)
29# include <emmintrin.h>
30# define BLI_HAVE_SSE2 1
32# define BLI_HAVE_SSE2 0
35#if (defined(__ARM_NEON) || (defined(_M_ARM64) && defined(_MSC_VER))) && \
36 defined(WITH_SSE2NEON) && !defined(DISABLE_SSE2NEON)
38# define BLI_HAVE_SSE4 1
39#elif defined(__SSE4_2__)
41# include <nmmintrin.h>
42# define BLI_HAVE_SSE4 1
44# define BLI_HAVE_SSE4 0