Home
last modified time | relevance | path

Searched refs:new_fpscr (Results 1 – 10 of 10) sorted by relevance

/glibc-2.36/sysdeps/arm/
Dfeupdateenv.c27 fpu_control_t fpscr, new_fpscr, updated_fpscr; in __feupdateenv() local
40 new_fpscr = envp->__cw | excepts; in __feupdateenv()
43 if (((fpscr ^ new_fpscr) & ~_FPU_MASK_NZCV) != 0) in __feupdateenv()
44 _FPU_SETCW (new_fpscr); in __feupdateenv()
47 if (excepts & (new_fpscr >> FE_EXCEPT_SHIFT)) in __feupdateenv()
54 new_fpscr = fpscr & (_FPU_RESERVED | FE_ALL_EXCEPT); in __feupdateenv()
55 new_fpscr |= (envp == FE_DFL_ENV) ? _FPU_DEFAULT : _FPU_IEEE; in __feupdateenv()
57 if (((new_fpscr ^ fpscr) & ~_FPU_MASK_NZCV) != 0) in __feupdateenv()
59 _FPU_SETCW (new_fpscr); in __feupdateenv()
65 if (new_fpscr & ~updated_fpscr) in __feupdateenv()
[all …]
Dfesetenv.c27 fpu_control_t fpscr, new_fpscr, updated_fpscr; in __fesetenv() local
38 new_fpscr = envp->__cw; in __fesetenv()
41 if (((fpscr ^ new_fpscr) & ~_FPU_MASK_NZCV) != 0) in __fesetenv()
42 _FPU_SETCW (new_fpscr); in __fesetenv()
48 new_fpscr = fpscr & _FPU_RESERVED; in __fesetenv()
49 new_fpscr |= (envp == FE_DFL_ENV) ? _FPU_DEFAULT : _FPU_IEEE; in __fesetenv()
51 if (((new_fpscr ^ fpscr) & ~_FPU_MASK_NZCV) != 0) in __fesetenv()
53 _FPU_SETCW (new_fpscr); in __fesetenv()
59 return new_fpscr & ~updated_fpscr; in __fesetenv()
Dfenv_private.h104 fpu_control_t fpscr, new_fpscr; in libc_fesetenv_vfp() local
107 new_fpscr = envp->__cw; in libc_fesetenv_vfp()
110 if (__glibc_unlikely (((fpscr ^ new_fpscr) & ~_FPU_MASK_NZCV) != 0)) in libc_fesetenv_vfp()
111 _FPU_SETCW (new_fpscr); in libc_fesetenv_vfp()
117 fpu_control_t fpscr, new_fpscr; in libc_feupdateenv_test_vfp() local
124 new_fpscr = envp->__cw | excepts; in libc_feupdateenv_test_vfp()
127 if (__glibc_unlikely (((fpscr ^ new_fpscr) & ~_FPU_MASK_NZCV) != 0)) in libc_feupdateenv_test_vfp()
128 _FPU_SETCW (new_fpscr); in libc_feupdateenv_test_vfp()
131 if (__glibc_unlikely (excepts & (new_fpscr >> FE_EXCEPT_SHIFT))) in libc_feupdateenv_test_vfp()
180 fpu_control_t fpscr, new_fpscr; in libc_fesetenv_vfp_ctx() local
[all …]
Dfsetexcptflg.c27 fpu_control_t fpscr, new_fpscr; in fesetexceptflag() local
37 new_fpscr = fpscr & ~excepts; in fesetexceptflag()
38 new_fpscr |= *flagp & excepts; in fesetexceptflag()
41 if (new_fpscr != fpscr) in fesetexceptflag()
42 _FPU_SETCW (new_fpscr); in fesetexceptflag()
Dfeenablxcpt.c27 fpu_control_t fpscr, new_fpscr, updated_fpscr; in feenableexcept() local
35 new_fpscr = fpscr | (excepts << FE_EXCEPT_SHIFT); in feenableexcept()
37 if (new_fpscr != fpscr) in feenableexcept()
39 _FPU_SETCW (new_fpscr); in feenableexcept()
45 if (new_fpscr & ~updated_fpscr) in feenableexcept()
Dfesetmode.c29 fpu_control_t fpscr, new_fpscr; in fesetmode() local
37 new_fpscr = (fpscr & (_FPU_RESERVED | FPU_STATUS_BITS)) | _FPU_DEFAULT; in fesetmode()
39 new_fpscr = (fpscr & FPU_STATUS_BITS) | (*modep & ~FPU_STATUS_BITS); in fesetmode()
41 if (((new_fpscr ^ fpscr) & ~_FPU_MASK_NZCV) != 0) in fesetmode()
42 _FPU_SETCW (new_fpscr); in fesetmode()
Dfesetexcept.c26 fpu_control_t fpscr, new_fpscr; in fesetexcept() local
33 new_fpscr = fpscr | (excepts & FE_ALL_EXCEPT); in fesetexcept()
34 if (new_fpscr != fpscr) in fesetexcept()
35 _FPU_SETCW (new_fpscr); in fesetexcept()
Dsetfpucw.c27 fpu_control_t fpscr, new_fpscr; in __setfpucw() local
37 new_fpscr = fpscr & _FPU_RESERVED; in __setfpucw()
38 new_fpscr |= set & ~_FPU_RESERVED; in __setfpucw()
41 if (new_fpscr != fpscr) in __setfpucw()
Dfclrexcpt.c27 fpu_control_t fpscr, new_fpscr; in feclearexcept() local
35 new_fpscr = fpscr & ~excepts; in feclearexcept()
38 if (new_fpscr != fpscr) in feclearexcept()
39 _FPU_SETCW (new_fpscr); in feclearexcept()
Dfedisblxcpt.c27 fpu_control_t fpscr, new_fpscr; in fedisableexcept() local
35 new_fpscr = fpscr & ~(excepts << FE_EXCEPT_SHIFT); in fedisableexcept()
38 if (new_fpscr != fpscr) in fedisableexcept()
39 _FPU_SETCW (new_fpscr); in fedisableexcept()