Merge pull request #3610 from Sonicadvance1/support_oryon_named

CPUID: Adds Qualcomm Oryon product name
This commit is contained in:
Mai 2024-05-04 00:04:29 -04:00 committed by GitHub
commit f7bfecd3f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -69,6 +69,8 @@ namespace ProductNames {
static const char ARM_Firestorm[] = "Apple Firestorm";
static const char ARM_Icestorm[] = "Apple Icestorm";
static const char ARM_ORYON_1[] = "Oryon-1";
#else
#endif
} // namespace ProductNames
@ -140,8 +142,10 @@ void CPUIDEmu::SetupHostHybridFlag() {
// CPU priority order
// This is mostly arbitrary but will sort by some sort of CPU priority by performance
// Relative list so things they will commonly end up in big.little configurations sort of relate
static constexpr std::array<CPUMIDR, 42> CPUMIDRs = {{
static constexpr std::array<CPUMIDR, 43> CPUMIDRs = {{
// Typically big CPU cores
{0x51, 0x001, 1, ProductNames::ARM_ORYON_1}, // Qualcomm Oryon-1
{0x61, 0x023, 1, ProductNames::ARM_Firestorm}, // Apple M1 Firestorm
{0x41, 0xd82, 1, ProductNames::ARM_X4}, // X4