Author: tkreuzer
Date: Sun Aug 7 23:16:39 2011
New Revision: 53133
URL:
http://svn.reactos.org/svn/reactos?rev=53133&view=rev
Log:
[INTRIN]
_mm_pause has an implicit full memory barrier, emulate this on gcc as well
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] Sun Aug 7 23:16:39 2011
@@ -1497,7 +1497,7 @@
__INTRIN_INLINE void _mm_pause(void)
{
- __asm__ __volatile__("pause");
+ __asm__ __volatile__("pause" : : : "memory");
}
#ifdef __cplusplus