Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Unified Diff: src/compiler/machine-operator.h

Issue 2215403002: [turbofan] Make Float32Neg and Float64Neg mandatory operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/compiler/machine-operator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/machine-operator.h
diff --git a/src/compiler/machine-operator.h b/src/compiler/machine-operator.h
index 5e00185337b4aab8662f9888506a85bcceb04aa8..06bf615dcc5b295fd99c2997e4291e7311bd0f6a 100644
--- a/src/compiler/machine-operator.h
+++ b/src/compiler/machine-operator.h
@@ -128,18 +128,16 @@ class MachineOperatorBuilder final : public ZoneObject {
kWord64Popcnt = 1u << 19,
kWord32ReverseBits = 1u << 20,
kWord64ReverseBits = 1u << 21,
- kFloat32Neg = 1u << 22,
- kFloat64Neg = 1u << 23,
- kWord32ReverseBytes = 1u << 24,
- kWord64ReverseBytes = 1u << 25,
+ kWord32ReverseBytes = 1u << 22,
+ kWord64ReverseBytes = 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 | kWord64ReverseBytes
+ kWord32ReverseBits | kWord64ReverseBits |
+ kWord32ReverseBytes | kWord64ReverseBytes
};
typedef base::Flags<Flag, unsigned> Flags;
@@ -391,8 +389,8 @@ class MachineOperatorBuilder final : public ZoneObject {
const OptionalOperator Float64RoundTiesEven();
// Floating point neg.
- const OptionalOperator Float32Neg();
- const OptionalOperator Float64Neg();
+ const Operator* Float32Neg();
+ const Operator* Float64Neg();
// Floating point trigonometric functions (double-precision).
const Operator* Float64Acos();
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/compiler/machine-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698