summaryrefslogtreecommitdiffstats
path: root/cpudetect.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpudetect.c')
-rw-r--r--cpudetect.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpudetect.c b/cpudetect.c
index 65d7e5ed6d..ac0fba6906 100644
--- a/cpudetect.c
+++ b/cpudetect.c
@@ -320,7 +320,10 @@ LONG CALLBACK win32_sig_handler_sse(EXCEPTION_POINTERS* ep)
*/
static void check_os_katmai_support( void )
{
-#if defined(__FreeBSD__)
+#ifdef ARCH_X86_64
+ gCpuCaps.hasSSE=1;
+ gCpuCaps.hasSSE2=1;
+#elif defined(__FreeBSD__)
int has_sse=0, ret;
size_t len=sizeof(has_sse);