diff options
| author | GasInfinity <me@gasinfinity.dev> | 2025-10-29 14:34:58 +0100 |
|---|---|---|
| committer | GasInfinity <me@gasinfinity.dev> | 2025-10-29 14:34:58 +0100 |
| commit | fca748ffba4518a205e3ebb46ff6ea062dc5fdcc (patch) | |
| tree | b631460b618d9ae36e20225599fc6d65d2c88254 /tools | |
| parent | b409cdf63f3496032bda83a88f54a7684feab92b (diff) | |
| download | zig-fca748ffba4518a205e3ebb46ff6ea062dc5fdcc.tar.gz zig-fca748ffba4518a205e3ebb46ff6ea062dc5fdcc.zip | |
fix: add `i86` cpu in `update_cpu_features`
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/update_cpu_features.zig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/update_cpu_features.zig b/tools/update_cpu_features.zig index 29877fff15..c077b16c0a 100644 --- a/tools/update_cpu_features.zig +++ b/tools/update_cpu_features.zig @@ -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", |
