Remove AMD detection from CPU check

This commit is contained in:
Simon Robertshaw 2012-07-20 21:19:17 +01:00
parent 947102cccf
commit d6de5fc997

View File

@ -284,8 +284,8 @@ int cpu_check(void)
#ifdef X86 #ifdef X86
unsigned af,bf,cf,df; unsigned af,bf,cf,df;
x86_cpuid(0, af, bf, cf, df); x86_cpuid(0, af, bf, cf, df);
if (bf==0x68747541 && cf==0x444D4163 && df==0x69746E65) //if (bf==0x68747541 && cf==0x444D4163 && df==0x69746E65)
amd = 1; // amd = 1;
x86_cpuid(1, af, bf, cf, df); x86_cpuid(1, af, bf, cf, df);
#ifdef X86_SSE #ifdef X86_SSE
if (!(df&(1<<25))) if (!(df&(1<<25)))