mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
std.zig.system: update aarch64 and powerpc cpu detection for LLVM 21
This commit is contained in:
parent
0b9f5e2549
commit
5b80900a5d
@ -89,6 +89,7 @@ pub const cpu_models = struct {
|
|||||||
E{ .part = 0xd88, .m64 = &A64.cortex_a520ae },
|
E{ .part = 0xd88, .m64 = &A64.cortex_a520ae },
|
||||||
E{ .part = 0xd89, .m64 = &A64.cortex_a720ae },
|
E{ .part = 0xd89, .m64 = &A64.cortex_a720ae },
|
||||||
E{ .part = 0xd8e, .m64 = &A64.neoverse_n3 },
|
E{ .part = 0xd8e, .m64 = &A64.neoverse_n3 },
|
||||||
|
E{ .part = 0xd8f, .m64 = &A64.cortex_a320 },
|
||||||
};
|
};
|
||||||
// implementer = 0x42
|
// implementer = 0x42
|
||||||
const Broadcom = [_]E{
|
const Broadcom = [_]E{
|
||||||
@ -113,6 +114,7 @@ pub const cpu_models = struct {
|
|||||||
// implementer = 0x4e
|
// implementer = 0x4e
|
||||||
const Nvidia = [_]E{
|
const Nvidia = [_]E{
|
||||||
E{ .part = 0x004, .m64 = &A64.carmel },
|
E{ .part = 0x004, .m64 = &A64.carmel },
|
||||||
|
E{ .part = 0x010, .m64 = &A64.olympus },
|
||||||
};
|
};
|
||||||
// implementer = 0x50
|
// implementer = 0x50
|
||||||
const Ampere = [_]E{
|
const Ampere = [_]E{
|
||||||
|
|||||||
@ -143,6 +143,7 @@ const PowerpcCpuinfoImpl = struct {
|
|||||||
.{ "POWER8NVL", &Target.powerpc.cpu.pwr8 },
|
.{ "POWER8NVL", &Target.powerpc.cpu.pwr8 },
|
||||||
.{ "POWER9", &Target.powerpc.cpu.pwr9 },
|
.{ "POWER9", &Target.powerpc.cpu.pwr9 },
|
||||||
.{ "POWER10", &Target.powerpc.cpu.pwr10 },
|
.{ "POWER10", &Target.powerpc.cpu.pwr10 },
|
||||||
|
.{ "POWER11", &Target.powerpc.cpu.pwr11 },
|
||||||
};
|
};
|
||||||
|
|
||||||
fn line_hook(self: *PowerpcCpuinfoImpl, key: []const u8, value: []const u8) !bool {
|
fn line_hook(self: *PowerpcCpuinfoImpl, key: []const u8, value: []const u8) !bool {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user