[FFmpeg-devel] [PATCH 2/3] x86/float_dsp: zero extend len from ff_butterflies_float_sse implicitly

James Almer jamrial at gmail.com
Fri Jan 8 16:22:28 CET 2016


Signed-off-by: James Almer <jamrial at gmail.com>
---
 libavutil/x86/float_dsp.asm | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/libavutil/x86/float_dsp.asm b/libavutil/x86/float_dsp.asm
index 6ac2aa8..743e1c1 100644
--- a/libavutil/x86/float_dsp.asm
+++ b/libavutil/x86/float_dsp.asm
@@ -359,10 +359,7 @@ cglobal scalarproduct_float, 3,3,2, v1, v2, offset
 ;-----------------------------------------------------------------------------
 INIT_XMM sse
 cglobal butterflies_float, 3,3,3, src0, src1, len
-%if ARCH_X86_64
-    movsxd    lenq, lend
-%endif
-    shl       lenq, 2
+    shl       lend, 2
     add      src0q, lenq
     add      src1q, lenq
     neg       lenq
-- 
2.6.3



More information about the ffmpeg-devel mailing list