[MPlayer-cvslog] r30971 - trunk/cpudetect.c
reimar
subversion at mplayerhq.hu
Sat Mar 27 20:45:59 CET 2010
Author: reimar
Date: Sat Mar 27 20:45:59 2010
New Revision: 30971
Log:
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.
Modified:
trunk/cpudetect.c
Modified: trunk/cpudetect.c
==============================================================================
--- trunk/cpudetect.c Sat Mar 27 17:01:22 2010 (r30970)
+++ trunk/cpudetect.c Sat Mar 27 20:45:59 2010 (r30971)
@@ -195,18 +195,10 @@ void GetCpuCaps( CpuCaps *caps)
#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;
More information about the MPlayer-cvslog
mailing list