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