summaryrefslogtreecommitdiff
path: root/libavcodec/arm/dcadsp_neon.S
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-01-31 19:26:02 +0000
committerMans Rullgard <mans@mansr.com>2011-01-31 20:28:42 +0000
commit80ba1ddb58b5923b9f36a6acd542affc4ca722eb (patch)
treeb2bac0e8b1f9fca83508c7ead2083e648bf5c667 /libavcodec/arm/dcadsp_neon.S
parent8cb3c557a9f3b24bc55325e3f64a2150b983305c (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>
Diffstat (limited to 'libavcodec/arm/dcadsp_neon.S')
-rw-r--r--libavcodec/arm/dcadsp_neon.S5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/arm/dcadsp_neon.S b/libavcodec/arm/dcadsp_neon.S
index 19960ab193..c3bddd3e41 100644
--- a/libavcodec/arm/dcadsp_neon.S
+++ b/libavcodec/arm/dcadsp_neon.S
@@ -29,7 +29,7 @@ function ff_dca_lfe_fir_neon, export=1
cmp r3, #32
moveq r6, #256/32
movne r6, #256/64
-NOVFP vldr d0, [sp, #16] @ scale, bias
+NOVFP vldr s0, [sp, #16] @ scale
mov lr, #-16
1:
vmov.f32 q2, #0.0 @ v0
@@ -51,8 +51,7 @@ NOVFP vldr d0, [sp, #16] @ scale, bias
vadd.f32 d4, d4, d5
vadd.f32 d6, d6, d7
vpadd.f32 d4, d4, d6
- vdup.32 d5, d0[1]
- vmla.f32 d5, d4, d0[0]
+ vmul.f32 d5, d4, d0[0]
vst1.32 {d5[0]}, [r0,:32]!
vst1.32 {d5[1]}, [r4,:32]!
bne 1b