mirror of
https://github.com/ziglang/zig.git
synced 2026-01-21 06:45:24 +00:00
Use correct names for generic SPARC targets
LLVM calls generic sparc32 CPUs "v8" and generic sparc64 CPUs "v9".
This commit is contained in:
parent
341eec71fd
commit
cefbe4e7be
@ -1127,7 +1127,8 @@ pub const Target = struct {
|
||||
.amdgcn => &amdgpu.cpu.generic,
|
||||
.riscv32 => &riscv.cpu.generic_rv32,
|
||||
.riscv64 => &riscv.cpu.generic_rv64,
|
||||
.sparc, .sparcv9, .sparcel => &sparc.cpu.generic,
|
||||
.sparc, .sparcel => &sparc.cpu.v8,
|
||||
.sparcv9 => &sparc.cpu.v9,
|
||||
.s390x => &systemz.cpu.generic,
|
||||
.i386 => &x86.cpu._i386,
|
||||
.x86_64 => &x86.cpu.x86_64,
|
||||
|
||||
@ -160,11 +160,6 @@ pub const cpu = struct {
|
||||
.llvm_name = "f934",
|
||||
.features = featureSet(&[_]Feature{}),
|
||||
};
|
||||
pub const generic = CpuModel{
|
||||
.name = "generic",
|
||||
.llvm_name = "generic",
|
||||
.features = featureSet(&[_]Feature{}),
|
||||
};
|
||||
pub const gr712rc = CpuModel{
|
||||
.name = "gr712rc",
|
||||
.llvm_name = "gr712rc",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user