diff options
author | Chris Robinson <[email protected]> | 2016-10-06 01:39:18 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-10-06 01:39:18 -0700 |
commit | 76cd6797b7e58272e4e5268f1461f209045b9de4 (patch) | |
tree | 7c16fc353376d3bec215ebe208ac7a96f6f3f205 /Alc/mixer_sse3.c | |
parent | 965e91c702db7b79fe70124634902712fd19b4ad (diff) |
Add some more 'restrict' keywords
Diffstat (limited to 'Alc/mixer_sse3.c')
-rw-r--r-- | Alc/mixer_sse3.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Alc/mixer_sse3.c b/Alc/mixer_sse3.c index 1b946461..66005e53 100644 --- a/Alc/mixer_sse3.c +++ b/Alc/mixer_sse3.c @@ -31,8 +31,9 @@ #include "mixer_defs.h" -const ALfloat *Resample_fir4_32_SSE3(const BsincState* UNUSED(state), const ALfloat *src, ALuint frac, ALuint increment, - ALfloat *restrict dst, ALuint numsamples) +const ALfloat *Resample_fir4_32_SSE3(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 __m128i fracMask4 = _mm_set1_epi32(FRACTIONMASK); @@ -95,8 +96,9 @@ const ALfloat *Resample_fir4_32_SSE3(const BsincState* UNUSED(state), const ALfl return dst; } -const ALfloat *Resample_fir8_32_SSE3(const BsincState* UNUSED(state), const ALfloat *src, ALuint frac, ALuint increment, - ALfloat *restrict dst, ALuint numsamples) +const ALfloat *Resample_fir8_32_SSE3(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 __m128i fracMask4 = _mm_set1_epi32(FRACTIONMASK); |