mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 13:36:24 +02:00
armjit: Skip an AND for rotate shifts.
This commit is contained in:
1 parent
bed9c82d0a
commit
ab2dd54ade
1 file changed
+3
-1
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user