Home
last modified time | relevance | path

Searched refs:fpexc_mode (Results 1 – 7 of 7) sorted by relevance

/linux/arch/powerpc/include/asm/
H A Dprocessor.h171 int fpexc_mode; /* floating-point exception mode */ member
292 .fpexc_mode = MSR_FE0 | MSR_FE1, \
300 .fpexc_mode = MSR_FE0 | MSR_FE1, \
307 .fpexc_mode = 0, \
/linux/arch/powerpc/math-emu/
H A Dmath_efp.c695 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()
/linux/arch/powerpc/kernel/
H A Dtraps.c2152 int fpexc_mode; in DEFINE_INTERRUPT_HANDLER() local
2161 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()
H A Dsignal_64.c602 regs_set_return_msr(regs, regs->msr | (MSR_FP | tsk->thread.fpexc_mode)); in restore_tm_sigcontexts()
H A Dsignal_32.c703 regs_set_return_msr(regs, regs->msr | (MSR_FP | current->thread.fpexc_mode)); in restore_tm_user_regs()
/linux/arch/powerpc/kernel/ptrace/
H A Dptrace-tm.c34 return task->thread.ckpt_regs.msr | task->thread.fpexc_mode; in get_user_ckpt_msr()
H A Dptrace-view.c111 return task->thread.regs->msr | task->thread.fpexc_mode; in get_user_msr()