mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
std.Target: make ultrasparc3 the baseline for sparc64-solaris
https://github.com/llvm/llvm-project/pull/149990
This commit is contained in:
parent
978555eea4
commit
464eef390b
1 changed files with 4 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue