From b1c32fb5e5e9f6d18077b4f4d6fb7e6fd946630c Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Sun, 5 Sep 2010 10:10:16 +0000 Subject: 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 --- libavcodec/x86/h264_weight.asm | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'libavcodec/x86/h264_weight.asm') 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 -- cgit v1.2.3