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

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

Issue 1458423002: [turbofan] Renamed the ChangeFloat64ToInt64 operator to TruncateFloat64ToInt64. (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 795 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 case IrOpcode::kChangeFloat32ToFloat64: 806 case IrOpcode::kChangeFloat32ToFloat64:
807 return MarkAsFloat64(node), VisitChangeFloat32ToFloat64(node); 807 return MarkAsFloat64(node), VisitChangeFloat32ToFloat64(node);
808 case IrOpcode::kChangeInt32ToFloat64: 808 case IrOpcode::kChangeInt32ToFloat64:
809 return MarkAsFloat64(node), VisitChangeInt32ToFloat64(node); 809 return MarkAsFloat64(node), VisitChangeInt32ToFloat64(node);
810 case IrOpcode::kChangeUint32ToFloat64: 810 case IrOpcode::kChangeUint32ToFloat64:
811 return MarkAsFloat64(node), VisitChangeUint32ToFloat64(node); 811 return MarkAsFloat64(node), VisitChangeUint32ToFloat64(node);
812 case IrOpcode::kChangeFloat64ToInt32: 812 case IrOpcode::kChangeFloat64ToInt32:
813 return MarkAsWord32(node), VisitChangeFloat64ToInt32(node); 813 return MarkAsWord32(node), VisitChangeFloat64ToInt32(node);
814 case IrOpcode::kChangeFloat64ToUint32: 814 case IrOpcode::kChangeFloat64ToUint32:
815 return MarkAsWord32(node), VisitChangeFloat64ToUint32(node); 815 return MarkAsWord32(node), VisitChangeFloat64ToUint32(node);
816 case IrOpcode::kChangeFloat64ToInt64: 816 case IrOpcode::kTruncateFloat64ToInt64:
817 return MarkAsWord64(node), VisitChangeFloat64ToInt64(node); 817 return MarkAsWord64(node), VisitTruncateFloat64ToInt64(node);
818 case IrOpcode::kTruncateFloat64ToUint64: 818 case IrOpcode::kTruncateFloat64ToUint64:
819 return MarkAsWord64(node), VisitTruncateFloat64ToUint64(node); 819 return MarkAsWord64(node), VisitTruncateFloat64ToUint64(node);
820 case IrOpcode::kChangeInt32ToInt64: 820 case IrOpcode::kChangeInt32ToInt64:
821 return MarkAsWord64(node), VisitChangeInt32ToInt64(node); 821 return MarkAsWord64(node), VisitChangeInt32ToInt64(node);
822 case IrOpcode::kChangeUint32ToUint64: 822 case IrOpcode::kChangeUint32ToUint64:
823 return MarkAsWord64(node), VisitChangeUint32ToUint64(node); 823 return MarkAsWord64(node), VisitChangeUint32ToUint64(node);
824 case IrOpcode::kTruncateFloat64ToFloat32: 824 case IrOpcode::kTruncateFloat64ToFloat32:
825 return MarkAsFloat32(node), VisitTruncateFloat64ToFloat32(node); 825 return MarkAsFloat32(node), VisitTruncateFloat64ToFloat32(node);
826 case IrOpcode::kTruncateFloat64ToInt32: 826 case IrOpcode::kTruncateFloat64ToInt32:
827 return MarkAsWord32(node), VisitTruncateFloat64ToInt32(node); 827 return MarkAsWord32(node), VisitTruncateFloat64ToInt32(node);
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
1050 void InstructionSelector::VisitChangeInt32ToInt64(Node* node) { 1050 void InstructionSelector::VisitChangeInt32ToInt64(Node* node) {
1051 UNIMPLEMENTED(); 1051 UNIMPLEMENTED();
1052 } 1052 }
1053 1053
1054 1054
1055 void InstructionSelector::VisitChangeUint32ToUint64(Node* node) { 1055 void InstructionSelector::VisitChangeUint32ToUint64(Node* node) {
1056 UNIMPLEMENTED(); 1056 UNIMPLEMENTED();
1057 } 1057 }
1058 1058
1059 1059
1060 void InstructionSelector::VisitChangeFloat64ToInt64(Node* node) { 1060 void InstructionSelector::VisitTruncateFloat64ToInt64(Node* node) {
1061 UNIMPLEMENTED(); 1061 UNIMPLEMENTED();
1062 } 1062 }
1063 1063
1064 1064
1065 void InstructionSelector::VisitTruncateFloat64ToUint64(Node* node) { 1065 void InstructionSelector::VisitTruncateFloat64ToUint64(Node* node) {
1066 UNIMPLEMENTED(); 1066 UNIMPLEMENTED();
1067 } 1067 }
1068 1068
1069 1069
1070 void InstructionSelector::VisitTruncateInt64ToInt32(Node* node) { 1070 void InstructionSelector::VisitTruncateInt64ToInt32(Node* node) {
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
1418 return new (instruction_zone()) FrameStateDescriptor( 1418 return new (instruction_zone()) FrameStateDescriptor(
1419 instruction_zone(), state_info.type(), state_info.bailout_id(), 1419 instruction_zone(), state_info.type(), state_info.bailout_id(),
1420 state_info.state_combine(), parameters, locals, stack, 1420 state_info.state_combine(), parameters, locals, stack,
1421 state_info.shared_info(), outer_state); 1421 state_info.shared_info(), outer_state);
1422 } 1422 }
1423 1423
1424 1424
1425 } // namespace compiler 1425 } // namespace compiler
1426 } // namespace internal 1426 } // namespace internal
1427 } // namespace v8 1427 } // 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