mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 12:59:04 +00:00
std.Target: Use gfx906 as the baseline CPU model for amdgcn.
This matches Clang's default.
This commit is contained in:
parent
5b7eba95ba
commit
2d22cc9f61
@ -1846,6 +1846,7 @@ pub const Cpu = struct {
|
||||
/// `Os.Tag.freestanding`.
|
||||
pub fn baseline(arch: Arch, os: Os) *const Model {
|
||||
return switch (arch) {
|
||||
.amdgcn => &amdgpu.cpu.gfx906,
|
||||
.arm, .armeb, .thumb, .thumbeb => &arm.cpu.baseline,
|
||||
.aarch64 => switch (os.tag) {
|
||||
.bridgeos, .driverkit, .macos => &aarch64.cpu.apple_m1,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user