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:
Alex Rønne Petersen committed 2026-10-26 11:02:43 +01:00
1 parent 25017aa872
commit f4fd2f30d0
2 files changed
+8 -1

No files matched your search

+1 -1
View File
@@ -2575,7 +2575,7 @@ pub const cpu = struct {
.name = "generic",
.llvm_name = "generic",
.features = featureSet(&[_]Feature{
.btst16,
.e2,
}),
};
pub const @"i805": CpuModel = .{
+7
View File
@@ -2037,6 +2037,13 @@ const targets = [_]ArchTarget{
.flatten = true,
},
},
.model_overrides = &.{
.{
.llvm_name = "generic",
.extra_deps = &.{"e2"},
.omit_deps = &.{"btst16"},
},
},
},
.{
.zig_name = "hexagon",