Permalink
Browse files

Jit_Branch: bclrx

  • Loading branch information...
MerryMage committed Oct 15, 2018
1 parent 0cd85bb commit 4443b3632611b90e8e61f8587e13aba1c413bf92
Showing with 7 additions and 3 deletions.
  1. +7 −3 Source/Core/Core/PowerPC/Jit64/Jit_Branch.cpp
@@ -277,9 +277,13 @@ void Jit64::bclrx(UGeckoInstruction inst)
if (inst.LK)
MOV(32, PPCSTATE_LR, Imm32(js.compilerPC + 4));

gpr.Flush(RegCache::FlushMode::MaintainState);
fpr.Flush(RegCache::FlushMode::MaintainState);
WriteBLRExit();
{
RCForkGuard gpr_guard = gpr.Fork();
RCForkGuard fpr_guard = fpr.Fork();
gpr.Flush();
fpr.Flush();
WriteBLRExit();
}

if ((inst.BO & BO_DONT_CHECK_CONDITION) == 0)
SetJumpTarget(pConditionDontBranch);

0 comments on commit 4443b36

Please sign in to comment.