Jit: Don't skip incrementing numLoadStoreInst/numFloatingPointInst

This was technically wrong, but it only affected merged dcbt+dcbst,
and I doubt any games care about it.
This commit is contained in:
JosJuice 2024-05-29 22:14:25 +02:00
parent 7dddc39068
commit a5a40de3cc
2 changed files with 12 additions and 12 deletions

View File

@ -1166,14 +1166,14 @@ bool Jit64::DoJit(u32 em_address, JitBlock* b, u32 nextPC)
gpr.Commit();
fpr.Commit();
}
}
if (opinfo->flags & FL_LOADSTORE)
++js.numLoadStoreInst;
if (opinfo->flags & FL_USE_FPU)
++js.numFloatingPointInst;
}
}
js.fpr_is_store_safe = op.fprIsStoreSafeAfterInst;

View File

@ -1351,14 +1351,14 @@ bool JitArm64::DoJit(u32 em_address, JitBlock* b, u32 nextPC)
}
CompileInstruction(op);
}
}
if (opinfo->flags & FL_LOADSTORE)
++js.numLoadStoreInst;
if (opinfo->flags & FL_USE_FPU)
++js.numFloatingPointInst;
}
}
js.fpr_is_store_safe = op.fprIsStoreSafeAfterInst;