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

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

Issue 1444583002: [turbofan] Added the optional Float64RoundUp operator to turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Removed the implementation of VisitFloat32RoundUp on mips32 Created 5 years, 1 month 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/instruction-selector.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 cff093b9356b48768289c9fc2548a47f90608ce6..cf9cc4fc96bb121045e38d1b10dba148e1c44a9f 100644
--- a/src/compiler/machine-operator.h
+++ b/src/compiler/machine-operator.h
@@ -117,19 +117,20 @@ class MachineOperatorBuilder final : public ZoneObject {
kFloat64Max = 1u << 2,
kFloat64Min = 1u << 3,
kFloat64RoundDown = 1u << 4,
- kFloat64RoundTruncate = 1u << 5,
- kFloat64RoundTiesAway = 1u << 6,
- kInt32DivIsSafe = 1u << 7,
- kUint32DivIsSafe = 1u << 8,
- kWord32ShiftIsSafe = 1u << 9,
- kWord32Ctz = 1u << 10,
- kWord32Popcnt = 1u << 11,
+ kFloat64RoundUp = 1u << 5,
+ kFloat64RoundTruncate = 1u << 6,
+ kFloat64RoundTiesAway = 1u << 7,
+ kInt32DivIsSafe = 1u << 8,
+ kUint32DivIsSafe = 1u << 9,
+ kWord32ShiftIsSafe = 1u << 10,
+ kWord32Ctz = 1u << 11,
kWord64Ctz = 1u << 12,
- kWord64Popcnt = 1u << 13,
+ kWord32Popcnt = 1u << 13,
+ kWord64Popcnt = 1u << 14,
kAllOptionalOps = kFloat32Max | kFloat32Min | kFloat64Max | kFloat64Min |
- kFloat64RoundDown | kFloat64RoundTruncate |
- kFloat64RoundTiesAway | kWord32Ctz | kWord32Popcnt |
- kWord64Ctz | kWord64Popcnt
+ kFloat64RoundDown | kFloat64RoundUp |
+ kFloat64RoundTruncate | kFloat64RoundTiesAway |
+ kWord32Ctz | kWord64Ctz | kWord32Popcnt | kWord64Popcnt
};
typedef base::Flags<Flag, unsigned> Flags;
@@ -263,6 +264,7 @@ class MachineOperatorBuilder final : public ZoneObject {
// Floating point rounding.
const OptionalOperator Float64RoundDown();
+ const OptionalOperator Float64RoundUp();
const OptionalOperator Float64RoundTruncate();
const OptionalOperator Float64RoundTiesAway();
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/machine-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698