Searched refs:spefscr (Results 1 – 7 of 7) sorted by relevance
1164 unsigned long spefscr; in SPEFloatingPointException() local1174 spefscr = current->thread.spefscr; in SPEFloatingPointException()1177 if ((spefscr & SPEFSCR_FOVF) && (fpexc_mode & PR_FP_EXC_OVF)) { in SPEFloatingPointException()1180 else if ((spefscr & SPEFSCR_FUNF) && (fpexc_mode & PR_FP_EXC_UND)) { in SPEFloatingPointException()1183 else if ((spefscr & SPEFSCR_FDBZ) && (fpexc_mode & PR_FP_EXC_DIV)) in SPEFloatingPointException()1185 else if ((spefscr & SPEFSCR_FINV) && (fpexc_mode & PR_FP_EXC_INV)) { in SPEFloatingPointException()1188 else if ((spefscr & (SPEFSCR_FG | SPEFSCR_FX)) && (fpexc_mode & PR_FP_EXC_RES)) in SPEFloatingPointException()
436 offsetof(struct thread_struct, spefscr)); in evr_get()459 offsetof(struct thread_struct, spefscr)); in evr_set()
475 if (__put_user(current->thread.spefscr, (u32 __user *)&frame->mc_vregs + ELF_NEVRREG)) in save_user_regs()590 if (__get_user(current->thread.spefscr, (u32 __user *)&sr->mc_vregs + ELF_NEVRREG)) in restore_user_regs()
100 DEFINE(THREAD_SPEFSCR, offsetof(struct thread_struct, spefscr)); in main()
762 current->thread.spefscr = 0; in start_thread()
197 unsigned long spefscr; /* SPE & eFP status */ member209 #define SPEFSCR_INIT .spefscr = SPEFSCR_FINVE | SPEFSCR_FDBZE | SPEFSCR_FUNFE | SPEFSCR_FOVFE,
108 #define __FPU_FPSCR (current->thread.spefscr)