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 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
698 void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) { | 698 void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) { |
699 VisitRO(this, node, kSSEInt32ToFloat64); | 699 VisitRO(this, node, kSSEInt32ToFloat64); |
700 } | 700 } |
701 | 701 |
702 | 702 |
703 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) { | 703 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) { |
704 VisitRO(this, node, kSSEUint32ToFloat64); | 704 VisitRO(this, node, kSSEUint32ToFloat64); |
705 } | 705 } |
706 | 706 |
707 | 707 |
| 708 void InstructionSelector::VisitTruncateFloat32ToInt32(Node* node) { |
| 709 VisitRO(this, node, kSSEFloat32ToInt32); |
| 710 } |
| 711 |
| 712 |
708 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) { | 713 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) { |
709 VisitRO(this, node, kSSEFloat64ToInt32); | 714 VisitRO(this, node, kSSEFloat64ToInt32); |
710 } | 715 } |
711 | 716 |
712 | 717 |
713 void InstructionSelector::VisitChangeFloat64ToUint32(Node* node) { | 718 void InstructionSelector::VisitChangeFloat64ToUint32(Node* node) { |
714 VisitRO(this, node, kSSEFloat64ToUint32); | 719 VisitRO(this, node, kSSEFloat64ToUint32); |
715 } | 720 } |
716 | 721 |
717 | 722 |
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1326 MachineOperatorBuilder::kFloat64RoundTruncate | | 1331 MachineOperatorBuilder::kFloat64RoundTruncate | |
1327 MachineOperatorBuilder::kFloat32RoundTiesEven | | 1332 MachineOperatorBuilder::kFloat32RoundTiesEven | |
1328 MachineOperatorBuilder::kFloat64RoundTiesEven; | 1333 MachineOperatorBuilder::kFloat64RoundTiesEven; |
1329 } | 1334 } |
1330 return flags; | 1335 return flags; |
1331 } | 1336 } |
1332 | 1337 |
1333 } // namespace compiler | 1338 } // namespace compiler |
1334 } // namespace internal | 1339 } // namespace internal |
1335 } // namespace v8 | 1340 } // namespace v8 |
OLD | NEW |