From 80b6faef10015be460b463f8426aa889d65b226e Mon Sep 17 00:00:00 2001 From: Elad <18193363+elad335@users.noreply.github.com> Date: Mon, 20 Apr 2026 09:18:15 +0300 Subject: [PATCH] SPU Analyzer: Add some logging --- rpcs3/Emu/Cell/SPUCommonRecompiler.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp b/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp index 6fa68a2d4b..7c21ad7aab 100644 --- a/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp +++ b/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp @@ -3273,8 +3273,12 @@ spu_program spu_recompiler_base::analyse(const be_t* ls, u32 entry_point, s { spu_log.notice("[0x%x] At 0x%x: ignoring indirect branch (SYNC)", entry_point, pos); } + else if (!sl && op.e && !sync) + { + spu_log.warning("[0x%x] At 0x%x: Undetected interrupt branch target (ra=%d)", entry_point, pos, op.ra); + } - if (!(af & vf::is_const)) + if (!(af & vf::is_const) || op.e) { // Possible unknown target m_targets[pos].emplace_back(SPU_LS_SIZE);