diff options
| author | Fiora <fioraaeterna@gmail.com> | 2014-09-17 10:27:33 -0700 |
|---|---|---|
| committer | Fiora <fioraaeterna@gmail.com> | 2014-09-17 10:27:33 -0700 |
| commit | 2a0b06f08cfc048a007e2950ad67edb32bd29863 (patch) | |
| tree | 1981766ad4a1c62a65a4007c9933737b06960f99 /Source/Core | |
| parent | 978a855d3f7d01c541700f09f517d1ef213a0eec (diff) | |
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.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/PowerPC/Jit64/Jit_LoadStoreFloating.cpp | 4 |
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; |
