Mercurial > libavcodec.hg
diff x86/vc1dsp_yasm.asm @ 12457:2982071047a2 libavcodec
Use "d" suffix for general-purpose registers used with movd.
This increases compatibilty with nasm and is also more consistent,
e.g. with h264_intrapred.asm and h264_chromamc.asm that already
do it that way.
author | reimar |
---|---|
date | Sun, 05 Sep 2010 10:10:16 +0000 |
parents | 846779f6b164 |
children |
line wrap: on
line diff
--- a/x86/vc1dsp_yasm.asm Sat Sep 04 09:59:08 2010 +0000 +++ b/x86/vc1dsp_yasm.asm Sun Sep 05 10:10:16 2010 +0000 @@ -36,7 +36,7 @@ %endmacro %macro STORE_4_WORDS_MMX 6 - movd %6, %5 + movd %6d, %5 %if mmsize==16 psrldq %5, 4 %else @@ -45,7 +45,7 @@ mov %1, %6w shr %6, 16 mov %2, %6w - movd %6, %5 + movd %6d, %5 mov %3, %6w shr %6, 16 mov %4, %6w @@ -88,7 +88,7 @@ pxor m7, m3 ; d_sign ^= a0_sign pxor m5, m5 - movd m3, r2 + movd m3, r2d %if %1 > 4 punpcklbw m3, m3 %endif