Ticket #18173: patch-CONFIG-src-backend-archinf_x86.c.diff
File patch-CONFIG-src-backend-archinf_x86.c.diff, 1.1 KB (added by krunk7@…, 16 years ago) |
---|
-
CONFIG/src/backend/archinfo_x86.c
old new 92 92 */ 93 93 do_cpuid(r, 1); 94 94 *family = (r[EAX] >> 8) & 0xf; /* base family in bits 11-8 */ 95 if (*family == 0xf || *family == 0)/* extended family is added in */95 /* if (*family == 0xf || *family == 0)*/ /* extended family is added in */ 96 96 *family += ((r[EAX] >> 20) & 0xff); 97 97 98 98 *model = (r[0] >> 4) & 0xf; /* model in bits 7-4 */ 99 if (*model == 0xf)/* extended model is concatenated */99 /*if (*model == 0xf)*/ /* extended model is concatenated */ 100 100 *model |= ((r[0] >> 12) & 0xf0); 101 101 102 102 /* … … 294 294 case 14: 295 295 iret = IntCoreDuo; 296 296 break; 297 case 15: 297 case 15: ; case 23: 298 298 iret = IntCore2Duo; 299 299 break; 300 300 default: … … 310 310 iret = IntP4; 311 311 break; 312 312 case 3: 313 case 4: 313 case 4: ; case 6: 314 314 iret = IntP4E; 315 315 break; 316 316 default: