From 28f8ab9e8a9593fb05ddc93a3022ee8c6e305292 Mon Sep 17 00:00:00 2001 From: mitaclaw <140017135+mitaclaw@users.noreply.github.com> Date: Sun, 5 May 2024 14:26:51 -0700 Subject: [PATCH] Arm64FloatEmitter: 64-Bit Assert In ABI_PushRegisters --- Source/Core/Common/Arm64Emitter.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/Common/Arm64Emitter.cpp b/Source/Core/Common/Arm64Emitter.cpp index 160402dc4c..a7dafba569 100644 --- a/Source/Core/Common/Arm64Emitter.cpp +++ b/Source/Core/Common/Arm64Emitter.cpp @@ -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 a 64-bit temporary register!"); + int num_regs = registers.Count(); m_emit->SUB(ARM64Reg::SP, ARM64Reg::SP, num_regs * 16); m_emit->ADD(tmp, ARM64Reg::SP, 0);