• Home
  • Raw
  • Download

Lines Matching refs:__fpsr

69 	fenv_t __fpsr;  in feclearexcept()  local
71 __stfpsr(&__fpsr); in feclearexcept()
72 __fpsr &= ~((fenv_t)__excepts << _FPUSW_SHIFT); in feclearexcept()
73 __ldfpsr(__fpsr); in feclearexcept()
80 fenv_t __fpsr; in fegetexceptflag() local
82 __stfpsr(&__fpsr); in fegetexceptflag()
83 *__flagp = (fexcept_t)(__fpsr >> _FPUSW_SHIFT) & __excepts; in fegetexceptflag()
90 fenv_t __fpsr; in fesetexceptflag() local
92 __stfpsr(&__fpsr); in fesetexceptflag()
93 __fpsr &= ~((fenv_t)__excepts << _FPUSW_SHIFT); in fesetexceptflag()
94 __fpsr |= (fenv_t)(__excepts & *__flagp) << _FPUSW_SHIFT; in fesetexceptflag()
95 __ldfpsr(__fpsr); in fesetexceptflag()
144 fenv_t __fpsr; in fetestexcept() local
146 __stfpsr(&__fpsr); in fetestexcept()
147 return ((__fpsr >> _FPUSW_SHIFT) & __excepts); in fetestexcept()
154 fenv_t __fpsr; in fegetround() local
156 __stfpsr(&__fpsr); in fegetround()
157 return (__fpsr & _ROUND_MASK); in fegetround()
163 fenv_t __fpsr; in fesetround() local
167 __stfpsr(&__fpsr); in fesetround()
168 __fpsr &= ~_ROUND_MASK; in fesetround()
169 __fpsr |= __round; in fesetround()
170 __ldfpsr(__fpsr); in fesetround()
185 fenv_t __fpsr; in feholdexcept() local
187 __stfpsr(&__fpsr); in feholdexcept()
188 *__envp = __fpsr; in feholdexcept()
189 __fpsr &= ~((fenv_t)FE_ALL_EXCEPT << _FPUSW_SHIFT); in feholdexcept()
190 __fpsr |= FE_ALL_EXCEPT; in feholdexcept()
191 __ldfpsr(__fpsr); in feholdexcept()
232 fenv_t __fpsr; in fegetexcept() local
234 __stfpsr(&__fpsr); in fegetexcept()
235 return (~__fpsr & FE_ALL_EXCEPT); in fegetexcept()