From 0d3f9a091d4e9783a8cd1ff65736700cf04c9289 Mon Sep 17 00:00:00 2001 From: arpi Date: Fri, 28 Dec 2001 18:23:35 +0000 Subject: [PATCH] Intel P4 support git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3841 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cpudetect.c | 4 ++-- 1 file 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; }