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)

Patch arch_x86.cpp

  • CONFIG/src/backend/archinfo_x86.c

    old new  
    9292 */
    9393   do_cpuid(r, 1);
    9494   *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 */
    9696       *family += ((r[EAX] >> 20) & 0xff);
    9797
    9898   *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 */
    100100      *model |= ((r[0] >> 12) & 0xf0);
    101101
    102102/*
     
    294294      case 14:
    295295         iret = IntCoreDuo;
    296296         break;
    297       case 15:
     297      case 15: ; case 23:
    298298         iret = IntCore2Duo;
    299299         break;
    300300      default:
     
    310310         iret = IntP4;
    311311         break;
    312312      case 3:
    313       case 4:
     313      case 4: ; case 6:
    314314         iret = IntP4E;
    315315         break;
    316316      default: