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 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
661 void InstructionSelector::VisitChangeFloat32ToFloat64(Node* node) { | 661 void InstructionSelector::VisitChangeFloat32ToFloat64(Node* node) { |
662 VisitRO(this, node, kSSEFloat32ToFloat64); | 662 VisitRO(this, node, kSSEFloat32ToFloat64); |
663 } | 663 } |
664 | 664 |
665 | 665 |
666 void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) { | 666 void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) { |
667 VisitRO(this, node, kSSEInt32ToFloat64); | 667 VisitRO(this, node, kSSEInt32ToFloat64); |
668 } | 668 } |
669 | 669 |
670 | 670 |
| 671 void InstructionSelector::VisitRoundInt64ToFloat64(Node* node) { |
| 672 UNIMPLEMENTED(); |
| 673 } |
| 674 |
| 675 |
671 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) { | 676 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) { |
672 VisitRO(this, node, kSSEUint32ToFloat64); | 677 VisitRO(this, node, kSSEUint32ToFloat64); |
673 } | 678 } |
674 | 679 |
675 | 680 |
676 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) { | 681 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) { |
677 VisitRO(this, node, kSSEFloat64ToInt32); | 682 VisitRO(this, node, kSSEFloat64ToInt32); |
678 } | 683 } |
679 | 684 |
680 | 685 |
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1253 if (CpuFeatures::IsSupported(SSE4_1)) { | 1258 if (CpuFeatures::IsSupported(SSE4_1)) { |
1254 flags |= MachineOperatorBuilder::kFloat64RoundDown | | 1259 flags |= MachineOperatorBuilder::kFloat64RoundDown | |
1255 MachineOperatorBuilder::kFloat64RoundTruncate; | 1260 MachineOperatorBuilder::kFloat64RoundTruncate; |
1256 } | 1261 } |
1257 return flags; | 1262 return flags; |
1258 } | 1263 } |
1259 | 1264 |
1260 } // namespace compiler | 1265 } // namespace compiler |
1261 } // namespace internal | 1266 } // namespace internal |
1262 } // namespace v8 | 1267 } // namespace v8 |
OLD | NEW |