Diego Biurrun <[email protected]> writes:

> Older nasm versions have trouble assembling certain AVX instructions, but the
> current AVX check did not detect this. Update the check to use an instruction
> that triggers the nasm problem.
> ---
>  configure |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/configure b/configure
> index b013a6e..8b5449c 100755
> --- a/configure
> +++ b/configure
> @@ -2724,7 +2724,7 @@ EOF
>  
>          check_yasm "pextrd [eax], xmm0, 1" && enable yasm ||
>              die "yasm not found, use --disable-yasm for a crippled build"
> -        check_yasm "vpaddw xmm0, xmm0, xmm0" || disable avx
> +        check_yasm "vextractf128 xmm0, ymm0, 0" || disable avx
>      fi

Looks OK.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to