Jit64: duplicate fres result into ps1
And since frD is completely overwritten now, avoid loading it at all.
This commit is contained in:
parent
14a0b01854
commit
145494144c
|
@ -650,10 +650,10 @@ void Jit64::fresx(UGeckoInstruction inst)
|
||||||
|
|
||||||
gpr.FlushLockX(RSCRATCH_EXTRA);
|
gpr.FlushLockX(RSCRATCH_EXTRA);
|
||||||
fpr.Lock(b, d);
|
fpr.Lock(b, d);
|
||||||
fpr.BindToRegister(d);
|
|
||||||
MOVAPD(XMM0, fpr.R(b));
|
MOVAPD(XMM0, fpr.R(b));
|
||||||
|
fpr.BindToRegister(d, false);
|
||||||
CALL(asm_routines.fres);
|
CALL(asm_routines.fres);
|
||||||
MOVSD(fpr.R(d), XMM0);
|
MOVDDUP(fpr.RX(d), R(XMM0));
|
||||||
SetFPRFIfNeeded(fpr.RX(d));
|
SetFPRFIfNeeded(fpr.RX(d));
|
||||||
fpr.UnlockAll();
|
fpr.UnlockAll();
|
||||||
gpr.UnlockAllX();
|
gpr.UnlockAllX();
|
||||||
|
|
Loading…
Reference in New Issue