1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

10l and better MMX/SSE detection for VIA1000

Originally committed as revision 3323 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2004-07-16 01:54:07 +00:00
parent eb5ec8fe6c
commit 6206f8c920

View File

@ -92,6 +92,8 @@ int mm_support(void)
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 main ( void )
{
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