mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
Shorten the blr stub a bit.
This commit is contained in:
@ -349,12 +349,10 @@ void Jit64::WriteBLRExit()
|
|||||||
if (disturbed)
|
if (disturbed)
|
||||||
MOV(32, R(RSCRATCH), PPCSTATE(pc));
|
MOV(32, R(RSCRATCH), PPCSTATE(pc));
|
||||||
CMP(64, R(RSCRATCH), MDisp(RSP, 8));
|
CMP(64, R(RSCRATCH), MDisp(RSP, 8));
|
||||||
FixupBranch nope = J_CC(CC_NE);
|
|
||||||
SUB(32, PPCSTATE(downcount), Imm32(js.downcountAmount));
|
|
||||||
RET();
|
|
||||||
SetJumpTarget(nope);
|
|
||||||
MOV(32, R(RSCRATCH), Imm32(js.downcountAmount));
|
MOV(32, R(RSCRATCH), Imm32(js.downcountAmount));
|
||||||
JMP(asm_routines.dispatcherMispredictedBLR, true);
|
J_CC(CC_NE, asm_routines.dispatcherMispredictedBLR);
|
||||||
|
SUB(32, PPCSTATE(downcount), R(RSCRATCH));
|
||||||
|
RET();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Jit64::WriteRfiExitDestInRSCRATCH()
|
void Jit64::WriteRfiExitDestInRSCRATCH()
|
||||||
|
Reference in New Issue
Block a user