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 882 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
893 void InstructionSelector::VisitChangeFloat32ToFloat64(Node* node) { | 893 void InstructionSelector::VisitChangeFloat32ToFloat64(Node* node) { |
894 VisitRR(this, kArmVcvtF64F32, node); | 894 VisitRR(this, kArmVcvtF64F32, node); |
895 } | 895 } |
896 | 896 |
897 | 897 |
898 void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) { | 898 void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) { |
899 VisitRR(this, kArmVcvtF64S32, node); | 899 VisitRR(this, kArmVcvtF64S32, node); |
900 } | 900 } |
901 | 901 |
902 | 902 |
| 903 void InstructionSelector::VisitRoundInt64ToFloat64(Node* node) { |
| 904 UNIMPLEMENTED(); |
| 905 } |
| 906 |
| 907 |
903 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) { | 908 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) { |
904 VisitRR(this, kArmVcvtF64U32, node); | 909 VisitRR(this, kArmVcvtF64U32, node); |
905 } | 910 } |
906 | 911 |
907 | 912 |
908 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) { | 913 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) { |
909 VisitRR(this, kArmVcvtS32F64, node); | 914 VisitRR(this, kArmVcvtS32F64, node); |
910 } | 915 } |
911 | 916 |
912 | 917 |
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1538 flags |= MachineOperatorBuilder::kFloat64RoundDown | | 1543 flags |= MachineOperatorBuilder::kFloat64RoundDown | |
1539 MachineOperatorBuilder::kFloat64RoundTruncate | | 1544 MachineOperatorBuilder::kFloat64RoundTruncate | |
1540 MachineOperatorBuilder::kFloat64RoundTiesAway; | 1545 MachineOperatorBuilder::kFloat64RoundTiesAway; |
1541 } | 1546 } |
1542 return flags; | 1547 return flags; |
1543 } | 1548 } |
1544 | 1549 |
1545 } // namespace compiler | 1550 } // namespace compiler |
1546 } // namespace internal | 1551 } // namespace internal |
1547 } // namespace v8 | 1552 } // namespace v8 |
OLD | NEW |