1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-11 11:56:56 +01:00

AMD FMA4 addition

This commit is contained in:
Peter Boyle
2015-10-09 00:44:20 +02:00
parent 83afb2e26a
commit d4289a33b8
2 changed files with 22 additions and 2 deletions

13
configure vendored
View File

@ -1384,7 +1384,7 @@ Optional Features:
--disable-dependency-tracking
speeds up one-time build
--disable-openmp do not use OpenMP
--enable-simd=SSE4|AVX|AVX2|AVX512|IMCI
--enable-simd=SSE4|AVX|AVXFMA4|AVX2|AVX512|IMCI
Select instructions to be SSE4.0, AVX 1.0, AVX
2.0+FMA, AVX 512, IMCI
--enable-precision=single|double
@ -6403,6 +6403,17 @@ $as_echo "#define AVX1 1" >>confdefs.h
$as_echo "$as_me: WARNING: Your processor does not support AVX instructions" >&2;}
fi
;;
AVXFMA4)
echo Configuring for AVX
$as_echo "#define AVXFMA4 1" >>confdefs.h
if test x"$ax_cv_support_avx_ext" = x"yes"; then supported=yes
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your processor does not support AVX instructions" >&5
$as_echo "$as_me: WARNING: Your processor does not support AVX instructions" >&2;}
fi
;;
AVX2)
echo Configuring for AVX2