OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/base/adapters.h" | 5 #include "src/base/adapters.h" |
6 #include "src/base/bits.h" | 6 #include "src/base/bits.h" |
7 #include "src/compiler/instruction-selector-impl.h" | 7 #include "src/compiler/instruction-selector-impl.h" |
8 #include "src/compiler/node-matchers.h" | 8 #include "src/compiler/node-matchers.h" |
9 #include "src/compiler/node-properties.h" | 9 #include "src/compiler/node-properties.h" |
10 | 10 |
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
594 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) { | 594 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) { |
595 VisitRR(this, kMipsFloat64RoundTruncate, node); | 595 VisitRR(this, kMipsFloat64RoundTruncate, node); |
596 } | 596 } |
597 | 597 |
598 | 598 |
599 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { | 599 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { |
600 UNREACHABLE(); | 600 UNREACHABLE(); |
601 } | 601 } |
602 | 602 |
603 | 603 |
| 604 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { |
| 605 UNREACHABLE(); |
| 606 } |
| 607 |
| 608 |
604 void InstructionSelector::EmitPrepareArguments(NodeVector* arguments, | 609 void InstructionSelector::EmitPrepareArguments(NodeVector* arguments, |
605 const CallDescriptor* descriptor, | 610 const CallDescriptor* descriptor, |
606 Node* node) { | 611 Node* node) { |
607 MipsOperandGenerator g(this); | 612 MipsOperandGenerator g(this); |
608 | 613 |
609 // Prepare for C function call. | 614 // Prepare for C function call. |
610 if (descriptor->IsCFunctionCall()) { | 615 if (descriptor->IsCFunctionCall()) { |
611 Emit(kArchPrepareCallCFunction | | 616 Emit(kArchPrepareCallCFunction | |
612 MiscField::encode(static_cast<int>(descriptor->CParameterCount())), | 617 MiscField::encode(static_cast<int>(descriptor->CParameterCount())), |
613 0, nullptr, 0, nullptr); | 618 0, nullptr, 0, nullptr); |
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1109 } | 1114 } |
1110 return flags | MachineOperatorBuilder::kFloat64Min | | 1115 return flags | MachineOperatorBuilder::kFloat64Min | |
1111 MachineOperatorBuilder::kFloat64Max | | 1116 MachineOperatorBuilder::kFloat64Max | |
1112 MachineOperatorBuilder::kFloat32Min | | 1117 MachineOperatorBuilder::kFloat32Min | |
1113 MachineOperatorBuilder::kFloat32Max; | 1118 MachineOperatorBuilder::kFloat32Max; |
1114 } | 1119 } |
1115 | 1120 |
1116 } // namespace compiler | 1121 } // namespace compiler |
1117 } // namespace internal | 1122 } // namespace internal |
1118 } // namespace v8 | 1123 } // namespace v8 |
OLD | NEW |