mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 22:35:24 +00:00
chore(std.Target): explicitly set baseline only to arm with 3ds
* `arm` is the only supported tag for 3ds Co-authored-by: Alex Rønne Petersen <alex@alexrp.com>
This commit is contained in:
parent
fca2a7a638
commit
306176046e
@ -1843,10 +1843,11 @@ pub const Cpu = struct {
|
||||
pub fn baseline(arch: Arch, os: Os) *const Model {
|
||||
return switch (arch) {
|
||||
.amdgcn => &amdgcn.cpu.gfx906,
|
||||
.arm, .armeb, .thumb, .thumbeb => switch (os.tag) {
|
||||
.arm => switch (os.tag) {
|
||||
.@"3ds" => &arm.cpu.mpcore,
|
||||
else => &arm.cpu.baseline,
|
||||
},
|
||||
.armeb, .thumb, .thumbeb => &arm.cpu.baseline,
|
||||
.aarch64 => switch (os.tag) {
|
||||
.driverkit, .macos => &aarch64.cpu.apple_m1,
|
||||
.ios, .tvos => &aarch64.cpu.apple_a7,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user