File tree Expand file tree Collapse file tree 1 file changed +27
-2
lines changed
compiler-rt/lib/builtins/cpu_model Expand file tree Collapse file tree 1 file changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -461,16 +461,31 @@ static const char *getIntelProcessorTypeAndSubtype(unsigned Family,
461
461
// Alderlake:
462
462
case 0x97 :
463
463
case 0x9a :
464
+ CPU = "alderlake" ;
465
+ * Type = INTEL_COREI7 ;
466
+ * Subtype = INTEL_COREI7_ALDERLAKE ;
467
+ break ;
468
+
464
469
// Raptorlake:
465
470
case 0xb7 :
466
471
case 0xba :
467
472
case 0xbf :
473
+ CPU = "raptorlake" ;
474
+ * Type = INTEL_COREI7 ;
475
+ * Subtype = INTEL_COREI7_ALDERLAKE ;
476
+ break ;
477
+
468
478
// Meteorlake:
469
479
case 0xaa :
470
480
case 0xac :
481
+ CPU = "meteorlake" ;
482
+ * Type = INTEL_COREI7 ;
483
+ * Subtype = INTEL_COREI7_ALDERLAKE ;
484
+ break ;
485
+
471
486
// Gracemont:
472
487
case 0xbe :
473
- CPU = "alderlake " ;
488
+ CPU = "gracement " ;
474
489
* Type = INTEL_COREI7 ;
475
490
* Subtype = INTEL_COREI7_ALDERLAKE ;
476
491
break ;
@@ -486,9 +501,14 @@ static const char *getIntelProcessorTypeAndSubtype(unsigned Family,
486
501
487
502
// Arrowlake S:
488
503
case 0xc6 :
504
+ CPU = "arrowlake-s" ;
505
+ * Type = INTEL_COREI7 ;
506
+ * Subtype = INTEL_COREI7_ARROWLAKE_S ;
507
+ break ;
508
+
489
509
// Lunarlake:
490
510
case 0xbd :
491
- CPU = "arrowlake-s " ;
511
+ CPU = "lunarlake " ;
492
512
* Type = INTEL_COREI7 ;
493
513
* Subtype = INTEL_COREI7_ARROWLAKE_S ;
494
514
break ;
@@ -510,6 +530,11 @@ static const char *getIntelProcessorTypeAndSubtype(unsigned Family,
510
530
511
531
// Emerald Rapids:
512
532
case 0xcf :
533
+ CPU = "emeraldrapids" ;
534
+ * Type = INTEL_COREI7 ;
535
+ * Subtype = INTEL_COREI7_SAPPHIRERAPIDS ;
536
+ break ;
537
+
513
538
// Sapphire Rapids:
514
539
case 0x8f :
515
540
CPU = "sapphirerapids" ;
You can’t perform that action at this time.
0 commit comments