diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-04-16 23:52:24 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-04-17 00:10:06 +0200 |
commit | 92218aad007ffc36bb139fe8bd6d5b1d75721017 (patch) | |
tree | 35881c60163a4bfbf2468e8d6f0a700e0d02bddc | |
parent | 1a4007964c106d01f46a5a7f03c1c41fd869b35c (diff) | |
download | ffmpeg-92218aad007ffc36bb139fe8bd6d5b1d75721017.tar.gz |
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>
-rw-r--r-- | libavutil/x86/float_dsp.asm | 4 |
1 files 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] |