Lines Matching refs:control
205 unsigned short control; in fegetround() local
213 __asm__ __volatile__ ("fnstcw %0" : "=m" (control)); in fegetround()
215 return (control & X87_ROUND_MASK); in fegetround()
226 unsigned short control; in fesetround() local
234 __asm__ __volatile__ ("fnstcw %0" : "=m" (control)); in fesetround()
237 control &= ~X87_ROUND_MASK; in fesetround()
238 control |= round; in fesetround()
241 __asm__ __volatile__ ("fldcw %0" : : "m" (control)); in fesetround()
367 unsigned short control; in feenableexcept() local
371 __asm__ __volatile__ ("fnstcw %0" : "=m" (control)); in feenableexcept()
374 omask = ~(control | (mxcsr >> SSE_MASK_SHIFT)) & FE_ALL_EXCEPT; in feenableexcept()
375 control &= ~mask; in feenableexcept()
376 __asm__ __volatile__ ("fldcw %0" : : "m" (control)); in feenableexcept()
388 unsigned short control; in fedisableexcept() local
392 __asm__ __volatile__ ("fnstcw %0" : "=m" (control)); in fedisableexcept()
395 omask = ~(control | (mxcsr >> SSE_MASK_SHIFT)) & FE_ALL_EXCEPT; in fedisableexcept()
396 control |= mask; in fedisableexcept()
397 __asm__ __volatile__ ("fldcw %0" : : "m" (control)); in fedisableexcept()
408 unsigned short control; in fegetexcept() local
414 __asm__ __volatile__ ("fnstcw %0" : "=m" (control)); in fegetexcept()
416 return (~control & FE_ALL_EXCEPT); in fegetexcept()