Test only for cpu features we actually use for now, add MMX.
This commit is contained in:
parent
cb4f3e4f06
commit
ced8034901
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user