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 812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
823 case IrOpcode::kTruncateFloat64ToInt32: | 823 case IrOpcode::kTruncateFloat64ToInt32: |
824 return MarkAsWord32(node), VisitTruncateFloat64ToInt32(node); | 824 return MarkAsWord32(node), VisitTruncateFloat64ToInt32(node); |
825 case IrOpcode::kTruncateInt64ToInt32: | 825 case IrOpcode::kTruncateInt64ToInt32: |
826 return MarkAsWord32(node), VisitTruncateInt64ToInt32(node); | 826 return MarkAsWord32(node), VisitTruncateInt64ToInt32(node); |
827 case IrOpcode::kRoundInt64ToFloat32: | 827 case IrOpcode::kRoundInt64ToFloat32: |
828 return MarkAsFloat32(node), VisitRoundInt64ToFloat32(node); | 828 return MarkAsFloat32(node), VisitRoundInt64ToFloat32(node); |
829 case IrOpcode::kRoundInt64ToFloat64: | 829 case IrOpcode::kRoundInt64ToFloat64: |
830 return MarkAsFloat64(node), VisitRoundInt64ToFloat64(node); | 830 return MarkAsFloat64(node), VisitRoundInt64ToFloat64(node); |
831 case IrOpcode::kBitcastFloat32ToInt32: | 831 case IrOpcode::kBitcastFloat32ToInt32: |
832 return MarkAsWord32(node), VisitBitcastFloat32ToInt32(node); | 832 return MarkAsWord32(node), VisitBitcastFloat32ToInt32(node); |
| 833 case IrOpcode::kRoundUint64ToFloat32: |
| 834 return MarkAsFloat64(node), VisitRoundUint64ToFloat32(node); |
833 case IrOpcode::kRoundUint64ToFloat64: | 835 case IrOpcode::kRoundUint64ToFloat64: |
834 return MarkAsFloat64(node), VisitRoundUint64ToFloat64(node); | 836 return MarkAsFloat64(node), VisitRoundUint64ToFloat64(node); |
835 case IrOpcode::kBitcastFloat64ToInt64: | 837 case IrOpcode::kBitcastFloat64ToInt64: |
836 return MarkAsWord64(node), VisitBitcastFloat64ToInt64(node); | 838 return MarkAsWord64(node), VisitBitcastFloat64ToInt64(node); |
837 case IrOpcode::kBitcastInt32ToFloat32: | 839 case IrOpcode::kBitcastInt32ToFloat32: |
838 return MarkAsFloat32(node), VisitBitcastInt32ToFloat32(node); | 840 return MarkAsFloat32(node), VisitBitcastInt32ToFloat32(node); |
839 case IrOpcode::kBitcastInt64ToFloat64: | 841 case IrOpcode::kBitcastInt64ToFloat64: |
840 return MarkAsFloat64(node), VisitBitcastInt64ToFloat64(node); | 842 return MarkAsFloat64(node), VisitBitcastInt64ToFloat64(node); |
841 case IrOpcode::kFloat32Add: | 843 case IrOpcode::kFloat32Add: |
842 return MarkAsFloat32(node), VisitFloat32Add(node); | 844 return MarkAsFloat32(node), VisitFloat32Add(node); |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1060 void InstructionSelector::VisitRoundInt64ToFloat32(Node* node) { | 1062 void InstructionSelector::VisitRoundInt64ToFloat32(Node* node) { |
1061 UNIMPLEMENTED(); | 1063 UNIMPLEMENTED(); |
1062 } | 1064 } |
1063 | 1065 |
1064 | 1066 |
1065 void InstructionSelector::VisitRoundInt64ToFloat64(Node* node) { | 1067 void InstructionSelector::VisitRoundInt64ToFloat64(Node* node) { |
1066 UNIMPLEMENTED(); | 1068 UNIMPLEMENTED(); |
1067 } | 1069 } |
1068 | 1070 |
1069 | 1071 |
| 1072 void InstructionSelector::VisitRoundUint64ToFloat32(Node* node) { |
| 1073 UNIMPLEMENTED(); |
| 1074 } |
| 1075 |
| 1076 |
1070 void InstructionSelector::VisitRoundUint64ToFloat64(Node* node) { | 1077 void InstructionSelector::VisitRoundUint64ToFloat64(Node* node) { |
1071 UNIMPLEMENTED(); | 1078 UNIMPLEMENTED(); |
1072 } | 1079 } |
1073 | 1080 |
1074 | 1081 |
1075 void InstructionSelector::VisitBitcastFloat64ToInt64(Node* node) { | 1082 void InstructionSelector::VisitBitcastFloat64ToInt64(Node* node) { |
1076 UNIMPLEMENTED(); | 1083 UNIMPLEMENTED(); |
1077 } | 1084 } |
1078 | 1085 |
1079 | 1086 |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1398 return new (instruction_zone()) FrameStateDescriptor( | 1405 return new (instruction_zone()) FrameStateDescriptor( |
1399 instruction_zone(), state_info.type(), state_info.bailout_id(), | 1406 instruction_zone(), state_info.type(), state_info.bailout_id(), |
1400 state_info.state_combine(), parameters, locals, stack, | 1407 state_info.state_combine(), parameters, locals, stack, |
1401 state_info.shared_info(), outer_state); | 1408 state_info.shared_info(), outer_state); |
1402 } | 1409 } |
1403 | 1410 |
1404 | 1411 |
1405 } // namespace compiler | 1412 } // namespace compiler |
1406 } // namespace internal | 1413 } // namespace internal |
1407 } // namespace v8 | 1414 } // namespace v8 |
OLD | NEW |