diff --git a/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp b/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp index 8cb252b506..bc7190eaba 100644 --- a/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp +++ b/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp @@ -8827,6 +8827,11 @@ spu_program spu_recompiler_base::analyse(const be_t* ls, u32 entry_point, s { stats.single++; + if (true) + { + continue; + } + add_pattern(inst_attr::reduced_loop, loop_pc - result.entry_point, 0, std::make_shared(pattern)); std::string regs = "{"; diff --git a/rpcs3/Emu/Cell/SPULLVMRecompiler.cpp b/rpcs3/Emu/Cell/SPULLVMRecompiler.cpp index e99862d9d3..ff42893889 100644 --- a/rpcs3/Emu/Cell/SPULLVMRecompiler.cpp +++ b/rpcs3/Emu/Cell/SPULLVMRecompiler.cpp @@ -9343,7 +9343,7 @@ public: const auto a = get_vr(op.ra); - if (auto [ok, x, y] = match_expr(a, match() + match()); ok) + if (auto [ok, x, y] = match_expr(a, match() + match()); ok && false) { for (auto pair : std::initializer_list, llvm_match_t>>{{x, y}, {y, x}}) { @@ -9376,7 +9376,7 @@ public: { for (auto pair : std::initializer_list, llvm_match_t>>{{x, y}, {y, x}}) { - if (auto [ok, data] = get_const_vector(pair.first.value, m_pos); ok) + if (auto [ok, data] = get_const_vector(pair.first.value, m_pos); ok && false) { // "sign extend" offset addend const u64 addend = (data._u32[3] >= SPU_LS_SIZE) ? data._u32[3] | ~u64{SPU_LS_SIZE - 1} : data._u32[3];