JitArm64: Add rlwinmx case for only shifting
Small optimization.
This commit is contained in:
parent
f87a4f0385
commit
b5a95b7804
|
@ -784,6 +784,10 @@ void JitArm64::rlwinmx(UGeckoInstruction inst)
|
||||||
// Immediate mask
|
// Immediate mask
|
||||||
AND(gpr.R(a), gpr.R(s), LogicalImm(mask, 32));
|
AND(gpr.R(a), gpr.R(s), LogicalImm(mask, 32));
|
||||||
}
|
}
|
||||||
|
else if (mask == 0xFFFFFFFF)
|
||||||
|
{
|
||||||
|
ROR(gpr.R(a), gpr.R(s), 32 - inst.SH);
|
||||||
|
}
|
||||||
else if (inst.ME == 31 && 31 < inst.SH + inst.MB)
|
else if (inst.ME == 31 && 31 < inst.SH + inst.MB)
|
||||||
{
|
{
|
||||||
// Bit select of the upper part
|
// Bit select of the upper part
|
||||||
|
|
Loading…
Reference in New Issue