1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +01: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 eb58297a43
commit 73c0db82d5

View File

@ -27,7 +27,9 @@ AC_TYPE_UINT64_T
# Checks for library functions. # Checks for library functions.
AC_CHECK_FUNCS([gettimeofday]) 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 case ${ac_SIMD} in
SSE4) SSE4)
@ -42,8 +44,8 @@ case ${ac_SIMD} in
echo Configuring for AVX2 echo Configuring for AVX2
AC_DEFINE([AVX2],[1],[AVX2] ) AC_DEFINE([AVX2],[1],[AVX2] )
;; ;;
AVX512) AVX512|MIC)
echo Configuring for AVX512 echo Configuring for AVX512 and MIC
AC_DEFINE([AVX512],[1],[AVX512] ) AC_DEFINE([AVX512],[1],[AVX512] )
;; ;;
*) *)