Only use simde, drop sse2neon
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
1dbc70d626
commit
e42f21b712
4 changed files with 8 additions and 7 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -7,9 +7,6 @@
|
||||||
[submodule "plugins/Cardinal/mingw-std-threads"]
|
[submodule "plugins/Cardinal/mingw-std-threads"]
|
||||||
path = include/mingw-std-threads
|
path = include/mingw-std-threads
|
||||||
url = https://github.com/meganz/mingw-std-threads.git
|
url = https://github.com/meganz/mingw-std-threads.git
|
||||||
[submodule "plugins/Cardinal/sse2neon"]
|
|
||||||
path = include/sse2neon
|
|
||||||
url = https://github.com/DLTcollab/sse2neon.git
|
|
||||||
[submodule "plugins/Befaco"]
|
[submodule "plugins/Befaco"]
|
||||||
path = plugins/Befaco
|
path = plugins/Befaco
|
||||||
url = https://github.com/VCVRack/Befaco.git
|
url = https://github.com/VCVRack/Befaco.git
|
||||||
|
|
|
@ -21,8 +21,6 @@
|
||||||
# include_next <mmintrin.h>
|
# include_next <mmintrin.h>
|
||||||
#elif defined(__EMSCRIPTEN__)
|
#elif defined(__EMSCRIPTEN__)
|
||||||
# include <wasm_simd128.h>
|
# include <wasm_simd128.h>
|
||||||
#elif defined(__ARM_NEON)
|
|
||||||
# include "../sse2neon/sse2neon.h"
|
|
||||||
#else
|
#else
|
||||||
# define SIMDE_ENABLE_NATIVE_ALIASES
|
# define SIMDE_ENABLE_NATIVE_ALIASES
|
||||||
# include "../simde/simde/x86/mmx.h"
|
# include "../simde/simde/x86/mmx.h"
|
||||||
|
|
|
@ -20,6 +20,11 @@
|
||||||
#if defined(__i386__) || defined(__x86_64__)
|
#if defined(__i386__) || defined(__x86_64__)
|
||||||
# include_next <pmmintrin.h>
|
# include_next <pmmintrin.h>
|
||||||
|
|
||||||
|
// bring in extra SSE3 support via simde
|
||||||
|
# define SIMDE_X86_SSE2_NATIVE
|
||||||
|
# define SIMDE_X86_SSE3_ENABLE_NATIVE_ALIASES
|
||||||
|
# include "../simde/simde/x86/sse3.h"
|
||||||
|
|
||||||
#elif defined(__EMSCRIPTEN__)
|
#elif defined(__EMSCRIPTEN__)
|
||||||
# include_next <pmmintrin.h>
|
# include_next <pmmintrin.h>
|
||||||
|
|
||||||
|
@ -29,6 +34,7 @@ __m64 _mm_set1_pi16(short w)
|
||||||
return __extension__ (__m64){ static_cast<float>(w), static_cast<float>(w) };
|
return __extension__ (__m64){ static_cast<float>(w), static_cast<float>(w) };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
#elif defined(__ARM_NEON)
|
#elif defined(__ARM_NEON)
|
||||||
# include "../sse2neon/sse2neon.h"
|
# include "../sse2neon/sse2neon.h"
|
||||||
|
|
||||||
|
@ -43,11 +49,12 @@ __m64 _mm_set1_pi16(short w)
|
||||||
{
|
{
|
||||||
return vreinterpret_s64_s16(vdup_n_s16(w));
|
return vreinterpret_s64_s16(vdup_n_s16(w));
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
#else
|
#else
|
||||||
# define SIMDE_ENABLE_NATIVE_ALIASES
|
# define SIMDE_ENABLE_NATIVE_ALIASES
|
||||||
# include "../simde/simde/x86/sse.h"
|
# include "../simde/simde/x86/sse.h"
|
||||||
# include "../simde/simde/x86/sse2.h"
|
# include "../simde/simde/x86/sse2.h"
|
||||||
// # include "../simde/simde/x86/sse3.h"
|
# include "../simde/simde/x86/sse3.h"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 1dfa40113a03a682dc79ba42235c5b0d1c50aaf2
|
|
Loading…
Add table
Add a link
Reference in a new issue