[AArch64] Flush FPRs if they won't be used be used the rest of the block.
This commit is contained in:
parent
3fe0b5b969
commit
b1169a9773
|
@ -302,6 +302,8 @@ const u8* JitArm64::DoJit(u32 em_address, PPCAnalyst::CodeBuffer *code_buf, JitB
|
||||||
// If we have a register that will never be used again, flush it.
|
// If we have a register that will never be used again, flush it.
|
||||||
for (int j : ~ops[i].gprInUse)
|
for (int j : ~ops[i].gprInUse)
|
||||||
gpr.StoreRegister(j);
|
gpr.StoreRegister(j);
|
||||||
|
for (int j : ~ops[i].fprInUse)
|
||||||
|
fpr.StoreRegister(j);
|
||||||
|
|
||||||
if (js.memcheck && (opinfo->flags & FL_LOADSTORE))
|
if (js.memcheck && (opinfo->flags & FL_LOADSTORE))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue