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

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

Issue 1852553003: [builtins] Migrate Math.clz32 to a TurboFan builtin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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/opcodes.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 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/machine-type.h" 9 #include "src/machine-type.h"
10 10
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 // Pseudo operators that translate to 32/64-bit operators depending on the 343 // Pseudo operators that translate to 32/64-bit operators depending on the
344 // word-size of the target machine assumed by this builder. 344 // word-size of the target machine assumed by this builder.
345 #define PSEUDO_OP_LIST(V) \ 345 #define PSEUDO_OP_LIST(V) \
346 V(Word, And) \ 346 V(Word, And) \
347 V(Word, Or) \ 347 V(Word, Or) \
348 V(Word, Xor) \ 348 V(Word, Xor) \
349 V(Word, Shl) \ 349 V(Word, Shl) \
350 V(Word, Shr) \ 350 V(Word, Shr) \
351 V(Word, Sar) \ 351 V(Word, Sar) \
352 V(Word, Ror) \ 352 V(Word, Ror) \
353 V(Word, Clz) \
353 V(Word, Equal) \ 354 V(Word, Equal) \
354 V(Int, Add) \ 355 V(Int, Add) \
355 V(Int, Sub) \ 356 V(Int, Sub) \
356 V(Int, Mul) \ 357 V(Int, Mul) \
357 V(Int, Div) \ 358 V(Int, Div) \
358 V(Int, Mod) \ 359 V(Int, Mod) \
359 V(Int, LessThan) \ 360 V(Int, LessThan) \
360 V(Int, LessThanOrEqual) \ 361 V(Int, LessThanOrEqual) \
361 V(Uint, Div) \ 362 V(Uint, Div) \
362 V(Uint, LessThan) \ 363 V(Uint, LessThan) \
(...skipping 15 matching lines...) Expand all
378 }; 379 };
379 380
380 381
381 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) 382 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags)
382 383
383 } // namespace compiler 384 } // namespace compiler
384 } // namespace internal 385 } // namespace internal
385 } // namespace v8 386 } // namespace v8
386 387
387 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ 388 #endif // V8_COMPILER_MACHINE_OPERATOR_H_
OLDNEW
« no previous file with comments | « src/compiler/js-intrinsic-lowering.cc ('k') | src/compiler/opcodes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698