From 79517b3d2863f98a96138dd8856d56fe51bf0f74 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Mon, 29 Aug 2011 23:10:04 +0000 Subject: [PATCH] [INTRIN] - add __nop() svn path=/trunk/; revision=53494 --- reactos/include/crt/mingw32/intrin_x86.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/reactos/include/crt/mingw32/intrin_x86.h b/reactos/include/crt/mingw32/intrin_x86.h index 87851925b8a..5da45f83435 100644 --- a/reactos/include/crt/mingw32/intrin_x86.h +++ b/reactos/include/crt/mingw32/intrin_x86.h @@ -1505,11 +1505,18 @@ __INTRIN_INLINE void __sidt(void *Destination) __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