[libav-devel] [PATCH 4/5] x86: h264: prevent gcc from issuing a i686 nopl instruction on i586 machines

Måns Rullgård mans at mansr.com
Fri May 11 17:06:08 CEST 2012


Diego Biurrun <diego at biurrun.de> writes:

> From: Michael Kostylev <michael.kostylev at gmail.com>
>
> ---
>  libavcodec/x86/h264_intrapred.asm |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/libavcodec/x86/h264_intrapred.asm b/libavcodec/x86/h264_intrapred.asm
> index 3beb3b9..a09eb03 100644
> --- a/libavcodec/x86/h264_intrapred.asm
> +++ b/libavcodec/x86/h264_intrapred.asm
> @@ -731,7 +731,7 @@ cglobal pred8x8_plane_%1, 2, 9, %2
>  %endif
>
>      mov          r4, 4
> -ALIGN 16
> +ALIGNB 16,nop
>  .loop
>  %if mmsize == 16
>      mova         m3, m0           ; b[0..7]
> -- 

This file is built with yasm so mentioning gcc is wrong.

-- 
Måns Rullgård
mans at mansr.com


More information about the libav-devel mailing list