From 55c3eed151355287db4db0183ec6a61173dc6ce6 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 24 Mar 2016 19:18:15 +0100 Subject: [PATCH] Have the SSE2 test trigger a conversion with old gcc versions --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"])],