fix last commit for aarch64

This commit is contained in:
RSDuck 2021-07-24 04:45:33 +02:00
parent c2152c8f74
commit c9b918d305
1 changed files with 5 additions and 2 deletions

View File

@ -827,12 +827,15 @@ void Compiler::T_Comp_PUSH_POP()
}
ARM64Reg sp = MapReg(13);
s32 offset = Comp_MemAccessBlock(13, regs, !load, !load, !load, false);
s32 offset = Comp_MemAccessBlock(13, regs, !load, !load, !load, false, false);
if (offset)
{
if (offset > 0)
ADD(sp, sp, offset);
else
SUB(sp, sp, -offset);
}
}
void Compiler::T_Comp_LDMIA_STMIA()