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

Side by Side Diff: src/compiler/opcodes.h

Issue 2785773002: [turbofan] introduce Int32/64AbsWithOverflow optional operator (Closed)
Patch Set: add base impl Created 3 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
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_OPCODES_H_ 5 #ifndef V8_COMPILER_OPCODES_H_
6 #define V8_COMPILER_OPCODES_H_ 6 #define V8_COMPILER_OPCODES_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 V(Float32Equal) \ 373 V(Float32Equal) \
374 V(Float32LessThan) \ 374 V(Float32LessThan) \
375 V(Float32LessThanOrEqual) \ 375 V(Float32LessThanOrEqual) \
376 V(Float64Equal) \ 376 V(Float64Equal) \
377 V(Float64LessThan) \ 377 V(Float64LessThan) \
378 V(Float64LessThanOrEqual) 378 V(Float64LessThanOrEqual)
379 379
380 #define MACHINE_UNOP_32_LIST(V) \ 380 #define MACHINE_UNOP_32_LIST(V) \
381 V(Word32Clz) \ 381 V(Word32Clz) \
382 V(Word32Ctz) \ 382 V(Word32Ctz) \
383 V(Int32AbsWithOverflow) \
383 V(Word32ReverseBits) \ 384 V(Word32ReverseBits) \
384 V(Word32ReverseBytes) 385 V(Word32ReverseBytes)
385 386
386 #define MACHINE_BINOP_32_LIST(V) \ 387 #define MACHINE_BINOP_32_LIST(V) \
387 V(Word32And) \ 388 V(Word32And) \
388 V(Word32Or) \ 389 V(Word32Or) \
389 V(Word32Xor) \ 390 V(Word32Xor) \
390 V(Word32Shl) \ 391 V(Word32Shl) \
391 V(Word32Shr) \ 392 V(Word32Shr) \
392 V(Word32Sar) \ 393 V(Word32Sar) \
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 V(Comment) \ 493 V(Comment) \
493 V(Load) \ 494 V(Load) \
494 V(Store) \ 495 V(Store) \
495 V(StackSlot) \ 496 V(StackSlot) \
496 V(Word32Popcnt) \ 497 V(Word32Popcnt) \
497 V(Word64Popcnt) \ 498 V(Word64Popcnt) \
498 V(Word64Clz) \ 499 V(Word64Clz) \
499 V(Word64Ctz) \ 500 V(Word64Ctz) \
500 V(Word64ReverseBits) \ 501 V(Word64ReverseBits) \
501 V(Word64ReverseBytes) \ 502 V(Word64ReverseBytes) \
503 V(Int64AbsWithOverflow) \
502 V(BitcastTaggedToWord) \ 504 V(BitcastTaggedToWord) \
503 V(BitcastWordToTagged) \ 505 V(BitcastWordToTagged) \
504 V(BitcastWordToTaggedSigned) \ 506 V(BitcastWordToTaggedSigned) \
505 V(TruncateFloat64ToWord32) \ 507 V(TruncateFloat64ToWord32) \
506 V(ChangeFloat32ToFloat64) \ 508 V(ChangeFloat32ToFloat64) \
507 V(ChangeFloat64ToInt32) \ 509 V(ChangeFloat64ToInt32) \
508 V(ChangeFloat64ToUint32) \ 510 V(ChangeFloat64ToUint32) \
509 V(ChangeFloat64ToUint64) \ 511 V(ChangeFloat64ToUint64) \
510 V(Float64SilenceNaN) \ 512 V(Float64SilenceNaN) \
511 V(TruncateFloat64ToUint32) \ 513 V(TruncateFloat64ToUint32) \
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 } 804 }
803 }; 805 };
804 806
805 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value); 807 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, IrOpcode::Value);
806 808
807 } // namespace compiler 809 } // namespace compiler
808 } // namespace internal 810 } // namespace internal
809 } // namespace v8 811 } // namespace v8
810 812
811 #endif // V8_COMPILER_OPCODES_H_ 813 #endif // V8_COMPILER_OPCODES_H_
OLDNEW
« no previous file with comments | « src/compiler/mips64/instruction-selector-mips64.cc ('k') | src/compiler/ppc/instruction-selector-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698