Lines Matching refs:fpcr
53 fpu_control_t fpcr; in fesetenv() local
55 __get_fpcr(fpcr); in fesetenv()
56 if (envp->__control != fpcr) { in fesetenv()
109 fpu_control_t fpcr; in fegetround() local
111 __get_fpcr(fpcr); in fegetround()
112 return ((fpcr >> FPCR_RMODE_SHIFT) & FE_TOWARDZERO); in fegetround()
116 fpu_control_t fpcr, new_fpcr; in fesetround() local
119 __get_fpcr(fpcr); in fesetround()
120 new_fpcr = fpcr & ~(FE_TOWARDZERO << FPCR_RMODE_SHIFT); in fesetround()
122 if (new_fpcr != fpcr) { in fesetround()
131 fpu_control_t fpcr, new_fpcr; in feholdexcept() local
134 __get_fpcr(fpcr); in feholdexcept()
136 env.__control = fpcr; in feholdexcept()
140 new_fpcr = fpcr & ~(FE_ALL_EXCEPT << FPCR_EXCEPT_SHIFT); in feholdexcept()
141 if (new_fpcr != fpcr) { in feholdexcept()
153 fpu_control_t fpcr; in feupdateenv() local
156 __get_fpcr(fpcr); in feupdateenv()
157 if (envp->__control != fpcr) { in feupdateenv()
191 fpu_control_t fpcr; in fegetexcept() local
193 __get_fpcr(fpcr); in fegetexcept()
194 return ((fpcr & FPCR_EXCEPT_MASK) >> FPCR_EXCEPT_SHIFT); in fegetexcept()