Searched refs:fpexc_mode (Results 1 – 8 of 8) sorted by relevance
695 if (current->thread.fpexc_mode & PR_FP_EXC_SW_ENABLE) { in do_spe_mathemu()697 && (current->thread.fpexc_mode & PR_FP_EXC_DIV)) in do_spe_mathemu()700 && (current->thread.fpexc_mode & PR_FP_EXC_OVF)) in do_spe_mathemu()703 && (current->thread.fpexc_mode & PR_FP_EXC_UND)) in do_spe_mathemu()706 && (current->thread.fpexc_mode & PR_FP_EXC_RES)) in do_spe_mathemu()709 && (current->thread.fpexc_mode & PR_FP_EXC_INV)) in do_spe_mathemu()888 if (current->thread.fpexc_mode & PR_FP_EXC_SW_ENABLE) in speround_handler()889 return (current->thread.fpexc_mode & PR_FP_EXC_RES) ? 1 : 0; in speround_handler()
229 int fpexc_mode; /* floating-point exception mode */ member343 .fpexc_mode = MSR_FE0 | MSR_FE1, \351 .fpexc_mode = 0, \
1478 regs->msr |= (MSR_FP | current->thread.fpexc_mode); in fp_unavailable_tm()1542 regs->msr |= MSR_VEC | MSR_FP | current->thread.fpexc_mode | in vsx_unavailable_tm()1766 int fpexc_mode; in SPEFloatingPointException() local1773 fpexc_mode = current->thread.fpexc_mode; in SPEFloatingPointException()1775 if ((spefscr & SPEFSCR_FOVF) && (fpexc_mode & PR_FP_EXC_OVF)) { in SPEFloatingPointException()1778 else if ((spefscr & SPEFSCR_FUNF) && (fpexc_mode & PR_FP_EXC_UND)) { in SPEFloatingPointException()1781 else if ((spefscr & SPEFSCR_FDBZ) && (fpexc_mode & PR_FP_EXC_DIV)) in SPEFloatingPointException()1783 else if ((spefscr & SPEFSCR_FINV) && (fpexc_mode & PR_FP_EXC_INV)) { in SPEFloatingPointException()1786 else if ((spefscr & (SPEFSCR_FG | SPEFSCR_FX)) && (fpexc_mode & PR_FP_EXC_RES)) in SPEFloatingPointException()
697 (MSR_FP | new->thread.fpexc_mode); in tm_recheckpoint_new_task()749 regs->msr |= current->thread.fpexc_mode; in restore_tm_state()1364 tsk->thread.fpexc_mode = val & in set_fpexc_mode()1382 tsk->thread.fpexc_mode = __pack_fe01(val); in set_fpexc_mode()1385 | tsk->thread.fpexc_mode; in set_fpexc_mode()1393 if (tsk->thread.fpexc_mode & PR_FP_EXC_SW_ENABLE) in get_fpexc_mode()1409 val = tsk->thread.fpexc_mode; in get_fpexc_mode()1416 val = __unpack_fe01(tsk->thread.fpexc_mode); in get_fpexc_mode()
552 regs->msr |= (MSR_FP | current->thread.fpexc_mode); in restore_tm_sigcontexts()
900 regs->msr |= (MSR_FP | current->thread.fpexc_mode); in restore_tm_user_regs()
94 DEFINE(THREAD_FPEXC_MODE, offsetof(struct thread_struct, fpexc_mode)); in main()
173 return task->thread.regs->msr | task->thread.fpexc_mode; in get_user_msr()