Go to the documentation of this file.Go to the SVN repository for this file.
1 #ifndef BMSIMD__H__INCLUDED__
2 #define BMSIMD__H__INCLUDED__
25 #pragma GCC diagnostic push
26 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
28 #pragma GCC diagnostic pop
34 #include <wasm_simd128.h>
77 #if defined(BMWASMSIMDOPT)
79 #elif defined(BMNEONOPT)
81 #elif defined(BMAVX512OPT)
83 #elif defined(BMAVX2OPT)
85 #elif defined(BMSSE42OPT)
87 #elif defined(BMSSE2OPT)
Compute functions for SSE2 SIMD instruction set (internal)
Compute functions for SSE4.2 SIMD instruction set (internal)
int simd_version()
return SIMD optimization used for building BitMagic
@ simd_sse42
!< Intel SSE2
@ simd_sse2
!< No SIMD or any other optimization
@ simd_avx512
!< Intel AVX2
@ simd_neon
! WASM SIMD 128
@ simd_avx2
!< Intel SSE4.2
@ simd_wasm128
!< Intel AVX512