std.Target: update CPU and feature data to LLVM 22

This commit is contained in:
Alex Rønne Petersen
2026-01-17 06:54:56 +01:00
parent c855c61432
commit ca0b3318a0
22 changed files with 2008 additions and 395 deletions
+2 -1
View File
@@ -1225,7 +1225,7 @@ pub const Cpu = struct {
pub const Set = struct {
ints: [usize_count]usize,
pub const needed_bit_count = 317;
pub const needed_bit_count = 347;
pub const byte_count = (needed_bit_count + 7) / 8;
pub const usize_count = (byte_count + (@sizeOf(usize) - 1)) / @sizeOf(usize);
pub const Index = std.math.Log2Int(std.meta.Int(.unsigned, usize_count * @bitSizeOf(usize)));
@@ -2061,6 +2061,7 @@ pub const Cpu = struct {
.hppa => &hppa.cpu.pa_7300lc,
.kvx => &kvx.cpu.coolidge_v2,
.lanai => &lanai.cpu.v11, // clang does not have a generic lanai model.
.loongarch32 => &loongarch.cpu.la32v1_0,
.loongarch64 => &loongarch.cpu.la64v1_0,
.m68k => &m68k.cpu.M68000,
.mips => &mips.cpu.mips32r2,