aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/vp3dsp.asm
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-09-05 10:10:16 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-09-05 10:10:16 +0000
commitb1c32fb5e5e9f6d18077b4f4d6fb7e6fd946630c (patch)
tree78a47c210935a8441f1a9a96f669b1cbe6591d7e /libavcodec/x86/vp3dsp.asm
parent87db37356c3cf63372447d5b8e0fb95e4ed66c15 (diff)
downloadffmpeg-b1c32fb5e5e9f6d18077b4f4d6fb7e6fd946630c.tar.gz
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. Originally committed as revision 25042 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/x86/vp3dsp.asm')
-rw-r--r--libavcodec/x86/vp3dsp.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/x86/vp3dsp.asm b/libavcodec/x86/vp3dsp.asm
index 95ea561ed0..f2b0af3266 100644
--- a/libavcodec/x86/vp3dsp.asm
+++ b/libavcodec/x86/vp3dsp.asm
@@ -93,12 +93,12 @@ SECTION .text
%endmacro
%macro STORE_4_WORDS 1
- movd r2, %1
+ movd r2d, %1
mov [r0 -1], r2w
psrlq %1, 32
shr r2, 16
mov [r0+r1 -1], r2w
- movd r2, %1
+ movd r2d, %1
mov [r0+r1*2-1], r2w
shr r2, 16
mov [r0+r3 -1], r2w
@@ -606,7 +606,7 @@ cglobal vp3_idct_dc_add_mmx2, 3, 4
movsx r2, word [r2]
add r2, 15
sar r2, 5
- movd m0, r2
+ movd m0, r2d
pshufw m0, m0, 0x0
pxor m1, m1
psubw m1, m0