| author | |
| committer | |
| log | 5b80900a5d944c17f19f6e36be43076baf90a5f6 |
| tree | f191771581c78395e3ed14c8da9a3f668522c93f |
| parent | 0b9f5e2549cf8a5df8fb67ebbd2dde02a6a3d0af |
| signature |
2 files changed, 3 insertions(+), 0 deletions(-)
lib/std/zig/system/arm.zig+2| ... | @@ -89,6 +89,7 @@ pub const cpu_models = struct { | ... | @@ -89,6 +89,7 @@ pub const cpu_models = struct { |
| 89 | E{ .part = 0xd88, .m64 = &A64.cortex_a520ae }, | 89 | E{ .part = 0xd88, .m64 = &A64.cortex_a520ae }, |
| 90 | E{ .part = 0xd89, .m64 = &A64.cortex_a720ae }, | 90 | E{ .part = 0xd89, .m64 = &A64.cortex_a720ae }, |
| 91 | E{ .part = 0xd8e, .m64 = &A64.neoverse_n3 }, | 91 | E{ .part = 0xd8e, .m64 = &A64.neoverse_n3 }, |
| 92 | E{ .part = 0xd8f, .m64 = &A64.cortex_a320 }, | ||
| 92 | }; | 93 | }; |
| 93 | // implementer = 0x42 | 94 | // implementer = 0x42 |
| 94 | const Broadcom = [_]E{ | 95 | const Broadcom = [_]E{ |
| ... | @@ -113,6 +114,7 @@ pub const cpu_models = struct { | ... | @@ -113,6 +114,7 @@ pub const cpu_models = struct { |
| 113 | // implementer = 0x4e | 114 | // implementer = 0x4e |
| 114 | const Nvidia = [_]E{ | 115 | const Nvidia = [_]E{ |
| 115 | E{ .part = 0x004, .m64 = &A64.carmel }, | 116 | E{ .part = 0x004, .m64 = &A64.carmel }, |
| 117 | E{ .part = 0x010, .m64 = &A64.olympus }, | ||
| 116 | }; | 118 | }; |
| 117 | // implementer = 0x50 | 119 | // implementer = 0x50 |
| 118 | const Ampere = [_]E{ | 120 | const Ampere = [_]E{ |
lib/std/zig/system/linux.zig+1| ... | @@ -143,6 +143,7 @@ const PowerpcCpuinfoImpl = struct { | ... | @@ -143,6 +143,7 @@ const PowerpcCpuinfoImpl = struct { |
| 143 | .{ "POWER8NVL", &Target.powerpc.cpu.pwr8 }, | 143 | .{ "POWER8NVL", &Target.powerpc.cpu.pwr8 }, |
| 144 | .{ "POWER9", &Target.powerpc.cpu.pwr9 }, | 144 | .{ "POWER9", &Target.powerpc.cpu.pwr9 }, |
| 145 | .{ "POWER10", &Target.powerpc.cpu.pwr10 }, | 145 | .{ "POWER10", &Target.powerpc.cpu.pwr10 }, |
| 146 | .{ "POWER11", &Target.powerpc.cpu.pwr11 }, | ||
| 146 | }; | 147 | }; |
| 147 | 148 | ||
| 148 | fn line_hook(self: *PowerpcCpuinfoImpl, key: []const u8, value: []const u8) !bool { | 149 | fn line_hook(self: *PowerpcCpuinfoImpl, key: []const u8, value: []const u8) !bool { |