diff options
author | Chris Robinson <[email protected]> | 2017-04-20 20:58:32 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-04-20 20:58:32 -0700 |
commit | 7776ebcedc780409058b953a932ba854d33ef084 (patch) | |
tree | a0779b2ef270d442125b57f9b994f17c0848582a /Alc/mixer.c | |
parent | 63baa3b1c712317e7826de6f28ecc865d1fb9b58 (diff) |
Try NEON mixers before SSE
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r-- | Alc/mixer.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c index a2a56dbc..f326fdfe 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -55,28 +55,27 @@ static ResamplerFunc ResampleSamples = Resample_point32_C; MixerFunc SelectMixer(void) { -#ifdef HAVE_SSE - if((CPUCapFlags&CPU_CAP_SSE)) - return Mix_SSE; -#endif #ifdef HAVE_NEON if((CPUCapFlags&CPU_CAP_NEON)) return Mix_Neon; #endif - +#ifdef HAVE_SSE + if((CPUCapFlags&CPU_CAP_SSE)) + return Mix_SSE; +#endif return Mix_C; } RowMixerFunc SelectRowMixer(void) { -#ifdef HAVE_SSE - if((CPUCapFlags&CPU_CAP_SSE)) - return MixRow_SSE; -#endif #ifdef HAVE_NEON if((CPUCapFlags&CPU_CAP_NEON)) return MixRow_Neon; #endif +#ifdef HAVE_SSE + if((CPUCapFlags&CPU_CAP_SSE)) + return MixRow_SSE; +#endif return MixRow_C; } |