projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb5ec8f
)
10l and better MMX/SSE detection for VIA1000
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 16 Jul 2004 01:54:07 +0000
(
01:54
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 16 Jul 2004 01:54:07 +0000
(
01:54
+0000)
Originally committed as revision 3323 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/i386/cputest.c
patch
|
blob
|
history
diff --git
a/libavcodec/i386/cputest.c
b/libavcodec/i386/cputest.c
index
e4b1b51
..
34b8131
100644
(file)
--- 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%08
u
\n",mm_flags);
+ printf("mm_support = 0x%08
X
\n",mm_flags);
return 0;
}
#endif