Searched refs:fpexc_mode (Results 1 - 9 of 9) sorted by last modified time

/linux-master/arch/powerpc/kernel/
H A Dtraps.c2152 int fpexc_mode; local
2161 fpexc_mode = current->thread.fpexc_mode;
2163 if ((spefscr & SPEFSCR_FOVF) && (fpexc_mode & PR_FP_EXC_OVF)) {
2166 else if ((spefscr & SPEFSCR_FUNF) && (fpexc_mode & PR_FP_EXC_UND)) {
2169 else if ((spefscr & SPEFSCR_FDBZ) && (fpexc_mode & PR_FP_EXC_DIV))
2171 else if ((spefscr & SPEFSCR_FINV) && (fpexc_mode & PR_FP_EXC_INV)) {
2174 else if ((spefscr & (SPEFSCR_FG | SPEFSCR_FX)) && (fpexc_mode & PR_FP_EXC_RES))
H A Dasm-offsets.c107 OFFSET(THREAD_FPEXC_MODE, thread_struct, fpexc_mode);
H A Dprocess.c541 unsigned long fpexc_mode = 0; local
549 fpexc_mode = current->thread.fpexc_mode;
560 regs_set_return_msr(regs, regs->msr | new_msr | fpexc_mode);
2016 * fpexc_mode. fpexc_mode is also used for setting FP exception
2034 tsk->thread.fpexc_mode = val &
2050 tsk->thread.fpexc_mode = __pack_fe01(val);
2053 | tsk->thread.fpexc_mode);
2062 if (tsk->thread.fpexc_mode
[all...]
H A Dsignal_32.c703 regs_set_return_msr(regs, regs->msr | (MSR_FP | current->thread.fpexc_mode));
H A Dsignal_64.c602 regs_set_return_msr(regs, regs->msr | (MSR_FP | tsk->thread.fpexc_mode));
/linux-master/arch/powerpc/kernel/ptrace/
H A Dptrace-view.c111 return task->thread.regs->msr | task->thread.fpexc_mode;
H A Dptrace-tm.c34 return task->thread.ckpt_regs.msr | task->thread.fpexc_mode;
/linux-master/arch/powerpc/include/asm/
H A Dprocessor.h171 int fpexc_mode; /* floating-point exception mode */ member in struct:thread_struct
291 .fpexc_mode = MSR_FE0 | MSR_FE1, \
299 .fpexc_mode = MSR_FE0 | MSR_FE1, \
306 .fpexc_mode = 0, \
/linux-master/arch/powerpc/math-emu/
H A Dmath_efp.c695 if (current->thread.fpexc_mode & PR_FP_EXC_SW_ENABLE) {
697 && (current->thread.fpexc_mode & PR_FP_EXC_DIV))
700 && (current->thread.fpexc_mode & PR_FP_EXC_OVF))
703 && (current->thread.fpexc_mode & PR_FP_EXC_UND))
706 && (current->thread.fpexc_mode & PR_FP_EXC_RES))
709 && (current->thread.fpexc_mode & PR_FP_EXC_INV))
888 if (current->thread.fpexc_mode & PR_FP_EXC_SW_ENABLE)
889 return (current->thread.fpexc_mode & PR_FP_EXC_RES) ? 1 : 0;

Completed in 216 milliseconds