From ccbd6a3c197d7593fc8aaaf0108630c3526dc00d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Mon, 3 Aug 2026 21:27:15 +0200 Subject: [PATCH] std.zig.system.arm: add hip12 and rigel CPU detection --- lib/std/zig/system/arm.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/std/zig/system/arm.zig b/lib/std/zig/system/arm.zig index c597ada2079b972ab5ccb847bca0807107a45edd..00384a271ca0ad729844b38534c711ec5be280b5 100644 --- a/lib/std/zig/system/arm.zig +++ b/lib/std/zig/system/arm.zig @@ -121,11 +121,13 @@ pub const cpu_models = struct { // implementer = 0x48 const HiSilicon = [_]E{ E{ .part = 0xd01, .m64 = &A64.tsv110 }, + E{ .part = 0xd06, .m64 = &A64.hip12 }, }; // implementer = 0x4e const Nvidia = [_]E{ E{ .part = 0x004, .m64 = &A64.carmel }, E{ .part = 0x010, .m64 = &A64.olympus }, + E{ .part = 0x011, .m64 = &A64.rigel }, }; // implementer = 0x50 const Ampere = [_]E{ -- 2.54.0