diff options
| author | JosJuice <josjuice@gmail.com> | 2022-03-12 12:31:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-12 12:31:42 +0100 |
| commit | 7a3c719739ead3b470fd42e785a24fd2bace0caa (patch) | |
| tree | c2a14b3bd7799743c0394840174dbbd7c9c4951b /Source/Core | |
| parent | 9962b0bcaf8f897f6c26668e580fe59781b6ee00 (diff) | |
| parent | 20b2300ce1cc5b6bd2d8cf347ae99f77d3f32035 (diff) | |
Merge pull request #10453 from JosJuice/output-in-use
PPCAnalyst: Count outputs as being in use
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/PowerPC/PPCAnalyst.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Core/PowerPC/PPCAnalyst.cpp b/Source/Core/Core/PowerPC/PPCAnalyst.cpp index 36821dce13..be5fb04e92 100644 --- a/Source/Core/Core/PowerPC/PPCAnalyst.cpp +++ b/Source/Core/Core/PowerPC/PPCAnalyst.cpp @@ -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{}; |
