mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-10-28 10:45:48 +08:00
update_cpu_features: tweak generic csky model
A truly generic model is not possible for csky, but with this weak, it covers 148 of 151 models. I think that's Good Enough.
This commit is contained in:
2 files changed
+8
-1
No files matched your search
@@ -2575,7 +2575,7 @@ pub const cpu = struct {
|
||||
.name = "generic",
|
||||
.llvm_name = "generic",
|
||||
.features = featureSet(&[_]Feature{
|
||||
.btst16,
|
||||
.e2,
|
||||
}),
|
||||
};
|
||||
pub const @"i805": CpuModel = .{
|
||||
|
||||
@@ -2037,6 +2037,13 @@ const targets = [_]ArchTarget{
|
||||
.flatten = true,
|
||||
},
|
||||
},
|
||||
.model_overrides = &.{
|
||||
.{
|
||||
.llvm_name = "generic",
|
||||
.extra_deps = &.{"e2"},
|
||||
.omit_deps = &.{"btst16"},
|
||||
},
|
||||
},
|
||||
},
|
||||
.{
|
||||
.zig_name = "hexagon",
|
||||
|
||||
Reference in new issue
Block a user