mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 12:46:09 +00:00
[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:
parent
2edd897a42
commit
c5f7a32356
@ -649,6 +649,7 @@ static const char *getAMDProcessorTypeAndSubtype(unsigned Family,
|
||||
CPU = "k8";
|
||||
break;
|
||||
case 16:
|
||||
case 18:
|
||||
CPU = "amdfam10";
|
||||
*Type = AMDFAM10H; // "amdfam10"
|
||||
switch (Model) {
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user