Searched refs:cpu_relax (Results 1 – 10 of 10) sorted by relevance
61 #define cpu_relax() asm volatile("rep; nop" ::: "memory"); macro64 #define cpu_relax() asm volatile("":::"memory") macro67 #define cpu_relax() asm volatile("yield" ::: "memory") macro
26 UV_UNUSED(static void cpu_relax(void));52 UV_UNUSED(static void cpu_relax(void)) { in UV_UNUSED()
38 while (!uv_spinlock_trylock(spinlock)) cpu_relax(); in UV_UNUSED()
103 cpu_relax(); in uv__async_spin()
99 for (int i = 0; i < opsPerStep; i++) cpu_relax(); in generateLoad()
52 #define cpu_relax() asm volatile("rep ; nop" ::: "memory") macro54 #define cpu_relax() mb() macro529 cpu_relax(); in waitfor()
460 * unix: implement cpu_relax() on ppc64 (Ben Noordhuis)862 * unix: implement cpu_relax() for arm (David Carlier)