Allow to build without SSE optimizations, letting simde fake it
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
dd29816464
commit
2ad135551e
10 changed files with 20 additions and 23 deletions
|
@ -17,7 +17,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#if defined(__i386__) || defined(__x86_64__) || defined(__EMSCRIPTEN__)
|
||||
#if (defined(__i386__) || defined(__x86_64__) || defined(__EMSCRIPTEN__)) && !defined(CARDINAL_NOOPT)
|
||||
# include_next <emmintrin.h>
|
||||
#else
|
||||
# define SIMDE_ENABLE_NATIVE_ALIASES
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#if defined(__i386__) || defined(__x86_64__) || defined(__EMSCRIPTEN__)
|
||||
#if (defined(__i386__) || defined(__x86_64__) || defined(__EMSCRIPTEN__)) && !defined(CARDINAL_NOOPT)
|
||||
# include_next <immintrin.h>
|
||||
#else
|
||||
# define SIMDE_ENABLE_NATIVE_ALIASES
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
#if (defined(__i386__) || defined(__x86_64__)) && !defined(CARDINAL_NOOPT)
|
||||
# include_next <mmintrin.h>
|
||||
#elif defined(__EMSCRIPTEN__)
|
||||
#elif defined(__EMSCRIPTEN__) && !defined(CARDINAL_NOOPT)
|
||||
# include <wasm_simd128.h>
|
||||
#else
|
||||
# define SIMDE_ENABLE_NATIVE_ALIASES
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
#if (defined(__i386__) || defined(__x86_64__)) && !defined(CARDINAL_NOOPT)
|
||||
# include_next <pmmintrin.h>
|
||||
|
||||
// bring in extra SSE3 support via simde
|
||||
|
@ -40,7 +40,7 @@
|
|||
# undef _WIN32_WAS_DEFINED
|
||||
# endif
|
||||
|
||||
#elif defined(__EMSCRIPTEN__)
|
||||
#elif defined(__EMSCRIPTEN__) && !defined(CARDINAL_NOOPT)
|
||||
# include_next <pmmintrin.h>
|
||||
|
||||
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#if defined(__i386__) || defined(__x86_64__) || defined(__EMSCRIPTEN__)
|
||||
#if (defined(__i386__) || defined(__x86_64__) || defined(__EMSCRIPTEN__)) && !defined(CARDINAL_NOOPT)
|
||||
# include_next <xmmintrin.h>
|
||||
#else
|
||||
# define SIMDE_ENABLE_NATIVE_ALIASES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue