Searched refs:spefscr (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/arch/powerpc/kernel/ |
D | traps.c | 2004 unsigned long spefscr; in SPEFloatingPointException() local 2011 spefscr = current->thread.spefscr; in SPEFloatingPointException() 2014 if ((spefscr & SPEFSCR_FOVF) && (fpexc_mode & PR_FP_EXC_OVF)) { in SPEFloatingPointException() 2017 else if ((spefscr & SPEFSCR_FUNF) && (fpexc_mode & PR_FP_EXC_UND)) { in SPEFloatingPointException() 2020 else if ((spefscr & SPEFSCR_FDBZ) && (fpexc_mode & PR_FP_EXC_DIV)) in SPEFloatingPointException() 2022 else if ((spefscr & SPEFSCR_FINV) && (fpexc_mode & PR_FP_EXC_INV)) { in SPEFloatingPointException() 2025 else if ((spefscr & (SPEFSCR_FG | SPEFSCR_FX)) && (fpexc_mode & PR_FP_EXC_RES)) in SPEFloatingPointException()
|
D | signal_32.c | 460 if (__put_user(current->thread.spefscr, (u32 __user *)&frame->mc_vregs + ELF_NEVRREG)) in save_user_regs() 615 if (__put_user(current->thread.spefscr, (u32 __user *)&frame->mc_vregs + ELF_NEVRREG)) in save_tm_user_regs() 729 if (__get_user(current->thread.spefscr, (u32 __user *)&sr->mc_vregs + ELF_NEVRREG)) in restore_user_regs() 839 if (__get_user(current->thread.spefscr, (u32 __user *)&sr->mc_vregs in restore_tm_user_regs()
|
D | process.c | 463 tsk->thread.spefscr = mfspr(SPRN_SPEFSCR); in flush_spe_to_thread() 598 tsk->thread.spefscr = mfspr(SPRN_SPEFSCR); in flush_all_to_thread() 1834 current->thread.spefscr = 0; in start_thread()
|
D | asm-offsets.c | 125 OFFSET(THREAD_SPEFSCR, thread_struct, spefscr); in main() 737 OFFSET(VCPU_SPEFSCR, kvm_vcpu, arch.spefscr); in main()
|
D | ptrace.c | 745 offsetof(struct thread_struct, spefscr)); in evr_get() 768 offsetof(struct thread_struct, spefscr)); in evr_set()
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | processor.h | 291 unsigned long spefscr; /* SPE & eFP status */ member 371 .spefscr = SPEFSCR_FINVE | SPEFSCR_FDBZE | SPEFSCR_FUNFE | SPEFSCR_FOVFE, \
|
D | sfp-machine.h | 108 #define __FPU_FPSCR (current->thread.spefscr)
|
D | kvm_host.h | 507 ulong spefscr; member
|