changeset 14455:d94e79aecd69

assume OS support SSE on x86_64
author aurel
date Mon, 10 Jan 2005 18:33:51 +0000
parents 3a6e55cd6e64
children cf6d4eb322b4
files cpudetect.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cpudetect.c	Mon Jan 10 17:25:02 2005 +0000
+++ b/cpudetect.c	Mon Jan 10 18:33:51 2005 +0000
@@ -320,7 +320,10 @@
  */
 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);