From 76cd6797b7e58272e4e5268f1461f209045b9de4 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 6 Oct 2016 01:39:18 -0700 Subject: Add some more 'restrict' keywords --- Alc/mixer_sse2.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Alc/mixer_sse2.c') diff --git a/Alc/mixer_sse2.c b/Alc/mixer_sse2.c index 004dba9e..22a18ef3 100644 --- a/Alc/mixer_sse2.c +++ b/Alc/mixer_sse2.c @@ -27,8 +27,9 @@ #include "mixer_defs.h" -const ALfloat *Resample_lerp32_SSE2(const BsincState* UNUSED(state), const ALfloat *src, ALuint frac, ALuint increment, - ALfloat *restrict dst, ALuint numsamples) +const ALfloat *Resample_lerp32_SSE2(const BsincState* UNUSED(state), const ALfloat *restrict src, + ALuint frac, ALuint increment, ALfloat *restrict dst, + ALuint numsamples) { const __m128i increment4 = _mm_set1_epi32(increment*4); const __m128 fracOne4 = _mm_set1_ps(1.0f/FRACTIONONE); -- cgit v1.2.3