mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
Jit64: duplicate fres result into ps1
And since frD is completely overwritten now, avoid loading it at all.
This commit is contained in:
@ -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();
|
||||||
|
Reference in New Issue
Block a user