zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 0d7aa1b637b26f87025b7c8b5dc20d9a92fbb7ab (tree)
parent 0f8561d099e4d08be0a6e547dd88f21026504490
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Sat, 29 Jun 2024 01:36:40 +0200

std.Target: Use arch8 as the baseline CPU model for s390x.

Fixes #9442.

Diffstat:
Mlib/std/Target.zig | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/lib/std/Target.zig b/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,