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 <michaelni@gmx.at>
pull/15/head
Michael Niedermayer 12 years ago
parent 1a4007964c
commit 92218aad00
  1. 4
      libavutil/x86/float_dsp.asm

@ -272,8 +272,8 @@ cglobal butterflies_float, 3,3,3, src0, src1, len
test lenq, lenq test lenq, lenq
jz .end jz .end
shl lenq, 2 shl lenq, 2
lea src0q, [src0q + lenq] add src0q, lenq
lea src1q, [src1q + lenq] add src1q, lenq
neg lenq neg lenq
.loop: .loop:
mova m0, [src0q + lenq] mova m0, [src0q + lenq]

Loading…
Cancel
Save