authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-08 23:14:00+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-12 08:57:10+02:00
log0bb9db399813c01cf022ce1a2766a497796327ba
tree4a826e2cab83319011bf53630520f84129577fdf
parent7f7008b5b2cb5d7d41295f04c28d78365063f7c1
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.Target: Add comments explaining the baseline CPUs for hexagon/s390x.


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

lib/std/Target.zig+2-2
......@@ -1548,12 +1548,12 @@ pub const Cpu = struct {
15481548 pub fn baseline(arch: Arch) *const Model {
15491549 return switch (arch) {
15501550 .arm, .armeb, .thumb, .thumbeb => &arm.cpu.baseline,
1551 .hexagon => &hexagon.cpu.hexagonv60,
1551 .hexagon => &hexagon.cpu.hexagonv60, // gcc/clang do not have a generic hexagon model.
15521552 .riscv32 => &riscv.cpu.baseline_rv32,
15531553 .riscv64 => &riscv.cpu.baseline_rv64,
15541554 .x86 => &x86.cpu.pentium4,
15551555 .nvptx, .nvptx64 => &nvptx.cpu.sm_20,
1556 .s390x => &s390x.cpu.arch8,
1556 .s390x => &s390x.cpu.arch8, // gcc/clang do not have a generic s390x model.
15571557 .sparc => &sparc.cpu.v9, // glibc does not work with 'plain' v8.
15581558 .loongarch64 => &loongarch.cpu.loongarch64,
15591559