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

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

Issue 1413463009: Implemented the Word64Clz TurboFan operator for x64, arm64, and mips64. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed a typing problem, and added mips64. 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/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/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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 const OptionalOperator Word32Popcnt(); 141 const OptionalOperator Word32Popcnt();
142 bool Word32ShiftIsSafe() const { return flags_ & kWord32ShiftIsSafe; } 142 bool Word32ShiftIsSafe() const { return flags_ & kWord32ShiftIsSafe; }
143 143
144 const Operator* Word64And(); 144 const Operator* Word64And();
145 const Operator* Word64Or(); 145 const Operator* Word64Or();
146 const Operator* Word64Xor(); 146 const Operator* Word64Xor();
147 const Operator* Word64Shl(); 147 const Operator* Word64Shl();
148 const Operator* Word64Shr(); 148 const Operator* Word64Shr();
149 const Operator* Word64Sar(); 149 const Operator* Word64Sar();
150 const Operator* Word64Ror(); 150 const Operator* Word64Ror();
151 const Operator* Word64Clz();
151 const Operator* Word64Equal(); 152 const Operator* Word64Equal();
152 153
153 const Operator* Int32Add(); 154 const Operator* Int32Add();
154 const Operator* Int32AddWithOverflow(); 155 const Operator* Int32AddWithOverflow();
155 const Operator* Int32Sub(); 156 const Operator* Int32Sub();
156 const Operator* Int32SubWithOverflow(); 157 const Operator* Int32SubWithOverflow();
157 const Operator* Int32Mul(); 158 const Operator* Int32Mul();
158 const Operator* Int32MulHigh(); 159 const Operator* Int32MulHigh();
159 const Operator* Int32Div(); 160 const Operator* Int32Div();
160 const Operator* Int32Mod(); 161 const Operator* Int32Mod();
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 }; 318 };
318 319
319 320
320 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) 321 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags)
321 322
322 } // namespace compiler 323 } // namespace compiler
323 } // namespace internal 324 } // namespace internal
324 } // namespace v8 325 } // namespace v8
325 326
326 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ 327 #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