Author: tkreuzer
Date: Mon Aug 29 23:10:04 2011
New Revision: 53494
URL:
http://svn.reactos.org/svn/reactos?rev=53494&view=rev
Log:
[INTRIN]
- add __nop()
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 Aug 29 23:10:04 2011
@@ -1505,11 +1505,18 @@
__asm__ __volatile__("sidt %0" : : "m"(*(short*)Destination) :
"memory");
}
+/*** Misc operations ***/
+
__INTRIN_INLINE void _mm_pause(void)
{
__asm__ __volatile__("pause" : : : "memory");
}
+__INTRIN_INLINE void __nop(void)
+{
+ __asm__ __volatile__("nop");
+}
+
#ifdef __cplusplus
}
#endif