| 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 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 706 VisitRR(this, kMips64TruncUwD, node); | 706 VisitRR(this, kMips64TruncUwD, node); |
| 707 } | 707 } |
| 708 | 708 |
| 709 | 709 |
| 710 void InstructionSelector::VisitTruncateFloat64ToInt64(Node* node) { | 710 void InstructionSelector::VisitTruncateFloat64ToInt64(Node* node) { |
| 711 VisitRR(this, kMips64TruncLD, node); | 711 VisitRR(this, kMips64TruncLD, node); |
| 712 } | 712 } |
| 713 | 713 |
| 714 | 714 |
| 715 void InstructionSelector::VisitTruncateFloat64ToUint64(Node* node) { | 715 void InstructionSelector::VisitTruncateFloat64ToUint64(Node* node) { |
| 716 UNIMPLEMENTED(); | 716 VisitRR(this, kMips64TruncUlD, node); |
| 717 } | 717 } |
| 718 | 718 |
| 719 | 719 |
| 720 void InstructionSelector::VisitChangeInt32ToInt64(Node* node) { | 720 void InstructionSelector::VisitChangeInt32ToInt64(Node* node) { |
| 721 Mips64OperandGenerator g(this); | 721 Mips64OperandGenerator g(this); |
| 722 Emit(kMips64Shl, g.DefineAsRegister(node), g.UseRegister(node->InputAt(0)), | 722 Emit(kMips64Shl, g.DefineAsRegister(node), g.UseRegister(node->InputAt(0)), |
| 723 g.TempImmediate(0)); | 723 g.TempImmediate(0)); |
| 724 } | 724 } |
| 725 | 725 |
| 726 | 726 |
| (...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1563 MachineOperatorBuilder::kFloat32Max | | 1563 MachineOperatorBuilder::kFloat32Max | |
| 1564 MachineOperatorBuilder::kFloat64RoundDown | | 1564 MachineOperatorBuilder::kFloat64RoundDown | |
| 1565 MachineOperatorBuilder::kFloat64RoundUp | | 1565 MachineOperatorBuilder::kFloat64RoundUp | |
| 1566 MachineOperatorBuilder::kFloat64RoundTruncate | | 1566 MachineOperatorBuilder::kFloat64RoundTruncate | |
| 1567 MachineOperatorBuilder::kFloat64RoundTiesEven; | 1567 MachineOperatorBuilder::kFloat64RoundTiesEven; |
| 1568 } | 1568 } |
| 1569 | 1569 |
| 1570 } // namespace compiler | 1570 } // namespace compiler |
| 1571 } // namespace internal | 1571 } // namespace internal |
| 1572 } // namespace v8 | 1572 } // namespace v8 |
| OLD | NEW |