mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[INTRIN]
- add __nop() svn path=/trunk/; revision=53494
This commit is contained in:
parent
4ce3a2325c
commit
79517b3d28
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue