diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-07-16 01:54:07 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-07-16 01:54:07 +0000 |
commit | 6206f8c92093044fb298ff19d7192d774d50909e (patch) | |
tree | 1e088d982add167d232c296cbea6f4239968990f /libavcodec/i386/cputest.c | |
parent | eb5ec8fe6c2071d850c0fc4b45a4542b7412529d (diff) | |
download | ffmpeg-6206f8c92093044fb298ff19d7192d774d50909e.tar.gz |
10l and better MMX/SSE detection for VIA1000
Originally committed as revision 3323 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/cputest.c')
-rw-r--r-- | libavcodec/i386/cputest.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/i386/cputest.c b/libavcodec/i386/cputest.c index e4b1b51558..34b813148c 100644 --- a/libavcodec/i386/cputest.c +++ b/libavcodec/i386/cputest.c @@ -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 |