JitArm64: Add rlwinmx case for only shifting
Small optimization.
This commit is contained in:
1 parent
f87a4f0385
commit
b5a95b7804
1 file changed
+4
@@ -784,6 +784,10 @@ void JitArm64::rlwinmx(UGeckoInstruction inst)
|
||||
// Immediate mask
|
||||
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)
|
||||
{
|
||||
// Bit select of the upper part
|
||||
|
||||
Reference in new issue
Block a user