Revert "armjit: Skip an AND for rotate shifts."

This reverts commit ab2dd54ade.

Even though the docs say it's safe but apparently not always.
This commit is contained in:
Unknown W. Brackets 2014-03-22 15:54:48 -07:00
parent 63aeb31e07
commit b53143bb33

View file

@ -488,9 +488,7 @@ namespace MIPSComp
return;
}
gpr.MapDirtyInIn(rd, rs, rt);
// A rotate will be the same even if >= 32.
if (shiftType != ST_ROR)
AND(R0, gpr.R(rs), Operand2(0x1F));
AND(R0, gpr.R(rs), Operand2(0x1F));
MOV(gpr.R(rd), Operand2(gpr.R(rt), shiftType, R0));
}