diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-02-04 15:16:44 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-02-04 15:16:44 -0500 |
| commit | 1530e82b6b67611e78caade2a31bcb536f212730 (patch) | |
| tree | 495a32ca706ac3f75d0aa3ef281e1f3100003ea9 /lib | |
| parent | 73256dda91d0d5b3d13016d15f2c4465a69cd7d4 (diff) | |
| download | zig-1530e82b6b67611e78caade2a31bcb536f212730.tar.gz zig-1530e82b6b67611e78caade2a31bcb536f212730.zip | |
re-apply: these are not real CPU features
The commit 70ee818d21c44ec0031b997916694327eb9fc37f
(update target CPUs and features with llvm10's data)
accidentally reverted 6793af8d8b370cefc0a1fccbcf1c9fd1a24c7378.
This un-reverts it.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/std/target/x86.zig | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/std/target/x86.zig b/lib/std/target/x86.zig index 10d33fe6b2..866b83630f 100644 --- a/lib/std/target/x86.zig +++ b/lib/std/target/x86.zig @@ -2,12 +2,9 @@ const std = @import("../std.zig"); const Cpu = std.Target.Cpu; pub const Feature = enum { - @"16bit_mode", - @"32bit_mode", @"3dnow", @"3dnowa", @"64bit", - @"64bit_mode", adx, aes, avx, @@ -138,16 +135,6 @@ pub const all_features = blk: { const len = @typeInfo(Feature).Enum.fields.len; std.debug.assert(len <= Cpu.Feature.Set.needed_bit_count); var result: [len]Cpu.Feature = undefined; - result[@enumToInt(Feature.@"16bit_mode")] = .{ - .llvm_name = "16bit-mode", - .description = "16-bit mode (i8086)", - .dependencies = featureSet(&[_]Feature{}), - }; - result[@enumToInt(Feature.@"32bit_mode")] = .{ - .llvm_name = "32bit-mode", - .description = "32-bit mode (80386)", - .dependencies = featureSet(&[_]Feature{}), - }; result[@enumToInt(Feature.@"3dnow")] = .{ .llvm_name = "3dnow", .description = "Enable 3DNow! instructions", @@ -167,11 +154,6 @@ pub const all_features = blk: { .description = "Support 64-bit instructions", .dependencies = featureSet(&[_]Feature{}), }; - result[@enumToInt(Feature.@"64bit_mode")] = .{ - .llvm_name = "64bit-mode", - .description = "64-bit mode (x86_64)", - .dependencies = featureSet(&[_]Feature{}), - }; result[@enumToInt(Feature.adx)] = .{ .llvm_name = "adx", .description = "Support ADX instructions", |
