From a20ad920228275c2fc237d7f401545a8a0da0dc9 Mon Sep 17 00:00:00 2001 From: Joker-Van Date: Wed, 2 Mar 2022 19:23:22 +0800 Subject: KWSys: SystemInformation: Add Zhaoxin x86 processor kh40000 Backport KWSys commit `dfec20c95` (SystemInformation: Add Zhaoxin x86 processor kh40000, 2022-03-02) to the CMake 3.23 release branch. --- Source/kwsys/SystemInformation.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/kwsys/SystemInformation.cxx b/Source/kwsys/SystemInformation.cxx index dcbf367..e6cc48f 100644 --- a/Source/kwsys/SystemInformation.cxx +++ b/Source/kwsys/SystemInformation.cxx @@ -3262,6 +3262,9 @@ bool SystemInformationImplementation::RetrieveClassicalCPUIdentity() case 0x3b: this->ChipID.ProcessorName = "Zhaoxin kx6000"; break; + case 0x5b: + this->ChipID.ProcessorName = "Zhaoxin kh40000"; + break; default: this->ChipID.ProcessorName = "Unknown IDT\\Centaur\\VIA\\Zhaoxin family"; @@ -3295,6 +3298,9 @@ bool SystemInformationImplementation::RetrieveClassicalCPUIdentity() case 0x3b: this->ChipID.ProcessorName = "Zhaoxin kx6000"; break; + case 0x5b: + this->ChipID.ProcessorName = "Zhaoxin kh40000"; + break; default: this->ChipID.ProcessorName = "Unknown Zhaoxin family"; return false; -- cgit v0.12