Skip to content
Permalink
Browse files
Merge pull request #10453 from JosJuice/output-in-use
PPCAnalyst: Count outputs as being in use
  • Loading branch information
JosJuice committed Mar 12, 2022
2 parents 9962b0b + 20b2300 commit 7a3c719
Showing 1 changed file with 2 additions and 2 deletions.
@@ -946,8 +946,8 @@ u32 PPCAnalyzer::Analyze(u32 address, CodeBlock* block, CodeBuffer* buffer,
op.gprDiscardable = gprDiscardable;
op.fprDiscardable = fprDiscardable;
op.fprInXmm = fprInXmm;
gprInUse |= op.regsIn;
fprInUse |= op.fregsIn;
gprInUse |= op.regsIn | op.regsOut;
fprInUse |= op.fregsIn | op.GetFregsOut();
if (op.canEndBlock || op.canCauseException)
{
gprDiscardable = BitSet32{};

0 comments on commit 7a3c719

Please sign in to comment.