[vlc-devel] [PATCH v2 6/9] contrib: speexdsp: disable neon on aarch64

Rémi Denis-Courmont remi at remlab.net
Thu Oct 9 18:55:46 CEST 2014


Le jeudi 9 octobre 2014, 18:45:24 Thomas Guillem a écrit :
> ---
>  contrib/src/speexdsp/rules.mak | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/contrib/src/speexdsp/rules.mak b/contrib/src/speexdsp/rules.mak
> index 7a2bc80..80b0fb2 100644
> --- a/contrib/src/speexdsp/rules.mak
> +++ b/contrib/src/speexdsp/rules.mak
> @@ -23,12 +23,18 @@ speexdsp: speexdsp-$(SPEEXDSP_VERSION).tar.gz
> .sum-speexdsp $(MOVE)
> 
>  SPEEXDSP_CONF := --enable-resample-full-sinc-table
> +
> +ifeq ($(ARCH),aarch64)
> +# old neon, not compatible with aarch64
> +SPEEXDSP_CONF += --disable-neon
> +else
>  ifndef HAVE_FPU
>  SPEEXDSP_CONF += --enable-fixed-point
>  ifeq ($(ARCH),arm)
>  SPEEXDSP_CONF += --enable-arm5e-asm
>  endif
>  endif
> +endif

Why "else"?

> 
>  .speexdsp: speexdsp
>  	mkdir -p $</m4 && $(RECONF)

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list