summaryrefslogtreecommitdiffstats
path: root/cpudetect.c
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-24 01:24:18 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-24 01:24:18 +0000
commit7ef7eddfc565c4a207c04365c8d6840d4aaf1f94 (patch)
tree0955adda1a277e36b89f574b79828f72f927efe4 /cpudetect.c
parent723c3a1fd05e2332427084fc182687798f559dbc (diff)
downloadmpv-7ef7eddfc565c4a207c04365c8d6840d4aaf1f94.tar.bz2
mpv-7ef7eddfc565c4a207c04365c8d6840d4aaf1f94.tar.xz
dont ignore --disable-mmx, ...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4830 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cpudetect.c')
-rw-r--r--cpudetect.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/cpudetect.c b/cpudetect.c
index 8fdf488dbf..1ccbc32a3e 100644
--- a/cpudetect.c
+++ b/cpudetect.c
@@ -158,6 +158,30 @@ void GetCpuCaps( CpuCaps *caps)
// caps->hasMMX2 = 0;
// caps->hasMMX = 0;
+#ifndef HAVE_MMX
+ if(caps->hasMMX) printf("MMX supported but disabled\n");
+ caps->hasMMX=0;
+#endif
+#ifndef HAVE_MMX2
+ if(caps->hasMMX2) printf("MMX2 supported but disabled\n");
+ caps->hasMMX2=0;
+#endif
+#ifndef HAVE_SSE
+ if(caps->hasSSE) printf("SSE supported but disabled\n");
+ caps->hasSSE=0;
+#endif
+#ifndef HAVE_SSE2
+ if(caps->hasSSE2) printf("SSE2 supported but disabled\n");
+ caps->hasSSE2=0;
+#endif
+#ifndef HAVE_3DNOW
+ if(caps->has3DNow) printf("3DNow supported but disabled\n");
+ caps->has3DNow=0;
+#endif
+#ifndef HAVE_3DNOWEX
+ if(caps->has3DNowExt) printf("3DNowExt supported but disabled\n");
+ caps->has3DNowExt=0;
+#endif
}