diff options
author | riperiperi <rhy3756547@hotmail.com> | 2023-04-11 07:55:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-11 08:55:04 +0200 |
commit | 9ef94c8292beda825fa76e05ad2e561c6d571c95 (patch) | |
tree | e535eef49837759f9947bac48a8cbf0b91512d9e /ARMeilleure/Decoders/InstDescriptor.cs | |
parent | 915d6d044cbf8c89935f14b8c7e085ad729f0e28 (diff) |
ARMeilleure: Move TPIDR_EL0 and TPIDRRO_EL0 to NativeContext (#4661)1.1.705
* ARMeilleure: Move TPIDR_EL0 and TPIDRRO_EL0 to NativeContext
Some games access these system registers several tens of thousands of times in a second from many different threads. While this isn't really crippling, it is a lot of wasted time spent in a reverse pinvoke transition.
Example games are Pokemon Scarlet/Violet and BOTW. These games have a lot of different potential bottlenecks so it's unlikely you will see a consistent improvement, but it definitely disappears from the cpu profile.
* Remove unreachable code.
* Add ulong conversion for offsets
* Nit
Diffstat (limited to 'ARMeilleure/Decoders/InstDescriptor.cs')
0 files changed, 0 insertions, 0 deletions