Searched refs:fpexc_mode (Results 1 – 7 of 7) sorted by relevance
171 int fpexc_mode; /* floating-point exception mode */ member292 .fpexc_mode = MSR_FE0 | MSR_FE1, \300 .fpexc_mode = MSR_FE0 | MSR_FE1, \307 .fpexc_mode = 0, \
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()
2152 int fpexc_mode; in DEFINE_INTERRUPT_HANDLER() local2161 fpexc_mode = current->thread.fpexc_mode; in DEFINE_INTERRUPT_HANDLER()2163 if ((spefscr & SPEFSCR_FOVF) && (fpexc_mode & PR_FP_EXC_OVF)) { in DEFINE_INTERRUPT_HANDLER()2166 else if ((spefscr & SPEFSCR_FUNF) && (fpexc_mode & PR_FP_EXC_UND)) { in DEFINE_INTERRUPT_HANDLER()2169 else if ((spefscr & SPEFSCR_FDBZ) && (fpexc_mode & PR_FP_EXC_DIV)) in DEFINE_INTERRUPT_HANDLER()2171 else if ((spefscr & SPEFSCR_FINV) && (fpexc_mode & PR_FP_EXC_INV)) { in DEFINE_INTERRUPT_HANDLER()2174 else if ((spefscr & (SPEFSCR_FG | SPEFSCR_FX)) && (fpexc_mode & PR_FP_EXC_RES)) in DEFINE_INTERRUPT_HANDLER()
602 regs_set_return_msr(regs, regs->msr | (MSR_FP | tsk->thread.fpexc_mode)); in restore_tm_sigcontexts()
703 regs_set_return_msr(regs, regs->msr | (MSR_FP | current->thread.fpexc_mode)); in restore_tm_user_regs()
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()