Index: src/compiler/ppc/instruction-selector-ppc.cc |
diff --git a/src/compiler/ppc/instruction-selector-ppc.cc b/src/compiler/ppc/instruction-selector-ppc.cc |
index ac09c62dea9b76bf96e89d0fdf152ac95900c823..0e404a4a9b8597a1b0217c7bf3553cfd38d48103 100644 |
--- a/src/compiler/ppc/instruction-selector-ppc.cc |
+++ b/src/compiler/ppc/instruction-selector-ppc.cc |
@@ -1118,6 +1118,11 @@ void InstructionSelector::VisitFloat64RoundDown(Node* node) { |
} |
+void InstructionSelector::VisitFloat64RoundUp(Node* node) { |
+ VisitRR(this, kPPC_CeilDouble, node); |
+} |
+ |
+ |
void InstructionSelector::VisitFloat64RoundTruncate(Node* node) { |
VisitRR(this, kPPC_TruncateDouble, node); |
} |
@@ -1633,6 +1638,7 @@ void InstructionSelector::VisitFloat64InsertHighWord32(Node* node) { |
MachineOperatorBuilder::Flags |
InstructionSelector::SupportedMachineOperatorFlags() { |
return MachineOperatorBuilder::kFloat64RoundDown | |
+ MachineOperatorBuilder::kFloat64RoundUp | |
MachineOperatorBuilder::kFloat64RoundTruncate | |
MachineOperatorBuilder::kFloat64RoundTiesAway | |
MachineOperatorBuilder::kWord32Popcnt | |