Merge pull request #2091 from magumagu/lmw-saved-regs
Fix registersInUse in Jit64::lmw.
This commit is contained in:
commit
e8f37bc3fe
|
@ -527,7 +527,7 @@ void Jit64::lmw(UGeckoInstruction inst)
|
||||||
ADD(32, R(RSCRATCH2), gpr.R(inst.RA));
|
ADD(32, R(RSCRATCH2), gpr.R(inst.RA));
|
||||||
for (int i = inst.RD; i < 32; i++)
|
for (int i = inst.RD; i < 32; i++)
|
||||||
{
|
{
|
||||||
SafeLoadToReg(RSCRATCH, R(RSCRATCH2), 32, (i - inst.RD) * 4, CallerSavedRegistersInUse() | BitSet32 { RSCRATCH_EXTRA }, false);
|
SafeLoadToReg(RSCRATCH, R(RSCRATCH2), 32, (i - inst.RD) * 4, CallerSavedRegistersInUse() | BitSet32 { RSCRATCH2 }, false);
|
||||||
gpr.BindToRegister(i, false, true);
|
gpr.BindToRegister(i, false, true);
|
||||||
MOV(32, gpr.R(i), R(RSCRATCH));
|
MOV(32, gpr.R(i), R(RSCRATCH));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue