Jit_FloatingPoint: frspx

This commit is contained in:
MerryMage 2018-10-15 21:02:02 +01:00
parent cc77e2f3ef
commit 68bbd56c01
1 changed files with 6 additions and 6 deletions

View File

@ -641,12 +641,12 @@ void Jit64::frspx(UGeckoInstruction inst)
int d = inst.FD;
bool packed = js.op->fprIsDuplicated[b] && !cpu_info.bAtom;
fpr.Lock(b, d);
OpArg src = fpr.R(b);
fpr.BindToRegister(d, false);
ForceSinglePrecision(fpr.RX(d), src, packed, true);
SetFPRFIfNeeded(fpr.RX(d));
fpr.UnlockAll();
RCOpArg Rb = fpr.Use(b, RCMode::Read);
RCX64Reg Rd = fpr.Bind(d, RCMode::Write);
RegCache::Realize(Rb, Rd);
ForceSinglePrecision(Rd, Rb, packed, true);
SetFPRFIfNeeded(Rd);
}
void Jit64::frsqrtex(UGeckoInstruction inst)