authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-05-22 03:49:19+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-05-22 18:41:03+02:00
log8930bdfeb63e47901d4a1de5f1d28f56c88f2026
tree535affe3a1b7cbb07b2a712e9f1e159710c3d7ae
parenta8859a6d21e3629a6605921e88987fcbb19b1e34
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.Target: make arch11 (z13) the baseline for s390x

arch8 (z10) is from 2008; arch11 (z13) is from 2015. I believe all Linux distros have already made arch11 the baseline, so let's do the same.

1 files changed, 1 insertions(+), 2 deletions(-)

lib/std/Target.zig+1-2
......@@ -2086,8 +2086,7 @@ pub const Cpu = struct {
20862086 .powerpc64le => &powerpc.cpu.ppc64le,
20872087 .riscv32, .riscv32be => &riscv.cpu.baseline_rv32,
20882088 .riscv64, .riscv64be => &riscv.cpu.baseline_rv64,
2089 // gcc/clang do not have a generic s390x model.
2090 .s390x => &s390x.cpu.arch8,
2089 .s390x => &s390x.cpu.arch11,
20912090 .sparc => &sparc.cpu.v9, // glibc does not work with 'plain' v8.
20922091 .sparc64 => &sparc.cpu.ultrasparc,
20932092 .x86 => &x86.cpu.pentium4,