[Android] Add store check to ShiftRightUnsignImmed

This commit is contained in:
zilmar 2017-05-07 08:27:27 +10:00
parent e48c54518e
commit 8bb5e6a240
1 changed files with 4 additions and 0 deletions

View File

@ -1069,6 +1069,10 @@ void CArmOps::ShiftRightSignImmed(ArmReg DestReg, ArmReg SourceReg, uint32_t shi
void CArmOps::ShiftRightUnsignImmed(ArmReg DestReg, ArmReg SourceReg, uint32_t shift) void CArmOps::ShiftRightUnsignImmed(ArmReg DestReg, ArmReg SourceReg, uint32_t shift)
{ {
if (DestReg == m_LastStoreReg)
{
ArmNop();
}
PreOpCheck(false, __FILE__, __LINE__); PreOpCheck(false, __FILE__, __LINE__);
if ((shift & (~0x1F)) != 0) if ((shift & (~0x1F)) != 0)