mirror of
https://github.com/reactos/reactos.git
synced 2025-07-02 07:31:25 +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");
|
__asm__ __volatile__("sidt %0" : : "m"(*(short*)Destination) : "memory");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static __inline__ __attribute__((always_inline)) void _mm_pause(void)
|
||||||
|
{
|
||||||
|
__asm__ __volatile__("pause");
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue