aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer_neon.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-02-12 21:35:08 -0800
committerChris Robinson <[email protected]>2017-02-12 21:35:08 -0800
commit65f9b2792c50ae730a9f16680f931a9884e2b02c (patch)
tree19ad50741615169e7848a432e54b9031d39bff5b /Alc/mixer_neon.c
parent27695e2b24dea23d0db451fb0f9ae1c1af6f416e (diff)
Clean up the bsinc mixer a bit
Diffstat (limited to 'Alc/mixer_neon.c')
-rw-r--r--Alc/mixer_neon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/mixer_neon.c b/Alc/mixer_neon.c
index 75ad14eb..2875b321 100644
--- a/Alc/mixer_neon.c
+++ b/Alc/mixer_neon.c
@@ -248,8 +248,8 @@ const ALfloat *Resample_bsinc32_Neon(const BsincState *state, const ALfloat *res
const float32x4_t pf4 = vdupq_n_f32(pf);
for(j = 0;j < m;j+=4)
{
- float32x4_t f4 = vmlaq_f32(vld1q_f32(&fil[j]), sf4, vld1q_f32(&scd[j]));
- f4 = vmlaq_f32(f4,
+ const float32x4_t f4 = vmlaq_f32(vmlaq_f32(vld1q_f32(&fil[j]),
+ sf4, vld1q_f32(&scd[j])),
pf4, vmlaq_f32(vld1q_f32(&phd[j]),
sf4, vld1q_f32(&spd[j])
)