no_std_compat::arch::x86

Function _mm_pause

1.27.0 · Source
pub unsafe fn _mm_pause()
Available on x86 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