diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-28 18:23:35 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-28 18:23:35 +0000 |
commit | 0d3f9a091d4e9783a8cd1ff65736700cf04c9289 (patch) | |
tree | 68a2d38d544524e200b10673fde37dd218f0a754 /cpudetect.c | |
parent | c45d0b11c10260f645b17f593a57b13210d6a11c (diff) | |
download | mpv-0d3f9a091d4e9783a8cd1ff65736700cf04c9289.tar.bz2 mpv-0d3f9a091d4e9783a8cd1ff65736700cf04c9289.tar.xz |
Intel P4 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3841 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cpudetect.c')
-rw-r--r-- | cpudetect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpudetect.c b/cpudetect.c index b88c0c3488..0983e2f96d 100644 --- a/cpudetect.c +++ b/cpudetect.c @@ -129,8 +129,8 @@ void GetCpuCaps( CpuCaps *caps) 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; } |