Commit 78026a4b authored by mbrandy's avatar mbrandy Committed by Commit bot

PPC: [turbofan] Implemented the optional Float32RoundUp operator.

R=ahaas@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
BUG=

Review URL: https://codereview.chromium.org/1488563003

Cr-Commit-Position: refs/heads/master@{#32423}
parent e53f736d
......@@ -1148,7 +1148,9 @@ void InstructionSelector::VisitFloat64RoundDown(Node* node) {
}
void InstructionSelector::VisitFloat32RoundUp(Node* node) { UNIMPLEMENTED(); }
void InstructionSelector::VisitFloat32RoundUp(Node* node) {
VisitRR(this, kPPC_CeilDouble, node);
}
void InstructionSelector::VisitFloat64RoundUp(Node* node) {
......@@ -1687,6 +1689,7 @@ MachineOperatorBuilder::Flags
InstructionSelector::SupportedMachineOperatorFlags() {
return MachineOperatorBuilder::kFloat32RoundDown |
MachineOperatorBuilder::kFloat64RoundDown |
MachineOperatorBuilder::kFloat32RoundUp |
MachineOperatorBuilder::kFloat64RoundUp |
MachineOperatorBuilder::kFloat64RoundTruncate |
MachineOperatorBuilder::kFloat64RoundTiesAway |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment