From 3ae466a33c173400474fab0648e842f235b51756 Mon Sep 17 00:00:00 2001 From: degasus Date: Wed, 16 Sep 2015 08:09:51 +0200 Subject: [PATCH] JitArm64: Fix lmw + stmw --- Source/Core/Core/PowerPC/JitArm64/JitArm64_LoadStore.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Core/Core/PowerPC/JitArm64/JitArm64_LoadStore.cpp b/Source/Core/Core/PowerPC/JitArm64/JitArm64_LoadStore.cpp index 70d0a89ba5..e4cd492af6 100644 --- a/Source/Core/Core/PowerPC/JitArm64/JitArm64_LoadStore.cpp +++ b/Source/Core/Core/PowerPC/JitArm64/JitArm64_LoadStore.cpp @@ -579,13 +579,13 @@ void JitArm64::lmw(UGeckoInstruction inst) u16 remaining = off >> 12; if (add) { - ADD(WA, WA, remaining, true); ADD(WA, gpr.R(a), off & 0xFFF); + ADD(WA, WA, remaining, true); } else { - SUB(WA, WA, remaining, true); SUB(WA, gpr.R(a), off & 0xFFF); + SUB(WA, WA, remaining, true); } } } @@ -667,13 +667,13 @@ void JitArm64::stmw(UGeckoInstruction inst) u16 remaining = off >> 12; if (add) { - ADD(WA, WA, remaining, true); ADD(WA, gpr.R(a), off & 0xFFF); + ADD(WA, WA, remaining, true); } else { - SUB(WA, WA, remaining, true); SUB(WA, gpr.R(a), off & 0xFFF); + SUB(WA, WA, remaining, true); } } }