================
@@ -837,20 +838,18 @@ getAMDProcessorTypeAndSubtype(unsigned Family, unsigned
Model,
case 26:
CPU = "znver5";
Type = AMDFAM1AH;
- if (Model <= 0x77) {
- // Models 00h-0Fh (Breithorn).
- // Models 10h-1Fh (Breithorn-Dense).
- // Models 20h-2Fh (Strix 1).
- // Models 30h-37h (Strix 2).
- // Models 38h-3Fh (Strix 3).
- // Models 40h-4Fh (Granite Ridge).
- // Models 50h-5Fh (Weisshorn).
- // Models 60h-6Fh (Krackan1).
- // Models 70h-77h (Sarlak).
+ if (Model <= 0x4f || (Model >= 0x60 && Model <= 0x77) ||
+ (Model >= 0xd0 && Model <= 0xd7)) {
----------------
ganeshgit wrote:
Weisshorn is excluded and we have few models included as well. The model
numbers are broader now.
https://github.com/llvm/llvm-project/pull/179150
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits