mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
JitArm64: Add rlwinmx case for only shifting
Small optimization.
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user