diff --git a/configure.ac b/configure.ac index dc8fe64a..f6d30917 100644 --- a/configure.ac +++ b/configure.ac @@ -312,7 +312,7 @@ AS_IF([test "x$EMSCRIPTEN" = "x"],[ #endif #include ]], [[ __m128d x = _mm_setzero_pd(); - __m128i y = _mm_set_epi64x(0, 0); ]])], + __m128i y = _mm_srli_epi64(_mm_setzero_si128(), 26); ]])], [AC_MSG_RESULT(yes) AC_DEFINE([HAVE_EMMINTRIN_H], [1], [sse2 is available]) AX_CHECK_COMPILE_FLAG([-msse2], [CFLAGS_SSE2="-msse2"])],