mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 06:51:17 +01:00
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:
parent
7dddc39068
commit
a5a40de3cc
@ -1166,14 +1166,14 @@ bool Jit64::DoJit(u32 em_address, JitBlock* b, u32 nextPC)
|
|||||||
|
|
||||||
gpr.Commit();
|
gpr.Commit();
|
||||||
fpr.Commit();
|
fpr.Commit();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (opinfo->flags & FL_LOADSTORE)
|
if (opinfo->flags & FL_LOADSTORE)
|
||||||
++js.numLoadStoreInst;
|
++js.numLoadStoreInst;
|
||||||
|
|
||||||
if (opinfo->flags & FL_USE_FPU)
|
if (opinfo->flags & FL_USE_FPU)
|
||||||
++js.numFloatingPointInst;
|
++js.numFloatingPointInst;
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
js.fpr_is_store_safe = op.fprIsStoreSafeAfterInst;
|
js.fpr_is_store_safe = op.fprIsStoreSafeAfterInst;
|
||||||
|
|
||||||
|
@ -1351,14 +1351,14 @@ bool JitArm64::DoJit(u32 em_address, JitBlock* b, u32 nextPC)
|
|||||||
}
|
}
|
||||||
|
|
||||||
CompileInstruction(op);
|
CompileInstruction(op);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (opinfo->flags & FL_LOADSTORE)
|
if (opinfo->flags & FL_LOADSTORE)
|
||||||
++js.numLoadStoreInst;
|
++js.numLoadStoreInst;
|
||||||
|
|
||||||
if (opinfo->flags & FL_USE_FPU)
|
if (opinfo->flags & FL_USE_FPU)
|
||||||
++js.numFloatingPointInst;
|
++js.numFloatingPointInst;
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
js.fpr_is_store_safe = op.fprIsStoreSafeAfterInst;
|
js.fpr_is_store_safe = op.fprIsStoreSafeAfterInst;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user