mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-12-14 08:59:47 +00:00
armjit: Skip an AND for rotate shifts.
This commit is contained in:
parent
bed9c82d0a
commit
ab2dd54ade
@ -488,7 +488,9 @@ namespace MIPSComp
|
||||
return;
|
||||
}
|
||||
gpr.MapDirtyInIn(rd, rs, rt);
|
||||
AND(R0, gpr.R(rs), Operand2(0x1F));
|
||||
// A rotate will be the same even if >= 32.
|
||||
if (shiftType != ST_ROR)
|
||||
AND(R0, gpr.R(rs), Operand2(0x1F));
|
||||
MOV(gpr.R(rd), Operand2(gpr.R(rt), shiftType, R0));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user