[FFmpeg-cvslog] x86/float_dsp: zero extend len from ff_butterflies_float_sse implicitly

James Almer git at videolan.org
Fri Jan 8 20:15:57 CET 2016


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Fri Jan  8 12:08:42 2016 -0300| [4ee38ed7f9038fb20ecef10811bc204603b4f6ee] | committer: James Almer

x86/float_dsp: zero extend len from ff_butterflies_float_sse implicitly

Reviewed-by: Christophe Gisquet <christophe.gisquet at gmail.com>
Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4ee38ed7f9038fb20ecef10811bc204603b4f6ee
---

 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



More information about the ffmpeg-cvslog mailing list