Searched refs:spefscr (Results 1 – 8 of 8) sorted by relevance
33 offsetof(struct thread_struct, spefscr)); in evr_get()52 offsetof(struct thread_struct, spefscr)); in evr_set()
201 unsigned long spefscr; /* SPE & eFP status */ member278 .spefscr = SPEFSCR_FINVE | SPEFSCR_FDBZE | SPEFSCR_FUNFE | SPEFSCR_FOVFE, \
108 #define __FPU_FPSCR (current->thread.spefscr)
536 ulong spefscr; member
2120 unsigned long spefscr; in DEFINE_INTERRUPT_HANDLER() local2129 spefscr = current->thread.spefscr; in DEFINE_INTERRUPT_HANDLER()2132 if ((spefscr & SPEFSCR_FOVF) && (fpexc_mode & PR_FP_EXC_OVF)) { in DEFINE_INTERRUPT_HANDLER()2135 else if ((spefscr & SPEFSCR_FUNF) && (fpexc_mode & PR_FP_EXC_UND)) { in DEFINE_INTERRUPT_HANDLER()2138 else if ((spefscr & SPEFSCR_FDBZ) && (fpexc_mode & PR_FP_EXC_DIV)) in DEFINE_INTERRUPT_HANDLER()2140 else if ((spefscr & SPEFSCR_FINV) && (fpexc_mode & PR_FP_EXC_INV)) { in DEFINE_INTERRUPT_HANDLER()2143 else if ((spefscr & (SPEFSCR_FG | SPEFSCR_FX)) && (fpexc_mode & PR_FP_EXC_RES)) in DEFINE_INTERRUPT_HANDLER()
398 tsk->thread.spefscr = mfspr(SPRN_SPEFSCR); in flush_spe_to_thread()600 tsk->thread.spefscr = mfspr(SPRN_SPEFSCR); in flush_all_to_thread()1132 t->spefscr = mfspr(SPRN_SPEFSCR); in save_sprs()1200 old_thread->spefscr != new_thread->spefscr) in restore_sprs()1201 mtspr(SPRN_SPEFSCR, new_thread->spefscr); in restore_sprs()1933 current->thread.spefscr = 0; in start_thread()
326 unsafe_put_user(current->thread.spefscr, in __unsafe_save_user_regs()552 unsafe_get_user(current->thread.spefscr, (u32 __user *)&sr->mc_vregs + ELF_NEVRREG, failed); in restore_user_regs()
666 OFFSET(VCPU_SPEFSCR, kvm_vcpu, arch.spefscr); in main()