aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/fmtconvert.asm
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2015-12-08 16:20:19 +0100
committerJanne Grunau <janne-libav@jannau.net>2015-12-14 16:42:35 +0100
commit5dfe4edad63971d669ae456b0bc40ef9364cca80 (patch)
tree82644852fa15f833c06b146243cb192a265f6186 /libavcodec/x86/fmtconvert.asm
parent64034849dad8410bedbe1def4c533490fb85cc4a (diff)
downloadffmpeg-5dfe4edad63971d669ae456b0bc40ef9364cca80.tar.gz
x86_64: int32_to_float_fmul_scalar sign extend integer length
Diffstat (limited to 'libavcodec/x86/fmtconvert.asm')
-rw-r--r--libavcodec/x86/fmtconvert.asm3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/x86/fmtconvert.asm b/libavcodec/x86/fmtconvert.asm
index 727daa9774..b9a78a5720 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