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

Unified Diff: src/compiler/code-assembler.h

Issue 2785773002: [turbofan] introduce Int32/64AbsWithOverflow optional operator (Closed)
Patch Set: add base impl Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/arm64/instruction-selector-arm64.cc ('k') | src/compiler/code-assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/code-assembler.h
diff --git a/src/compiler/code-assembler.h b/src/compiler/code-assembler.h
index a2f67201c1a0883d0123a7e9e3aa7a538d251a43..0b862f00fe188f1ddf81bcc1e9d9acac56b0eeba 100644
--- a/src/compiler/code-assembler.h
+++ b/src/compiler/code-assembler.h
@@ -167,6 +167,9 @@ typedef std::function<void()> CodeAssemblerCallback;
V(Float64RoundTruncate) \
V(Word32Clz) \
V(Word32Not) \
+ V(Int32AbsWithOverflow) \
+ V(Int64AbsWithOverflow) \
+ V(IntPtrAbsWithOverflow) \
V(Word32BinaryNot)
// A "public" interface used by components outside of compiler directory to
@@ -201,6 +204,9 @@ class V8_EXPORT_PRIVATE CodeAssembler {
bool IsFloat64RoundDownSupported() const;
bool IsFloat64RoundTiesEvenSupported() const;
bool IsFloat64RoundTruncateSupported() const;
+ bool IsInt32AbsWithOverflowSupported() const;
+ bool IsInt64AbsWithOverflowSupported() const;
+ bool IsIntPtrAbsWithOverflowSupported() const;
// Shortened aliases for use in CodeAssembler subclasses.
typedef CodeAssemblerLabel Label;
« no previous file with comments | « src/compiler/arm64/instruction-selector-arm64.cc ('k') | src/compiler/code-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698