changeset 4829:35ed5387b804

dont ignore --disable-mmx, ...
author michael
date Sun, 24 Feb 2002 01:24:18 +0000
parents 0ae597cc28e6
children 2c1dd0b15622
files cpudetect.c
diffstat 1 files changed, 24 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/cpudetect.c	Sat Feb 23 23:31:08 2002 +0000
+++ b/cpudetect.c	Sun Feb 24 01:24:18 2002 +0000
@@ -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
 }