summaryrefslogtreecommitdiff
path: root/libavcodec/x86
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2015-12-22 22:45:42 +0100
committerJanne Grunau <janne-libav@jannau.net>2015-12-29 11:42:51 +0100
commitf4f27e4cf1013c55b2c7df359ce8d58ee922662c (patch)
tree675862b69176d40c7e6c0c117b0133bd90dc5c01 /libavcodec/x86
parent69a68593ce5684409c3c4dd9a901bfd8b16925b1 (diff)
x86: zero extend the 32-bit length in int32_to_float_fmul_scalar implicitly
This reverts commit 5dfe4edad63971d669ae456b0bc40ef9364cca80.
Diffstat (limited to 'libavcodec/x86')
-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 b9a78a5720..03833220a0 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