mirror of
https://github.com/reactos/reactos.git
synced 2025-06-30 09:11:21 +00:00
[UCRT] Use GCC inline assembler
Clang requires the asm to be split, otherwise it complains that it doesn't have enough registers.
This commit is contained in:
parent
0cdde63c57
commit
faedd8ff75
3 changed files with 54 additions and 2 deletions
|
@ -130,7 +130,11 @@ _ACRTIMP int __cdecl fesetround(_In_ int _Round);
|
|||
// next floating point instruction. If we're using /arch:IA32,
|
||||
// force the exception to be raised immediately:
|
||||
#if defined _M_IX86 && _M_IX86_FP == 0 && !defined _M_HYBRID_X86_ARM64
|
||||
#ifdef _MSC_VER
|
||||
__asm fwait;
|
||||
#else
|
||||
__asm__ __volatile__("fwait");
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue