| 1 | /** |
| 2 | * This file has no copyright assigned and is placed in the Public Domain. |
| 3 | * This file is part of the mingw-w64 runtime package. |
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 5 | */ |
| 6 | |
| 7 | void _fpreset (void); |
| 8 | |
| 9 | void _fpreset (void) |
| 10 | { |
| 11 | #ifdef __GNUC__ |
| 12 | __asm__ ("fninit"); |
| 13 | #else /* msvc: */ |
| 14 | __asm fninit; |
| 15 | #endif |
| 16 | } |
| 17 | |
| 18 | #ifdef __GNUC__ |
| 19 | void __attribute__ ((alias ("_fpreset"))) fpreset(void); |
| 20 | #else |
| 21 | void fpreset(void) { |
| 22 | _fpreset(); |
| 23 | } |
| 24 | #endif |