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.
This commit is contained in:
Fiora 2014-09-17 10:27:33 -07:00
parent 978a855d3f
commit 2a0b06f08c
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ void Jit64::lfXXX(UGeckoInstruction inst)
int a = inst.RA; int a = inst.RA;
int b = inst.RB; int b = inst.RB;
FALLBACK_IF((!indexed && !a) || (update && a == d)); FALLBACK_IF(!indexed && !a);
gpr.BindToRegister(a, true, update); gpr.BindToRegister(a, true, update);
@ -102,7 +102,7 @@ void Jit64::stfXXX(UGeckoInstruction inst)
int a = inst.RA; int a = inst.RA;
int b = inst.RB; 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 offset = 0;
s32 imm = (s16)inst.SIMM_16; s32 imm = (s16)inst.SIMM_16;