mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
JitArm64: Fix divwx BindToRegister condition
a is being used both as an immediate and as a register here. Since it's being used as a register, it must be loaded.
This commit is contained in:
parent
487a11fd2c
commit
8902d2fe3a
@ -1433,7 +1433,7 @@ void JitArm64::divwx(UGeckoInstruction inst)
|
||||
{
|
||||
const u32 dividend = gpr.GetImm(a);
|
||||
|
||||
gpr.BindToRegister(d, d == b);
|
||||
gpr.BindToRegister(d, d == a || d == b);
|
||||
|
||||
ARM64Reg RB = gpr.R(b);
|
||||
ARM64Reg RD = gpr.R(d);
|
||||
|
Loading…
Reference in New Issue
Block a user