mirror of
https://github.com/ziglang/zig.git
synced 2025-02-01 14:55:08 +00:00
std.Target: Add comments explaining the baseline CPUs for hexagon/s390x.
This commit is contained in:
parent
7f7008b5b2
commit
0bb9db3998
@ -1548,12 +1548,12 @@ pub const Cpu = struct {
|
||||
pub fn baseline(arch: Arch) *const Model {
|
||||
return switch (arch) {
|
||||
.arm, .armeb, .thumb, .thumbeb => &arm.cpu.baseline,
|
||||
.hexagon => &hexagon.cpu.hexagonv60,
|
||||
.hexagon => &hexagon.cpu.hexagonv60, // gcc/clang do not have a generic hexagon model.
|
||||
.riscv32 => &riscv.cpu.baseline_rv32,
|
||||
.riscv64 => &riscv.cpu.baseline_rv64,
|
||||
.x86 => &x86.cpu.pentium4,
|
||||
.nvptx, .nvptx64 => &nvptx.cpu.sm_20,
|
||||
.s390x => &s390x.cpu.arch8,
|
||||
.s390x => &s390x.cpu.arch8, // gcc/clang do not have a generic s390x model.
|
||||
.sparc => &sparc.cpu.v9, // glibc does not work with 'plain' v8.
|
||||
.loongarch64 => &loongarch.cpu.loongarch64,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user