[libav-devel] [PATCH] x86: rv40dsp: Use PAVGB instruction macro where appropriate

Luca Barbato lu_zero at gentoo.org
Mon Nov 4 02:24:33 CET 2013


On 04/11/13 01:29, Diego Biurrun wrote:
> ---
>  libavcodec/x86/rv40dsp.asm |    6 +-----
>  1 file changed, 1 insertion(+), 5 deletions(-)
> 
> diff --git a/libavcodec/x86/rv40dsp.asm b/libavcodec/x86/rv40dsp.asm
> index 7ec72be..d12b079 100644
> --- a/libavcodec/x86/rv40dsp.asm
> +++ b/libavcodec/x86/rv40dsp.asm
> @@ -98,11 +98,7 @@ SECTION .text
>  %endif
>      packuswb  %1, %1
>  %ifidn %3, avg
> -%if cpuflag(3dnow)
> -    pavgusb   %1, %2
> -%else
> -    pavgb     %1, %2
> -%endif
> +    PAVGB     %1, %2
>  %endif
>      movh  [dstq], %1
>  %endmacro
> 

Ok.


More information about the libav-devel mailing list