Jit_Branch: bcctrx
This commit is contained in:
parent
453417ad8c
commit
0cd85bbce7
|
@ -219,10 +219,14 @@ void Jit64::bcctrx(UGeckoInstruction inst)
|
||||||
if (inst.LK_3)
|
if (inst.LK_3)
|
||||||
MOV(32, PPCSTATE_LR, Imm32(js.compilerPC + 4)); // LR = PC + 4;
|
MOV(32, PPCSTATE_LR, Imm32(js.compilerPC + 4)); // LR = PC + 4;
|
||||||
|
|
||||||
gpr.Flush(RegCache::FlushMode::MaintainState);
|
{
|
||||||
fpr.Flush(RegCache::FlushMode::MaintainState);
|
RCForkGuard gpr_guard = gpr.Fork();
|
||||||
WriteExitDestInRSCRATCH(inst.LK_3, js.compilerPC + 4);
|
RCForkGuard fpr_guard = fpr.Fork();
|
||||||
// Would really like to continue the block here, but it ends. TODO.
|
gpr.Flush();
|
||||||
|
fpr.Flush();
|
||||||
|
WriteExitDestInRSCRATCH(inst.LK_3, js.compilerPC + 4);
|
||||||
|
// Would really like to continue the block here, but it ends. TODO.
|
||||||
|
}
|
||||||
SetJumpTarget(b);
|
SetJumpTarget(b);
|
||||||
|
|
||||||
if (!analyzer.HasOption(PPCAnalyst::PPCAnalyzer::OPTION_CONDITIONAL_CONTINUE))
|
if (!analyzer.HasOption(PPCAnalyst::PPCAnalyzer::OPTION_CONDITIONAL_CONTINUE))
|
||||||
|
|
Loading…
Reference in New Issue