mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-03 06:39:33 +00:00
Jit64: load PC only once after fallbacks
This commit is contained in:
parent
1b2074e53f
commit
fbdc20ac37
1 changed files with 1 additions and 2 deletions
|
@ -255,9 +255,8 @@ void Jit64::FallBackToInterpreter(UGeckoInstruction inst)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
MOV(32, R(RSCRATCH), PPCSTATE(npc));
|
MOV(32, R(RSCRATCH), PPCSTATE(npc));
|
||||||
SUB(32, R(RSCRATCH), Imm32(js.compilerPC + 4));
|
CMP(32, R(RSCRATCH), Imm32(js.compilerPC + 4));
|
||||||
FixupBranch c = J_CC(CC_Z);
|
FixupBranch c = J_CC(CC_Z);
|
||||||
MOV(32, R(RSCRATCH), PPCSTATE(npc));
|
|
||||||
MOV(32, PPCSTATE(pc), R(RSCRATCH));
|
MOV(32, PPCSTATE(pc), R(RSCRATCH));
|
||||||
WriteExceptionExit();
|
WriteExceptionExit();
|
||||||
SetJumpTarget(c);
|
SetJumpTarget(c);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue