From 2a0b06f08cfc048a007e2950ad67edb32bd29863 Mon Sep 17 00:00:00 2001 From: Fiora Date: Wed, 17 Sep 2014 10:27:33 -0700 Subject: [PATCH] JIT: simpler fallback conditions for load/store float I wasn't really thinking when I wrote these; d/s are for float registers, not gprs. --- Source/Core/Core/PowerPC/Jit64/Jit_LoadStoreFloating.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/PowerPC/Jit64/Jit_LoadStoreFloating.cpp b/Source/Core/Core/PowerPC/Jit64/Jit_LoadStoreFloating.cpp index ba45154601..de5097ceb2 100644 --- a/Source/Core/Core/PowerPC/Jit64/Jit_LoadStoreFloating.cpp +++ b/Source/Core/Core/PowerPC/Jit64/Jit_LoadStoreFloating.cpp @@ -27,7 +27,7 @@ void Jit64::lfXXX(UGeckoInstruction inst) int a = inst.RA; int b = inst.RB; - FALLBACK_IF((!indexed && !a) || (update && a == d)); + FALLBACK_IF(!indexed && !a); gpr.BindToRegister(a, true, update); @@ -102,7 +102,7 @@ void Jit64::stfXXX(UGeckoInstruction inst) int a = inst.RA; int b = inst.RB; - FALLBACK_IF((!indexed && !a) || (update && (a == s || a == b))); + FALLBACK_IF((!indexed && !a) || (update && js.memcheck && a == b)); s32 offset = 0; s32 imm = (s16)inst.SIMM_16;