Lines Matching refs:fpsr
75 fpu_status_t fpsr; in feclearexcept() local
78 __get_fpsr(fpsr); in feclearexcept()
79 fpsr &= ~excepts; in feclearexcept()
80 __set_fpsr(fpsr); in feclearexcept()
85 fpu_status_t fpsr; in fegetexceptflag() local
88 __get_fpsr(fpsr); in fegetexceptflag()
89 *flagp = fpsr & excepts; in fegetexceptflag()
94 fpu_status_t fpsr; in fesetexceptflag() local
97 __get_fpsr(fpsr); in fesetexceptflag()
98 fpsr &= ~excepts; in fesetexceptflag()
99 fpsr |= *flagp & excepts; in fesetexceptflag()
100 __set_fpsr(fpsr); in fesetexceptflag()
112 fpu_status_t fpsr; in fetestexcept() local
115 __get_fpsr(fpsr); in fetestexcept()
116 return (fpsr & excepts); in fetestexcept()
141 fpu_status_t fpsr; in feholdexcept() local
144 __get_fpsr(fpsr); in feholdexcept()
146 env.__status = fpsr; in feholdexcept()
157 fpsr &= ~FE_ALL_EXCEPT; in feholdexcept()
158 __set_fpsr(fpsr); in feholdexcept()
163 fpu_status_t fpsr; in feupdateenv() local
173 __get_fpsr(fpsr); in feupdateenv()
174 fpsr = envp->__status | (fpsr & FE_ALL_EXCEPT); in feupdateenv()
175 __set_fpsr(fpsr); in feupdateenv()