Merge pull request #12540 from mitaclaw/encode-reg-to-64

Add Missing EncodeRegTo64 in JitArm64::dcbx
This commit is contained in:
Mai 2024-01-30 13:08:03 -05:00 committed by GitHub
commit e0828815e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -890,7 +890,7 @@ void JitArm64::dcbx(UGeckoInstruction inst)
gprs_to_push[DecodeReg(loop_counter)] = false;
ABI_PushRegisters(gprs_to_push);
m_float_emit.ABI_PushRegisters(fprs_to_push, WA);
m_float_emit.ABI_PushRegisters(fprs_to_push, EncodeRegTo64(WA));
// For efficiency, effective_addr and loop_counter are already in W1 and W2 respectively
if (make_loop)
@ -904,7 +904,7 @@ void JitArm64::dcbx(UGeckoInstruction inst)
effective_addr);
}
m_float_emit.ABI_PopRegisters(fprs_to_push, WA);
m_float_emit.ABI_PopRegisters(fprs_to_push, EncodeRegTo64(WA));
ABI_PopRegisters(gprs_to_push);
FixupBranch near_addr = B();