Index: src/compiler/machine-operator.h |
diff --git a/src/compiler/machine-operator.h b/src/compiler/machine-operator.h |
index 8f95a89af3bdf5c0715c8dd8c43f95908ec8899d..211d17d6312102153ceb04d3756410350a102931 100644 |
--- a/src/compiler/machine-operator.h |
+++ b/src/compiler/machine-operator.h |
@@ -113,13 +113,15 @@ class MachineOperatorBuilder final : public ZoneObject { |
kWord64Popcnt = 1u << 19, |
kWord32ReverseBits = 1u << 20, |
kWord64ReverseBits = 1u << 21, |
- kAllOptionalOps = kFloat32Max | kFloat32Min | kFloat64Max | kFloat64Min | |
- kFloat32RoundDown | kFloat64RoundDown | kFloat32RoundUp | |
- kFloat64RoundUp | kFloat32RoundTruncate | |
- kFloat64RoundTruncate | kFloat64RoundTiesAway | |
- kFloat32RoundTiesEven | kFloat64RoundTiesEven | |
- kWord32Ctz | kWord64Ctz | kWord32Popcnt | kWord64Popcnt | |
- kWord32ReverseBits | kWord64ReverseBits |
+ kFloat32Neg = 1u << 22, |
+ kFloat64Neg = 1u << 23, |
+ kAllOptionalOps = |
+ kFloat32Max | kFloat32Min | kFloat64Max | kFloat64Min | |
+ kFloat32RoundDown | kFloat64RoundDown | kFloat32RoundUp | |
+ kFloat64RoundUp | kFloat32RoundTruncate | kFloat64RoundTruncate | |
+ kFloat64RoundTiesAway | kFloat32RoundTiesEven | kFloat64RoundTiesEven | |
+ kWord32Ctz | kWord64Ctz | kWord32Popcnt | kWord64Popcnt | |
+ kWord32ReverseBits | kWord64ReverseBits | kFloat32Neg | kFloat64Neg |
}; |
typedef base::Flags<Flag, unsigned> Flags; |
@@ -361,6 +363,10 @@ class MachineOperatorBuilder final : public ZoneObject { |
const OptionalOperator Float32RoundTiesEven(); |
const OptionalOperator Float64RoundTiesEven(); |
+ // Floating point neg. |
+ const OptionalOperator Float32Neg(); |
+ const OptionalOperator Float64Neg(); |
+ |
// Floating point bit representation. |
const Operator* Float64ExtractLowWord32(); |
const Operator* Float64ExtractHighWord32(); |