mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-01 12:32:48 +00:00
JitArm64: mullwx - Use MultiplyImmediate
This commit is contained in:
parent
53a8cd1563
commit
080513284c
@ -922,6 +922,11 @@ void JitArm64::mullwx(UGeckoInstruction inst)
|
||||
if (inst.Rc)
|
||||
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
|
||||
{
|
||||
gpr.BindToRegister(d, d == a || d == b);
|
||||
|
Loading…
x
Reference in New Issue
Block a user