[Mplayer-cvslog] CVS: main cpudetect.c,1.14,1.15
Arpi of Ize
arpi at mplayer.dev.hu
Fri Dec 28 19:23:38 CET 2001
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv1030
Modified Files:
cpudetect.c
Log Message:
Intel P4 support
Index: cpudetect.c
===================================================================
RCS file: /cvsroot/mplayer/main/cpudetect.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- cpudetect.c 28 Dec 2001 18:03:03 -0000 1.14
+++ cpudetect.c 28 Dec 2001 18:23:35 -0000 1.15
@@ -129,8 +129,8 @@
if (regs[0]>=0x80000001) {
printf("extended cpuid-level: %d\n",regs[0]&0x7FFFFFFF);
do_cpuid(0x80000001, regs2);
- caps->hasMMX = (regs2[3] & (1 << 23 )) >> 23; // 0x0800000
- caps->hasMMX2 = (regs2[3] & (1 << 22 )) >> 22; // 0x400000
+ caps->hasMMX |= (regs2[3] & (1 << 23 )) >> 23; // 0x0800000
+ caps->hasMMX2 |= (regs2[3] & (1 << 22 )) >> 22; // 0x400000
caps->has3DNow = (regs2[3] & (1 << 31 )) >> 31; //0x80000000
caps->has3DNowExt = (regs2[3] & (1 << 30 )) >> 30;
}
More information about the MPlayer-cvslog
mailing list