From f70ddebb402b9b626d81bfa039db5dc16f264d07 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sun, 22 Aug 2021 22:16:02 +0200 Subject: [PATCH] JitArm64: Disable indexed paired loadstore instructions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since the merge of b24b79e, we've gotten reports that the following games are broken on JitArm64: * Sonic Heroes * The SpongeBob SquarePants Movie * Astérix & Obélix XXL * The Incredibles: Rise of the Underminer Disabling the register cache avoids the issue, so the cause of the bug might not actually have anything to do with the newly implemented instructions. Nevertheless, I don't want to ship a beta with this problem present, so I would like to disable these instructions for the time being. --- Source/Core/Core/PowerPC/JitArm64/JitArm64_Tables.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Core/Core/PowerPC/JitArm64/JitArm64_Tables.cpp b/Source/Core/Core/PowerPC/JitArm64/JitArm64_Tables.cpp index 5300a56054..4015712c96 100644 --- a/Source/Core/Core/PowerPC/JitArm64/JitArm64_Tables.cpp +++ b/Source/Core/Core/PowerPC/JitArm64/JitArm64_Tables.cpp @@ -125,10 +125,10 @@ constexpr std::array table4_2{{ }}; constexpr std::array table4_3{{ - {6, &JitArm64::psq_lXX}, // psq_lx - {7, &JitArm64::psq_stXX}, // psq_stx - {38, &JitArm64::psq_lXX}, // psq_lux - {39, &JitArm64::psq_stXX}, // psq_stux + {6, &JitArm64::FallBackToInterpreter}, // psq_lx (disabled for the time being due to bugs) + {7, &JitArm64::FallBackToInterpreter}, // psq_stx (disabled for the time being due to bugs) + {38, &JitArm64::FallBackToInterpreter}, // psq_lux (disabled for the time being due to bugs) + {39, &JitArm64::FallBackToInterpreter}, // psq_stux (disabled for the time being due to bugs) }}; constexpr std::array table19{{