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:
parent
978a855d3f
commit
2a0b06f08c
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue