Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-17 01:52:24 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-04-17 02:10:06 +0400
commit92218aad007ffc36bb139fe8bd6d5b1d75721017 (patch)
tree35881c60163a4bfbf2468e8d6f0a700e0d02bddc /libavutil/x86
parent1a4007964c106d01f46a5a7f03c1c41fd869b35c (diff)
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>
Diffstat (limited to 'libavutil/x86')
-rw-r--r--libavutil/x86/float_dsp.asm4
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]