Searched refs:swcr (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/arch/alpha/include/asm/ |
H A D | fpu.h | 60 swcr_update_status(unsigned long swcr, unsigned long fpcr) in swcr_update_status() argument 65 swcr &= ~IEEE_STATUS_MASK; in swcr_update_status() 66 swcr |= (fpcr >> 35) & IEEE_STATUS_MASK; in swcr_update_status() 68 return swcr; in swcr_update_status()
|
H A D | sfp-machine.h | 77 #define FP_DENORM_ZERO (swcr & IEEE_MAP_DMZ)
|
/kernel/linux/linux-6.6/arch/alpha/include/asm/ |
H A D | fpu.h | 73 swcr_update_status(unsigned long swcr, unsigned long fpcr) in swcr_update_status() argument 78 swcr &= ~IEEE_STATUS_MASK; in swcr_update_status() 79 swcr |= (fpcr >> 35) & IEEE_STATUS_MASK; in swcr_update_status() 81 return swcr; in swcr_update_status()
|
H A D | sfp-machine.h | 77 #define FP_DENORM_ZERO (swcr & IEEE_MAP_DMZ)
|
/kernel/linux/linux-5.10/arch/alpha/math-emu/ |
H A D | math.c | 108 unsigned long res, va, vb, vc, swcr, fpcr; in alpha_fp_emul() local 121 swcr = swcr_update_status(current_thread_info()->ieee_state, fpcr); in alpha_fp_emul() 275 if ((_fex & FP_EX_UNDERFLOW) && (swcr & IEEE_MAP_UMZ)) in alpha_fp_emul() 282 if ((_fex & FP_EX_UNDERFLOW) && (swcr & IEEE_MAP_UMZ)) in alpha_fp_emul() 303 swcr |= (_fex << IEEE_STATUS_TO_EXCSUM_SHIFT); in alpha_fp_emul() 309 fpcr |= ieee_swcr_to_fpcr(swcr); in alpha_fp_emul() 313 _fex = _fex & swcr & IEEE_TRAP_ENABLE_MASK; in alpha_fp_emul()
|
/kernel/linux/linux-6.6/arch/alpha/math-emu/ |
H A D | math.c | 110 unsigned long res, va, vb, vc, swcr, fpcr; in alpha_fp_emul() local 123 swcr = swcr_update_status(current_thread_info()->ieee_state, fpcr); in alpha_fp_emul() 277 if ((_fex & FP_EX_UNDERFLOW) && (swcr & IEEE_MAP_UMZ)) in alpha_fp_emul() 284 if ((_fex & FP_EX_UNDERFLOW) && (swcr & IEEE_MAP_UMZ)) in alpha_fp_emul() 305 swcr |= (_fex << IEEE_STATUS_TO_EXCSUM_SHIFT); in alpha_fp_emul() 311 fpcr |= ieee_swcr_to_fpcr(swcr); in alpha_fp_emul() 315 _fex = _fex & swcr & IEEE_TRAP_ENABLE_MASK; in alpha_fp_emul()
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
H A D | ptrace.c | 134 unsigned long swcr in get_reg() local 136 swcr = swcr_update_status(swcr, fpcr); in get_reg() 137 return fpcr | swcr; in get_reg()
|
H A D | osf_sys.c | 823 unsigned long swcr, fpcr; in SYSCALL_DEFINE5() local 833 if (get_user(swcr, (unsigned long __user *)buffer)) in SYSCALL_DEFINE5() 838 *state = (*state & ~IEEE_SW_MASK) | (swcr & IEEE_SW_MASK); in SYSCALL_DEFINE5() 842 fpcr |= ieee_swcr_to_fpcr(swcr); in SYSCALL_DEFINE5() 849 unsigned long exc, swcr, fpcr, fex; in SYSCALL_DEFINE5() local 858 swcr = (*state & IEEE_SW_MASK) | exc; in SYSCALL_DEFINE5() 863 fpcr |= ieee_swcr_to_fpcr(swcr); in SYSCALL_DEFINE5() 868 fex = (exc >> IEEE_STATUS_TO_EXCSUM_SHIFT) & swcr; in SYSCALL_DEFINE5()
|
/kernel/linux/linux-6.6/arch/alpha/kernel/ |
H A D | ptrace.c | 135 unsigned long swcr in get_reg() local 137 swcr = swcr_update_status(swcr, fpcr); in get_reg() 138 return fpcr | swcr; in get_reg()
|
H A D | osf_sys.c | 824 unsigned long swcr, fpcr; in SYSCALL_DEFINE5() local 834 if (get_user(swcr, (unsigned long __user *)buffer)) in SYSCALL_DEFINE5() 839 *state = (*state & ~IEEE_SW_MASK) | (swcr & IEEE_SW_MASK); in SYSCALL_DEFINE5() 843 fpcr |= ieee_swcr_to_fpcr(swcr); in SYSCALL_DEFINE5() 850 unsigned long exc, swcr, fpcr, fex; in SYSCALL_DEFINE5() local 859 swcr = (*state & IEEE_SW_MASK) | exc; in SYSCALL_DEFINE5() 864 fpcr |= ieee_swcr_to_fpcr(swcr); in SYSCALL_DEFINE5() 869 fex = (exc >> IEEE_STATUS_TO_EXCSUM_SHIFT) & swcr; in SYSCALL_DEFINE5()
|
Completed in 7 milliseconds