More wasm things, high-dpi browser tests
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
5370e2ad6e
commit
5ed8eb4731
12 changed files with 61 additions and 53 deletions
|
@ -21,7 +21,6 @@
|
|||
# include_next <mmintrin.h>
|
||||
#elif defined(__EMSCRIPTEN__)
|
||||
# include <wasm_simd128.h>
|
||||
// # include_next <pmmintrin.h>
|
||||
#else
|
||||
# include "../sse2neon/sse2neon.h"
|
||||
#endif
|
||||
|
|
|
@ -23,16 +23,6 @@
|
|||
#elif defined(__EMSCRIPTEN__)
|
||||
# include_next <pmmintrin.h>
|
||||
|
||||
// NOTE these have been verified to be unused (included for ValleyAudio builds)
|
||||
// static inline
|
||||
// __m64 _mm_and_si64(__m64 a, __m64 b) { return a; }
|
||||
//
|
||||
// static inline
|
||||
// __m64 _mm_andnot_si64(__m64 a, __m64 b) { return a; }
|
||||
//
|
||||
// static inline
|
||||
// __m64 _mm_or_si64(__m64 a, __m64 b) { return a; }
|
||||
|
||||
static inline
|
||||
__m64 _mm_set1_pi16(short w)
|
||||
{
|
||||
|
@ -48,25 +38,6 @@ void __builtin_ia32_pause()
|
|||
__asm__ __volatile__("isb\n");
|
||||
}
|
||||
|
||||
static inline
|
||||
__m64 _mm_and_si64(__m64 a, __m64 b)
|
||||
{
|
||||
return vreinterpret_s64_s32(vand_s32(vreinterpret_s32_m64(a), vreinterpret_s32_m64(b)));
|
||||
}
|
||||
|
||||
static inline
|
||||
__m64 _mm_andnot_si64(__m64 a, __m64 b)
|
||||
{
|
||||
// *NOTE* argument swap
|
||||
return vreinterpret_s64_s32(vbic_s32(vreinterpret_s32_m64(b), vreinterpret_s32_m64(a)));
|
||||
}
|
||||
|
||||
static inline
|
||||
__m64 _mm_or_si64(__m64 a, __m64 b)
|
||||
{
|
||||
return vreinterpret_s64_s32(vorr_s32(vreinterpret_s32_m64(a), vreinterpret_s32_m64(b)));
|
||||
}
|
||||
|
||||
static inline
|
||||
__m64 _mm_set1_pi16(short w)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue