summaryrefslogtreecommitdiff
path: root/libavcodec/x86/h264_weight.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/h264_weight.asm
parent87db37356c3cf63372447d5b8e0fb95e4ed66c15 (diff)
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/h264_weight.asm')
-rw-r--r--libavcodec/x86/h264_weight.asm22
1 files changed, 11 insertions, 11 deletions
diff --git a/libavcodec/x86/h264_weight.asm b/libavcodec/x86/h264_weight.asm
index 6e89ab3bc7..53aa210473 100644
--- a/libavcodec/x86/h264_weight.asm
+++ b/libavcodec/x86/h264_weight.asm
@@ -40,9 +40,9 @@ SECTION .text
%macro WEIGHT_SETUP 0
add r4, r4
inc r4
- movd m3, r3
- movd m5, r4
- movd m6, r2
+ movd m3, r3d
+ movd m5, r4d
+ movd m6, r2d
pslld m5, m6
psrld m5, 1
%if mmsize == 16
@@ -156,10 +156,10 @@ WEIGHT_FUNC_HALF_MM 8, 4, 16, 8, sse2
add r6, 1
or r6, 1
add r3, 1
- movd m3, r4
- movd m4, r5
- movd m5, r6
- movd m6, r3
+ movd m3, r4d
+ movd m4, r5d
+ movd m5, r6d
+ movd m6, r3d
pslld m5, m6
psrld m5, 1
%if mmsize == 16
@@ -291,10 +291,10 @@ BIWEIGHT_FUNC_HALF_MM 8, 4, 16, 8, sse2
add r6, 1
or r6, 1
add r3, 1
- movd m4, r4
- movd m0, r5
- movd m5, r6
- movd m6, r3
+ movd m4, r4d
+ movd m0, r5d
+ movd m5, r6d
+ movd m6, r3d
pslld m5, m6
psrld m5, 1
punpcklbw m4, m0