mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-25 17:00:46 +01:00
These pointers are process or thread specific depending on which pointer it is. All of these pointers end up getting used inside of the JIT blocks themselves and with code caching would result in a ton of relocations occuring inside the code. The pointers used within the dispatcher don't currently matter since I'm not expecting to cache the dispatcher itself. It's only a page per thread after all. This does move us significantly closer towards using a single dispatcher for all threads though. The performance impact of this change is unlikely to be felt at all, some locations have less code generation which could improve perf slightly. Some locations move from a 1-3 cycle constant calculation to a 4 cycle load, hard to be felt since it gets hidden by other instructions. x86-64 JIT will be added soon after this