aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-09-30 13:34:09 -0700
committerChris Robinson <[email protected]>2015-09-30 13:34:09 -0700
commitb68fbe3628cc1d27507a20e118e52fdd67b8fac4 (patch)
tree4acda175fe183c7505f39e2edb876dd772cb2f32
parent6d53ffdbf30cadaf827521f4c8e9161e404e70da (diff)
Replace separate vaddq_f32/vmulq_f32 calls with a vmlaq_f32
-rw-r--r--Alc/mixer_neon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mixer_neon.c b/Alc/mixer_neon.c
index 9ee76850..6078a40d 100644
--- a/Alc/mixer_neon.c
+++ b/Alc/mixer_neon.c
@@ -127,7 +127,7 @@ void Mix_Neon(const ALfloat *data, ALuint OutChans, ALfloat (*restrict OutBuffer
{
const float32x4_t val4 = vld1q_f32(&data[pos]);
float32x4_t dry4 = vld1q_f32(&OutBuffer[c][OutPos+pos]);
- dry4 = vaddq_f32(dry4, vmulq_f32(val4, gain4));
+ dry4 = vmlaq_f32(dry4, val4, gain4);
vst1q_f32(&OutBuffer[c][OutPos+pos], dry4);
}
for(;pos < BufferSize;pos++)