Jit_FloatingPoint: frspx
This commit is contained in:
parent
cc77e2f3ef
commit
68bbd56c01
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue