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

Unified Diff: src/mips64/macro-assembler-mips64.h

Issue 1170923004: Reland "MIPS64: Fix lithium arithmetic operations for integers to sign-extend result." (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Include fix of removed EmitLoadRegister unsafe usage. Created 5 years, 6 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/mips64/lithium-mips64.cc ('k') | src/mips64/macro-assembler-mips64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/mips64/macro-assembler-mips64.h
diff --git a/src/mips64/macro-assembler-mips64.h b/src/mips64/macro-assembler-mips64.h
index dc22eff0d40ed31e1d1eb0f861589a1cdd8ab2a0..7de3300908aae95cfb1f64158f854fe00fa2f3a0 100644
--- a/src/mips64/macro-assembler-mips64.h
+++ b/src/mips64/macro-assembler-mips64.h
@@ -1203,7 +1203,7 @@ class MacroAssembler: public Assembler {
void AdduAndCheckForOverflow(Register dst, Register left,
const Operand& right, Register overflow_dst,
- Register scratch = at);
+ Register scratch);
void SubuAndCheckForOverflow(Register dst,
Register left,
@@ -1213,7 +1213,21 @@ class MacroAssembler: public Assembler {
void SubuAndCheckForOverflow(Register dst, Register left,
const Operand& right, Register overflow_dst,
- Register scratch = at);
+ Register scratch);
+
+ void DadduAndCheckForOverflow(Register dst, Register left, Register right,
+ Register overflow_dst, Register scratch = at);
+
+ void DadduAndCheckForOverflow(Register dst, Register left,
+ const Operand& right, Register overflow_dst,
+ Register scratch);
+
+ void DsubuAndCheckForOverflow(Register dst, Register left, Register right,
+ Register overflow_dst, Register scratch = at);
+
+ void DsubuAndCheckForOverflow(Register dst, Register left,
+ const Operand& right, Register overflow_dst,
+ Register scratch);
void BranchOnOverflow(Label* label,
Register overflow_check,
« no previous file with comments | « src/mips64/lithium-mips64.cc ('k') | src/mips64/macro-assembler-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698