Compile with mingw64 not found __builtin_ia32_paddsw128
Closed this issue · 0 comments
frbitten commented
I'm compiling the IntelRealsense SDK and I get this error in the mingw64 header when enabling SSE instructions.
I'm using the Mysys2 framework with mingw64.
Why is the function __builtin_ia32_paddsw128 not found? Is there any auxiliary library missing?
[build] D:/msys64/ucrt64/lib/gcc/x86_64-w64-mingw32/12.2.0/include/tmmintrin.h: In function '__m128i _mm_hadd_epi16(__m128i, __m128i)':
[build] D:/msys64/ucrt64/lib/gcc/x86_64-w64-mingw32/12.2.0/include/tmmintrin.h:42:20: error: '__builtin_ia32_phaddw128' was not declared in this scope; did you mean '__builtin_ia32_paddw128'?
[build] 42 | return (__m128i) __builtin_ia32_phaddw128 ((__v8hi)__X, (__v8hi)__Y);