std.Target: make ultrasparc3 the baseline for sparc64-solaris

https://github.com/llvm/llvm-project/pull/149990
This commit is contained in:
Alex Rønne Petersen 2025-08-02 21:32:51 +02:00
parent 978555eea4
commit 464eef390b
No known key found for this signature in database

View file

@ -1908,6 +1908,10 @@ pub const Cpu = struct {
.riscv64, .riscv64be => &riscv.cpu.baseline_rv64,
.s390x => &s390x.cpu.arch8, // gcc/clang do not have a generic s390x model.
.sparc => &sparc.cpu.v9, // glibc does not work with 'plain' v8.
.sparc64 => switch (os.tag) {
.solaris => &sparc.cpu.ultrasparc3,
else => generic(arch),
},
.x86 => &x86.cpu.pentium4,
.x86_64 => switch (os.tag) {
.driverkit => &x86.cpu.nehalem,