From da1ba4e88b5bf723f8889798cb71f4e1cabb7a00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Fri, 3 Feb 2012 20:34:56 +0100 Subject: [PATCH] Fix NASM compilation. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit movd needs explicit register size prefix for NASM. Signed-off-by: Reimar Döffinger --- libavcodec/x86/rv40dsp.asm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavcodec/x86/rv40dsp.asm b/libavcodec/x86/rv40dsp.asm index bff3e7b96a..c13e9f03d9 100644 --- a/libavcodec/x86/rv40dsp.asm +++ b/libavcodec/x86/rv40dsp.asm @@ -164,8 +164,8 @@ cglobal rv40_weight_func_%1, 6, 7, %2 ; Use result of test now jz .loop_512 - movd m2, r3 - movd m3, r4 + movd m2, r3d + movd m3, r4d SPLATW m2, m2 SPLATW m3, m3 @@ -178,8 +178,8 @@ cglobal rv40_weight_func_%1, 6, 7, %2 .loop_512: sar r3, 9 sar r4, 9 - movd m2, r3 - movd m3, r4 + movd m2, r3d + movd m3, r4d %if cpuflag(ssse3) punpcklbw m3, m2 SPLATW m3, m3