Skip to content

Commit

Permalink
Add RaptorLake and one more Alder Lake (#815)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhyxionNL committed Sep 14, 2022
1 parent ae3bc27 commit a6f28dc
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions LibreHardwareMonitorLib/Hardware/Cpu/IntelCpu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,18 @@ public IntelCpu(int processorIndex, CpuId[][] cpuId, ISettings settings) : base(
tjMax = GetTjMaxFromMsr();
break;

case 0x97: // Alder Lake-S (Intel 7/10nm)
case 0x9A: // Alder Lake-H (Intel 7/10nm)
case 0x97: // Alder Lake (7/10nm)
case 0x9A: // Alder Lake-L (7/10nm)
case 0xBE: // Alder Lake-N (7/10nm)
_microArchitecture = MicroArchitecture.AlderLake;
tjMax = GetTjMaxFromMsr();
break;

case 0xB7: // Raptor Lake (7nm)
case 0xBA: // Raptor Lake-P (7nm)
case 0xBF: // Raptor Lake-N (7nm)
_microArchitecture = MicroArchitecture.RaptorLake;
tjMax = GetTjMaxFromMsr();
break;

case 0x9C: // Jasper Lake (10nm)
Expand Down Expand Up @@ -266,6 +274,7 @@ public IntelCpu(int processorIndex, CpuId[][] cpuId, ISettings settings) : base(
case MicroArchitecture.JasperLake:
case MicroArchitecture.KabyLake:
case MicroArchitecture.Nehalem:
case MicroArchitecture.RaptorLake:
case MicroArchitecture.RocketLake:
case MicroArchitecture.SandyBridge:
case MicroArchitecture.Silvermont:
Expand Down Expand Up @@ -377,6 +386,7 @@ MicroArchitecture.IceLake or
MicroArchitecture.IvyBridge or
MicroArchitecture.JasperLake or
MicroArchitecture.KabyLake or
MicroArchitecture.RaptorLake or
MicroArchitecture.RocketLake or
MicroArchitecture.SandyBridge or
MicroArchitecture.Silvermont or
Expand Down Expand Up @@ -577,6 +587,7 @@ public override void Update()
case MicroArchitecture.IvyBridge:
case MicroArchitecture.JasperLake:
case MicroArchitecture.KabyLake:
case MicroArchitecture.RaptorLake:
case MicroArchitecture.RocketLake:
case MicroArchitecture.SandyBridge:
case MicroArchitecture.Silvermont:
Expand Down Expand Up @@ -670,6 +681,7 @@ private enum MicroArchitecture
Skylake,
TigerLake,
Tremont,
RaptorLake,
Unknown
}

Expand Down

0 comments on commit a6f28dc

Please sign in to comment.