Searched refs:FE_ALL_EXCEPT (Results 1 – 12 of 12) 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 …]
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 …]
80 excepts &= FE_ALL_EXCEPT; in feclearexcept()110 excepts &= FE_ALL_EXCEPT; in fegetexceptflag()137 excepts &= FE_ALL_EXCEPT; in feraiseexcept()156 excepts &= FE_ALL_EXCEPT; in fesetexceptflag()188 excepts &= FE_ALL_EXCEPT; in fetestexcept()300 mxcsr &= ~FE_ALL_EXCEPT; in feholdexcept()303 mxcsr |= FE_ALL_EXCEPT << SSE_MASK_SHIFT; in feholdexcept()369 mask &= FE_ALL_EXCEPT; in feenableexcept()374 omask = ~(control | (mxcsr >> SSE_MASK_SHIFT)) & FE_ALL_EXCEPT; in feenableexcept()390 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()
126 excepts &= FE_ALL_EXCEPT; in fesetexceptflag()181 env.__status &= ~FE_ALL_EXCEPT; in feholdexcept()182 env.__control |= FE_ALL_EXCEPT; in feholdexcept()189 mxcsr &= ~FE_ALL_EXCEPT; in feholdexcept()190 mxcsr |= FE_ALL_EXCEPT << _SSE_EMASK_SHIFT; in feholdexcept()209 feraiseexcept((mxcsr | status) & FE_ALL_EXCEPT); in feupdateenv()219 mask &= FE_ALL_EXCEPT; in feenableexcept()226 omask = ~(control | mxcsr >> _SSE_EMASK_SHIFT) & FE_ALL_EXCEPT; in feenableexcept()244 mask &= FE_ALL_EXCEPT; in fedisableexcept()251 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()
786 feclearexcept(FE_ALL_EXCEPT); // rint/rintf/rintl do set the FE_INEXACT flag. in TEST()788 ASSERT_TRUE((fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT) == 0); in TEST()790 ASSERT_TRUE((fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT) != 0); in TEST()792 feclearexcept(FE_ALL_EXCEPT); // rint/rintf/rintl do set the FE_INEXACT flag. in TEST()794 ASSERT_TRUE((fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT) == 0); in TEST()796 ASSERT_TRUE((fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT) != 0); in TEST()798 feclearexcept(FE_ALL_EXCEPT); // rint/rintf/rintl do set the FE_INEXACT flag. in TEST()800 ASSERT_TRUE((fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT) == 0); in TEST()802 ASSERT_TRUE((fetestexcept(FE_ALL_EXCEPT) & FE_INEXACT) != 0); in TEST()815 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
52 #define FE_ALL_EXCEPT (FE_INVALID | FE_DENORMAL | FE_DIVBYZERO | \ macro
58 #define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_DENORMAL | FE_INEXACT | \ macro