Home
last modified time | relevance | path

Searched refs:swcr (Results 1 – 5 of 5) sorted by relevance

/sysdeps/unix/sysv/linux/alpha/
A Dsetfpucw.c32 unsigned long fpcr, swcr, fc = (int)fpu_control; in __setfpucw() local
51 swcr = convert_bit (~fc, _FPU_MASK_IM, FE_INVALID >> SWCR_ENABLE_SHIFT); in __setfpucw()
52 swcr |= convert_bit (~fc, _FPU_MASK_DM, FE_UNDERFLOW >> SWCR_ENABLE_SHIFT); in __setfpucw()
53 swcr |= convert_bit (~fc, _FPU_MASK_ZM, FE_DIVBYZERO >> SWCR_ENABLE_SHIFT); in __setfpucw()
54 swcr |= convert_bit (~fc, _FPU_MASK_OM, FE_OVERFLOW >> SWCR_ENABLE_SHIFT); in __setfpucw()
55 swcr |= convert_bit (~fc, _FPU_MASK_PM, FE_INEXACT >> SWCR_ENABLE_SHIFT); in __setfpucw()
60 __ieee_set_fp_control(swcr); in __setfpucw()
/sysdeps/alpha/fpu/
A Dfesetmode.c25 unsigned long int swcr; in fesetmode() local
38 swcr = __ieee_get_fp_control (); in fesetmode()
39 swcr = ((mode & SWCR_ALL_MASK & ~SWCR_STATUS_MASK) in fesetmode()
40 | (swcr & SWCR_STATUS_MASK)); in fesetmode()
41 __ieee_set_fp_control (swcr); in fesetmode()
A Dfclrexcpt.c24 unsigned long int swcr; in __feclearexcept() local
27 swcr = __ieee_get_fp_control (); in __feclearexcept()
30 swcr &= ~((unsigned long int) excepts & SWCR_STATUS_MASK); in __feclearexcept()
33 __ieee_set_fp_control (swcr); in __feclearexcept()
A Dfegetmode.c25 unsigned long int swcr; in fegetmode() local
28 swcr = __ieee_get_fp_control (); in fegetmode()
30 *modep = ((fpcr & FPCR_ROUND_MASK) | (swcr & SWCR_ALL_MASK)); in fegetmode()
A Dfegetenv.c25 unsigned long int swcr; in __fegetenv() local
29 swcr = __ieee_get_fp_control (); in __fegetenv()
33 *envp = ((fpcr & FPCR_ROUND_MASK) | (swcr & SWCR_ALL_MASK)); in __fegetenv()

Completed in 4 milliseconds