Commit 05d9421e authored by Yaowu Xu's avatar Yaowu Xu Committed by Code Review
Browse files

Merge "Add spin-wait pause intrinsic for Windows x64 platform."

parents c619f6cb 8e87d587
......@@ -151,8 +151,8 @@ x86_readtsc(void)
__asm__ __volatile__ ("pause \n\t")
#else
#if ARCH_X86_64
/* No pause intrinsic for windows x64 */
#define x86_pause_hint()
#define x86_pause_hint()\
_mm_pause();
#else
#define x86_pause_hint()\
__asm pause
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment