/glibc-2.36/math/ |
D | test-fenv.c | 479 int excepts; in feenable_test() local 491 excepts = fegetexcept (); in feenable_test() 492 if (excepts != 0) in feenable_test() 495 flag_name, excepts); in feenable_test() 498 excepts = feenableexcept (fe_exc); in feenable_test() 499 if (!EXCEPTION_ENABLE_SUPPORTED (fe_exc) && excepts == -1) in feenable_test() 504 if (excepts == -1) in feenable_test() 510 if (excepts != 0) in feenable_test() 513 flag_name, excepts); in feenable_test() 517 excepts = fegetexcept (); in feenable_test() [all …]
|
/glibc-2.36/sysdeps/csky/fpu/ |
D | fraiseexcpt.c | 26 __feraiseexcept (int excepts) in __feraiseexcept() argument 36 if (FE_INVALID & excepts) in __feraiseexcept() 44 if (FE_DIVBYZERO & excepts) in __feraiseexcept() 51 if (FE_OVERFLOW & excepts) in __feraiseexcept() 57 if (FE_UNDERFLOW & excepts) in __feraiseexcept() 65 if (FE_INEXACT & excepts) in __feraiseexcept() 71 if (__FE_DENORMAL & excepts) in __feraiseexcept() 79 if (FE_INVALID & excepts) in __feraiseexcept() 88 if (FE_DIVBYZERO & excepts) in __feraiseexcept() 96 if (FE_OVERFLOW & excepts) in __feraiseexcept() [all …]
|
D | fclrexcpt.c | 24 feclearexcept (int excepts) in feclearexcept() argument 29 excepts &= FE_ALL_EXCEPT; in feclearexcept() 35 fpsr &= ~(excepts | (excepts << CAUSE_SHIFT)); in feclearexcept()
|
/glibc-2.36/sysdeps/sh/sh4/fpu/ |
D | fraiseexcpt.c | 25 __feraiseexcept (int excepts) in __feraiseexcept() argument 27 if (excepts == 0) in __feraiseexcept() 32 if (excepts & FE_INEXACT) in __feraiseexcept() 38 if (excepts & FE_UNDERFLOW) in __feraiseexcept() 44 if (excepts & FE_OVERFLOW) in __feraiseexcept() 50 if (excepts & FE_DIVBYZERO) in __feraiseexcept() 56 if (excepts & FE_INVALID) in __feraiseexcept() 66 cw |= (excepts & FE_ALL_EXCEPT); in __feraiseexcept()
|
/glibc-2.36/sysdeps/arm/ |
D | fraiseexcpt.c | 26 __feraiseexcept (int excepts) in __feraiseexcept() argument 30 return (excepts != 0); in __feraiseexcept() 52 if (FE_INVALID & excepts) in __feraiseexcept() 61 if (FE_DIVBYZERO & excepts) in __feraiseexcept() 71 if (FE_OVERFLOW & excepts) in __feraiseexcept() 82 if (FE_UNDERFLOW & excepts) in __feraiseexcept() 92 if (FE_INEXACT & excepts) in __feraiseexcept()
|
D | feupdateenv.c | 28 int excepts; in __feupdateenv() local 35 excepts = fpscr & FE_ALL_EXCEPT; in __feupdateenv() 40 new_fpscr = envp->__cw | excepts; in __feupdateenv() 47 if (excepts & (new_fpscr >> FE_EXCEPT_SHIFT)) in __feupdateenv() 48 return __feraiseexcept (excepts); in __feupdateenv() 70 if (excepts & (new_fpscr >> FE_EXCEPT_SHIFT)) in __feupdateenv() 71 return __feraiseexcept (excepts); in __feupdateenv()
|
D | fsetexcptflg.c | 25 fesetexceptflag (const fexcept_t *flagp, int excepts) in fesetexceptflag() argument 31 return (excepts != 0); in fesetexceptflag() 34 excepts &= FE_ALL_EXCEPT; in fesetexceptflag() 37 new_fpscr = fpscr & ~excepts; in fesetexceptflag() 38 new_fpscr |= *flagp & excepts; in fesetexceptflag()
|
/glibc-2.36/sysdeps/aarch64/fpu/ |
D | feupdateenv.c | 30 int excepts; in __feupdateenv() local 34 excepts = fpsr & FE_ALL_EXCEPT; in __feupdateenv() 39 fpsr_new = envp->__fpsr | excepts; in __feupdateenv() 47 if (excepts & (fpcr_new >> FE_EXCEPT_SHIFT)) in __feupdateenv() 48 return __feraiseexcept (excepts); in __feupdateenv() 82 if (excepts & (fpcr_new >> FE_EXCEPT_SHIFT)) in __feupdateenv() 83 return __feraiseexcept (excepts); in __feupdateenv()
|
D | fraiseexcpt.c | 24 __feraiseexcept (int excepts) in __feraiseexcept() argument 44 if (FE_INVALID & excepts) in __feraiseexcept() 52 if (FE_DIVBYZERO & excepts) in __feraiseexcept() 61 if (FE_OVERFLOW & excepts) in __feraiseexcept() 71 if (FE_UNDERFLOW & excepts) in __feraiseexcept() 80 if (FE_INEXACT & excepts) in __feraiseexcept()
|
/glibc-2.36/sysdeps/powerpc/fpu/ |
D | fedisblxcpt.c | 22 fedisableexcept (int excepts) in fedisableexcept() argument 31 if ((excepts & FE_ALL_INVALID) == FE_ALL_INVALID) in fedisableexcept() 32 excepts = (excepts | FE_INVALID) & ~ FE_ALL_INVALID; in fedisableexcept() 34 new = fenv_exceptions_to_reg (excepts); in fedisableexcept() 36 if (fenv_reg_to_exceptions (new) != excepts) in fedisableexcept()
|
D | feenablxcpt.c | 22 feenableexcept (int excepts) in feenableexcept() argument 31 if ((excepts & FE_ALL_INVALID) == FE_ALL_INVALID) in feenableexcept() 32 excepts = (excepts | FE_INVALID) & ~ FE_ALL_INVALID; in feenableexcept() 34 new = fenv_exceptions_to_reg (excepts); in feenableexcept() 36 if (fenv_reg_to_exceptions (new) != excepts) in feenableexcept()
|
/glibc-2.36/sysdeps/hppa/fpu/ |
D | fraiseexcpt.c | 27 __feraiseexcept (int excepts) in __feraiseexcept() argument 42 if (excepts & FE_INVALID) in __feraiseexcept() 54 if (excepts & FE_DIVBYZERO) in __feraiseexcept() 65 if (excepts & FE_OVERFLOW) in __feraiseexcept() 75 if (excepts & FE_UNDERFLOW) in __feraiseexcept() 86 if (excepts & FE_INEXACT) in __feraiseexcept()
|
/glibc-2.36/sysdeps/loongarch/fpu/ |
D | fraiseexcpt.c | 24 __feraiseexcept (int excepts) in __feraiseexcept() argument 40 if (FE_INVALID & excepts) in __feraiseexcept() 47 if (FE_DIVBYZERO & excepts) in __feraiseexcept() 54 if (FE_OVERFLOW & excepts) in __feraiseexcept() 62 if (FE_UNDERFLOW & excepts) in __feraiseexcept() 69 if (FE_INEXACT & excepts) in __feraiseexcept()
|
D | fclrexcpt.c | 24 feclearexcept (int excepts) in feclearexcept() argument 29 excepts &= FE_ALL_EXCEPT; in feclearexcept() 38 cw &= ~(excepts | (excepts << CAUSE_SHIFT)); in feclearexcept()
|
D | fsetexcptflg.c | 23 fesetexceptflag (const fexcept_t *flagp, int excepts) in fesetexceptflag() argument 31 excepts &= FE_ALL_EXCEPT; in fesetexceptflag() 35 temp = (temp & ~excepts) | (*flagp & excepts); in fesetexceptflag()
|
/glibc-2.36/sysdeps/ia64/fpu/ |
D | fraiseexcpt.c | 26 __feraiseexcept (int excepts) in __feraiseexcept() argument 40 if (FE_INVALID & excepts) in __feraiseexcept() 48 if (FE_DIVBYZERO & excepts) in __feraiseexcept() 52 if (FE_OVERFLOW & excepts) in __feraiseexcept() 60 if (FE_UNDERFLOW & excepts) in __feraiseexcept() 68 if (FE_INEXACT & excepts) in __feraiseexcept()
|
/glibc-2.36/sysdeps/s390/fpu/ |
D | fenv_private.h | 85 libc_fetestexcept_s390 (int excepts) in libc_fetestexcept_s390() argument 100 return res & excepts; in libc_fetestexcept_s390() 121 int excepts; in libc_feupdateenv_test_s390() local 127 excepts = (fpc_old >> FPC_FLAGS_SHIFT) & FE_ALL_EXCEPT; in libc_feupdateenv_test_s390() 132 excepts |= (fpc_old >> FPC_DXC_SHIFT) & FE_ALL_EXCEPT; in libc_feupdateenv_test_s390() 136 fpc_new |= excepts << FPC_FLAGS_SHIFT; in libc_feupdateenv_test_s390() 143 if (__glibc_unlikely ((fpc_new >> FPC_EXCEPTION_MASK_SHIFT) & excepts)) in libc_feupdateenv_test_s390() 144 __feraiseexcept (excepts); in libc_feupdateenv_test_s390() 146 return excepts & ex; in libc_feupdateenv_test_s390()
|
D | fraiseexcpt.c | 55 __feraiseexcept (int excepts) in __feraiseexcept() argument 63 if (FE_INVALID & excepts) in __feraiseexcept() 67 if (FE_DIVBYZERO & excepts) in __feraiseexcept() 71 if (FE_OVERFLOW & excepts) in __feraiseexcept() 84 if (FE_UNDERFLOW & excepts) in __feraiseexcept() 97 if (FE_INEXACT & excepts) in __feraiseexcept()
|
/glibc-2.36/sysdeps/m68k/m680x0/fpu/ |
D | fraiseexcpt.c | 24 __feraiseexcept (int excepts) in __feraiseexcept() argument 33 if (excepts & FE_INVALID) in __feraiseexcept() 41 if (excepts & FE_DIVBYZERO) in __feraiseexcept() 48 if (excepts & FE_OVERFLOW) in __feraiseexcept() 56 if (excepts & FE_UNDERFLOW) in __feraiseexcept() 64 if (excepts & FE_INEXACT) in __feraiseexcept()
|
/glibc-2.36/sysdeps/x86_64/fpu/ |
D | fraiseexcpt.c | 23 __feraiseexcept (int excepts) in __feraiseexcept() argument 31 if ((FE_INVALID & excepts) != 0) in __feraiseexcept() 41 if ((FE_DIVBYZERO & excepts) != 0) in __feraiseexcept() 51 if ((FE_OVERFLOW & excepts) != 0) in __feraiseexcept() 73 if ((FE_UNDERFLOW & excepts) != 0) in __feraiseexcept() 95 if ((FE_INEXACT & excepts) != 0) in __feraiseexcept()
|
D | fsetexcptflg.c | 23 fesetexceptflag (const fexcept_t *flagp, int excepts) in fesetexceptflag() argument 35 temp.__status_word &= ~(excepts & FE_ALL_EXCEPT); in fesetexceptflag() 36 temp.__status_word |= *flagp & excepts & FE_ALL_EXCEPT; in fesetexceptflag() 46 mxcsr &= ~(excepts & FE_ALL_EXCEPT); in fesetexceptflag() 47 mxcsr |= *flagp & excepts & FE_ALL_EXCEPT; in fesetexceptflag()
|
/glibc-2.36/sysdeps/i386/fpu/ |
D | fraiseexcpt.c | 23 __feraiseexcept (int excepts) in __feraiseexcept() argument 31 if ((FE_INVALID & excepts) != 0) in __feraiseexcept() 40 if ((FE_DIVBYZERO & excepts) != 0) in __feraiseexcept() 49 if ((FE_OVERFLOW & excepts) != 0) in __feraiseexcept() 70 if ((FE_UNDERFLOW & excepts) != 0) in __feraiseexcept() 91 if ((FE_INEXACT & excepts) != 0) in __feraiseexcept()
|
D | fsetexcptflg.c | 26 __fesetexceptflag (const fexcept_t *flagp, int excepts) in __fesetexceptflag() argument 34 temp.__status_word &= ~(excepts & FE_ALL_EXCEPT); in __fesetexceptflag() 35 temp.__status_word |= *flagp & excepts & FE_ALL_EXCEPT; in __fesetexceptflag() 51 xnew_exc &= ~(excepts & FE_ALL_EXCEPT); in __fesetexceptflag() 52 xnew_exc |= *flagp & excepts & FE_ALL_EXCEPT; in __fesetexceptflag()
|
/glibc-2.36/sysdeps/sparc/fpu/ |
D | fraiseexcpt.c | 25 __feraiseexcept (int excepts) in __feraiseexcept() argument 40 if ((FE_INVALID & excepts) != 0) in __feraiseexcept() 49 if ((FE_DIVBYZERO & excepts) != 0) in __feraiseexcept() 57 if ((FE_OVERFLOW & excepts) != 0) in __feraiseexcept() 65 if ((FE_UNDERFLOW & excepts) != 0) in __feraiseexcept() 73 if ((FE_INEXACT & excepts) != 0) in __feraiseexcept()
|
/glibc-2.36/sysdeps/mips/fpu/ |
D | fclrexcpt.c | 24 feclearexcept (int excepts) in feclearexcept() argument 29 excepts &= FE_ALL_EXCEPT; in feclearexcept() 38 cw &= ~(excepts | (excepts << CAUSE_SHIFT)); in feclearexcept()
|