Merge pull request #10453 from JosJuice/output-in-use
PPCAnalyst: Count outputs as being in use
This commit is contained in:
commit
7a3c719739
|
@ -946,8 +946,8 @@ u32 PPCAnalyzer::Analyze(u32 address, CodeBlock* block, CodeBuffer* buffer,
|
||||||
op.gprDiscardable = gprDiscardable;
|
op.gprDiscardable = gprDiscardable;
|
||||||
op.fprDiscardable = fprDiscardable;
|
op.fprDiscardable = fprDiscardable;
|
||||||
op.fprInXmm = fprInXmm;
|
op.fprInXmm = fprInXmm;
|
||||||
gprInUse |= op.regsIn;
|
gprInUse |= op.regsIn | op.regsOut;
|
||||||
fprInUse |= op.fregsIn;
|
fprInUse |= op.fregsIn | op.GetFregsOut();
|
||||||
if (op.canEndBlock || op.canCauseException)
|
if (op.canEndBlock || op.canCauseException)
|
||||||
{
|
{
|
||||||
gprDiscardable = BitSet32{};
|
gprDiscardable = BitSet32{};
|
||||||
|
|
Loading…
Reference in New Issue