From 92218aad007ffc36bb139fe8bd6d5b1d75721017 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 16 Apr 2013 23:52:24 +0200 Subject: butterflies_float: replace 2 lea by 2 add adds are simpler instructions and should be faster or equally fast on all cpus Signed-off-by: Michael Niedermayer --- libavutil/x86/float_dsp.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/x86/float_dsp.asm b/libavutil/x86/float_dsp.asm index f0310ef1b8..1c280589af 100644 --- a/libavutil/x86/float_dsp.asm +++ b/libavutil/x86/float_dsp.asm @@ -272,8 +272,8 @@ cglobal butterflies_float, 3,3,3, src0, src1, len test lenq, lenq jz .end shl lenq, 2 - lea src0q, [src0q + lenq] - lea src1q, [src1q + lenq] + add src0q, lenq + add src1q, lenq neg lenq .loop: mova m0, [src0q + lenq] -- cgit v1.2.3