Index: src/mips64/macro-assembler-mips64.h |
diff --git a/src/mips64/macro-assembler-mips64.h b/src/mips64/macro-assembler-mips64.h |
index 1b66b8aeeb34b812bb145978565529971384e019..fdc583b3f0330fc1b2ba65b44163761d9734212c 100644 |
--- a/src/mips64/macro-assembler-mips64.h |
+++ b/src/mips64/macro-assembler-mips64.h |
@@ -1278,6 +1278,24 @@ class MacroAssembler: public Assembler { |
const Operand& right, Register overflow_dst, |
Register scratch); |
+ inline void DaddBranchOvf(Register dst, Register left, const Operand& right, |
+ Label* overflow_label, Register scratch = at) { |
+ DaddBranchOvf(dst, left, right, overflow_label, nullptr, scratch); |
+ } |
+ |
+ inline void DaddBranchNoOvf(Register dst, Register left, const Operand& right, |
+ Label* no_overflow_label, Register scratch = at) { |
+ DaddBranchOvf(dst, left, right, nullptr, no_overflow_label, scratch); |
+ } |
+ |
+ void DaddBranchOvf(Register dst, Register left, const Operand& right, |
+ Label* overflow_label, Label* no_overflow_label, |
+ Register scratch = at); |
+ |
+ void DaddBranchOvf(Register dst, Register left, Register right, |
+ Label* overflow_label, Label* no_overflow_label, |
+ Register scratch = at); |
+ |
void DsubuAndCheckForOverflow(Register dst, Register left, Register right, |
Register overflow_dst, Register scratch = at); |
@@ -1285,6 +1303,24 @@ class MacroAssembler: public Assembler { |
const Operand& right, Register overflow_dst, |
Register scratch); |
+ inline void DsubBranchOvf(Register dst, Register left, const Operand& right, |
+ Label* overflow_label, Register scratch = at) { |
+ DsubBranchOvf(dst, left, right, overflow_label, nullptr, scratch); |
+ } |
+ |
+ inline void DsubBranchNoOvf(Register dst, Register left, const Operand& right, |
+ Label* no_overflow_label, Register scratch = at) { |
+ DsubBranchOvf(dst, left, right, nullptr, no_overflow_label, scratch); |
+ } |
+ |
+ void DsubBranchOvf(Register dst, Register left, const Operand& right, |
+ Label* overflow_label, Label* no_overflow_label, |
+ Register scratch = at); |
+ |
+ void DsubBranchOvf(Register dst, Register left, Register right, |
+ Label* overflow_label, Label* no_overflow_label, |
+ Register scratch = at); |
+ |
void BranchOnOverflow(Label* label, |
Register overflow_check, |
BranchDelaySlot bd = PROTECT) { |