From 9f208417dfd082b2359bb233d5e726e76758562b Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 9 Sep 2012 04:09:31 -0700 Subject: Use the right method to clear a __m128 to 0 --- Alc/mixer_sse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Alc/mixer_sse.c') diff --git a/Alc/mixer_sse.c b/Alc/mixer_sse.c index cc3b52cc..443209bc 100644 --- a/Alc/mixer_sse.c +++ b/Alc/mixer_sse.c @@ -19,7 +19,7 @@ static __inline void ApplyCoeffsStep(ALuint Offset, ALfloat (*RESTRICT Values)[2 ALfloat left, ALfloat right) { const __m128 lrlr = { left, right, left, right }; - __m128 vals = { 0.0f, 0.0f, 0.0f, 0.0f }; + __m128 vals = _mm_setzero_ps(); __m128 coeffs, coeffstep; ALuint c; for(c = 0;c < HRIR_LENGTH;c += 2) @@ -46,7 +46,7 @@ static __inline void ApplyCoeffs(ALuint Offset, ALfloat (*RESTRICT Values)[2], ALfloat left, ALfloat right) { const __m128 lrlr = { left, right, left, right }; - __m128 vals = { 0.0f, 0.0f, 0.0f, 0.0f }; + __m128 vals = _mm_setzero_ps(); __m128 coeffs; ALuint c; for(c = 0;c < HRIR_LENGTH;c += 2) -- cgit v1.2.3