Lines Matching refs:__fpsr
64 #define __rfs(__fpsr) __asm __volatile("rfs %0" : "=r" (*(__fpsr))) argument
65 #define __wfs(__fpsr) __asm __volatile("wfs %0" : : "r" (__fpsr)) argument
67 #define __rfs(__fpsr) argument
68 #define __wfs(__fpsr) argument
74 fexcept_t __fpsr; in feclearexcept() local
76 __rfs(&__fpsr); in feclearexcept()
77 __fpsr &= ~__excepts; in feclearexcept()
78 __wfs(__fpsr); in feclearexcept()
85 fexcept_t __fpsr; in fegetexceptflag() local
87 __rfs(&__fpsr); in fegetexceptflag()
88 *__flagp = __fpsr & __excepts; in fegetexceptflag()
95 fexcept_t __fpsr; in fesetexceptflag() local
97 __rfs(&__fpsr); in fesetexceptflag()
98 __fpsr &= ~__excepts; in fesetexceptflag()
99 __fpsr |= *__flagp & __excepts; in fesetexceptflag()
100 __wfs(__fpsr); in fesetexceptflag()
116 fexcept_t __fpsr; in fetestexcept() local
118 __rfs(&__fpsr); in fetestexcept()
119 return (__fpsr & __excepts); in fetestexcept()
172 fexcept_t __fpsr; in feupdateenv() local
174 __rfs(&__fpsr); in feupdateenv()
176 feraiseexcept(__fpsr & FE_ALL_EXCEPT); in feupdateenv()
207 fenv_t __fpsr; in fegetexcept() local
209 __rfs(&__fpsr); in fegetexcept()
210 return ((__fpsr & _ENABLE_MASK) >> _FPUSW_SHIFT); in fegetexcept()