Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(451)

Side by Side Diff: src/compiler/instruction-selector.cc

Issue 1455983002: [turbofan] Implemented the ChangeFloat64ToInt64 TurboFan operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/arm64/instruction-selector-arm64.cc ('k') | src/compiler/machine-operator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
807 case IrOpcode::kChangeFloat32ToFloat64: 807 case IrOpcode::kChangeFloat32ToFloat64:
808 return MarkAsFloat64(node), VisitChangeFloat32ToFloat64(node); 808 return MarkAsFloat64(node), VisitChangeFloat32ToFloat64(node);
809 case IrOpcode::kChangeInt32ToFloat64: 809 case IrOpcode::kChangeInt32ToFloat64:
810 return MarkAsFloat64(node), VisitChangeInt32ToFloat64(node); 810 return MarkAsFloat64(node), VisitChangeInt32ToFloat64(node);
811 case IrOpcode::kChangeUint32ToFloat64: 811 case IrOpcode::kChangeUint32ToFloat64:
812 return MarkAsFloat64(node), VisitChangeUint32ToFloat64(node); 812 return MarkAsFloat64(node), VisitChangeUint32ToFloat64(node);
813 case IrOpcode::kChangeFloat64ToInt32: 813 case IrOpcode::kChangeFloat64ToInt32:
814 return MarkAsWord32(node), VisitChangeFloat64ToInt32(node); 814 return MarkAsWord32(node), VisitChangeFloat64ToInt32(node);
815 case IrOpcode::kChangeFloat64ToUint32: 815 case IrOpcode::kChangeFloat64ToUint32:
816 return MarkAsWord32(node), VisitChangeFloat64ToUint32(node); 816 return MarkAsWord32(node), VisitChangeFloat64ToUint32(node);
817 case IrOpcode::kChangeFloat64ToInt64:
818 return MarkAsWord64(node), VisitChangeFloat64ToInt64(node);
817 case IrOpcode::kChangeInt32ToInt64: 819 case IrOpcode::kChangeInt32ToInt64:
818 return MarkAsWord64(node), VisitChangeInt32ToInt64(node); 820 return MarkAsWord64(node), VisitChangeInt32ToInt64(node);
819 case IrOpcode::kChangeUint32ToUint64: 821 case IrOpcode::kChangeUint32ToUint64:
820 return MarkAsWord64(node), VisitChangeUint32ToUint64(node); 822 return MarkAsWord64(node), VisitChangeUint32ToUint64(node);
821 case IrOpcode::kTruncateFloat64ToFloat32: 823 case IrOpcode::kTruncateFloat64ToFloat32:
822 return MarkAsFloat32(node), VisitTruncateFloat64ToFloat32(node); 824 return MarkAsFloat32(node), VisitTruncateFloat64ToFloat32(node);
823 case IrOpcode::kTruncateFloat64ToInt32: 825 case IrOpcode::kTruncateFloat64ToInt32:
824 return MarkAsWord32(node), VisitTruncateFloat64ToInt32(node); 826 return MarkAsWord32(node), VisitTruncateFloat64ToInt32(node);
825 case IrOpcode::kTruncateInt64ToInt32: 827 case IrOpcode::kTruncateInt64ToInt32:
826 return MarkAsWord32(node), VisitTruncateInt64ToInt32(node); 828 return MarkAsWord32(node), VisitTruncateInt64ToInt32(node);
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
1047 void InstructionSelector::VisitChangeInt32ToInt64(Node* node) { 1049 void InstructionSelector::VisitChangeInt32ToInt64(Node* node) {
1048 UNIMPLEMENTED(); 1050 UNIMPLEMENTED();
1049 } 1051 }
1050 1052
1051 1053
1052 void InstructionSelector::VisitChangeUint32ToUint64(Node* node) { 1054 void InstructionSelector::VisitChangeUint32ToUint64(Node* node) {
1053 UNIMPLEMENTED(); 1055 UNIMPLEMENTED();
1054 } 1056 }
1055 1057
1056 1058
1059 void InstructionSelector::VisitChangeFloat64ToInt64(Node* node) {
1060 UNIMPLEMENTED();
1061 }
1062
1063
1057 void InstructionSelector::VisitTruncateInt64ToInt32(Node* node) { 1064 void InstructionSelector::VisitTruncateInt64ToInt32(Node* node) {
1058 UNIMPLEMENTED(); 1065 UNIMPLEMENTED();
1059 } 1066 }
1060 1067
1061 1068
1062 void InstructionSelector::VisitRoundInt64ToFloat32(Node* node) { 1069 void InstructionSelector::VisitRoundInt64ToFloat32(Node* node) {
1063 UNIMPLEMENTED(); 1070 UNIMPLEMENTED();
1064 } 1071 }
1065 1072
1066 1073
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
1405 return new (instruction_zone()) FrameStateDescriptor( 1412 return new (instruction_zone()) FrameStateDescriptor(
1406 instruction_zone(), state_info.type(), state_info.bailout_id(), 1413 instruction_zone(), state_info.type(), state_info.bailout_id(),
1407 state_info.state_combine(), parameters, locals, stack, 1414 state_info.state_combine(), parameters, locals, stack,
1408 state_info.shared_info(), outer_state); 1415 state_info.shared_info(), outer_state);
1409 } 1416 }
1410 1417
1411 1418
1412 } // namespace compiler 1419 } // namespace compiler
1413 } // namespace internal 1420 } // namespace internal
1414 } // namespace v8 1421 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm64/instruction-selector-arm64.cc ('k') | src/compiler/machine-operator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698