diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-01-26 16:33:40 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-01-26 16:36:14 -0700 |
| commit | 0ca3582a86da377a25ea144acf94531dd8a28722 (patch) | |
| tree | b18114547c561264532a8f5aee68f225553bff53 /lib/std/target/powerpc.zig | |
| parent | 1e7083d09cc77663560b4c971421bff06f2c6c12 (diff) | |
| download | zig-0ca3582a86da377a25ea144acf94531dd8a28722.tar.gz zig-0ca3582a86da377a25ea144acf94531dd8a28722.zip | |
update CPU features to LLVM 16
Diffstat (limited to 'lib/std/target/powerpc.zig')
| -rw-r--r-- | lib/std/target/powerpc.zig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/std/target/powerpc.zig b/lib/std/target/powerpc.zig index 25c4162b0d..dda030d791 100644 --- a/lib/std/target/powerpc.zig +++ b/lib/std/target/powerpc.zig @@ -19,6 +19,7 @@ pub const Feature = enum { e500, efpu2, extdiv, + fast_MFLR, fcpsgn, float128, fpcvt, @@ -176,6 +177,11 @@ pub const all_features = blk: { .description = "Enable extended divide instructions", .dependencies = featureSet(&[_]Feature{}), }; + result[@enumToInt(Feature.fast_MFLR)] = .{ + .llvm_name = "fast-MFLR", + .description = "MFLR is a fast instruction", + .dependencies = featureSet(&[_]Feature{}), + }; result[@enumToInt(Feature.fcpsgn)] = .{ .llvm_name = "fcpsgn", .description = "Enable the fcpsgn instruction", @@ -787,6 +793,7 @@ pub const cpu = struct { .crypto, .direct_move, .extdiv, + .fast_MFLR, .fcpsgn, .fpcvt, .fprnd, @@ -941,6 +948,7 @@ pub const cpu = struct { .crypto, .direct_move, .extdiv, + .fast_MFLR, .fcpsgn, .fpcvt, .fprnd, |
