123456789101112131415161718192021222324 |
- #include <fenv.h>
- int fesetexceptflag(const fexcept_t *flagp, int excepts)
- {
-
- excepts &= FE_ALL_EXCEPT;
-
- fexcept_t flags = (*flagp & excepts);
-
- __builtin_kvx_wfxl(KVX_SFR_CS, (long long)flags << 32 | FE_ALL_EXCEPT);
-
- return 0;
- }
|