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
commit e6c85bf8f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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