Set default SPE FP environment

This commit is contained in:
Justin Hibbits 2021-05-29 21:53:35 -05:00
parent 66b2b71df8
commit 2b9a828c99

View File

@ -39,7 +39,11 @@
#error "This file must be compiled with C99 'inline' semantics"
#endif
#ifdef __SPE__
const fenv_t __fe_dfl_env = SPEFSCR_DFLT;
#else
const fenv_t __fe_dfl_env = 0x00000000;
#endif
extern inline int feclearexcept(int __excepts);
extern inline int fegetexceptflag(fexcept_t *__flagp, int __excepts);