summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/evdev
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2015-07-07 22:20:36 +1200
committerScott Mansell <phiren@gmail.com>2015-07-07 22:20:36 +1200
commit4ffeb057cc581f7139060bba9a6ebc9983fef899 (patch)
tree9b4ad6c8d71dc7eaa9047482eef961be86a43544 /Source/Core/InputCommon/ControllerInterface/evdev
parent48ac522b5cd51ceb94d1423ba2cf89d37efcb12a (diff)
Interpreter: Fix bug with icache emulation.
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.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev')
0 files changed, 0 insertions, 0 deletions