Searched refs:cpu_relax (Results 1 – 13 of 13) sorted by relevance
32 # define cpu_relax() YieldProcessor(); macro46 # define cpu_relax() asm volatile ("yield" ::: "memory");48 # define cpu_relax() asm volatile ("nop" ::: "memory");51 # define cpu_relax() asm volatile ("pause" ::: "memory");62 # define cpu_relax() asm volatile ("or 27,27,27" ::: "memory");65 # define cpu_relax() YieldProcessor();67 # define cpu_relax() asm volatile ("pause" ::: "memory");70 # define cpu_relax() { \
65 cpu_relax(); in lock()96 cpu_relax(); in lock()
63 cpu_relax(); in lock()94 cpu_relax(); in lock()
71 cpu_relax(); in lock()103 cpu_relax(); in lock()
62 cpu_relax(); in lock()76 cpu_relax(); in lock()
69 cpu_relax(); in lock()100 cpu_relax(); in lock()
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));53 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()
332 * unix: implement cpu_relax() on ppc64 (Ben Noordhuis)734 * unix: implement cpu_relax() for arm (David Carlier)