authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-10-16 06:07:00+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-10-26 21:59:58+02:00
logc50fb583073ccae245fae9018e09ef0c2d2211c2
treef29348838be2758c671766841222c6afc001588f
parent73b4cb6314690b179800a3959a5e94ae469fcc0b
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.Target: Use v11 as the baseline CPU model for lanai.


1 files changed, 3 insertions(+), 2 deletions(-)

lib/std/Target.zig+3-2
...@@ -1858,13 +1858,14 @@ pub const Cpu = struct {...@@ -1858,13 +1858,14 @@ pub const Cpu = struct {
1858 },1858 },
1859 .csky => &csky.cpu.ck810, // gcc/clang do not have a generic csky model.1859 .csky => &csky.cpu.ck810, // gcc/clang do not have a generic csky model.
1860 .hexagon => &hexagon.cpu.hexagonv60, // gcc/clang do not have a generic hexagon model.1860 .hexagon => &hexagon.cpu.hexagonv60, // gcc/clang do not have a generic hexagon model.
1861 .lanai => &lanai.cpu.v11, // clang does not have a generic lanai model.
1862 .loongarch64 => &loongarch.cpu.loongarch64,
1861 .riscv32 => &riscv.cpu.baseline_rv32,1863 .riscv32 => &riscv.cpu.baseline_rv32,
1862 .riscv64 => &riscv.cpu.baseline_rv64,1864 .riscv64 => &riscv.cpu.baseline_rv64,
1863 .x86 => &x86.cpu.pentium4,
1864 .nvptx, .nvptx64 => &nvptx.cpu.sm_20,1865 .nvptx, .nvptx64 => &nvptx.cpu.sm_20,
1865 .s390x => &s390x.cpu.arch8, // gcc/clang do not have a generic s390x model.1866 .s390x => &s390x.cpu.arch8, // gcc/clang do not have a generic s390x model.
1866 .sparc => &sparc.cpu.v9, // glibc does not work with 'plain' v8.1867 .sparc => &sparc.cpu.v9, // glibc does not work with 'plain' v8.
1867 .loongarch64 => &loongarch.cpu.loongarch64,1868 .x86 => &x86.cpu.pentium4,
18681869
1869 else => generic(arch),1870 else => generic(arch),
1870 };1871 };