From 8e87d58712e4c4434c45264573c51af20d136c2a Mon Sep 17 00:00:00 2001 From: Aron Rosenberg Date: Fri, 4 Mar 2011 14:49:50 -0800 Subject: [PATCH] Add spin-wait pause intrinsic for Windows x64 platform. Change-Id: I7504370c67a3c551627c6bb7e67c65f83d88b78e --- vpx_ports/x86.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vpx_ports/x86.h b/vpx_ports/x86.h index 190c8643a..b0130fbfe 100644 --- a/vpx_ports/x86.h +++ b/vpx_ports/x86.h @@ -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