diff mbox

[FFmpeg-devel] avcodec/x86/vc1dsp_mc: Fix build with NASM 2.09.10

Message ID 20170102203540.21855-1-michael@niedermayer.cc
State Accepted
Commit aa952920431b4cf0053c24ca60be8ffd31382b12
Headers show

Commit Message

Michael Niedermayer Jan. 2, 2017, 8:35 p.m. UTC
make fate passes

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
 libavcodec/x86/vc1dsp_mc.asm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ronald S. Bultje Jan. 2, 2017, 8:42 p.m. UTC | #1
Hi,

On Mon, Jan 2, 2017 at 3:35 PM, Michael Niedermayer <michael@niedermayer.cc>
wrote:

> make fate passes
>
> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
> ---
>  libavcodec/x86/vc1dsp_mc.asm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavcodec/x86/vc1dsp_mc.asm b/libavcodec/x86/vc1dsp_mc.asm
> index 7eaf043964..175c397ae9 100644
> --- a/libavcodec/x86/vc1dsp_mc.asm
> +++ b/libavcodec/x86/vc1dsp_mc.asm
> @@ -155,7 +155,7 @@ cglobal vc1_%2_hor_16b_shift2, 4, 5, 0, dst, stride,
> src, rnd, h
>      mov                hq, 8
>      sub              srcq, 2
>      sub              rndd, (-1+9+9-1) * 1024 ; add -1024 bias
> -    LOAD_ROUNDER_MMX rndq
> +    LOAD_ROUNDER_MMX rndd
>      mova               m5, [pw_9]
>      mova               m6, [pw_128]
>      pxor               m0, m0
> --
> 2.11.0
>

LGTM.

Ronald
Michael Niedermayer Jan. 2, 2017, 9:18 p.m. UTC | #2
On Mon, Jan 02, 2017 at 03:42:17PM -0500, Ronald S. Bultje wrote:
> Hi,
> 
> On Mon, Jan 2, 2017 at 3:35 PM, Michael Niedermayer <michael@niedermayer.cc>
> wrote:
> 
> > make fate passes
> >
> > Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
> > ---
> >  libavcodec/x86/vc1dsp_mc.asm | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/libavcodec/x86/vc1dsp_mc.asm b/libavcodec/x86/vc1dsp_mc.asm
> > index 7eaf043964..175c397ae9 100644
> > --- a/libavcodec/x86/vc1dsp_mc.asm
> > +++ b/libavcodec/x86/vc1dsp_mc.asm
> > @@ -155,7 +155,7 @@ cglobal vc1_%2_hor_16b_shift2, 4, 5, 0, dst, stride,
> > src, rnd, h
> >      mov                hq, 8
> >      sub              srcq, 2
> >      sub              rndd, (-1+9+9-1) * 1024 ; add -1024 bias
> > -    LOAD_ROUNDER_MMX rndq
> > +    LOAD_ROUNDER_MMX rndd
> >      mova               m5, [pw_9]
> >      mova               m6, [pw_128]
> >      pxor               m0, m0
> > --
> > 2.11.0
> >
> 
> LGTM.

applied

thx

[...]
diff mbox

Patch

diff --git a/libavcodec/x86/vc1dsp_mc.asm b/libavcodec/x86/vc1dsp_mc.asm
index 7eaf043964..175c397ae9 100644
--- a/libavcodec/x86/vc1dsp_mc.asm
+++ b/libavcodec/x86/vc1dsp_mc.asm
@@ -155,7 +155,7 @@  cglobal vc1_%2_hor_16b_shift2, 4, 5, 0, dst, stride, src, rnd, h
     mov                hq, 8
     sub              srcq, 2
     sub              rndd, (-1+9+9-1) * 1024 ; add -1024 bias
-    LOAD_ROUNDER_MMX rndq
+    LOAD_ROUNDER_MMX rndd
     mova               m5, [pw_9]
     mova               m6, [pw_128]
     pxor               m0, m0