aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer_sse2.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/mixer_sse2.c')
-rw-r--r--Alc/mixer_sse2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/mixer_sse2.c b/Alc/mixer_sse2.c
index a6f2bb4e..1321f5f2 100644
--- a/Alc/mixer_sse2.c
+++ b/Alc/mixer_sse2.c
@@ -111,9 +111,9 @@ const ALfloat *Resample_fir4_32_SSE2(const ALfloat *src, ALuint frac, ALuint inc
k2 = _mm_mul_ps(k2, val2);
k3 = _mm_mul_ps(k3, val3);
_MM_TRANSPOSE4_PS(k0, k1, k2, k3);
- out = _mm_add_ps(k0, k1);
- out = _mm_add_ps(out, k2);
- out = _mm_add_ps(out, k3);
+ k0 = _mm_add_ps(k0, k1);
+ k2 = _mm_add_ps(k2, k3);
+ out = _mm_add_ps(k0, k2);
_mm_store_ps(&dst[i], out);