[FFmpeg-cvslog] x86: h264_intrapred: Don't add the 'd' suffix to the SPLATB_REG macro

Martin Storsjö git at videolan.org
Sat Jul 7 20:43:01 CEST 2012


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Fri Jul  6 10:53:43 2012 +0300| [f27386cdc76d8524df71e684a3ec5481940004f1] | committer: Martin Storsjö

x86: h264_intrapred: Don't add the 'd' suffix to the SPLATB_REG macro

The SPLATB_REG macro already adds the 'd' suffix internally.

This fixes building on Win64, which has been broken since 878e66902.

This worked for unix, where r2 happened to be rdx in this case, which
with the first suffix rdxd was mapped to eax, and eaxd is defined back
to eax. On win64 however, r2 happened to be R8 in this case, and
R8d mapps to R8D just fine, but there's no mapping for R8Dd to anything.

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f27386cdc76d8524df71e684a3ec5481940004f1
---

 libavcodec/x86/h264_intrapred.asm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/x86/h264_intrapred.asm b/libavcodec/x86/h264_intrapred.asm
index 5984454..50a615b 100644
--- a/libavcodec/x86/h264_intrapred.asm
+++ b/libavcodec/x86/h264_intrapred.asm
@@ -156,7 +156,7 @@ cglobal pred16x16_dc, 2,7
 %if cpuflag(ssse3)
     pxor       m1, m1
 %endif
-    SPLATB_REG m0, r2d, m1
+    SPLATB_REG m0, r2, m1
 
 %if mmsize==8
     mov       r3d, 8



More information about the ffmpeg-cvslog mailing list