[Mplayer-cvslog] CVS: main cpudetect.c,1.16,1.17

Michael Niedermayer michael at mplayer.dev.hu
Sun Feb 24 02:24:27 CET 2002


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv30511

Modified Files:
	cpudetect.c 
Log Message:
dont ignore --disable-mmx, ...


Index: cpudetect.c
===================================================================
RCS file: /cvsroot/mplayer/main/cpudetect.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- cpudetect.c	28 Dec 2001 20:46:25 -0000	1.16
+++ cpudetect.c	24 Feb 2002 01:24:18 -0000	1.17
@@ -158,6 +158,30 @@
 //		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
 }
 
 




More information about the MPlayer-cvslog mailing list