mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 14:25:16 +00:00
std.Target: Use gfx600 as the generic CPU model for amdgcn.
This is the first model that was actually in the GCN family.
This commit is contained in:
parent
51dc4b0549
commit
5b7eba95ba
@ -1797,6 +1797,7 @@ pub const Cpu = struct {
|
||||
};
|
||||
};
|
||||
return switch (arch) {
|
||||
.amdgcn => &amdgpu.cpu.gfx600,
|
||||
.arc => &arc.cpu.generic,
|
||||
.arm, .armeb, .thumb, .thumbeb => &arm.cpu.generic,
|
||||
.aarch64, .aarch64_be => &aarch64.cpu.generic,
|
||||
@ -1815,7 +1816,6 @@ pub const Cpu = struct {
|
||||
.powerpc64, .powerpc64le => &powerpc.cpu.ppc64,
|
||||
.propeller1 => &propeller.cpu.generic,
|
||||
.propeller2 => &propeller.cpu.generic,
|
||||
.amdgcn => &amdgpu.cpu.generic,
|
||||
.riscv32 => &riscv.cpu.generic_rv32,
|
||||
.riscv64 => &riscv.cpu.generic_rv64,
|
||||
.spirv, .spirv32, .spirv64 => &spirv.cpu.generic,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user