summaryrefslogtreecommitdiffstats
path: root/cpudetect.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-27 19:45:59 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-27 19:45:59 +0000
commit55089a39865c03b3f5cd4452045cc3442a2651f8 (patch)
tree31ec4fce58fe75788581405a5f1110dcbaaeaaf5 /cpudetect.c
parent67dcbed681c08cb0594fc661adbf538f541268d7 (diff)
downloadmpv-55089a39865c03b3f5cd4452045cc3442a2651f8.tar.bz2
mpv-55089a39865c03b3f5cd4452045cc3442a2651f8.tar.xz
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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30971 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cpudetect.c')
-rw-r--r--cpudetect.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/cpudetect.c b/cpudetect.c
index c95aceea6c..fa4c9ce4db 100644
--- a/cpudetect.c
+++ b/cpudetect.c
@@ -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;