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

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

Issue 1021183002: [turbofan] Turn Math.clz32 into an inlinable builtin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 months 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/ia32/instruction-selector-ia32.cc ('k') | src/compiler/js-intrinsic-lowering.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/compiler/instruction-selector-impl.h" 9 #include "src/compiler/instruction-selector-impl.h"
10 #include "src/compiler/node-matchers.h" 10 #include "src/compiler/node-matchers.h"
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 case IrOpcode::kWord32Shl: 651 case IrOpcode::kWord32Shl:
652 return VisitWord32Shl(node); 652 return VisitWord32Shl(node);
653 case IrOpcode::kWord32Shr: 653 case IrOpcode::kWord32Shr:
654 return VisitWord32Shr(node); 654 return VisitWord32Shr(node);
655 case IrOpcode::kWord32Sar: 655 case IrOpcode::kWord32Sar:
656 return VisitWord32Sar(node); 656 return VisitWord32Sar(node);
657 case IrOpcode::kWord32Ror: 657 case IrOpcode::kWord32Ror:
658 return VisitWord32Ror(node); 658 return VisitWord32Ror(node);
659 case IrOpcode::kWord32Equal: 659 case IrOpcode::kWord32Equal:
660 return VisitWord32Equal(node); 660 return VisitWord32Equal(node);
661 case IrOpcode::kWord32Clz:
662 return VisitWord32Clz(node);
661 case IrOpcode::kWord64And: 663 case IrOpcode::kWord64And:
662 return VisitWord64And(node); 664 return VisitWord64And(node);
663 case IrOpcode::kWord64Or: 665 case IrOpcode::kWord64Or:
664 return VisitWord64Or(node); 666 return VisitWord64Or(node);
665 case IrOpcode::kWord64Xor: 667 case IrOpcode::kWord64Xor:
666 return VisitWord64Xor(node); 668 return VisitWord64Xor(node);
667 case IrOpcode::kWord64Shl: 669 case IrOpcode::kWord64Shl:
668 return VisitWord64Shl(node); 670 return VisitWord64Shl(node);
669 case IrOpcode::kWord64Shr: 671 case IrOpcode::kWord64Shr:
670 return VisitWord64Shr(node); 672 return VisitWord64Shr(node);
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
1122 MachineOperatorBuilder::Flags 1124 MachineOperatorBuilder::Flags
1123 InstructionSelector::SupportedMachineOperatorFlags() { 1125 InstructionSelector::SupportedMachineOperatorFlags() {
1124 return MachineOperatorBuilder::Flag::kNoFlags; 1126 return MachineOperatorBuilder::Flag::kNoFlags;
1125 } 1127 }
1126 1128
1127 #endif // !V8_TURBOFAN_BACKEND 1129 #endif // !V8_TURBOFAN_BACKEND
1128 1130
1129 } // namespace compiler 1131 } // namespace compiler
1130 } // namespace internal 1132 } // namespace internal
1131 } // namespace v8 1133 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/compiler/js-intrinsic-lowering.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698