mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 1315256 - Add branch64 stub for arm64 to benefit wasm baseline. r=h4writer
--HG-- extra : rebase_source : 8f31e4b88e365c6ebd789cf4eaf6f6b18dab9749
This commit is contained in:
parent
3bcb822ebe
commit
976a8b5c41
@ -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
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user