Skip to content

Commit

Permalink
Arm64FloatEmitter: XReg Assert In ABI_PushRegisters
Browse files Browse the repository at this point in the history
  • Loading branch information
mitaclaw committed May 5, 2024
1 parent 2c91367 commit 0541e47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Core/Common/Arm64Emitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3893,6 +3893,8 @@ void ARM64FloatEmitter::ABI_PushRegisters(BitSet32 registers, ARM64Reg tmp)

if (bundled_loadstore && tmp != ARM64Reg::INVALID_REG)
{
DEBUG_ASSERT_MSG(DYNA_REC, Is64Bit(tmp), "Expected an XReg temporary!");

int num_regs = registers.Count();
m_emit->SUB(ARM64Reg::SP, ARM64Reg::SP, num_regs * 16);
m_emit->ADD(tmp, ARM64Reg::SP, 0);
Expand Down

0 comments on commit 0541e47

Please sign in to comment.