| 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 4cfae16e2768c120b2ad64ebe3eefa3a7b4cb2cf..1c0e4663add7b8f449f551046f2f164220c97329 100644
|
| --- a/src/compiler/ppc/instruction-selector-ppc.cc
|
| +++ b/src/compiler/ppc/instruction-selector-ppc.cc
|
| @@ -963,10 +963,14 @@ void InstructionSelector::VisitFloat64Mod(Node* node) {
|
| }
|
|
|
|
|
| -void InstructionSelector::VisitFloat64Max(Node* node) { UNREACHABLE(); }
|
| +void InstructionSelector::VisitFloat64Max(Node* node) {
|
| + VisitRRRFloat64(this, node, kPPC_MaxFloat64);
|
| +}
|
|
|
|
|
| -void InstructionSelector::VisitFloat64Min(Node* node) { UNREACHABLE(); }
|
| +void InstructionSelector::VisitFloat64Min(Node* node) {
|
| + VisitRRRFloat64(this, node, kPPC_MinFloat64);
|
| +}
|
|
|
|
|
| void InstructionSelector::VisitFloat64Sqrt(Node* node) {
|
| @@ -1491,7 +1495,9 @@ void InstructionSelector::VisitFloat64InsertHighWord32(Node* node) {
|
| // static
|
| MachineOperatorBuilder::Flags
|
| InstructionSelector::SupportedMachineOperatorFlags() {
|
| - return MachineOperatorBuilder::kFloat64RoundDown |
|
| + return MachineOperatorBuilder::kFloat64Max |
|
| + MachineOperatorBuilder::kFloat64Min |
|
| + MachineOperatorBuilder::kFloat64RoundDown |
|
| MachineOperatorBuilder::kFloat64RoundTruncate |
|
| MachineOperatorBuilder::kFloat64RoundTiesAway;
|
| // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f.
|
|
|