aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/helpers.c')
-rw-r--r--Alc/helpers.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c
index 90419c17..fc879d95 100644
--- a/Alc/helpers.c
+++ b/Alc/helpers.c
@@ -194,6 +194,18 @@ void FillCPUCaps(ALuint capfilter)
}
}
}
+#else
+ /* Assume support for whatever's supported if we can't check for it */
+#if defined(HAVE_SSE4_1)
+#warning "Assuming SSE 4.1 run-time support!"
+ capfilter |= CPU_CAP_SSE | CPU_CAP_SSE2 | CPU_CAP_SSE4_1;
+#elif defined(HAVE_SSE2)
+#warning "Assuming SSE 2 run-time support!"
+ capfilter |= CPU_CAP_SSE | CPU_CAP_SSE2;
+#elif defined(HAVE_SSE)
+#warning "Assuming SSE run-time support!"
+ capfilter |= CPU_CAP_SSE;
+#endif
#endif
#ifdef HAVE_NEON
/* Assume Neon support if compiled with it */