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

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

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/js-intrinsic-lowering.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/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/compiler/machine-type.h" 9 #include "src/compiler/machine-type.h"
10 10
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 Flags supportedOperators = kNoFlags); 89 Flags supportedOperators = kNoFlags);
90 90
91 const Operator* Word32And(); 91 const Operator* Word32And();
92 const Operator* Word32Or(); 92 const Operator* Word32Or();
93 const Operator* Word32Xor(); 93 const Operator* Word32Xor();
94 const Operator* Word32Shl(); 94 const Operator* Word32Shl();
95 const Operator* Word32Shr(); 95 const Operator* Word32Shr();
96 const Operator* Word32Sar(); 96 const Operator* Word32Sar();
97 const Operator* Word32Ror(); 97 const Operator* Word32Ror();
98 const Operator* Word32Equal(); 98 const Operator* Word32Equal();
99 const Operator* Word32Clz();
99 bool Word32ShiftIsSafe() const { return flags_ & kWord32ShiftIsSafe; } 100 bool Word32ShiftIsSafe() const { return flags_ & kWord32ShiftIsSafe; }
100 101
101 const Operator* Word64And(); 102 const Operator* Word64And();
102 const Operator* Word64Or(); 103 const Operator* Word64Or();
103 const Operator* Word64Xor(); 104 const Operator* Word64Xor();
104 const Operator* Word64Shl(); 105 const Operator* Word64Shl();
105 const Operator* Word64Shr(); 106 const Operator* Word64Shr();
106 const Operator* Word64Sar(); 107 const Operator* Word64Sar();
107 const Operator* Word64Ror(); 108 const Operator* Word64Ror();
108 const Operator* Word64Equal(); 109 const Operator* Word64Equal();
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 }; 247 };
247 248
248 249
249 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) 250 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags)
250 251
251 } // namespace compiler 252 } // namespace compiler
252 } // namespace internal 253 } // namespace internal
253 } // namespace v8 254 } // namespace v8
254 255
255 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ 256 #endif // V8_COMPILER_MACHINE_OPERATOR_H_
OLDNEW
« no previous file with comments | « src/compiler/js-intrinsic-lowering.cc ('k') | src/compiler/machine-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698