[FFmpeg-cvslog] x86_64: int32_to_float_fmul_scalar sign extend integer length

Janne Grunau git at videolan.org
Sat Jan 2 10:46:35 CET 2016


ffmpeg | branch: master | Janne Grunau <janne-libav at jannau.net> | Tue Dec  8 16:20:19 2015 +0100| [5dfe4edad63971d669ae456b0bc40ef9364cca80] | committer: Janne Grunau

x86_64: int32_to_float_fmul_scalar sign extend integer length

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

 libavcodec/x86/fmtconvert.asm |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavcodec/x86/fmtconvert.asm b/libavcodec/x86/fmtconvert.asm
index 727daa9..b9a78a5 100644
--- a/libavcodec/x86/fmtconvert.asm
+++ b/libavcodec/x86/fmtconvert.asm
@@ -38,6 +38,9 @@ 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
     add     srcq, lenq



More information about the ffmpeg-cvslog mailing list