Lines Matching refs:control
212 unsigned short control; in fegetround() local
220 __asm__ __volatile__ ("fnstcw %0" : "=m" (control)); in fegetround()
222 return (control & X87_ROUND_MASK); in fegetround()
233 unsigned short control; in fesetround() local
241 __asm__ __volatile__ ("fnstcw %0" : "=m" (control)); in fesetround()
244 control &= ~X87_ROUND_MASK; in fesetround()
245 control |= round; in fesetround()
248 __asm__ __volatile__ ("fldcw %0" : : "m" (control)); in fesetround()
374 unsigned short control; in feenableexcept() local
378 __asm__ __volatile__ ("fnstcw %0" : "=m" (control)); in feenableexcept()
381 omask = ~(control | (mxcsr >> SSE_MASK_SHIFT)) & FE_ALL_EXCEPT; in feenableexcept()
382 control &= ~mask; in feenableexcept()
383 __asm__ __volatile__ ("fldcw %0" : : "m" (control)); in feenableexcept()
395 unsigned short control; in fedisableexcept() local
399 __asm__ __volatile__ ("fnstcw %0" : "=m" (control)); in fedisableexcept()
402 omask = ~(control | (mxcsr >> SSE_MASK_SHIFT)) & FE_ALL_EXCEPT; in fedisableexcept()
403 control |= mask; in fedisableexcept()
404 __asm__ __volatile__ ("fldcw %0" : : "m" (control)); in fedisableexcept()
415 unsigned short control; in fegetexcept() local
421 __asm__ __volatile__ ("fnstcw %0" : "=m" (control)); in fegetexcept()
423 return (~control & FE_ALL_EXCEPT); in fegetexcept()