Fix ssse3 detection

This commit is contained in:
Frank Denis 2013-04-26 22:53:07 -07:00
parent 6ec9828b9f
commit a669e9353d

View File

@ -152,7 +152,7 @@ AC_CHECK_HEADERS([emmintrin.h], [], [], [
]) ])
AC_CHECK_HEADERS([tmmintrin.h], [], [], [ AC_CHECK_HEADERS([tmmintrin.h], [], [], [
#pragma GCC target("sse3") #pragma GCC target("ssse3")
]) ])
AC_CHECK_HEADERS([smmintrin.h], [], [], [ AC_CHECK_HEADERS([smmintrin.h], [], [], [
@ -163,6 +163,10 @@ AC_CHECK_HEADERS([immintrin.h], [], [], [
#pragma GCC target("avx") #pragma GCC target("avx")
]) ])
AC_CHECK_HEADERS([avxintrin.h], [], [], [
#pragma GCC target("avx")
])
AC_CHECK_HEADERS([x86intrin.h], [], [], [ AC_CHECK_HEADERS([x86intrin.h], [], [], [
#pragma GCC target("xop") #pragma GCC target("xop")
]) ])