JitArm64: mulli - Use MultiplyImmediate
This commit is contained in:
parent
4aa0c0133a
commit
53a8cd1563
|
@ -893,6 +893,10 @@ void JitArm64::mulli(UGeckoInstruction inst)
|
|||
s32 i = (s32)gpr.GetImm(a);
|
||||
gpr.SetImmediate(d, i * inst.SIMM_16);
|
||||
}
|
||||
else if (MultiplyImmediate((u32)(s32)inst.SIMM_16, a, d, false))
|
||||
{
|
||||
// Code is generated inside MultiplyImmediate, nothing to be done here.
|
||||
}
|
||||
else
|
||||
{
|
||||
gpr.BindToRegister(d, d == a);
|
||||
|
|
Loading…
Reference in New Issue