for tw/twi instructions, force propagated constant into a register to avoid "a1 cannot be immediate" errors from the emitter
This commit is contained in:
parent
b801c7f8f1
commit
b70c0ae521
|
@ -1997,6 +1997,8 @@ void Jit64::twx(UGeckoInstruction inst)
|
||||||
|
|
||||||
s32 a = inst.RA;
|
s32 a = inst.RA;
|
||||||
|
|
||||||
|
gpr.KillImmediate(a, true, false);
|
||||||
|
|
||||||
if (inst.OPCD == 3) // twi
|
if (inst.OPCD == 3) // twi
|
||||||
CMP(32, gpr.R(a), gpr.R(inst.RB));
|
CMP(32, gpr.R(a), gpr.R(inst.RB));
|
||||||
else // tw
|
else // tw
|
||||||
|
|
Loading…
Reference in New Issue