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

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

Issue 1457373002: [turbofan] Implemented the TruncateFloat64ToUint64 TurboFan operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed typos. 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 797 matching lines...) Expand 10 before | Expand all | Expand 10 after
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::kChangeFloat64ToInt64:
817 return MarkAsWord64(node), VisitChangeFloat64ToInt64(node); 817 return MarkAsWord64(node), VisitChangeFloat64ToInt64(node);
818 case IrOpcode::kTruncateFloat64ToUint64:
819 return MarkAsWord64(node), VisitTruncateFloat64ToUint64(node);
818 case IrOpcode::kChangeInt32ToInt64: 820 case IrOpcode::kChangeInt32ToInt64:
819 return MarkAsWord64(node), VisitChangeInt32ToInt64(node); 821 return MarkAsWord64(node), VisitChangeInt32ToInt64(node);
820 case IrOpcode::kChangeUint32ToUint64: 822 case IrOpcode::kChangeUint32ToUint64:
821 return MarkAsWord64(node), VisitChangeUint32ToUint64(node); 823 return MarkAsWord64(node), VisitChangeUint32ToUint64(node);
822 case IrOpcode::kTruncateFloat64ToFloat32: 824 case IrOpcode::kTruncateFloat64ToFloat32:
823 return MarkAsFloat32(node), VisitTruncateFloat64ToFloat32(node); 825 return MarkAsFloat32(node), VisitTruncateFloat64ToFloat32(node);
824 case IrOpcode::kTruncateFloat64ToInt32: 826 case IrOpcode::kTruncateFloat64ToInt32:
825 return MarkAsWord32(node), VisitTruncateFloat64ToInt32(node); 827 return MarkAsWord32(node), VisitTruncateFloat64ToInt32(node);
826 case IrOpcode::kTruncateInt64ToInt32: 828 case IrOpcode::kTruncateInt64ToInt32:
827 return MarkAsWord32(node), VisitTruncateInt64ToInt32(node); 829 return MarkAsWord32(node), VisitTruncateInt64ToInt32(node);
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
1053 void InstructionSelector::VisitChangeUint32ToUint64(Node* node) { 1055 void InstructionSelector::VisitChangeUint32ToUint64(Node* node) {
1054 UNIMPLEMENTED(); 1056 UNIMPLEMENTED();
1055 } 1057 }
1056 1058
1057 1059
1058 void InstructionSelector::VisitChangeFloat64ToInt64(Node* node) { 1060 void InstructionSelector::VisitChangeFloat64ToInt64(Node* node) {
1059 UNIMPLEMENTED(); 1061 UNIMPLEMENTED();
1060 } 1062 }
1061 1063
1062 1064
1065 void InstructionSelector::VisitTruncateFloat64ToUint64(Node* node) {
1066 UNIMPLEMENTED();
1067 }
1068
1069
1063 void InstructionSelector::VisitTruncateInt64ToInt32(Node* node) { 1070 void InstructionSelector::VisitTruncateInt64ToInt32(Node* node) {
1064 UNIMPLEMENTED(); 1071 UNIMPLEMENTED();
1065 } 1072 }
1066 1073
1067 1074
1068 void InstructionSelector::VisitRoundInt64ToFloat32(Node* node) { 1075 void InstructionSelector::VisitRoundInt64ToFloat32(Node* node) {
1069 UNIMPLEMENTED(); 1076 UNIMPLEMENTED();
1070 } 1077 }
1071 1078
1072 1079
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
1411 return new (instruction_zone()) FrameStateDescriptor( 1418 return new (instruction_zone()) FrameStateDescriptor(
1412 instruction_zone(), state_info.type(), state_info.bailout_id(), 1419 instruction_zone(), state_info.type(), state_info.bailout_id(),
1413 state_info.state_combine(), parameters, locals, stack, 1420 state_info.state_combine(), parameters, locals, stack,
1414 state_info.shared_info(), outer_state); 1421 state_info.shared_info(), outer_state);
1415 } 1422 }
1416 1423
1417 1424
1418 } // namespace compiler 1425 } // namespace compiler
1419 } // namespace internal 1426 } // namespace internal
1420 } // 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