Have the SSE2 test trigger a conversion with old gcc versions
This commit is contained in:
parent
3f765f1737
commit
55c3eed151
@ -312,7 +312,7 @@ AS_IF([test "x$EMSCRIPTEN" = "x"],[
|
|||||||
#endif
|
#endif
|
||||||
#include <emmintrin.h>
|
#include <emmintrin.h>
|
||||||
]], [[ __m128d x = _mm_setzero_pd();
|
]], [[ __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_MSG_RESULT(yes)
|
||||||
AC_DEFINE([HAVE_EMMINTRIN_H], [1], [sse2 is available])
|
AC_DEFINE([HAVE_EMMINTRIN_H], [1], [sse2 is available])
|
||||||
AX_CHECK_COMPILE_FLAG([-msse2], [CFLAGS_SSE2="-msse2"])],
|
AX_CHECK_COMPILE_FLAG([-msse2], [CFLAGS_SSE2="-msse2"])],
|
||||||
|
Loading…
Reference in New Issue
Block a user