summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2022-01-01 17:39:59 +0100
committerGitHub <noreply@github.com>2022-01-01 17:39:59 +0100
commitdc7ea16705d35036617d69e874146530f8288ce8 (patch)
tree8bbaf0770ee1e1249fd10ad9b6908b704ec8be04 /Source/Core
parent8b6b96a114286f097e90c4af3ab99fe91972234a (diff)
parentb6395a7c49bac049c8f1adf78555fbd15fe196dd (diff)
Merge pull request #10284 from JosJuice/no-blr-cr
PPCAnalyst: Don't treat blr as writing to CR
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/PowerPC/PPCAnalyst.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/Core/Core/PowerPC/PPCAnalyst.cpp b/Source/Core/Core/PowerPC/PPCAnalyst.cpp
index 798baf3f70..9b70f5434e 100644
--- a/Source/Core/Core/PowerPC/PPCAnalyst.cpp
+++ b/Source/Core/Core/PowerPC/PPCAnalyst.cpp
@@ -645,13 +645,6 @@ void PPCAnalyzer::SetInstructionStats(CodeBlock* block, CodeOp* code, const Gekk
if (opinfo->flags & FL_IN_FLOAT_S)
code->fregsIn[code->inst.FS] = true;
- // For analysis purposes, we can assume that blr eats opinfo->flags.
- if (opinfo->type == OpType::Branch && code->inst.hex == 0x4e800020)
- {
- code->outputCR0 = true;
- code->outputCR1 = true;
- }
-
code->branchUsesCtr = false;
code->branchTo = UINT32_MAX;