Commit 92218aad authored by Michael Niedermayer's avatar Michael Niedermayer

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: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 1a400796
...@@ -272,8 +272,8 @@ cglobal butterflies_float, 3,3,3, src0, src1, len ...@@ -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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment