[FFmpeg-cvslog] x86: zero extend the 32-bit length in int32_to_float_fmul_scalar implicitly

Janne Grunau git at videolan.org
Sat Jan 2 13:26:21 CET 2016


ffmpeg | branch: master | Janne Grunau <janne-libav at jannau.net> | Tue Dec 22 22:45:42 2015 +0100| [f4f27e4cf1013c55b2c7df359ce8d58ee922662c] | committer: Janne Grunau

x86: zero extend the 32-bit length in int32_to_float_fmul_scalar implicitly

This reverts commit 5dfe4edad63971d669ae456b0bc40ef9364cca80.

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

 libavcodec/x86/fmtconvert.asm |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/libavcodec/x86/fmtconvert.asm b/libavcodec/x86/fmtconvert.asm
index b9a78a5..0383322 100644
--- a/libavcodec/x86/fmtconvert.asm
+++ b/libavcodec/x86/fmtconvert.asm
@@ -38,11 +38,8 @@ cglobal int32_to_float_fmul_scalar, 4, 4, %1, dst, src, mul, len
 %elif ARCH_X86_32
     movss   m0, mulm
 %endif
-%if ARCH_X86_64
-    movsxd  lenq, lend
-%endif
     SPLATD  m0
-    shl     lenq, 2
+    shl     lend, 2
     add     srcq, lenq
     add     dstq, lenq
     neg     lenq



More information about the ffmpeg-cvslog mailing list