[Mplayer-cvslog] CVS: main/mp3lib d_cpu.s,1.6,1.7
Atmosfear
atmos4 at mplayer.dev.hu
Sun Sep 16 00:29:14 CEST 2001
Update of /cvsroot/mplayer/main/mp3lib
In directory mplayer:/var/tmp.root/cvs-serv16205/mp3lib
Modified Files:
d_cpu.s
Log Message:
Applied cpu detection fix by Kjetil Torgrim Homme <kjetilho at linpro dot no>.
Index: d_cpu.s
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/d_cpu.s,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- d_cpu.s 2 Jul 2001 08:07:41 -0000 1.6
+++ d_cpu.s 15 Sep 2001 22:28:55 -0000 1.7
@@ -103,18 +103,21 @@
movl $0x80000000,%eax
cpuid
cmpl $0x80000000,%eax
- jbe exit2
+ jbe no3dnow
movl $0x80000001,%eax
cpuid
xorl %eax,%eax
testl $0x80000000,%edx
- jz exit2
+ jz no3dnow
/// eax=1 - K6 3DNow!
inc %eax
testl $0x40000000,%edx
jz exit2
/// eax=2 - K7 3DNowEx!
orl $2, %eax
+ jmp exit2
+no3dnow:
+ xorl %eax,%eax
exit2:
popl %ecx
More information about the MPlayer-cvslog
mailing list