Index: src/compiler/machine-operator.h |
diff --git a/src/compiler/machine-operator.h b/src/compiler/machine-operator.h |
index 68c2d600d3e4908fcc4a160aab373c0cf65bbf67..792ed1ae45579c095e713370780608800e067ce0 100644 |
--- a/src/compiler/machine-operator.h |
+++ b/src/compiler/machine-operator.h |
@@ -130,13 +130,16 @@ class MachineOperatorBuilder final : public ZoneObject { |
kWord64ReverseBits = 1u << 21, |
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 |
+ kWord32ReverseBytes = 1u << 24, |
+ kWord64ReverseBytes = 1u << 25, |
+ kAllOptionalOps = kFloat32Max | kFloat32Min | kFloat64Max | kFloat64Min | |
+ kFloat32RoundDown | kFloat64RoundDown | kFloat32RoundUp | |
+ kFloat64RoundUp | kFloat32RoundTruncate | |
+ kFloat64RoundTruncate | kFloat64RoundTiesAway | |
+ kFloat32RoundTiesEven | kFloat64RoundTiesEven | |
+ kWord32Ctz | kWord64Ctz | kWord32Popcnt | kWord64Popcnt | |
+ kWord32ReverseBits | kWord64ReverseBits | kFloat32Neg | |
+ kFloat64Neg | kWord32ReverseBytes | kWord64ReverseBytes |
}; |
typedef base::Flags<Flag, unsigned> Flags; |
@@ -226,6 +229,8 @@ class MachineOperatorBuilder final : public ZoneObject { |
const OptionalOperator Word64Popcnt(); |
const OptionalOperator Word32ReverseBits(); |
const OptionalOperator Word64ReverseBits(); |
+ const OptionalOperator Word32ReverseBytes(); |
+ const OptionalOperator Word64ReverseBytes(); |
bool Word32ShiftIsSafe() const { return flags_ & kWord32ShiftIsSafe; } |
const Operator* Word64And(); |