update_cpu_features: rename generic csky model to e2

This commit is contained in:
Alex Rønne Petersen committed 2026-10-26 11:02:43 +01:00
1 parent a78fcdb756
commit e80dcf3474
3 files changed
+9 -8

No files matched your search

+1
View File
@@ -2050,6 +2050,7 @@ pub const Cpu = struct {
.amdgcn => &amdgcn.cpu.gfx600,
.avr => &avr.cpu.avr1,
.bpfel, .bpfeb => &bpf.cpu.v1,
.csky => &csky.cpu.e2,
.hexagon => &hexagon.cpu.hexagonv60,
.hppa => &hppa.cpu.ts_1,
.hppa64 => &hppa.cpu.pa_8000,
+7 -7
View File
@@ -2428,6 +2428,13 @@ pub const cpu = struct {
.vdspv2,
}),
};
pub const e2: CpuModel = .{
.name = "e2",
.llvm_name = null,
.features = featureSet(&[_]Feature{
.e2,
}),
};
pub const e801: CpuModel = .{
.name = "e801",
.llvm_name = "e801",
@@ -2571,13 +2578,6 @@ pub const cpu = struct {
.trust,
}),
};
pub const generic: CpuModel = .{
.name = "generic",
.llvm_name = null,
.features = featureSet(&[_]Feature{
.e2,
}),
};
pub const @"i805": CpuModel = .{
.name = "i805",
.llvm_name = "i805",
+1 -1
View File
@@ -2146,7 +2146,7 @@ const targets = [_]ArchTarget{
.extra_models = &.{
.{
.llvm_name = null,
.zig_name = "generic",
.zig_name = "e2",
.features = &.{"e2"},
},
},