mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +00:00
Add Missing EncodeRegTo64 in JitArm64::dcbx
ARM64FloatEmitter::ABI_PushRegisters expects an XReg temporary, not a WReg.
This commit is contained in:
parent
559ea0593c
commit
45481620b8
1 changed files with 2 additions and 2 deletions
|
@ -890,7 +890,7 @@ void JitArm64::dcbx(UGeckoInstruction inst)
|
||||||
gprs_to_push[DecodeReg(loop_counter)] = false;
|
gprs_to_push[DecodeReg(loop_counter)] = false;
|
||||||
|
|
||||||
ABI_PushRegisters(gprs_to_push);
|
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
|
// For efficiency, effective_addr and loop_counter are already in W1 and W2 respectively
|
||||||
if (make_loop)
|
if (make_loop)
|
||||||
|
@ -904,7 +904,7 @@ void JitArm64::dcbx(UGeckoInstruction inst)
|
||||||
effective_addr);
|
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);
|
ABI_PopRegisters(gprs_to_push);
|
||||||
|
|
||||||
FixupBranch near_addr = B();
|
FixupBranch near_addr = B();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue