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

Side by Side Diff: src/compiler/machine-operator.h

Issue 654833002: [turbofan] Optimize division/modulus by constant. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/machine-operator.cc » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 #ifndef V8_COMPILER_MACHINE_OPERATOR_H_ 5 #ifndef V8_COMPILER_MACHINE_OPERATOR_H_
6 #define V8_COMPILER_MACHINE_OPERATOR_H_ 6 #define V8_COMPILER_MACHINE_OPERATOR_H_
7 7
8 #include "src/compiler/machine-type.h" 8 #include "src/compiler/machine-type.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 const Operator* Word64Shr(); 75 const Operator* Word64Shr();
76 const Operator* Word64Sar(); 76 const Operator* Word64Sar();
77 const Operator* Word64Ror(); 77 const Operator* Word64Ror();
78 const Operator* Word64Equal(); 78 const Operator* Word64Equal();
79 79
80 const Operator* Int32Add(); 80 const Operator* Int32Add();
81 const Operator* Int32AddWithOverflow(); 81 const Operator* Int32AddWithOverflow();
82 const Operator* Int32Sub(); 82 const Operator* Int32Sub();
83 const Operator* Int32SubWithOverflow(); 83 const Operator* Int32SubWithOverflow();
84 const Operator* Int32Mul(); 84 const Operator* Int32Mul();
85 const Operator* Int32MulHigh();
85 const Operator* Int32Div(); 86 const Operator* Int32Div();
86 const Operator* Int32Mod(); 87 const Operator* Int32Mod();
87 const Operator* Int32LessThan(); 88 const Operator* Int32LessThan();
88 const Operator* Int32LessThanOrEqual(); 89 const Operator* Int32LessThanOrEqual();
89 const Operator* Uint32Div(); 90 const Operator* Uint32Div();
90 const Operator* Uint32LessThan(); 91 const Operator* Uint32LessThan();
91 const Operator* Uint32LessThanOrEqual(); 92 const Operator* Uint32LessThanOrEqual();
92 const Operator* Uint32Mod(); 93 const Operator* Uint32Mod();
93 94
94 const Operator* Int64Add(); 95 const Operator* Int64Add();
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 private: 181 private:
181 const MachineOperatorBuilderImpl& impl_; 182 const MachineOperatorBuilderImpl& impl_;
182 const MachineType word_; 183 const MachineType word_;
183 }; 184 };
184 185
185 } // namespace compiler 186 } // namespace compiler
186 } // namespace internal 187 } // namespace internal
187 } // namespace v8 188 } // namespace v8
188 189
189 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ 190 #endif // V8_COMPILER_MACHINE_OPERATOR_H_
OLDNEW
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/machine-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698