mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 23:29:44 -06:00
Jit64: Simplify ps_sum1
This commit is contained in:
@ -59,22 +59,9 @@ void Jit64::ps_sum(UGeckoInstruction inst)
|
|||||||
break;
|
break;
|
||||||
case 11: // ps_sum1: {c.ps0, a.ps0 + b.ps1}
|
case 11: // ps_sum1: {c.ps0, a.ps0 + b.ps1}
|
||||||
if (Rc.IsSimpleReg())
|
if (Rc.IsSimpleReg())
|
||||||
{
|
MOVSD(tmp, Rc);
|
||||||
if (cpu_info.bSSE4_1)
|
|
||||||
{
|
|
||||||
BLENDPD(tmp, Rc, 1);
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
|
||||||
MOVAPD(XMM0, Rc);
|
|
||||||
SHUFPD(XMM0, R(tmp), 2);
|
|
||||||
tmp = XMM0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
MOVLPD(tmp, Rc);
|
MOVLPD(tmp, Rc);
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
PanicAlertFmt("ps_sum WTF!!!");
|
PanicAlertFmt("ps_sum WTF!!!");
|
||||||
|
Reference in New Issue
Block a user