| Index: src/compiler/x64/instruction-selector-x64.cc
|
| diff --git a/src/compiler/x64/instruction-selector-x64.cc b/src/compiler/x64/instruction-selector-x64.cc
|
| index a9f1e5507724c23006aa1b054f4f087300b4f1d0..f2deb97d1cc9e41915f5f2ad52821f43f755deb6 100644
|
| --- a/src/compiler/x64/instruction-selector-x64.cc
|
| +++ b/src/compiler/x64/instruction-selector-x64.cc
|
| @@ -1138,6 +1138,11 @@ void InstructionSelector::VisitFloat64Sqrt(Node* node) {
|
| }
|
|
|
|
|
| +void InstructionSelector::VisitFloat32RoundDown(Node* node) {
|
| + VisitRR(this, node, kSSEFloat32Round | MiscField::encode(kRoundDown));
|
| +}
|
| +
|
| +
|
| void InstructionSelector::VisitFloat64RoundDown(Node* node) {
|
| VisitRR(this, node, kSSEFloat64Round | MiscField::encode(kRoundDown));
|
| }
|
| @@ -1694,7 +1699,8 @@ InstructionSelector::SupportedMachineOperatorFlags() {
|
| flags |= MachineOperatorBuilder::kFloat64RoundDown |
|
| MachineOperatorBuilder::kFloat64RoundUp |
|
| MachineOperatorBuilder::kFloat64RoundTruncate |
|
| - MachineOperatorBuilder::kFloat64RoundTiesEven;
|
| + MachineOperatorBuilder::kFloat64RoundTiesEven |
|
| + MachineOperatorBuilder::kFloat32RoundDown;
|
| }
|
| return flags;
|
| }
|
|
|