[PATCH] Fix configure.ac error of intel-avx512
Jussi Kivilinna
jussi.kivilinna at iki.fi
Tue Mar 29 18:06:04 CEST 2022
Hello,
On 29.3.2022 11.26, Tianjia Zhang via Gcrypt-devel wrote:
> * configure.ac: Correctly set value for avx512support.
> --
>
> Signed-off-by: Tianjia Zhang <tianjia.zhang at linux.alibaba.com>
> ---
> configure.ac | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/configure.ac b/configure.ac
> index b41322e357ca..467151391a73 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
Applied to master, thanks.
-Jussi
More information about the Gcrypt-devel
mailing list