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

std.Target: make ultrasparc the baseline for sparc64

No OSs actually support CPUs older than this.

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

lib/std/Target.zig+1
......@@ -2077,6 +2077,7 @@ pub const Cpu = struct {
20772077 // gcc/clang do not have a generic s390x model.
20782078 .s390x => &s390x.cpu.arch8,
20792079 .sparc => &sparc.cpu.v9, // glibc does not work with 'plain' v8.
2080 .sparc64 => &sparc.cpu.ultrasparc,
20802081 .x86 => &x86.cpu.pentium4,
20812082 .x86_64 => switch (os.tag) {
20822083 .driverkit, .maccatalyst => &x86.cpu.nehalem,