From 7f520524f67a583164724d030aec57bad8b1d61f Mon Sep 17 00:00:00 2001 From: James Almer Date: Fri, 8 Jan 2016 12:08:23 -0300 Subject: [PATCH] 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 Signed-off-by: James Almer --- 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 87229d4374..6ac2aa85d0 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