[Android] Add another case in CArmRecompilerOps::BLTZ_Compare

This commit is contained in:
zilmar 2016-11-25 17:35:56 +11:00
parent 10ae0da041
commit ac91bd8ce1
1 changed files with 2 additions and 6 deletions

View File

@ -1567,13 +1567,9 @@ void CArmRecompilerOps::BLTZ_Compare()
} }
else if (IsMapped(m_Opcode.rs)) else if (IsMapped(m_Opcode.rs))
{ {
if (Is64Bit(m_Opcode.rs)) if (Is64Bit(m_Opcode.rs) || IsSigned(m_Opcode.rs))
{ {
g_Notify->BreakPoint(__FILE__, __LINE__); CompareArmRegToConst(Is64Bit(m_Opcode.rs) ? GetMipsRegMapHi(m_Opcode.rs) : GetMipsRegMapLo(m_Opcode.rs), (uint32_t)0);
}
else if (IsSigned(m_Opcode.rs))
{
CompareArmRegToConst(GetMipsRegMapLo(m_Opcode.rs), (uint32_t)0);
if (m_Section->m_Jump.FallThrough) if (m_Section->m_Jump.FallThrough)
{ {
BranchLabel20(ArmBranch_GreaterThanOrEqual, m_Section->m_Cont.BranchLabel.c_str()); BranchLabel20(ArmBranch_GreaterThanOrEqual, m_Section->m_Cont.BranchLabel.c_str());