changeset 30929:e97f3f59fb19

Leave disabling SSE to the check_os_katmai_support always regardless of OS, it can already handle all cases, will always print a proper warning and probably fixes SSE being disabled on x86_64 Solaris systems.
author reimar
date Sat, 27 Mar 2010 19:45:59 +0000
parents 89bfad4c1711
children 0f14ab03ec98
files cpudetect.c
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/cpudetect.c	Sat Mar 27 16:01:22 2010 +0000
+++ b/cpudetect.c	Sat Mar 27 19:45:59 2010 +0000
@@ -195,18 +195,10 @@
 #endif
 
 		/* FIXME: Does SSE2 need more OS support, too? */
-#if defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) \
-  || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) \
-  || defined(__APPLE__) || defined(__CYGWIN__) || defined(__MINGW32__) \
-  || defined(__OS2__)
 		if (caps->hasSSE)
 			check_os_katmai_support();
 		if (!caps->hasSSE)
 			caps->hasSSE2 = 0;
-#else
-		caps->hasSSE=0;
-		caps->hasSSE2 = 0;
-#endif
 //		caps->has3DNow=1;
 //		caps->hasMMX2 = 0;
 //		caps->hasMMX = 0;