diff options
author | Chris Robinson <[email protected]> | 2014-04-26 06:31:31 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-04-26 06:31:31 -0700 |
commit | f9d70aa9ef617e5eac6715f9a55aef1fbad62dcb (patch) | |
tree | db8a720acee856a1476b53db242b62ee5981da1d | |
parent | 149df6d4db8c5c4a4dc926c395fbb7c77d79ab74 (diff) |
Use _mm_set_ps() to set an __m128 instead of {}
-rw-r--r-- | Alc/mixer_sse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/mixer_sse.c b/Alc/mixer_sse.c index bd96b8fa..c17a7e08 100644 --- a/Alc/mixer_sse.c +++ b/Alc/mixer_sse.c @@ -27,7 +27,7 @@ static inline void ApplyCoeffsStep(ALuint Offset, ALfloat (*restrict Values)[2], const ALfloat (*restrict CoeffStep)[2], ALfloat left, ALfloat right) { - const __m128 lrlr = { left, right, left, right }; + const __m128 lrlr = _mm_set_ps(left, right, left, right); __m128 coeffs, deltas, imp0, imp1; __m128 vals = _mm_setzero_ps(); ALuint i; @@ -88,7 +88,7 @@ static inline void ApplyCoeffs(ALuint Offset, ALfloat (*restrict Values)[2], ALfloat (*restrict Coeffs)[2], ALfloat left, ALfloat right) { - const __m128 lrlr = { left, right, left, right }; + const __m128 lrlr = _mm_set_ps(left, right, left, right); __m128 vals = _mm_setzero_ps(); __m128 coeffs; ALuint i; |