diff options
author | Tianjia Zhang <tianjia.zhang@linux.alibaba.com> | 2022-03-29 16:26:00 +0800 |
---|---|---|
committer | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2022-03-29 18:49:42 +0300 |
commit | 4dc707e336a91ca9ca5a59787b9245a1ca3042c6 (patch) | |
tree | 52817e311280a55218aa655119044ad9b1b09dd1 /configure.ac | |
parent | 564739a58426d89db2f0c9334659949e503d2c59 (diff) | |
download | libgcrypt-4dc707e336a91ca9ca5a59787b9245a1ca3042c6.tar.gz |
Fix configure.ac error of intel-avx512
* configure.ac: Correctly set value for avx512support.
--
Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index b41322e3..46715139 100644 --- a/configure.ac +++ b/configure.ac @@ -1303,6 +1303,7 @@ if test "$mpi_cpu_arch" != "x86" ; then sse41support="n/a" avxsupport="n/a" avx2support="n/a" + avx512support="n/a" padlocksupport="n/a" drngsupport="n/a" fi @@ -2404,6 +2405,11 @@ if test x"$avx2support" = xyes ; then avx2support="no (unsupported by compiler)" fi fi +if test x"$avx512support" = xyes ; then + if test "$gcry_cv_gcc_inline_asm_avx512" != "yes" ; then + avx512support="no (unsupported by compiler)" + fi +fi if test x"$neonsupport" = xyes ; then if test "$gcry_cv_gcc_inline_asm_neon" != "yes" ; then if test "$gcry_cv_gcc_inline_asm_aarch64_neon" != "yes" ; then |