Jit64: Simplify ps_sum1

This commit is contained in:
JosJuice 2023-09-17 11:04:37 +02:00
parent cc7fadfa4b
commit a79fe768e3
1 changed files with 1 additions and 14 deletions

View File

@ -59,22 +59,9 @@ void Jit64::ps_sum(UGeckoInstruction inst)
break;
case 11: // ps_sum1: {c.ps0, a.ps0 + b.ps1}
if (Rc.IsSimpleReg())
{
if (cpu_info.bSSE4_1)
{
BLENDPD(tmp, Rc, 1);
}
else
{
MOVAPD(XMM0, Rc);
SHUFPD(XMM0, R(tmp), 2);
tmp = XMM0;
}
}
MOVSD(tmp, Rc);
else
{
MOVLPD(tmp, Rc);
}
break;
default:
PanicAlertFmt("ps_sum WTF!!!");