]> git.sesse.net Git - pistorm/commit
move address translation cache fields from global variables to the m68k struct, as
authorRune Holm <rune.holm@gmail.com>
Fri, 18 Jun 2021 19:19:41 +0000 (20:19 +0100)
committerRune Holm <rune.holm@gmail.com>
Fri, 18 Jun 2021 21:01:22 +0000 (22:01 +0100)
commita2b0521dbdd754e129639bc210003cde57775cf5
tree99e2a7fad5e18e26108c4399978467868344bb09
parentb91e0e809dc3f63691adf6b4e94afde93100bd0b
move address translation cache fields from global variables to the m68k struct, as
this way we can pass around one pointer and access them all in the future.
This happens to win 5-10% performance, because now the code generator can generate a single
global variable pointer to get to all of the translation cache/range fields at once.
emulator.c
m68kcpu.c
m68kcpu.h