mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[Falkor] Add falkor CPU to host detection
This returns "falkor" for Falkor CPU. llvm-svn: 313998
This commit is contained in:
parent
651f6baa77
commit
93c1975dde
@ -211,6 +211,7 @@ StringRef sys::detail::getHostCPUNameForARM(
|
||||
.Case("0x211", "kryo")
|
||||
.Case("0x800", "cortex-a73")
|
||||
.Case("0x801", "cortex-a73")
|
||||
.Case("0xc00", "falkor")
|
||||
.Default("generic");
|
||||
|
||||
return "generic";
|
||||
|
@ -111,6 +111,9 @@ TEST(getLinuxHostCPUName, AArch64) {
|
||||
EXPECT_EQ(sys::detail::getHostCPUNameForARM("CPU implementer : 0x51\n"
|
||||
"CPU part : 0x801"),
|
||||
"cortex-a73");
|
||||
EXPECT_EQ(sys::detail::getHostCPUNameForARM("CPU implementer : 0x51\n"
|
||||
"CPU part : 0xc00"),
|
||||
"falkor");
|
||||
|
||||
// MSM8992/4 weirdness
|
||||
StringRef MSM8992ProcCpuInfo = R"(
|
||||
|
Loading…
Reference in New Issue
Block a user