[MPlayer-cvslog] CVS: main cpudetect.c,1.40,1.41

Alex Beregszaszi alex at fsn.hu
Sat Oct 8 14:16:17 CEST 2005


Hi,

> +// see AMD64 Architecture Programmer's Manual, Volume 3:
> General-purpose and +// System Instructions, Table 3-2: Effective
> family computation, page 120.
>  		if(caps->cpuType==0xf){
> -		    // use extended family (P4, IA64)
> -		    caps->cpuType=8+((regs2[0]>>20)&255);
> +		    // use extended family (P4, IA64, K8)
> +		    caps->cpuType=0xf+((regs2[0]>>20)&255);

Why not cpuType+=((regs then ? :)

-- 
Alex Beregszaszi 			email: alex at fsn.hu
Free Software Network			cell: +36 70 3144424




More information about the MPlayer-cvslog mailing list