mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
std.Target: Use mips32r2/mips64r2 as the baseline CPU models for mips/mips64.
This matches Clang's defaults. That also means these CPU models tend to get more testing, so they're a safer baseline choice. Anecdotally, the oldest MIPS hardware that I've seen anyone run Zig on was also r2.
This commit is contained in:
parent
385f586605
commit
e26b64a87d
@ -1860,6 +1860,8 @@ pub const Cpu = struct {
|
||||
.hexagon => &hexagon.cpu.hexagonv60, // gcc/clang do not have a generic hexagon model.
|
||||
.lanai => &lanai.cpu.v11, // clang does not have a generic lanai model.
|
||||
.loongarch64 => &loongarch.cpu.loongarch64,
|
||||
.mips, .mipsel => &mips.cpu.mips32r2,
|
||||
.mips64, .mips64el => &mips.cpu.mips64r2,
|
||||
.nvptx, .nvptx64 => &nvptx.cpu.sm_52,
|
||||
.powerpc64le => &powerpc.cpu.ppc64le,
|
||||
.riscv32 => &riscv.cpu.baseline_rv32,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user