From a78161981c46ee4348d04750c43e9e0e4b960b06 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 29 Dec 2015 23:18:28 +0100 Subject: [PATCH] Check for _mm_set_epi64x() usability in the SSE2 test --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 8a5e71cf..e33bf8d7 100644 --- a/configure.ac +++ b/configure.ac @@ -293,7 +293,8 @@ AS_IF([test "x$EMSCRIPTEN" = "x"],[ # define __SSE2__ #endif #include -]], [[ __m128d x = _mm_setzero_pd(); ]])], +]], [[ __m128d x = _mm_setzero_pd(); + __m128i y = _mm_set_epi64x(0, 0); ]])], [AC_MSG_RESULT(yes) AC_DEFINE([HAVE_EMMINTRIN_H], [1], [sse2 is available]) AX_CHECK_COMPILE_FLAG([-msse2], [CFLAGS_SSE2="-msse2"])],