Skip to content

Commit 0d7aa1b

Browse files
alexrpandrewrk
authored andcommitted
std.Target: Use arch8 as the baseline CPU model for s390x.
Fixes #9442.
1 parent 0f8561d commit 0d7aa1b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/std/Target.zig

+1
Original file line numberDiff line numberDiff line change
@@ -1548,6 +1548,7 @@ pub const Cpu = struct {
15481548
.riscv64 => &riscv.cpu.baseline_rv64,
15491549
.x86 => &x86.cpu.pentium4,
15501550
.nvptx, .nvptx64 => &nvptx.cpu.sm_20,
1551+
.s390x => &s390x.cpu.arch8,
15511552
.sparc, .sparcel => &sparc.cpu.v8,
15521553
.loongarch64 => &loongarch.cpu.loongarch64,
15531554

0 commit comments

Comments
 (0)