mirror of
https://github.com/reactos/reactos.git
synced 2025-05-08 19:27:00 +00:00
implement _mm_pause
svn path=/trunk/; revision=39516
This commit is contained in:
parent
b4880fab81
commit
cae45b3c21
1 changed files with 5 additions and 0 deletions
|
@ -1296,6 +1296,11 @@ static __inline__ __attribute__((always_inline)) void __sidt(void *Destination)
|
|||
__asm__ __volatile__("sidt %0" : : "m"(*(short*)Destination) : "memory");
|
||||
}
|
||||
|
||||
static __inline__ __attribute__((always_inline)) void _mm_pause(void)
|
||||
{
|
||||
__asm__ __volatile__("pause");
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue