mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 22:56:52 +01:00
Jit64: add packed optimization to frsp
This commit is contained in:
parent
6b8ab5993a
commit
ece0ef4ca8
@ -468,11 +468,12 @@ void Jit64::frspx(UGeckoInstruction inst)
|
||||
JITDISABLE(bJITFloatingPointOff);
|
||||
int b = inst.FB;
|
||||
int d = inst.FD;
|
||||
bool packed = jit->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, false, true);
|
||||
ForceSinglePrecision(fpr.RX(d), src, packed, true);
|
||||
SetFPRFIfNeeded(fpr.RX(d));
|
||||
fpr.UnlockAll();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user