[FFmpeg-devel] [PATCH 1/3] x86/float_dsp: remove len check from ff_butterflies_float_sse

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


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

Signed-off-by: James Almer <jamrial at gmail.com>
---
 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
-- 
2.6.3



More information about the ffmpeg-devel mailing list