mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 22:00:16 +02:00
Part of waitpkg is the TPAUSE instruction. This instruction gives an RDTSC deadline to go in to a low power sleep mode with the CPU. Semantically we can't implement umonitor and umwait with ARM's exclusive monitor implementation, but a nop implementation is sane. Just need to make sure to clear the pre-req flags. This lowers power consumption of UE5 games since their job handler now goes to a tpause based implementation instead of a `pause` spinloop implementation.