mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-08 18:40:44 +00:00
Should be at least a bit better than the previous LRU approach. Currently has two basic components: whether a register is dirty (dirty registers need to be stored, so clobbering them hurts more) and how many other registers will be used between now and the next time a register gets used. Also don't pre-load values that don't need to be in registers.