/glibc-2.36/sysdeps/csky/fpu/ |
D | fenv_private.h | 29 fpu_control_t fpsr, fpcr; in libc_feholdexcept_vfp() local 34 _FPU_GETFPSR (fpsr); in libc_feholdexcept_vfp() 35 envp->__fpsr = fpsr; in libc_feholdexcept_vfp() 41 fpsr &= ~(FE_ALL_EXCEPT << CAUSE_SHIFT); in libc_feholdexcept_vfp() 43 _FPU_SETFPSR (fpsr); in libc_feholdexcept_vfp() 63 fpu_control_t fpsr, fpcr; in libc_feholdexcept_setround_vfp() local 68 _FPU_GETFPSR (fpsr); in libc_feholdexcept_setround_vfp() 69 envp->__fpsr = fpsr; in libc_feholdexcept_setround_vfp() 73 fpsr &= ~(FE_ALL_EXCEPT << CAUSE_SHIFT); in libc_feholdexcept_setround_vfp() 74 _FPU_SETFPSR (fpsr); in libc_feholdexcept_setround_vfp() [all …]
|
D | fesetenv.c | 26 unsigned int fpsr; in __fesetenv() local 29 _FPU_GETFPSR (fpsr); in __fesetenv() 32 fpsr &= _FPU_FPSR_RESERVED; in __fesetenv() 37 fpsr |= _FPU_FPSR_DEFAULT; in __fesetenv() 42 fpsr |= _FPU_FPSR_IEEE; in __fesetenv() 47 fpsr |= envp->__fpsr & ~_FPU_FPSR_RESERVED; in __fesetenv() 50 _FPU_SETFPSR (fpsr); in __fesetenv()
|
D | fclrexcpt.c | 26 int fpsr; in feclearexcept() local 32 _FPU_GETFPSR (fpsr); in feclearexcept() 35 fpsr &= ~(excepts | (excepts << CAUSE_SHIFT)); in feclearexcept() 38 _FPU_SETFPSR (fpsr); in feclearexcept()
|
D | fesetexcept.c | 26 fpu_control_t fpsr, new_fpsr; in fesetexcept() local 27 _FPU_GETFPSR (fpsr); in fesetexcept() 28 new_fpsr = fpsr | ((excepts & FE_ALL_EXCEPT) << CAUSE_SHIFT); in fesetexcept() 29 if (new_fpsr != fpsr) in fesetexcept()
|
/glibc-2.36/sysdeps/aarch64/fpu/ |
D | fenv_private.h | 30 fpu_fpsr_t fpsr; in libc_feholdexcept_aarch64() local 34 _FPU_GETFPSR (fpsr); in libc_feholdexcept_aarch64() 36 envp->__fpsr = fpsr; in libc_feholdexcept_aarch64() 40 new_fpsr = fpsr & ~FE_ALL_EXCEPT; in libc_feholdexcept_aarch64() 45 if (new_fpsr != fpsr) in libc_feholdexcept_aarch64() 77 fpu_fpsr_t fpsr; in libc_feholdexcept_setround_aarch64() local 81 _FPU_GETFPSR (fpsr); in libc_feholdexcept_setround_aarch64() 83 envp->__fpsr = fpsr; in libc_feholdexcept_setround_aarch64() 89 new_fpsr = fpsr & ~FE_ALL_EXCEPT; in libc_feholdexcept_setround_aarch64() 94 if (new_fpsr != fpsr) in libc_feholdexcept_setround_aarch64() [all …]
|
D | fpu_control.h | 29 # define _FPU_GETFPSR(fpsr) (fpsr = __builtin_aarch64_get_fpsr ()) argument 30 # define _FPU_SETFPSR(fpsr) __builtin_aarch64_set_fpsr (fpsr) argument 38 # define _FPU_GETFPSR(fpsr) \ argument 39 __asm__ __volatile__ ("mrs %0, fpsr" : "=r" (fpsr)) 41 # define _FPU_SETFPSR(fpsr) \ argument 42 __asm__ __volatile__ ("msr fpsr, %0" : : "r" (fpsr))
|
D | fraiseexcpt.c | 26 int fpsr; in __feraiseexcept() local 48 "mrs %0, fpsr" : "=r" (fpsr) in __feraiseexcept() 57 "mrs %0, fpsr" : "=r" (fpsr) in __feraiseexcept() 67 "mrs %0, fpsr" : "=r" (fpsr) in __feraiseexcept() 76 "mrs %0, fpsr" : "=r" (fpsr) in __feraiseexcept() 85 "mrs %0, fpsr" : "=r" (fpsr) in __feraiseexcept()
|
D | feupdateenv.c | 28 fpu_fpsr_t fpsr; in __feupdateenv() local 33 _FPU_GETFPSR (fpsr); in __feupdateenv() 34 excepts = fpsr & FE_ALL_EXCEPT; in __feupdateenv() 44 if (fpsr != fpsr_new) in __feupdateenv() 54 fpsr_new = fpsr & (_FPU_FPSR_RESERVED | FE_ALL_EXCEPT); in __feupdateenv()
|
D | fesetexcept.c | 25 fpu_fpsr_t fpsr; in fesetexcept() local 28 _FPU_GETFPSR (fpsr); in fesetexcept() 29 fpsr_new = fpsr | (excepts & FE_ALL_EXCEPT); in fesetexcept() 30 if (fpsr != fpsr_new) in fesetexcept()
|
D | fclrexcpt.c | 25 fpu_fpsr_t fpsr; in feclearexcept() local 30 _FPU_GETFPSR (fpsr); in feclearexcept() 31 fpsr_new = fpsr & ~excepts; in feclearexcept() 33 if (fpsr != fpsr_new) in feclearexcept()
|
/glibc-2.36/sysdeps/ia64/fpu/ |
D | feholdexcpt.c | 24 fenv_t fpsr; in __feholdexcept() local 26 __asm__ __volatile__ ("mov.m %0=ar.fpsr" : "=r" (fpsr)); in __feholdexcept() 27 *envp = fpsr; in __feholdexcept() 30 fpsr |= FE_ALL_EXCEPT; in __feholdexcept() 33 fpsr &= ~(fenv_t) (FE_ALL_EXCEPT << 13); in __feholdexcept() 35 __asm__ __volatile__ ("mov.m ar.fpsr=%0" :: "r" (fpsr)); in __feholdexcept()
|
D | fsetexcptflg.c | 24 fenv_t fpsr; in fesetexceptflag() local 27 __asm__ __volatile__ ("mov.m %0=ar.fpsr" : "=r" (fpsr)); in fesetexceptflag() 29 fpsr &= ~(((fenv_t) excepts & FE_ALL_EXCEPT) << 13); in fesetexceptflag() 32 fpsr |= ((*flagp & excepts & FE_ALL_EXCEPT) << 13); in fesetexceptflag() 35 __asm__ __volatile__ ("mov.m ar.fpsr=%0" :: "r" (fpsr) : "memory"); in fesetexceptflag()
|
D | fesetround.c | 24 fenv_t fpsr; in __fesetround() local 30 __asm__ __volatile__ ("mov.m %0=ar.fpsr" : "=r" (fpsr)); in __fesetround() 33 fpsr = (fpsr & ~(3UL << 10)) | ((fenv_t) round << 10); in __fesetround() 36 __asm__ __volatile__ ("mov.m ar.fpsr=%0" :: "r" (fpsr) : "memory"); in __fesetround()
|
D | fesetmode.c | 36 femode_t fpsr; in fesetmode() local 37 __asm__ __volatile__ ("mov.m %0=ar.fpsr" : "=r" (fpsr)); in fesetmode() 38 fpsr = (fpsr & FPSR_STATUS_ALL) | (mode & ~FPSR_STATUS_ALL); in fesetmode() 39 __asm__ __volatile__ ("mov.m ar.fpsr=%0;;" :: "r" (fpsr)); in fesetmode()
|
D | fesetexcept.c | 24 fenv_t fpsr; in fesetexcept() local 26 __asm__ __volatile__ ("mov.m %0=ar.fpsr" : "=r" (fpsr)); in fesetexcept() 27 fpsr |= ((excepts & FE_ALL_EXCEPT) << 13); in fesetexcept() 28 __asm__ __volatile__ ("mov.m ar.fpsr=%0" :: "r" (fpsr) : "memory"); in fesetexcept()
|
D | fclrexcpt.c | 24 fenv_t fpsr; in feclearexcept() local 27 __asm__ __volatile__ ("mov.m %0=ar.fpsr" : "=r" (fpsr)); in feclearexcept() 30 fpsr &= ~(((fenv_t) ((excepts & FE_ALL_EXCEPT) << 13))); in feclearexcept() 32 __asm__ __volatile__ ("mov.m ar.fpsr=%0" :: "r" (fpsr) : "memory"); in feclearexcept()
|
/glibc-2.36/sysdeps/arc/fpu/ |
D | fsetexcptflg.c | 25 unsigned int fpsr; in fesetexceptflag() local 27 _FPU_GETS (fpsr); in fesetexceptflag() 30 fpsr &= ~excepts; in fesetexceptflag() 33 fpsr |= *flagp & excepts; in fesetexceptflag() 35 _FPU_SETS (fpsr); in fesetexceptflag()
|
D | feholdexcpt.c | 26 unsigned int fpsr; in __feholdexcept() local 29 _FPU_GETS (fpsr); in __feholdexcept() 32 envp->__fpsr = fpsr; in __feholdexcept() 34 fpsr &= ~FE_ALL_EXCEPT; in __feholdexcept() 37 _FPU_SETS (fpsr); in __feholdexcept()
|
D | fesetexcept.c | 25 unsigned int fpsr; in fesetexcept() local 27 _FPU_GETS (fpsr); in fesetexcept() 28 fpsr |= excepts; in fesetexcept() 29 _FPU_SETS (fpsr); in fesetexcept()
|
D | fclrexcpt.c | 25 unsigned int fpsr; in feclearexcept() local 27 _FPU_GETS (fpsr); in feclearexcept() 30 fpsr &= ~excepts; in feclearexcept() 32 _FPU_SETS (fpsr); in feclearexcept()
|
D | fraiseexcpt.c | 27 unsigned int fpsr; in __feraiseexcept() local 30 _FPU_GETS (fpsr); in __feraiseexcept() 31 fpsr |= excepts; in __feraiseexcept() 33 _FPU_SETS (fpsr); in __feraiseexcept()
|
/glibc-2.36/sysdeps/m68k/fpu/ |
D | fsetexcptflg.c | 25 fexcept_t fpsr; in __fesetexceptflag() local 28 __asm__ ("fmove%.l %/fpsr,%0" : "=dm" (fpsr)); in __fesetexceptflag() 31 fpsr &= ~(excepts & FE_ALL_EXCEPT); in __fesetexceptflag() 32 fpsr |= *flagp & excepts & FE_ALL_EXCEPT; in __fesetexceptflag() 35 __asm__ __volatile__ ("fmove%.l %0,%/fpsr" : : "dm" (fpsr)); in __fesetexceptflag()
|
D | fesetexcept.c | 24 fexcept_t fpsr; in fesetexcept() local 26 __asm__ ("fmove%.l %/fpsr,%0" : "=dm" (fpsr)); in fesetexcept() 27 fpsr |= excepts & FE_ALL_EXCEPT; in fesetexcept() 28 __asm__ __volatile__ ("fmove%.l %0,%/fpsr" : : "dm" (fpsr)); in fesetexcept()
|
/glibc-2.36/sysdeps/aarch64/ |
D | sfp-machine.h | 77 unsigned fpsr; \ 84 __asm__ __volatile__ ("mrs\t%0, fpsr" : "=r" (fpsr)); \ 92 __asm__ __volatile__ ("mrs\t%0, fpsr" : "=r" (fpsr)); \ 100 __asm__ __volatile__ ("mrs\t%0, fpsr" : "=r" (fpsr)); \ 108 __asm__ __volatile__ ("mrs\t%0, fpsr" : "=r" (fpsr)); \ 116 __asm__ __volatile__ ("mrs\t%0, fpsr" : "=r" (fpsr)); \
|
/glibc-2.36/sysdeps/hppa/fpu/ |
D | fesetexcept.c | 25 fpu_control_t fpsr; in fesetexcept() local 28 _FPU_GETCW (fpsr); in fesetexcept() 30 fpsr_new = fpsr | (excepts << _FPU_HPPA_SHIFT_FLAGS); in fesetexcept() 31 if (fpsr != fpsr_new) in fesetexcept()
|