From e94928318e4ea0909df4956b4bc8f4d47740c717 Mon Sep 17 00:00:00 2001 From: Elad Ashkenazi <18193363+elad335@users.noreply.github.com> Date: Thu, 23 May 2024 18:46:37 +0300 Subject: [PATCH] SPU LLVM: Disable PUTLLC16 optimization on accurate RSX reservations --- rpcs3/Emu/Cell/SPUCommonRecompiler.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp b/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp index b53cf59932..e0ac814f06 100644 --- a/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp +++ b/rpcs3/Emu/Cell/SPUCommonRecompiler.cpp @@ -6698,6 +6698,12 @@ spu_program spu_recompiler_base::analyse(const be_t* ls, u32 entry_point, s continue; } + if (g_cfg.core.rsx_accurate_res_access) + { + // For now it is skipped completely in this case + continue; + } + union putllc16_info { u32 data;