Jit64: duplicate fres result into ps1

And since frD is completely overwritten now, avoid loading it at all.
This commit is contained in:
Tillmann Karras 2015-08-08 06:17:47 +02:00
parent 14a0b01854
commit 145494144c
1 changed files with 2 additions and 2 deletions

View File

@ -650,10 +650,10 @@ void Jit64::fresx(UGeckoInstruction inst)
gpr.FlushLockX(RSCRATCH_EXTRA);
fpr.Lock(b, d);
fpr.BindToRegister(d);
MOVAPD(XMM0, fpr.R(b));
fpr.BindToRegister(d, false);
CALL(asm_routines.fres);
MOVSD(fpr.R(d), XMM0);
MOVDDUP(fpr.RX(d), R(XMM0));
SetFPRFIfNeeded(fpr.RX(d));
fpr.UnlockAll();
gpr.UnlockAllX();