[FFmpeg-cvslog] x86/float_dsp: remove len check from ff_butterflies_float_sse

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:23 2016 -0300| [7f520524f67a583164724d030aec57bad8b1d61f] | committer: James Almer

x86/float_dsp: remove len check from ff_butterflies_float_sse

The function documentation explicitly mentions it needs to be a multiple of 4.

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=7f520524f67a583164724d030aec57bad8b1d61f
---

 libavutil/x86/float_dsp.asm |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavutil/x86/float_dsp.asm b/libavutil/x86/float_dsp.asm
index 87229d4..6ac2aa8 100644
--- a/libavutil/x86/float_dsp.asm
+++ b/libavutil/x86/float_dsp.asm
@@ -362,8 +362,6 @@ cglobal butterflies_float, 3,3,3, src0, src1, len
 %if ARCH_X86_64
     movsxd    lenq, lend
 %endif
-    test      lenq, lenq
-    jz .end
     shl       lenq, 2
     add      src0q, lenq
     add      src1q, lenq
@@ -377,5 +375,4 @@ cglobal butterflies_float, 3,3,3, src0, src1, len
     mova        [src0q + lenq], m0
     add       lenq, mmsize
     jl .loop
-.end:
     REP_RET



More information about the ffmpeg-cvslog mailing list