no_std_compat::arch::x86_64

Function _mm_pause

1.27.0 · Source
pub unsafe fn _mm_pause()
Available on x86-64 only.
Expand description

Provides a hint to the processor that the code sequence is a spin-wait loop.

This can help improve the performance and power consumption of spin-wait loops.

Intel’s documentation