Searched refs:fpexc_mode (Results 1 – 8 of 8) sorted by relevance
692 if (current->thread.fpexc_mode & PR_FP_EXC_SW_ENABLE) { in do_spe_mathemu()694 && (current->thread.fpexc_mode & PR_FP_EXC_DIV)) in do_spe_mathemu()697 && (current->thread.fpexc_mode & PR_FP_EXC_OVF)) in do_spe_mathemu()700 && (current->thread.fpexc_mode & PR_FP_EXC_UND)) in do_spe_mathemu()703 && (current->thread.fpexc_mode & PR_FP_EXC_RES)) in do_spe_mathemu()706 && (current->thread.fpexc_mode & PR_FP_EXC_INV)) in do_spe_mathemu()885 if (current->thread.fpexc_mode & PR_FP_EXC_SW_ENABLE) in speround_handler()886 return (current->thread.fpexc_mode & PR_FP_EXC_RES) ? 1 : 0; in speround_handler()
170 int fpexc_mode; /* floating-point exception mode */ member288 .fpexc_mode = MSR_FE0 | MSR_FE1, \295 .fpexc_mode = 0, \
2096 int fpexc_mode; in SPEFloatingPointException() local2107 fpexc_mode = current->thread.fpexc_mode; in SPEFloatingPointException()2109 if ((spefscr & SPEFSCR_FOVF) && (fpexc_mode & PR_FP_EXC_OVF)) { in SPEFloatingPointException()2112 else if ((spefscr & SPEFSCR_FUNF) && (fpexc_mode & PR_FP_EXC_UND)) { in SPEFloatingPointException()2115 else if ((spefscr & SPEFSCR_FDBZ) && (fpexc_mode & PR_FP_EXC_DIV)) in SPEFloatingPointException()2117 else if ((spefscr & SPEFSCR_FINV) && (fpexc_mode & PR_FP_EXC_INV)) { in SPEFloatingPointException()2120 else if ((spefscr & (SPEFSCR_FG | SPEFSCR_FX)) && (fpexc_mode & PR_FP_EXC_RES)) in SPEFloatingPointException()
540 msr |= MSR_FP | current->thread.fpexc_mode; in restore_math()1847 tsk->thread.fpexc_mode = val & in set_fpexc_mode()1865 tsk->thread.fpexc_mode = __pack_fe01(val); in set_fpexc_mode()1868 | tsk->thread.fpexc_mode; in set_fpexc_mode()1876 if (tsk->thread.fpexc_mode & PR_FP_EXC_SW_ENABLE) in get_fpexc_mode()1892 val = tsk->thread.fpexc_mode; in get_fpexc_mode()1899 val = __unpack_fe01(tsk->thread.fpexc_mode); in get_fpexc_mode()
585 regs->msr |= (MSR_FP | tsk->thread.fpexc_mode); in restore_tm_sigcontexts()
110 OFFSET(THREAD_FPEXC_MODE, thread_struct, fpexc_mode); in main()
871 regs->msr |= (MSR_FP | current->thread.fpexc_mode); in restore_tm_user_regs()
209 return task->thread.regs->msr | task->thread.fpexc_mode; in get_user_msr()222 return task->thread.ckpt_regs.msr | task->thread.fpexc_mode; in get_user_ckpt_msr()