Searched refs:fpcsr (Results 1 – 9 of 9) sorted by relevance
/linux/arch/openrisc/kernel/ |
H A D | traps.c | 186 unsigned long fpcsr; in do_fpe_trap() local 189 fpcsr = current->thread.fpcsr; in do_fpe_trap() 191 if (fpcsr & SPR_FPCSR_IVF) in do_fpe_trap() 193 else if (fpcsr & SPR_FPCSR_OVF) in do_fpe_trap() 195 else if (fpcsr & SPR_FPCSR_UNF) in do_fpe_trap() 197 else if (fpcsr & SPR_FPCSR_DZF) in do_fpe_trap() 199 else if (fpcsr & SPR_FPCSR_IXF) in do_fpe_trap() 203 current->thread.fpcsr &= ~SPR_FPCSR_ALLF; in do_fpe_trap()
|
H A D | signal.c | 48 err = __copy_from_user(¤t->thread.fpcsr, &sc->fpcsr, sizeof(unsigned long)); in restore_fp_state() 65 err = __copy_to_user(&sc->fpcsr, ¤t->thread.fpcsr, sizeof(unsigned long)); in save_fp_state()
|
H A D | ptrace.c | 101 return membuf_store(&to, target->thread.fpcsr); in fpregs_get() 111 &target->thread.fpcsr, 0, 4); in fpregs_set()
|
/linux/arch/openrisc/include/asm/ |
H A D | fpu.h | 10 task->thread.fpcsr = mfspr(SPR_FPCSR); in save_fpu() 15 mtspr(SPR_FPCSR, task->thread.fpcsr); in restore_fpu()
|
H A D | processor.h | 47 long fpcsr; /* Floating point control status register. */ member
|
/linux/arch/openrisc/include/uapi/asm/ |
H A D | sigcontext.h | 32 unsigned long fpcsr; member
|
H A D | ptrace.h | 35 unsigned long fpcsr; member
|
/linux/arch/mips/kernel/ |
H A D | signal-common.h | 28 extern int fpcsr_pending(unsigned int __user *fpcsr);
|
H A D | signal.c | 497 int fpcsr_pending(unsigned int __user *fpcsr) in fpcsr_pending() argument 502 err = __get_user(csr, fpcsr); in fpcsr_pending() 510 err |= __put_user(csr, fpcsr); in fpcsr_pending()
|