Merge pull request #2805 from Tilka/fres_dup

Jit64: duplicate fres result into ps1
This commit is contained in:
Markus Wick 2015-08-08 18:37:38 +02:00
commit 93e8ba8824
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();