Lines Matching refs:fpcr
64 fpu_control_t fpcr; in fesetenv() local
66 __get_fpcr(fpcr); in fesetenv()
67 if (envp->__control != fpcr) { in fesetenv()
120 fpu_control_t fpcr; in fegetround() local
122 __get_fpcr(fpcr); in fegetround()
123 return ((fpcr >> FPCR_RMODE_SHIFT) & FE_TOWARDZERO); in fegetround()
127 fpu_control_t fpcr, new_fpcr; in fesetround() local
130 __get_fpcr(fpcr); in fesetround()
131 new_fpcr = fpcr & ~(FE_TOWARDZERO << FPCR_RMODE_SHIFT); in fesetround()
133 if (new_fpcr != fpcr) { in fesetround()
142 fpu_control_t fpcr, new_fpcr; in feholdexcept() local
145 __get_fpcr(fpcr); in feholdexcept()
147 env.__control = fpcr; in feholdexcept()
151 new_fpcr = fpcr & ~(FE_ALL_EXCEPT << FPCR_EXCEPT_SHIFT); in feholdexcept()
152 if (new_fpcr != fpcr) { in feholdexcept()
164 fpu_control_t fpcr; in feupdateenv() local
167 __get_fpcr(fpcr); in feupdateenv()
168 if (envp->__control != fpcr) { in feupdateenv()
202 fpu_control_t fpcr; in fegetexcept() local
204 __get_fpcr(fpcr); in fegetexcept()
205 return ((fpcr & FPCR_EXCEPT_MASK) >> FPCR_EXCEPT_SHIFT); in fegetexcept()