aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-04-12 22:44:16 -0700
committerChris Robinson <[email protected]>2017-04-12 22:44:16 -0700
commit684823ebc4c65957d85b79f0d8ac8b2afe9160bb (patch)
tree3b3ed74ddbf02f07920f8f35f9a514694c991888
parent901804d724d49f316cd2bf51ec1cd2cd9fb9eb91 (diff)
Select NEON when available before SSE
-rw-r--r--Alc/ALu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 9e2b041f..7e3eb99a 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -102,14 +102,14 @@ const aluMatrixf IdentityMatrixf = {{
static inline HrtfDirectMixerFunc SelectHrtfMixer(void)
{
-#ifdef HAVE_SSE
- if((CPUCapFlags&CPU_CAP_SSE))
- return MixDirectHrtf_SSE;
-#endif
#ifdef HAVE_NEON
if((CPUCapFlags&CPU_CAP_NEON))
return MixDirectHrtf_Neon;
#endif
+#ifdef HAVE_SSE
+ if((CPUCapFlags&CPU_CAP_SSE))
+ return MixDirectHrtf_SSE;
+#endif
return MixDirectHrtf_C;
}