compile UMULLs and some fixes

This commit is contained in:
RSDuck
2020-04-25 14:42:37 +02:00
parent 3787bab1f6
commit 68d552074b
4 changed files with 30 additions and 12 deletions

View File

@ -423,7 +423,8 @@ void Compiler::Comp_MemAccess(int rd, int rn, const ComplexOperand& op2, int siz
if (flags & memop_SubtractOffset)
{
MOV(32, R(finalAddr), rnMapped);
if (R(finalAddr) != rnMapped)
MOV(32, R(finalAddr), rnMapped);
if (!offset.IsZero())
SUB(32, R(finalAddr), offset);
}