aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/mixer_sse.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/mixer_sse.c b/Alc/mixer_sse.c
index e8bc6076..250181fe 100644
--- a/Alc/mixer_sse.c
+++ b/Alc/mixer_sse.c
@@ -25,7 +25,7 @@ static inline void ApplyCoeffsStep(ALuint Offset, ALfloat (*restrict Values)[2],
const ALfloat (*restrict CoeffStep)[2],
ALfloat left, ALfloat right)
{
- const __m128 lrlr = _mm_set_ps(left, right, left, right);
+ const __m128 lrlr = _mm_setr_ps(left, right, left, right);
__m128 coeffs, deltas, imp0, imp1;
__m128 vals = _mm_setzero_ps();
ALuint i;
@@ -86,7 +86,7 @@ static inline void ApplyCoeffs(ALuint Offset, ALfloat (*restrict Values)[2],
ALfloat (*restrict Coeffs)[2],
ALfloat left, ALfloat right)
{
- const __m128 lrlr = _mm_set_ps(left, right, left, right);
+ const __m128 lrlr = _mm_setr_ps(left, right, left, right);
__m128 vals = _mm_setzero_ps();
__m128 coeffs;
ALuint i;
@@ -157,7 +157,7 @@ void MixDirect_SSE(DirectParams *params, const ALfloat *restrict data, ALuint sr
/* Mix with applying gain steps in aligned multiples of 4. */
if(BufferSize-pos > 3 && Counter-pos > 3)
{
- gain = _mm_set_ps(
+ gain = _mm_setr_ps(
DrySend,
DrySend * Step,
DrySend * Step * Step,
@@ -220,7 +220,7 @@ void MixSend_SSE(SendParams *params, const ALfloat *restrict data,
{
if(BufferSize-pos > 3 && Counter-pos > 3)
{
- gain = _mm_set_ps(
+ gain = _mm_setr_ps(
WetGain,
WetGain * Step,
WetGain * Step * Step,