summaryrefslogtreecommitdiff
path: root/libavcodec/arm/synth_filter_neon.S
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-01-31 19:26:02 +0000
committerMichael Niedermayer <michaelni@gmx.at>2011-02-02 03:40:48 +0100
commita8ae4e0e7bf854a4eb278ab353478d6ab7334d22 (patch)
treef860a60a19ba6621d6d16c0c5a464d3860fb7df4 /libavcodec/arm/synth_filter_neon.S
parent403fa3cf07db6aba070eef262f10d0616088025f (diff)
Remove unneeded add bias from 3 functions.
DSPContext.vector_fmul_window() DCADSPContext.lfe_fir() SynthFilterContext.synth_filter_float() Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 80ba1ddb58b5923b9f36a6acd542affc4ca722eb)
Diffstat (limited to 'libavcodec/arm/synth_filter_neon.S')
-rw-r--r--libavcodec/arm/synth_filter_neon.S8
1 files changed, 3 insertions, 5 deletions
diff --git a/libavcodec/arm/synth_filter_neon.S b/libavcodec/arm/synth_filter_neon.S
index a7c23df02b..1464abe562 100644
--- a/libavcodec/arm/synth_filter_neon.S
+++ b/libavcodec/arm/synth_filter_neon.S
@@ -42,7 +42,7 @@ VFP vpop {d0}
ldr r5, [sp, #9*4] @ window
ldr r2, [sp, #10*4] @ out
-NOVFP vldr d0, [sp, #12*4] @ scale, bias
+NOVFP vldr s0, [sp, #12*4] @ scale
add r8, r9, #12*4
mov lr, #64*4
@@ -90,10 +90,8 @@ NOVFP vldr d0, [sp, #12*4] @ scale, bias
sub r11, r11, #512*4
b 2b
3:
- vdup.32 q8, d0[1]
- vdup.32 q9, d0[1]
- vmla.f32 q8, q10, d0[0]
- vmla.f32 q9, q1, d0[0]
+ vmul.f32 q8, q10, d0[0]
+ vmul.f32 q9, q1, d0[0]
vst1.32 {q3}, [r3,:128]
sub r3, r3, #16*4
vst1.32 {q2}, [r3,:128]