From f4f27e4cf1013c55b2c7df359ce8d58ee922662c Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Tue, 22 Dec 2015 22:45:42 +0100 Subject: x86: zero extend the 32-bit length in int32_to_float_fmul_scalar implicitly This reverts commit 5dfe4edad63971d669ae456b0bc40ef9364cca80. --- libavcodec/x86/fmtconvert.asm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libavcodec/x86') 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 @@ -37,12 +37,9 @@ cglobal int32_to_float_fmul_scalar, 4, 4, %1, dst, src, mul, len SWAP 0, 2 %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 -- cgit v1.2.3