[X86] Add AMD Llano family detection (#111312)

Very simple one liner, adds the missing detection for the Llano family
which is essentially a refreshed K10:
Documentation of the family id:
https://en.wikichip.org/wiki/amd/cpuid#Family_18_.2812h.29
Documentation that it fits into amdfam10:
https://en.wikipedia.org/wiki/AMD_10h#12h
This commit is contained in:
RipleyTom 2024-10-07 17:33:26 +02:00 committed by GitHub
parent 2edd897a42
commit c5f7a32356
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -649,6 +649,7 @@ static const char *getAMDProcessorTypeAndSubtype(unsigned Family,
CPU = "k8";
break;
case 16:
case 18:
CPU = "amdfam10";
*Type = AMDFAM10H; // "amdfam10"
switch (Model) {

View File

@ -1050,6 +1050,7 @@ static const char *getAMDProcessorTypeAndSubtype(unsigned Family,
CPU = "k8";
break;
case 16:
case 18:
CPU = "amdfam10";
*Type = X86::AMDFAM10H; // "amdfam10"
switch (Model) {