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

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

Issue 1424173006: Implemented the Word64Popcnt TurboFan operator for x64. (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 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 case IrOpcode::kWord32Ror: 715 case IrOpcode::kWord32Ror:
716 return MarkAsWord32(node), VisitWord32Ror(node); 716 return MarkAsWord32(node), VisitWord32Ror(node);
717 case IrOpcode::kWord32Equal: 717 case IrOpcode::kWord32Equal:
718 return VisitWord32Equal(node); 718 return VisitWord32Equal(node);
719 case IrOpcode::kWord32Clz: 719 case IrOpcode::kWord32Clz:
720 return MarkAsWord32(node), VisitWord32Clz(node); 720 return MarkAsWord32(node), VisitWord32Clz(node);
721 case IrOpcode::kWord32Ctz: 721 case IrOpcode::kWord32Ctz:
722 return MarkAsWord32(node), VisitWord32Ctz(node); 722 return MarkAsWord32(node), VisitWord32Ctz(node);
723 case IrOpcode::kWord32Popcnt: 723 case IrOpcode::kWord32Popcnt:
724 return MarkAsWord32(node), VisitWord32Popcnt(node); 724 return MarkAsWord32(node), VisitWord32Popcnt(node);
725 case IrOpcode::kWord64Popcnt:
726 return MarkAsWord32(node), VisitWord64Popcnt(node);
725 case IrOpcode::kWord64And: 727 case IrOpcode::kWord64And:
726 return MarkAsWord64(node), VisitWord64And(node); 728 return MarkAsWord64(node), VisitWord64And(node);
727 case IrOpcode::kWord64Or: 729 case IrOpcode::kWord64Or:
728 return MarkAsWord64(node), VisitWord64Or(node); 730 return MarkAsWord64(node), VisitWord64Or(node);
729 case IrOpcode::kWord64Xor: 731 case IrOpcode::kWord64Xor:
730 return MarkAsWord64(node), VisitWord64Xor(node); 732 return MarkAsWord64(node), VisitWord64Xor(node);
731 case IrOpcode::kWord64Shl: 733 case IrOpcode::kWord64Shl:
732 return MarkAsWord64(node), VisitWord64Shl(node); 734 return MarkAsWord64(node), VisitWord64Shl(node);
733 case IrOpcode::kWord64Shr: 735 case IrOpcode::kWord64Shr:
734 return MarkAsWord64(node), VisitWord64Shr(node); 736 return MarkAsWord64(node), VisitWord64Shr(node);
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
974 976
975 void InstructionSelector::VisitWord64Ror(Node* node) { UNIMPLEMENTED(); } 977 void InstructionSelector::VisitWord64Ror(Node* node) { UNIMPLEMENTED(); }
976 978
977 979
978 void InstructionSelector::VisitWord64Clz(Node* node) { UNIMPLEMENTED(); } 980 void InstructionSelector::VisitWord64Clz(Node* node) { UNIMPLEMENTED(); }
979 981
980 982
981 void InstructionSelector::VisitWord64Ctz(Node* node) { UNIMPLEMENTED(); } 983 void InstructionSelector::VisitWord64Ctz(Node* node) { UNIMPLEMENTED(); }
982 984
983 985
986 void InstructionSelector::VisitWord64Popcnt(Node* node) { UNIMPLEMENTED(); }
987
988
984 void InstructionSelector::VisitWord64Equal(Node* node) { UNIMPLEMENTED(); } 989 void InstructionSelector::VisitWord64Equal(Node* node) { UNIMPLEMENTED(); }
985 990
986 991
987 void InstructionSelector::VisitInt64Add(Node* node) { UNIMPLEMENTED(); } 992 void InstructionSelector::VisitInt64Add(Node* node) { UNIMPLEMENTED(); }
988 993
989 994
990 void InstructionSelector::VisitInt64Sub(Node* node) { UNIMPLEMENTED(); } 995 void InstructionSelector::VisitInt64Sub(Node* node) { UNIMPLEMENTED(); }
991 996
992 997
993 void InstructionSelector::VisitInt64Mul(Node* node) { UNIMPLEMENTED(); } 998 void InstructionSelector::VisitInt64Mul(Node* node) { UNIMPLEMENTED(); }
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
1348 return new (instruction_zone()) FrameStateDescriptor( 1353 return new (instruction_zone()) FrameStateDescriptor(
1349 instruction_zone(), state_info.type(), state_info.bailout_id(), 1354 instruction_zone(), state_info.type(), state_info.bailout_id(),
1350 state_info.state_combine(), parameters, locals, stack, 1355 state_info.state_combine(), parameters, locals, stack,
1351 state_info.shared_info(), outer_state); 1356 state_info.shared_info(), outer_state);
1352 } 1357 }
1353 1358
1354 1359
1355 } // namespace compiler 1360 } // namespace compiler
1356 } // namespace internal 1361 } // namespace internal
1357 } // namespace v8 1362 } // 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