1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-09 23:45:36 +00:00

Better description of Intel's many ISA targets

This commit is contained in:
Peter Boyle 2015-04-23 08:02:51 +01:00
parent 47292de769
commit 5c8858f31b

View File

@ -27,7 +27,9 @@ AC_TYPE_UINT64_T
# Checks for library functions.
AC_CHECK_FUNCS([gettimeofday])
AC_ARG_ENABLE([simd],[AC_HELP_STRING([--enable-simd=SSE|AVX|AVX2|AVX512],[Select instructions])],[ac_SIMD=${enable_simd}],[ac_SIMD=AVX2])
AC_ARG_ENABLE([simd],[AC_HELP_STRING([--enable-simd=SSE|AVX|AVX2|AVX512|MIC],\
[Select instructions to be SSE4.0, AVX 1.0, AVX 2.0+FMA, AVX 512, MIC])],\
[ac_SIMD=${enable_simd}],[ac_SIMD=AVX2])
case ${ac_SIMD} in
SSE4)
@ -42,8 +44,8 @@ case ${ac_SIMD} in
echo Configuring for AVX2
AC_DEFINE([AVX2],[1],[AVX2] )
;;
AVX512)
echo Configuring for AVX512
AVX512|MIC)
echo Configuring for AVX512 and MIC
AC_DEFINE([AVX512],[1],[AVX512] )
;;
*)