Searched refs:fpexc_mode (Results 1 – 9 of 9) sorted by relevance
691 if (current->thread.fpexc_mode & PR_FP_EXC_SW_ENABLE) { in do_spe_mathemu()693 && (current->thread.fpexc_mode & PR_FP_EXC_DIV)) in do_spe_mathemu()696 && (current->thread.fpexc_mode & PR_FP_EXC_OVF)) in do_spe_mathemu()699 && (current->thread.fpexc_mode & PR_FP_EXC_UND)) in do_spe_mathemu()702 && (current->thread.fpexc_mode & PR_FP_EXC_RES)) in do_spe_mathemu()705 && (current->thread.fpexc_mode & PR_FP_EXC_INV)) in do_spe_mathemu()884 if (current->thread.fpexc_mode & PR_FP_EXC_SW_ENABLE) in speround_handler()885 return (current->thread.fpexc_mode & PR_FP_EXC_RES) ? 1 : 0; in speround_handler()
175 int fpexc_mode; /* floating-point exception mode */ member295 .fpexc_mode = MSR_FE0 | MSR_FE1, \301 .fpexc_mode = 0, \
542 unsigned long fpexc_mode = 0; in restore_math() local550 fpexc_mode = current->thread.fpexc_mode; in restore_math()561 regs->msr |= new_msr | fpexc_mode; in restore_math()1912 tsk->thread.fpexc_mode = val & in set_fpexc_mode()1928 tsk->thread.fpexc_mode = __pack_fe01(val); in set_fpexc_mode()1931 | tsk->thread.fpexc_mode; in set_fpexc_mode()1939 if (tsk->thread.fpexc_mode & PR_FP_EXC_SW_ENABLE) { in get_fpexc_mode()1955 val = tsk->thread.fpexc_mode; in get_fpexc_mode()1960 val = __unpack_fe01(tsk->thread.fpexc_mode); in get_fpexc_mode()
2112 int fpexc_mode; in SPEFloatingPointException() local2123 fpexc_mode = current->thread.fpexc_mode; in SPEFloatingPointException()2125 if ((spefscr & SPEFSCR_FOVF) && (fpexc_mode & PR_FP_EXC_OVF)) { in SPEFloatingPointException()2128 else if ((spefscr & SPEFSCR_FUNF) && (fpexc_mode & PR_FP_EXC_UND)) { in SPEFloatingPointException()2131 else if ((spefscr & SPEFSCR_FDBZ) && (fpexc_mode & PR_FP_EXC_DIV)) in SPEFloatingPointException()2133 else if ((spefscr & SPEFSCR_FINV) && (fpexc_mode & PR_FP_EXC_INV)) { in SPEFloatingPointException()2136 else if ((spefscr & (SPEFSCR_FG | SPEFSCR_FX)) && (fpexc_mode & PR_FP_EXC_RES)) in SPEFloatingPointException()
583 regs->msr |= (MSR_FP | tsk->thread.fpexc_mode); in restore_tm_sigcontexts()
726 regs->msr |= (MSR_FP | current->thread.fpexc_mode); in restore_tm_user_regs()
113 OFFSET(THREAD_FPEXC_MODE, thread_struct, fpexc_mode); in main()
34 return task->thread.ckpt_regs.msr | task->thread.fpexc_mode; in get_user_ckpt_msr()
111 return task->thread.regs->msr | task->thread.fpexc_mode; in get_user_msr()