Bug 1315256 - Add branch64 stub for arm64 to benefit wasm baseline. r=h4writer

--HG--
extra : rebase_source : 8f31e4b88e365c6ebd789cf4eaf6f6b18dab9749
This commit is contained in:
Lars T Hansen 2016-11-04 15:38:51 +01:00
parent 3bcb822ebe
commit 976a8b5c41
2 changed files with 7 additions and 1 deletions

View File

@ -965,7 +965,7 @@ class MacroAssembler : public MacroAssemblerSpecific
// When a fail label is not defined it will fall through to next instruction,
// else jump to the fail label.
inline void branch64(Condition cond, Register64 lhs, Imm64 val, Label* success,
Label* fail = nullptr) DEFINED_ON(x86, x64, arm, mips32, mips64);
Label* fail = nullptr) PER_ARCH;
inline void branch64(Condition cond, Register64 lhs, Register64 rhs, Label* success,
Label* fail = nullptr) DEFINED_ON(x86, x64, arm, mips32, mips64);
// On x86 and x64 NotEqual and Equal conditions are allowed for the branch64 variants

View File

@ -829,6 +829,12 @@ MacroAssembler::branch32(Condition cond, wasm::SymbolicAddress lhs, Imm32 rhs, L
branch32(cond, Address(scratch, 0), rhs, label);
}
void
MacroAssembler::branch64(Condition cond, Register64 lhs, Imm64 val, Label* success, Label* fail)
{
MOZ_CRASH("NYI: branch64 reg-imm");
}
void
MacroAssembler::branch64(Condition cond, const Address& lhs, Imm64 val, Label* label)
{