mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 15:31:17 +01:00
4ffeb057cc
The constructor sets up way_from_valid and way_from_plur as fast lookup tables for implementing the PLRU algrothm. Then the Init function memsets them to zero, meaning the instruction cache will now always choose the first way in each set. This degrades the cache from 128 sets, 8 way to 128 sets, 1 way. Not only does fixing this bug increase accuracy, but it increases preformance too, giving a 1% speedup to interpreter.