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 697663003: [turbofan] Also optimize unsigned division by constant. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Slight improvement Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32.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 "src/compiler/graph.h" 7 #include "src/compiler/graph.h"
8 #include "src/compiler/instruction-selector-impl.h" 8 #include "src/compiler/instruction-selector-impl.h"
9 #include "src/compiler/node-matchers.h" 9 #include "src/compiler/node-matchers.h"
10 #include "src/compiler/node-properties-inl.h" 10 #include "src/compiler/node-properties-inl.h"
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 case IrOpcode::kInt32LessThanOrEqual: 731 case IrOpcode::kInt32LessThanOrEqual:
732 return VisitInt32LessThanOrEqual(node); 732 return VisitInt32LessThanOrEqual(node);
733 case IrOpcode::kUint32Div: 733 case IrOpcode::kUint32Div:
734 return VisitUint32Div(node); 734 return VisitUint32Div(node);
735 case IrOpcode::kUint32LessThan: 735 case IrOpcode::kUint32LessThan:
736 return VisitUint32LessThan(node); 736 return VisitUint32LessThan(node);
737 case IrOpcode::kUint32LessThanOrEqual: 737 case IrOpcode::kUint32LessThanOrEqual:
738 return VisitUint32LessThanOrEqual(node); 738 return VisitUint32LessThanOrEqual(node);
739 case IrOpcode::kUint32Mod: 739 case IrOpcode::kUint32Mod:
740 return VisitUint32Mod(node); 740 return VisitUint32Mod(node);
741 case IrOpcode::kUint32MulHigh:
742 return VisitUint32MulHigh(node);
741 case IrOpcode::kInt64Add: 743 case IrOpcode::kInt64Add:
742 return VisitInt64Add(node); 744 return VisitInt64Add(node);
743 case IrOpcode::kInt64Sub: 745 case IrOpcode::kInt64Sub:
744 return VisitInt64Sub(node); 746 return VisitInt64Sub(node);
745 case IrOpcode::kInt64Mul: 747 case IrOpcode::kInt64Mul:
746 return VisitInt64Mul(node); 748 return VisitInt64Mul(node);
747 case IrOpcode::kInt64Div: 749 case IrOpcode::kInt64Div:
748 return VisitInt64Div(node); 750 return VisitInt64Div(node);
749 case IrOpcode::kInt64Mod: 751 case IrOpcode::kInt64Mod:
750 return VisitInt64Mod(node); 752 return VisitInt64Mod(node);
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
1112 MachineOperatorBuilder::Flags 1114 MachineOperatorBuilder::Flags
1113 InstructionSelector::SupportedMachineOperatorFlags() { 1115 InstructionSelector::SupportedMachineOperatorFlags() {
1114 return MachineOperatorBuilder::Flag::kNoFlags; 1116 return MachineOperatorBuilder::Flag::kNoFlags;
1115 } 1117 }
1116 1118
1117 #endif // !V8_TURBOFAN_BACKEND 1119 #endif // !V8_TURBOFAN_BACKEND
1118 1120
1119 } // namespace compiler 1121 } // namespace compiler
1120 } // namespace internal 1122 } // namespace internal
1121 } // namespace v8 1123 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/compiler/machine-operator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698