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

/linux-master/arch/powerpc/kernel/ptrace/
H A Dptrace-spe.c15 * u32 spefscr;
33 offsetof(struct thread_struct, spefscr));
52 offsetof(struct thread_struct, spefscr));
/linux-master/arch/powerpc/include/asm/
H A Dprocessor.h196 unsigned long spefscr; /* SPE & eFP status */ member in struct:thread_struct
274 .spefscr = SPEFSCR_FINVE | SPEFSCR_FDBZE | SPEFSCR_FUNFE | SPEFSCR_FOVFE, \
H A Dsfp-machine.h108 #define __FPU_FPSCR (current->thread.spefscr)
H A Dkvm_host.h552 ulong spefscr; member in struct:kvmppc_slb::kvm_vcpu_arch
/linux-master/arch/powerpc/kernel/
H A Dtraps.c2151 unsigned long spefscr; local
2160 spefscr = current->thread.spefscr;
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 Dprocess.c398 tsk->thread.spefscr = mfspr(SPRN_SPEFSCR);
600 tsk->thread.spefscr = mfspr(SPRN_SPEFSCR);
1164 t->spefscr = mfspr(SPRN_SPEFSCR);
1235 old_thread->spefscr != new_thread->spefscr)
1236 mtspr(SPRN_SPEFSCR, new_thread->spefscr);
1989 current->thread.spefscr = 0;
H A Dsignal_32.c326 /* We always copy to/from spefscr */
327 unsafe_put_user(current->thread.spefscr,
555 unsafe_get_user(current->thread.spefscr, (u32 __user *)&sr->mc_vregs + ELF_NEVRREG, failed);
H A Dasm-offsets.c651 OFFSET(VCPU_SPEFSCR, kvm_vcpu, arch.spefscr);

Completed in 389 milliseconds