Searched refs:FE_ALL_EXCEPT (Results 1 – 14 of 14) sorted by relevance
33 #define FCSR_ENABLE_MASK (FE_ALL_EXCEPT << FCSR_ENABLE_SHIFT)63 __excepts &= FE_ALL_EXCEPT; in feclearexcept()72 *__flagp = __fcsr & __excepts & FE_ALL_EXCEPT; in fegetexceptflag()80 __excepts &= FE_ALL_EXCEPT; in fesetexceptflag()91 __excepts &= FE_ALL_EXCEPT; in feraiseexcept()101 return (__FCSR & __excepts & FE_ALL_EXCEPT); in fetestexcept()123 __env &= ~(FE_ALL_EXCEPT | FCSR_ENABLE_MASK); in feholdexcept()132 feraiseexcept(__fcsr & FE_ALL_EXCEPT); in feupdateenv()139 __new_fcsr = __old_fcsr | (__mask & FE_ALL_EXCEPT) << FCSR_ENABLE_SHIFT; in feenableexcept()141 return ((__old_fcsr >> FCSR_ENABLE_SHIFT) & FE_ALL_EXCEPT); in feenableexcept()[all …]
40 #define FCSR_ENABLE_MASK (FE_ALL_EXCEPT << FCSR_ENABLE_SHIFT)64 __excepts &= FE_ALL_EXCEPT; in feclearexcept()73 *__flagp = __fcsr & __excepts & FE_ALL_EXCEPT; in fegetexceptflag()81 __excepts &= FE_ALL_EXCEPT; in fesetexceptflag()92 __excepts &= FE_ALL_EXCEPT; in feraiseexcept()102 return (__FCSR & __excepts & FE_ALL_EXCEPT); in fetestexcept()124 __env &= ~(FE_ALL_EXCEPT | FCSR_ENABLE_MASK); in feholdexcept()133 feraiseexcept(__fcsr & FE_ALL_EXCEPT); in feupdateenv()140 __new_fcsr = __old_fcsr | (__mask & FE_ALL_EXCEPT) << FCSR_ENABLE_SHIFT; in feenableexcept()142 return ((__old_fcsr >> FCSR_ENABLE_SHIFT) & FE_ALL_EXCEPT); in feenableexcept()[all …]
39 #define FPSCR_ENABLE_MASK (FE_ALL_EXCEPT << FPSCR_ENABLE_SHIFT)111 __env &= ~(FE_ALL_EXCEPT | FPSCR_ENABLE_MASK); in feholdexcept()120 feraiseexcept(__fpscr & FE_ALL_EXCEPT); in feupdateenv()127 __new_fpscr = __old_fpscr | (__mask & FE_ALL_EXCEPT) << FPSCR_ENABLE_SHIFT; in feenableexcept()129 return ((__old_fpscr >> FPSCR_ENABLE_SHIFT) & FE_ALL_EXCEPT); in feenableexcept()135 __new_fpscr = __old_fpscr & ~((__mask & FE_ALL_EXCEPT) << FPSCR_ENABLE_SHIFT); in fedisableexcept()137 return ((__old_fpscr >> FPSCR_ENABLE_SHIFT) & FE_ALL_EXCEPT); in fedisableexcept()
33 #define FPCR_EXCEPT_MASK (FE_ALL_EXCEPT << FPCR_EXCEPT_SHIFT)77 excepts &= FE_ALL_EXCEPT; in feclearexcept()87 excepts &= FE_ALL_EXCEPT; in fegetexceptflag()96 excepts &= FE_ALL_EXCEPT; in fesetexceptflag()114 excepts &= FE_ALL_EXCEPT; in fetestexcept()151 new_fpcr = fpcr & ~(FE_ALL_EXCEPT << FPCR_EXCEPT_SHIFT); in feholdexcept()157 fpsr &= ~FE_ALL_EXCEPT; in feholdexcept()174 fpsr = envp->__status | (fpsr & FE_ALL_EXCEPT); in feupdateenv()183 new_fpcr = old_fpcr | ((mask & FE_ALL_EXCEPT) << FPCR_EXCEPT_SHIFT); in feenableexcept()187 return ((old_fpcr >> FPCR_EXCEPT_SHIFT) & FE_ALL_EXCEPT); in feenableexcept()[all …]
87 excepts &= FE_ALL_EXCEPT; in feclearexcept()117 excepts &= FE_ALL_EXCEPT; in fegetexceptflag()144 excepts &= FE_ALL_EXCEPT; in feraiseexcept()163 excepts &= FE_ALL_EXCEPT; in fesetexceptflag()195 excepts &= FE_ALL_EXCEPT; in fetestexcept()307 mxcsr &= ~FE_ALL_EXCEPT; in feholdexcept()310 mxcsr |= FE_ALL_EXCEPT << SSE_MASK_SHIFT; in feholdexcept()376 mask &= FE_ALL_EXCEPT; in feenableexcept()381 omask = ~(control | (mxcsr >> SSE_MASK_SHIFT)) & FE_ALL_EXCEPT; in feenableexcept()397 mask &= FE_ALL_EXCEPT; in fedisableexcept()[all …]
32 #define FPSCR_ENABLE_MASK (FE_ALL_EXCEPT << FPSCR_ENABLE_SHIFT)106 __env &= ~(FE_ALL_EXCEPT | FPSCR_ENABLE_MASK); in feholdexcept()115 feraiseexcept(__fpscr & FE_ALL_EXCEPT); in feupdateenv()122 __new_fpscr = __old_fpscr | (__mask & FE_ALL_EXCEPT) << FPSCR_ENABLE_SHIFT; in feenableexcept()124 return ((__old_fpscr >> FPSCR_ENABLE_SHIFT) & FE_ALL_EXCEPT); in feenableexcept()130 __new_fpscr = __old_fpscr & ~((__mask & FE_ALL_EXCEPT) << FPSCR_ENABLE_SHIFT); in fedisableexcept()132 return ((__old_fpscr >> FPSCR_ENABLE_SHIFT) & FE_ALL_EXCEPT); in fedisableexcept()
145 excepts &= FE_ALL_EXCEPT; in fesetexceptflag()200 env.__status &= ~FE_ALL_EXCEPT; in feholdexcept()201 env.__control |= FE_ALL_EXCEPT; in feholdexcept()208 mxcsr &= ~FE_ALL_EXCEPT; in feholdexcept()209 mxcsr |= FE_ALL_EXCEPT << _SSE_EMASK_SHIFT; in feholdexcept()228 feraiseexcept((mxcsr | status) & FE_ALL_EXCEPT); in feupdateenv()238 mask &= FE_ALL_EXCEPT; in feenableexcept()245 omask = ~(control | mxcsr >> _SSE_EMASK_SHIFT) & FE_ALL_EXCEPT; in feenableexcept()263 mask &= FE_ALL_EXCEPT; in fedisableexcept()270 omask = ~(control | mxcsr >> _SSE_EMASK_SHIFT) & FE_ALL_EXCEPT; in fedisableexcept()[all …]
64 feclearexcept(FE_ALL_EXCEPT); in TEST()65 ASSERT_EQ(0, fetestexcept(FE_ALL_EXCEPT)); in TEST()80 ASSERT_EQ(0, fetestexcept(FE_ALL_EXCEPT)); in TEST()
803 feclearexcept(FE_ALL_EXCEPT); // rint/rintf/rintl do set the FE_INEXACT flag. in TEST()805 ASSERT_TRUE((fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT) == 0); in TEST()807 ASSERT_TRUE((fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT) != 0); in TEST()809 feclearexcept(FE_ALL_EXCEPT); // rint/rintf/rintl do set the FE_INEXACT flag. in TEST()811 ASSERT_TRUE((fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT) == 0); in TEST()813 ASSERT_TRUE((fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT) != 0); in TEST()815 feclearexcept(FE_ALL_EXCEPT); // rint/rintf/rintl do set the FE_INEXACT flag. in TEST()817 ASSERT_TRUE((fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT) == 0); in TEST()819 ASSERT_TRUE((fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT) != 0); in TEST()830 feclearexcept(FE_ALL_EXCEPT); // nearbyint/nearbyintf/nearbyintl don't set the FE_INEXACT flag. in TEST()[all …]
87 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | \ macro
52 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | FE_INVALID | \ macro
91 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | FE_INVALID | \ macro
58 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_DENORMAL | FE_INEXACT | \ macro
52 #define FE_ALL_EXCEPT (FE_INVALID | FE_DENORMAL | FE_DIVBYZERO | \ macro