Merge pull request #12428 from JosJuice/jitarm64-rlwinmx-shift-only

JitArm64: Add rlwinmx case for only shifting
This commit is contained in:
Mai
2023-12-17 10:45:59 -05:00
committed by GitHub

View File

@ -784,6 +784,10 @@ void JitArm64::rlwinmx(UGeckoInstruction inst)
// Immediate mask
AND(gpr.R(a), gpr.R(s), LogicalImm(mask, GPRSize::B32));
}
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