This commit is contained in:
Nekotekina 2015-07-02 13:54:28 +03:00
parent 32d3d1fbe5
commit 8c00dcd02d
11 changed files with 28 additions and 38 deletions

View file

@ -1605,7 +1605,7 @@ void ARMv7_instrs::CLZ(ARMv7Context& context, const ARMv7Code code, const ARMv7_
if (ConditionPassed(context, cond))
{
context.write_gpr(d, cntlz32(context.read_gpr(m)), type == T1 ? 2 : 4);
context.write_gpr(d, cntlz32(context.read_gpr(m)), 4);
}
}
@ -3475,7 +3475,7 @@ void ARMv7_instrs::POP(ARMv7Context& context, const ARMv7Code code, const ARMv7_
{
if (reg_list & (1 << i))
{
context.write_gpr(i, *stack++, type < A1 ? 2 : 4);
context.write_gpr(i, *stack++, type == T1 ? 2 : 4);
}
}
@ -5572,7 +5572,7 @@ void ARMv7_instrs::UXTB(ARMv7Context& context, const ARMv7Code code, const ARMv7
if (ConditionPassed(context, cond))
{
context.write_gpr(d, (context.read_gpr(m) >> rot) & 0xff, type < A1 ? 2 : 4);
context.write_gpr(d, (context.read_gpr(m) >> rot) & 0xff, type == T1 ? 2 : 4);
}
}