Author: tkreuzer
Date: Mon Feb 9 14:28:24 2009
New Revision: 39516
URL:
http://svn.reactos.org/svn/reactos?rev=39516&view=rev
Log:
implement _mm_pause
Modified:
trunk/reactos/include/crt/mingw32/intrin_x86.h
Modified: trunk/reactos/include/crt/mingw32/intrin_x86.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/crt/mingw32/intrin…
==============================================================================
--- trunk/reactos/include/crt/mingw32/intrin_x86.h [iso-8859-1] (original)
+++ trunk/reactos/include/crt/mingw32/intrin_x86.h [iso-8859-1] Mon Feb 9 14:28:24 2009
@@ -1296,6 +1296,11 @@
__asm__ __volatile__("sidt %0" : : "m"(*(short*)Destination) :
"memory");
}
+static __inline__ __attribute__((always_inline)) void _mm_pause(void)
+{
+ __asm__ __volatile__("pause");
+}
+
#ifdef __cplusplus
}
#endif