changeset 2129:b60148985201 libavcodec

10l and better MMX/SSE detection for VIA1000
author michael
date Fri, 16 Jul 2004 01:54:07 +0000
parents 87aaf3c351f5
children 50779a18844c
files i386/cputest.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/i386/cputest.c	Thu Jul 15 15:14:13 2004 +0000
+++ b/i386/cputest.c	Fri Jul 16 01:54:07 2004 +0000
@@ -92,6 +92,8 @@
 	  rval |= MM_MMX;
 	if( edx & ( 1 << 24) )
 	  rval |= MM_MMXEXT;
+        if(rval==0)
+            goto inteltest;
 	return rval;
     } else if (ebx == 0x69727943 &&
                edx == 0x736e4978 &&
@@ -135,7 +137,7 @@
 {
   int mm_flags;
   mm_flags = mm_support();
-  printf("mm_support = 0x%08u\n",mm_flags);
+  printf("mm_support = 0x%08X\n",mm_flags);
   return 0;
 }
 #endif