Skip to content

Commit

Permalink
Merge pull request FEX-Emu#3610 from Sonicadvance1/support_oryon_named
Browse files Browse the repository at this point in the history
CPUID: Adds Qualcomm Oryon product name
  • Loading branch information
lioncash authored May 4, 2024
2 parents eddb7d1 + 5f0427c commit f7bfecd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion FEXCore/Source/Interface/Core/CPUID.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f7bfecd

Please sign in to comment.