Home
last modified time | relevance | path

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

/arch/openrisc/kernel/
Dtraps.c89 regs->fpcsr); in show_registers()
185 unsigned long fpcsr = regs->fpcsr; in do_fpe_trap() local
187 if (fpcsr & SPR_FPCSR_IVF) in do_fpe_trap()
189 else if (fpcsr & SPR_FPCSR_OVF) in do_fpe_trap()
191 else if (fpcsr & SPR_FPCSR_UNF) in do_fpe_trap()
193 else if (fpcsr & SPR_FPCSR_DZF) in do_fpe_trap()
195 else if (fpcsr & SPR_FPCSR_IXF) in do_fpe_trap()
199 regs->fpcsr &= ~SPR_FPCSR_ALLF; in do_fpe_trap()
Dsignal.c58 err |= __copy_from_user(&regs->fpcsr, &sc->fpcsr, sizeof(unsigned long)); in restore_sigcontext()
121 err |= __copy_to_user(&sc->fpcsr, &regs->fpcsr, sizeof(unsigned long)); in setup_sigcontext()
Dptrace.c102 return membuf_store(&to, regs->fpcsr); in fpregs_get()
115 &regs->fpcsr, 0, 4); in fpregs_set()
/arch/openrisc/include/uapi/asm/
Dsigcontext.h32 unsigned long fpcsr; member
Dptrace.h35 unsigned long fpcsr; member
/arch/mips/kernel/
Dsignal-common.h28 extern int fpcsr_pending(unsigned int __user *fpcsr);
Dsignal.c496 int fpcsr_pending(unsigned int __user *fpcsr) in fpcsr_pending() argument
501 err = __get_user(csr, fpcsr); in fpcsr_pending()
509 err |= __put_user(csr, fpcsr); in fpcsr_pending()
/arch/openrisc/include/asm/
Dptrace.h62 long fpcsr; /* Floating point control status register. */ member