mirror of
https://github.com/mpv-player/mpv
synced 2025-01-27 10:03:32 +00:00
Intel P4 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3841 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c45d0b11c1
commit
0d3f9a091d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user