Commit 0d7aa1b637

Alex Rønne Petersen <alex@alexrp.com>
2024-06-29 01:36:40
std.Target: Use arch8 as the baseline CPU model for s390x.
Fixes #9442.
1 parent 0f8561d
Changed files (1)
lib
lib/std/Target.zig
@@ -1548,6 +1548,7 @@ pub const Cpu = struct {
                 .riscv64 => &riscv.cpu.baseline_rv64,
                 .x86 => &x86.cpu.pentium4,
                 .nvptx, .nvptx64 => &nvptx.cpu.sm_20,
+                .s390x => &s390x.cpu.arch8,
                 .sparc, .sparcel => &sparc.cpu.v8,
                 .loongarch64 => &loongarch.cpu.loongarch64,