| 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/compiler/instruction-selector.h" | 5 #include "src/compiler/instruction-selector.h" |
| 6 | 6 |
| 7 #include <limits> | 7 #include <limits> |
| 8 | 8 |
| 9 #include "src/base/adapters.h" | 9 #include "src/base/adapters.h" |
| 10 #include "src/compiler/instruction-selector-impl.h" | 10 #include "src/compiler/instruction-selector-impl.h" |
| (...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 807 case IrOpcode::kChangeInt32ToInt64: | 807 case IrOpcode::kChangeInt32ToInt64: |
| 808 return MarkAsWord64(node), VisitChangeInt32ToInt64(node); | 808 return MarkAsWord64(node), VisitChangeInt32ToInt64(node); |
| 809 case IrOpcode::kChangeUint32ToUint64: | 809 case IrOpcode::kChangeUint32ToUint64: |
| 810 return MarkAsWord64(node), VisitChangeUint32ToUint64(node); | 810 return MarkAsWord64(node), VisitChangeUint32ToUint64(node); |
| 811 case IrOpcode::kTruncateFloat64ToFloat32: | 811 case IrOpcode::kTruncateFloat64ToFloat32: |
| 812 return MarkAsFloat32(node), VisitTruncateFloat64ToFloat32(node); | 812 return MarkAsFloat32(node), VisitTruncateFloat64ToFloat32(node); |
| 813 case IrOpcode::kTruncateFloat64ToInt32: | 813 case IrOpcode::kTruncateFloat64ToInt32: |
| 814 return MarkAsWord32(node), VisitTruncateFloat64ToInt32(node); | 814 return MarkAsWord32(node), VisitTruncateFloat64ToInt32(node); |
| 815 case IrOpcode::kTruncateInt64ToInt32: | 815 case IrOpcode::kTruncateInt64ToInt32: |
| 816 return MarkAsWord32(node), VisitTruncateInt64ToInt32(node); | 816 return MarkAsWord32(node), VisitTruncateInt64ToInt32(node); |
| 817 case IrOpcode::kRoundInt64ToFloat32: |
| 818 return MarkAsFloat32(node), VisitRoundInt64ToFloat32(node); |
| 817 case IrOpcode::kRoundInt64ToFloat64: | 819 case IrOpcode::kRoundInt64ToFloat64: |
| 818 return MarkAsFloat64(node), VisitRoundInt64ToFloat64(node); | 820 return MarkAsFloat64(node), VisitRoundInt64ToFloat64(node); |
| 819 case IrOpcode::kBitcastFloat32ToInt32: | 821 case IrOpcode::kBitcastFloat32ToInt32: |
| 820 return MarkAsWord32(node), VisitBitcastFloat32ToInt32(node); | 822 return MarkAsWord32(node), VisitBitcastFloat32ToInt32(node); |
| 821 case IrOpcode::kBitcastFloat64ToInt64: | 823 case IrOpcode::kBitcastFloat64ToInt64: |
| 822 return MarkAsWord64(node), VisitBitcastFloat64ToInt64(node); | 824 return MarkAsWord64(node), VisitBitcastFloat64ToInt64(node); |
| 823 case IrOpcode::kBitcastInt32ToFloat32: | 825 case IrOpcode::kBitcastInt32ToFloat32: |
| 824 return MarkAsFloat32(node), VisitBitcastInt32ToFloat32(node); | 826 return MarkAsFloat32(node), VisitBitcastInt32ToFloat32(node); |
| 825 case IrOpcode::kBitcastInt64ToFloat64: | 827 case IrOpcode::kBitcastInt64ToFloat64: |
| 826 return MarkAsFloat64(node), VisitBitcastInt64ToFloat64(node); | 828 return MarkAsFloat64(node), VisitBitcastInt64ToFloat64(node); |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1029 void InstructionSelector::VisitChangeUint32ToUint64(Node* node) { | 1031 void InstructionSelector::VisitChangeUint32ToUint64(Node* node) { |
| 1030 UNIMPLEMENTED(); | 1032 UNIMPLEMENTED(); |
| 1031 } | 1033 } |
| 1032 | 1034 |
| 1033 | 1035 |
| 1034 void InstructionSelector::VisitTruncateInt64ToInt32(Node* node) { | 1036 void InstructionSelector::VisitTruncateInt64ToInt32(Node* node) { |
| 1035 UNIMPLEMENTED(); | 1037 UNIMPLEMENTED(); |
| 1036 } | 1038 } |
| 1037 | 1039 |
| 1038 | 1040 |
| 1041 void InstructionSelector::VisitRoundInt64ToFloat32(Node* node) { |
| 1042 UNIMPLEMENTED(); |
| 1043 } |
| 1044 |
| 1045 |
| 1039 void InstructionSelector::VisitRoundInt64ToFloat64(Node* node) { | 1046 void InstructionSelector::VisitRoundInt64ToFloat64(Node* node) { |
| 1040 UNIMPLEMENTED(); | 1047 UNIMPLEMENTED(); |
| 1041 } | 1048 } |
| 1042 | 1049 |
| 1043 | 1050 |
| 1044 void InstructionSelector::VisitBitcastFloat64ToInt64(Node* node) { | 1051 void InstructionSelector::VisitBitcastFloat64ToInt64(Node* node) { |
| 1045 UNIMPLEMENTED(); | 1052 UNIMPLEMENTED(); |
| 1046 } | 1053 } |
| 1047 | 1054 |
| 1048 | 1055 |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1348 return new (instruction_zone()) FrameStateDescriptor( | 1355 return new (instruction_zone()) FrameStateDescriptor( |
| 1349 instruction_zone(), state_info.type(), state_info.bailout_id(), | 1356 instruction_zone(), state_info.type(), state_info.bailout_id(), |
| 1350 state_info.state_combine(), parameters, locals, stack, | 1357 state_info.state_combine(), parameters, locals, stack, |
| 1351 state_info.shared_info(), outer_state); | 1358 state_info.shared_info(), outer_state); |
| 1352 } | 1359 } |
| 1353 | 1360 |
| 1354 | 1361 |
| 1355 } // namespace compiler | 1362 } // namespace compiler |
| 1356 } // namespace internal | 1363 } // namespace internal |
| 1357 } // namespace v8 | 1364 } // namespace v8 |
| OLD | NEW |