Currently hint::spin_loop is implemented with the pause instruction on all x86 / x86_64 targets, but this instruction is only available on CPUs with SSE2. The behavior of pause on CPUs without SSE2 is undefined.
This hint should not be implemented with inline assembly, but should call the appropriate core::arch intrinsics instead. Those explicitly state which features are required for each operation on each target.
Currently
hint::spin_loopis implemented with thepauseinstruction on all x86 / x86_64 targets, but this instruction is only available on CPUs with SSE2. The behavior ofpauseon CPUs without SSE2 is undefined.This hint should not be implemented with inline assembly, but should call the appropriate
core::archintrinsics instead. Those explicitly state which features are required for each operation on each target.