summaryrefslogtreecommitdiffstats
path: root/mp3lib/d_cpu.s
diff options
context:
space:
mode:
authornick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-07-02 08:07:41 +0000
committernick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-07-02 08:07:41 +0000
commit183da5e69351bf365d9e3efc7c1716f7e3b01840 (patch)
tree0733272ece384cd678ce9373249f8b0039d00f35 /mp3lib/d_cpu.s
parent88b616ade5a49f5f787deca35e1de0c620b566b9 (diff)
downloadmpv-183da5e69351bf365d9e3efc7c1716f7e3b01840.tar.bz2
mpv-183da5e69351bf365d9e3efc7c1716f7e3b01840.tar.xz
Minor fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1254 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp3lib/d_cpu.s')
-rw-r--r--mp3lib/d_cpu.s12
1 files changed, 6 insertions, 6 deletions
diff --git a/mp3lib/d_cpu.s b/mp3lib/d_cpu.s
index 6df924b241..0481521630 100644
--- a/mp3lib/d_cpu.s
+++ b/mp3lib/d_cpu.s
@@ -48,7 +48,7 @@ exit_cpudetect:
/ in C: unsigled long ipentium( void );
/ return: 0 if this processor i386 or i486
/ 1 otherwise
-/ 2 if this cpu supports mmx
+/ 3 if this cpu supports mmx
/ ---------------------------------------------------------------------------
ipentium:
pushl %ebx
@@ -74,7 +74,7 @@ ipentium:
incl %eax
test $0x00800000, %edx
jz exit
- incl %eax
+ orl $2, %eax
jmp exit
no_cpuid:
xorl %eax,%eax
@@ -88,7 +88,7 @@ exit:
/ in C: unsigned long a3dnow( void );
/ return: 0 if this processor does not support 3dnow!
/ 1 otherwise
-/ 2 if this cpu supports 3dnow-dsp extension
+/ 3 if this cpu supports 3dnow-dsp extension
/ ---------------------------------------------------------------------------
a3dnow:
pushl %ebx
@@ -114,7 +114,7 @@ a3dnow:
testl $0x40000000,%edx
jz exit2
/// eax=2 - K7 3DNowEx!
- inc %eax
+ orl $2, %eax
exit2:
popl %ecx
@@ -126,7 +126,7 @@ exit2:
/ in C: unsigned long isse( void );
/ return: 0 if this processor does not support sse
/ 1 otherwise
-/ 2 if this cpu supports sse2 extension
+/ 3 if this cpu supports sse2 extension
/ ---------------------------------------------------------------------------
isse:
pushl %ebx
@@ -145,7 +145,7 @@ isse:
incl %eax
testl $0x04000000,%edx
jz exit3
- incl %eax
+ orl $2, %eax
exit3:
popl %ecx
popl %edx