mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
JitArm64: mullwx - Use MultiplyImmediate
This commit is contained in:
parent
53a8cd1563
commit
080513284c
1 changed files with 5 additions and 0 deletions
|
@ -922,6 +922,11 @@ void JitArm64::mullwx(UGeckoInstruction inst)
|
||||||
if (inst.Rc)
|
if (inst.Rc)
|
||||||
ComputeRC0(gpr.GetImm(d));
|
ComputeRC0(gpr.GetImm(d));
|
||||||
}
|
}
|
||||||
|
else if ((gpr.IsImm(a) && MultiplyImmediate(gpr.GetImm(a), b, d, inst.Rc)) ||
|
||||||
|
(gpr.IsImm(b) && MultiplyImmediate(gpr.GetImm(b), a, d, inst.Rc)))
|
||||||
|
{
|
||||||
|
// Code is generated inside MultiplyImmediate, nothing to be done here.
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
gpr.BindToRegister(d, d == a || d == b);
|
gpr.BindToRegister(d, d == a || d == b);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue