summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2014-09-19 15:23:01 -0500
committerRyan Houdek <Sonicadvance1@gmail.com>2014-09-19 15:23:01 -0500
commit5671530026be285e25b8d2bb63e02e008dee5cb8 (patch)
tree6e0db47ce6e0a5302712cd740dc02812a96aa9ad /Source
parent5b4aa1d6d4afa03e4a97e11196a0de7db62cbea8 (diff)
parent2a0b06f08cfc048a007e2950ad67edb32bd29863 (diff)
Merge pull request #1101 from FioraAeterna/fixfallbacks
JIT: simpler fallback conditions for load/store float
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/PowerPC/Jit64/Jit_LoadStoreFloating.cpp4
1 files 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;