aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2016-01-02 13:23:25 +0100
committerHendrik Leppkes <h.leppkes@gmail.com>2016-01-02 13:23:25 +0100
commita9cd11b212950a4c88a85c59e6485a5868a6bbdd (patch)
tree305c5c90feae13c757d48fc0e1433c6add9de2b2
parent95a2b883e36d3499c6bf620c65ac9d21fa2bd808 (diff)
parentf4f27e4cf1013c55b2c7df359ce8d58ee922662c (diff)
downloadffmpeg-a9cd11b212950a4c88a85c59e6485a5868a6bbdd.tar.gz
Merge commit 'f4f27e4cf1013c55b2c7df359ce8d58ee922662c'
* commit 'f4f27e4cf1013c55b2c7df359ce8d58ee922662c': x86: zero extend the 32-bit length in int32_to_float_fmul_scalar implicitly Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
-rw-r--r--libavcodec/x86/fmtconvert.asm5
1 files changed, 1 insertions, 4 deletions
diff --git a/libavcodec/x86/fmtconvert.asm b/libavcodec/x86/fmtconvert.asm
index e9ffce9013..bc0006c554 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