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/compiler/instruction-selector-impl.h" | 6 #include "src/compiler/instruction-selector-impl.h" |
7 #include "src/compiler/node-matchers.h" | 7 #include "src/compiler/node-matchers.h" |
8 #include "src/compiler/node-properties.h" | 8 #include "src/compiler/node-properties.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
708 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) { | 708 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) { |
709 VisitRO(this, node, kSSEUint32ToFloat64); | 709 VisitRO(this, node, kSSEUint32ToFloat64); |
710 } | 710 } |
711 | 711 |
712 | 712 |
713 void InstructionSelector::VisitTruncateFloat32ToInt32(Node* node) { | 713 void InstructionSelector::VisitTruncateFloat32ToInt32(Node* node) { |
714 VisitRO(this, node, kSSEFloat32ToInt32); | 714 VisitRO(this, node, kSSEFloat32ToInt32); |
715 } | 715 } |
716 | 716 |
717 | 717 |
| 718 void InstructionSelector::VisitTruncateFloat32ToUint32(Node* node) { |
| 719 VisitRO(this, node, kSSEFloat32ToUint32); |
| 720 } |
| 721 |
| 722 |
718 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) { | 723 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) { |
719 VisitRO(this, node, kSSEFloat64ToInt32); | 724 VisitRO(this, node, kSSEFloat64ToInt32); |
720 } | 725 } |
721 | 726 |
722 | 727 |
723 void InstructionSelector::VisitChangeFloat64ToUint32(Node* node) { | 728 void InstructionSelector::VisitChangeFloat64ToUint32(Node* node) { |
724 VisitRO(this, node, kSSEFloat64ToUint32); | 729 VisitRO(this, node, kSSEFloat64ToUint32); |
725 } | 730 } |
726 | 731 |
727 | 732 |
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1336 MachineOperatorBuilder::kFloat64RoundTruncate | | 1341 MachineOperatorBuilder::kFloat64RoundTruncate | |
1337 MachineOperatorBuilder::kFloat32RoundTiesEven | | 1342 MachineOperatorBuilder::kFloat32RoundTiesEven | |
1338 MachineOperatorBuilder::kFloat64RoundTiesEven; | 1343 MachineOperatorBuilder::kFloat64RoundTiesEven; |
1339 } | 1344 } |
1340 return flags; | 1345 return flags; |
1341 } | 1346 } |
1342 | 1347 |
1343 } // namespace compiler | 1348 } // namespace compiler |
1344 } // namespace internal | 1349 } // namespace internal |
1345 } // namespace v8 | 1350 } // namespace v8 |
OLD | NEW |