CPU/Recompiler: Flush caller-saved regs before calling functions

Should provide a very small performance boost.
This commit is contained in:
Connor McLaughlin
2020-08-23 14:03:08 +10:00
parent 136a9d60e9
commit 60eb22537b
4 changed files with 30 additions and 0 deletions

View File

@ -316,6 +316,7 @@ public:
void InvalidateAllNonDirtyGuestRegisters();
void FlushAllGuestRegisters(bool invalidate, bool clear_dirty);
void FlushCallerSavedGuestRegisters(bool invalidate, bool clear_dirty);
bool EvictOneGuestRegister();
/// Temporarily prevents register allocation.