From ced803490176a6c0ed467a50c20aedffd922fab3 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 2 May 2014 15:39:49 -0700 Subject: [PATCH] Test only for cpu features we actually use for now, add MMX. --- configure.ac | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index d25f2d22..1dc00637 100644 --- a/configure.ac +++ b/configure.ac @@ -243,13 +243,9 @@ AC_CHECK_TOOL([AR], [ar], [ar]) dnl Checks for headers AS_IF([test "x$EMSCRIPTEN" = "x"],[ + AC_CHECK_HEADERS([mmintrin.h], [], [], [#pragma GCC target("mmx")]) AC_CHECK_HEADERS([emmintrin.h], [], [], [#pragma GCC target("sse2")]) AC_CHECK_HEADERS([pmmintrin.h], [], [], [#pragma GCC target("sse3")]) - AC_CHECK_HEADERS([tmmintrin.h], [], [], [#pragma GCC target("ssse3")]) - AC_CHECK_HEADERS([smmintrin.h], [], [], [#pragma GCC target("sse4.1")]) - AC_CHECK_HEADERS([immintrin.h], [], [], [#pragma GCC target("avx")]) - AC_CHECK_HEADERS([x86intrin.h], [], [], [#pragma GCC target("xop")]) - AC_CHECK_HEADERS([wmmintrin.h], [], [], [#pragma GCC target("aes")]) ]) AC_CHECK_HEADERS([sys/mman.h])