| 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 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 620 void InstructionSelector::VisitRoundInt64ToFloat32(Node* node) { | 620 void InstructionSelector::VisitRoundInt64ToFloat32(Node* node) { |
| 621 VisitRR(this, kMips64CvtSL, node); | 621 VisitRR(this, kMips64CvtSL, node); |
| 622 } | 622 } |
| 623 | 623 |
| 624 | 624 |
| 625 void InstructionSelector::VisitRoundInt64ToFloat64(Node* node) { | 625 void InstructionSelector::VisitRoundInt64ToFloat64(Node* node) { |
| 626 VisitRR(this, kMips64CvtDL, node); | 626 VisitRR(this, kMips64CvtDL, node); |
| 627 } | 627 } |
| 628 | 628 |
| 629 | 629 |
| 630 void InstructionSelector::VisitRoundUint64ToFloat32(Node* node) { |
| 631 VisitRR(this, kMips64CvtSUl, node); |
| 632 } |
| 633 |
| 634 |
| 630 void InstructionSelector::VisitRoundUint64ToFloat64(Node* node) { | 635 void InstructionSelector::VisitRoundUint64ToFloat64(Node* node) { |
| 631 VisitRR(this, kMips64CvtDUl, node); | 636 VisitRR(this, kMips64CvtDUl, node); |
| 632 } | 637 } |
| 633 | 638 |
| 634 | 639 |
| 635 void InstructionSelector::VisitBitcastFloat32ToInt32(Node* node) { | 640 void InstructionSelector::VisitBitcastFloat32ToInt32(Node* node) { |
| 636 VisitRR(this, kMips64Float64ExtractLowWord32, node); | 641 VisitRR(this, kMips64Float64ExtractLowWord32, node); |
| 637 } | 642 } |
| 638 | 643 |
| 639 | 644 |
| (...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1403 MachineOperatorBuilder::kFloat32Max | | 1408 MachineOperatorBuilder::kFloat32Max | |
| 1404 MachineOperatorBuilder::kFloat64RoundDown | | 1409 MachineOperatorBuilder::kFloat64RoundDown | |
| 1405 MachineOperatorBuilder::kFloat64RoundUp | | 1410 MachineOperatorBuilder::kFloat64RoundUp | |
| 1406 MachineOperatorBuilder::kFloat64RoundTruncate | | 1411 MachineOperatorBuilder::kFloat64RoundTruncate | |
| 1407 MachineOperatorBuilder::kFloat64RoundTiesEven; | 1412 MachineOperatorBuilder::kFloat64RoundTiesEven; |
| 1408 } | 1413 } |
| 1409 | 1414 |
| 1410 } // namespace compiler | 1415 } // namespace compiler |
| 1411 } // namespace internal | 1416 } // namespace internal |
| 1412 } // namespace v8 | 1417 } // namespace v8 |
| OLD | NEW |