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>
This commit is contained in:
Michael Niedermayer 2013-04-16 23:52:24 +02:00
parent 1a4007964c
commit 92218aad00
1 changed files with 2 additions and 2 deletions

View File

@ -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]