Home
last modified time | relevance | path

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

/arch/alpha/include/asm/
Dfpu.h59 swcr_update_status(unsigned long swcr, unsigned long fpcr) in swcr_update_status() argument
64 swcr &= ~IEEE_STATUS_MASK; in swcr_update_status()
65 swcr |= (fpcr >> 35) & IEEE_STATUS_MASK; in swcr_update_status()
67 return swcr; in swcr_update_status()
Dsfp-machine.h77 #define FP_DENORM_ZERO (swcr & IEEE_MAP_DMZ)
/arch/alpha/math-emu/
Dmath.c105 unsigned long res, va, vb, vc, swcr, fpcr; in alpha_fp_emul() local
118 swcr = swcr_update_status(current_thread_info()->ieee_state, fpcr); in alpha_fp_emul()
272 if ((_fex & FP_EX_UNDERFLOW) && (swcr & IEEE_MAP_UMZ)) in alpha_fp_emul()
279 if ((_fex & FP_EX_UNDERFLOW) && (swcr & IEEE_MAP_UMZ)) in alpha_fp_emul()
300 swcr |= (_fex << IEEE_STATUS_TO_EXCSUM_SHIFT); in alpha_fp_emul()
306 fpcr |= ieee_swcr_to_fpcr(swcr); in alpha_fp_emul()
310 _fex = _fex & swcr & IEEE_TRAP_ENABLE_MASK; in alpha_fp_emul()
/arch/alpha/kernel/
Dptrace.c133 unsigned long swcr in get_reg() local
135 swcr = swcr_update_status(swcr, fpcr); in get_reg()
136 return fpcr | swcr; in get_reg()
Dosf_sys.c821 unsigned long swcr, fpcr; in SYSCALL_DEFINE5() local
831 if (get_user(swcr, (unsigned long __user *)buffer)) in SYSCALL_DEFINE5()
836 *state = (*state & ~IEEE_SW_MASK) | (swcr & IEEE_SW_MASK); in SYSCALL_DEFINE5()
840 fpcr |= ieee_swcr_to_fpcr(swcr); in SYSCALL_DEFINE5()
847 unsigned long exc, swcr, fpcr, fex; in SYSCALL_DEFINE5() local
856 swcr = (*state & IEEE_SW_MASK) | exc; in SYSCALL_DEFINE5()
861 fpcr |= ieee_swcr_to_fpcr(swcr); in SYSCALL_DEFINE5()
866 fex = (exc >> IEEE_STATUS_TO_EXCSUM_SHIFT) & swcr; in SYSCALL_DEFINE5()