mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 22:33:08 +00:00
fix: add i86 cpu in update_cpu_features
This commit is contained in:
parent
b409cdf63f
commit
fca748ffba
@ -3084,7 +3084,9 @@ pub const cpu = struct {
|
||||
pub const @"i86": CpuModel = .{
|
||||
.name = "i86",
|
||||
.llvm_name = null,
|
||||
.features = featureSet(&[_]Feature{}),
|
||||
.features = featureSet(&[_]Feature{
|
||||
.@"16bit_mode",
|
||||
}),
|
||||
};
|
||||
pub const @"i386": CpuModel = .{
|
||||
.name = "i386",
|
||||
|
||||
@ -1541,6 +1541,13 @@ const targets = [_]ArchTarget{
|
||||
.deps = &.{},
|
||||
},
|
||||
},
|
||||
.extra_cpus = &.{
|
||||
.{
|
||||
.llvm_name = null,
|
||||
.zig_name = "i86",
|
||||
.features = &.{"16bit_mode"},
|
||||
},
|
||||
},
|
||||
.omit_cpus = &.{
|
||||
// LLVM defines a bunch of dumb aliases with foreach loops in X86.td.
|
||||
"pentium_mmx",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user