suyu/src/common/x64
Morph 27c33ab73f x64: Add MicroSleep
MicroSleep allows the processor to pause for a "short" amount of time (in the microsecond range). This is useful for spin-waiting that does not require nanosecond precision.
This uses the new TPAUSE instruction introduced on Intel's newest processors as part of the waitpkg instructions. For CPUs that do not support waitpkg instructions, this is equivalent to yield().

Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>
2023-03-27 17:45:22 -04:00
..
cpu_detect.cpp x64: cpu_detect: Add detection of waitpkg instructions 2023-03-27 17:45:22 -04:00
cpu_detect.h x64: cpu_detect: Add detection of waitpkg instructions 2023-03-27 17:45:22 -04:00
cpu_wait.cpp x64: Add MicroSleep 2023-03-27 17:45:22 -04:00
cpu_wait.h x64: Add MicroSleep 2023-03-27 17:45:22 -04:00
native_clock.cpp native_clock: Wait for 10 seconds instead of 30 2023-03-07 21:17:46 -05:00
native_clock.h native_clock: Re-adjust the RDTSC frequency 2023-03-07 21:17:46 -05:00
xbyak_abi.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
xbyak_util.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00