Commit d0f036b
fix: add CPU detection for Intel Emerald Rapids and newer processors
Problem:
Intel Xeon Platinum 8575C (Emerald Rapids, model 207 = exmodel 12, model 15)
was incorrectly detected as PRESCOTT (Pentium 4 era) instead of SAPPHIRERAPIDS.
Root cause:
1. In get_corename() function, case 12 (exmodel 12) only handled model 6
(Arrow Lake) but missed model 15 (Emerald Rapids)
2. Missing break statement caused fall-through to case 15 (family 15,
which is Pentium 4), returning CORE_PRESCOTT incorrectly
3. dynamic.c lacked support for exmodel 10-12 newer Intel processors
Changes:
- cpuid_x86.c: Add case 15 (Emerald Rapids) to exmodel 12 switch and
add missing break statement
- dynamic.c: Add runtime detection support for:
- Exmodel 10: Meteor Lake (model 0, 10), Granite Rapids (model 13)
- Exmodel 11: Raptor Lake, Alder Lake N (model 7, 10, 14, 15)
- Exmodel 12: Arrow Lake (model 6), Emerald Rapids (model 15)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 77986e4 commit d0f036b
2 files changed
Lines changed: 65 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2424 | 2424 | | |
2425 | 2425 | | |
2426 | 2426 | | |
| 2427 | + | |
2427 | 2428 | | |
2428 | 2429 | | |
2429 | 2430 | | |
| |||
2438 | 2439 | | |
2439 | 2440 | | |
2440 | 2441 | | |
| 2442 | + | |
2441 | 2443 | | |
2442 | 2444 | | |
2443 | 2445 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
791 | 791 | | |
792 | 792 | | |
793 | 793 | | |
794 | | - | |
795 | | - | |
| 794 | + | |
| 795 | + | |
796 | 796 | | |
797 | 797 | | |
798 | 798 | | |
| |||
803 | 803 | | |
804 | 804 | | |
805 | 805 | | |
806 | | - | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
807 | 867 | | |
808 | 868 | | |
809 | 869 | | |
| |||
0 commit comments