Ryujinx/ARMeilleure/Translation/PTC
riperiperi 9ef94c8292
ARMeilleure: Move TPIDR_EL0 and TPIDRRO_EL0 to NativeContext (#4661)
* 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
2023-04-11 08:55:04 +02:00
..
EncodingCache.cs
IPtcLoadState.cs Make PPTC state non-static (#4157) 2023-01-05 00:01:44 +01:00
Ptc.cs ARMeilleure: Move TPIDR_EL0 and TPIDRRO_EL0 to NativeContext (#4661) 2023-04-11 08:55:04 +02:00
PtcFormatter.cs
PtcLoadingState.cs
PtcProfiler.cs Reducing memory allocations (#4537) 2023-03-17 13:14:50 +01:00
PtcState.cs