Home
last modified time | relevance | path

Searched refs:spefscr (Results 1 – 8 of 8) sorted by relevance

/arch/powerpc/include/asm/
Dprocessor.h258 unsigned long spefscr; /* SPE & eFP status */ member
331 .spefscr = SPEFSCR_FINVE | SPEFSCR_FDBZE | SPEFSCR_FUNFE | SPEFSCR_FOVFE, \
Dsfp-machine.h108 #define __FPU_FPSCR (current->thread.spefscr)
Dkvm_host.h432 ulong spefscr; member
/arch/powerpc/kernel/
Dtraps.c1765 unsigned long spefscr; in SPEFloatingPointException() local
1772 spefscr = current->thread.spefscr; in SPEFloatingPointException()
1775 if ((spefscr & SPEFSCR_FOVF) && (fpexc_mode & PR_FP_EXC_OVF)) { in SPEFloatingPointException()
1778 else if ((spefscr & SPEFSCR_FUNF) && (fpexc_mode & PR_FP_EXC_UND)) { in SPEFloatingPointException()
1781 else if ((spefscr & SPEFSCR_FDBZ) && (fpexc_mode & PR_FP_EXC_DIV)) in SPEFloatingPointException()
1783 else if ((spefscr & SPEFSCR_FINV) && (fpexc_mode & PR_FP_EXC_INV)) { in SPEFloatingPointException()
1786 else if ((spefscr & (SPEFSCR_FG | SPEFSCR_FX)) && (fpexc_mode & PR_FP_EXC_RES)) in SPEFloatingPointException()
Dsignal_32.c481 if (__put_user(current->thread.spefscr, (u32 __user *)&frame->mc_vregs + ELF_NEVRREG)) in save_user_regs()
639 if (__put_user(current->thread.spefscr, (u32 __user *)&frame->mc_vregs + ELF_NEVRREG)) in save_tm_user_regs()
759 if (__get_user(current->thread.spefscr, (u32 __user *)&sr->mc_vregs + ELF_NEVRREG)) in restore_user_regs()
873 if (__get_user(current->thread.spefscr, (u32 __user *)&sr->mc_vregs in restore_tm_user_regs()
Dprocess.c272 tsk->thread.spefscr = mfspr(SPRN_SPEFSCR); in flush_spe_to_thread()
1335 current->thread.spefscr = 0; in start_thread()
Dptrace.c582 offsetof(struct thread_struct, spefscr)); in evr_get()
605 offsetof(struct thread_struct, spefscr)); in evr_set()
Dasm-offsets.c115 DEFINE(THREAD_SPEFSCR, offsetof(struct thread_struct, spefscr)); in main()
743 DEFINE(VCPU_SPEFSCR, offsetof(struct kvm_vcpu, arch.spefscr)); in main()