fix: add i86 cpu in update_cpu_features

This commit is contained in:
GasInfinity 2025-10-29 14:34:58 +01:00
parent b409cdf63f
commit fca748ffba
No known key found for this signature in database
2 changed files with 10 additions and 1 deletions

View file

@ -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",