aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer_sse41.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/mixer_sse41.c')
-rw-r--r--Alc/mixer_sse41.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Alc/mixer_sse41.c b/Alc/mixer_sse41.c
index e832e5df..ed49447d 100644
--- a/Alc/mixer_sse41.c
+++ b/Alc/mixer_sse41.c
@@ -34,8 +34,8 @@ const ALfloat *Resample_lerp32_SSE41(const BsincState* UNUSED(state), const ALfl
const __m128i increment4 = _mm_set1_epi32(increment*4);
const __m128 fracOne4 = _mm_set1_ps(1.0f/FRACTIONONE);
const __m128i fracMask4 = _mm_set1_epi32(FRACTIONMASK);
- alignas(16) union { ALuint i[4]; float f[4]; } pos_;
- alignas(16) union { ALuint i[4]; float f[4]; } frac_;
+ union { alignas(16) ALuint i[4]; float f[4]; } pos_;
+ union { alignas(16) ALuint i[4]; float f[4]; } frac_;
__m128i frac4, pos4;
ALuint pos;
ALuint i;
@@ -89,8 +89,8 @@ const ALfloat *Resample_fir4_32_SSE41(const BsincState* UNUSED(state), const ALf
{
const __m128i increment4 = _mm_set1_epi32(increment*4);
const __m128i fracMask4 = _mm_set1_epi32(FRACTIONMASK);
- alignas(16) union { ALuint i[4]; float f[4]; } pos_;
- alignas(16) union { ALuint i[4]; float f[4]; } frac_;
+ union { alignas(16) ALuint i[4]; float f[4]; } pos_;
+ union { alignas(16) ALuint i[4]; float f[4]; } frac_;
__m128i frac4, pos4;
ALuint pos;
ALuint i;
@@ -156,8 +156,8 @@ const ALfloat *Resample_fir8_32_SSE41(const BsincState* UNUSED(state), const ALf
{
const __m128i increment4 = _mm_set1_epi32(increment*4);
const __m128i fracMask4 = _mm_set1_epi32(FRACTIONMASK);
- alignas(16) union { ALuint i[4]; float f[4]; } pos_;
- alignas(16) union { ALuint i[4]; float f[4]; } frac_;
+ union { alignas(16) ALuint i[4]; float f[4]; } pos_;
+ union { alignas(16) ALuint i[4]; float f[4]; } frac_;
__m128i frac4, pos4;
ALuint pos;
ALuint i, j;