git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2283 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2001-10-19 13:11:26 +00:00
parent 637ead4353
commit 236f115d9b
1 changed files with 1 additions and 0 deletions

View File

@ -135,6 +135,7 @@ void GetCpuCaps( CpuCaps *caps)
regs[3] == 0x69746e65 &&
regs[2] == 0x444d4163) {
do_cpuid(0x80000000, regs);
printf("AMD cpuid-level: 0x%X\n",regs[0]);
if (regs[0]>=0x80000001) {
do_cpuid(0x80000001, regs2);
caps->hasMMX = (regs2[3] & (1 << 23 )) >> 23; // 0x0800000