Home
last modified time | relevance | path

Searched refs:hardfpu (Results 1 – 12 of 12) sorted by relevance

/linux-2.6.39/arch/sh/kernel/cpu/sh4/
Dfpu.c88 :"0"((char *)(&tsk->thread.xstate->hardfpu.status)), in save_fpu()
234 if ((tsk->thread.xstate->hardfpu.fpscr & FPSCR_CAUSE_ERROR)) in ieee_fpe_handler()
236 denormal_to_double(&tsk->thread.xstate->hardfpu, in ieee_fpe_handler()
252 hx = tsk->thread.xstate->hardfpu.fp_regs[n]; in ieee_fpe_handler()
253 hy = tsk->thread.xstate->hardfpu.fp_regs[m]; in ieee_fpe_handler()
254 fpscr = tsk->thread.xstate->hardfpu.fpscr; in ieee_fpe_handler()
264 | tsk->thread.xstate->hardfpu.fp_regs[n + 1]; in ieee_fpe_handler()
266 | tsk->thread.xstate->hardfpu.fp_regs[m + 1]; in ieee_fpe_handler()
268 tsk->thread.xstate->hardfpu.fp_regs[n] = llx >> 32; in ieee_fpe_handler()
269 tsk->thread.xstate->hardfpu.fp_regs[n + 1] = llx & 0xffffffff; in ieee_fpe_handler()
[all …]
/linux-2.6.39/arch/sh/kernel/cpu/sh2a/
Dfpu.c54 : "0" ((char *)(&tsk->thread.xstate->hardfpu.status)), in save_fpu()
458 if ((tsk->thread.xstate->hardfpu.fpscr & FPSCR_FPU_ERROR)) { in ieee_fpe_handler()
460 denormal_to_double (&tsk->thread.xstate->hardfpu, in ieee_fpe_handler()
475 hx = tsk->thread.xstate->hardfpu.fp_regs[n]; in ieee_fpe_handler()
476 hy = tsk->thread.xstate->hardfpu.fp_regs[m]; in ieee_fpe_handler()
477 fpscr = tsk->thread.xstate->hardfpu.fpscr; in ieee_fpe_handler()
487 | tsk->thread.xstate->hardfpu.fp_regs[n+1]; in ieee_fpe_handler()
489 | tsk->thread.xstate->hardfpu.fp_regs[m+1]; in ieee_fpe_handler()
494 tsk->thread.xstate->hardfpu.fp_regs[n] = llx >> 32; in ieee_fpe_handler()
495 tsk->thread.xstate->hardfpu.fp_regs[n+1] = llx & 0xffffffff; in ieee_fpe_handler()
[all …]
/linux-2.6.39/arch/sh/kernel/
Dtraps_64.c621 current->thread.xstate->hardfpu.fp_regs[destreg] = buflo; in misaligned_fpu_load()
625 current->thread.xstate->hardfpu.fp_regs[destreg] = buflo; in misaligned_fpu_load()
626 current->thread.xstate->hardfpu.fp_regs[destreg+1] = bufhi; in misaligned_fpu_load()
629 current->thread.xstate->hardfpu.fp_regs[destreg] = bufhi; in misaligned_fpu_load()
630 current->thread.xstate->hardfpu.fp_regs[destreg+1] = buflo; in misaligned_fpu_load()
632 current->thread.xstate->hardfpu.fp_regs[destreg] = buflo; in misaligned_fpu_load()
633 current->thread.xstate->hardfpu.fp_regs[destreg+1] = bufhi; in misaligned_fpu_load()
693 buflo = current->thread.xstate->hardfpu.fp_regs[srcreg]; in misaligned_fpu_store()
697 buflo = current->thread.xstate->hardfpu.fp_regs[srcreg]; in misaligned_fpu_store()
698 bufhi = current->thread.xstate->hardfpu.fp_regs[srcreg+1]; in misaligned_fpu_store()
[all …]
Dptrace_64.c228 &target->thread.xstate->hardfpu, 0, -1); in fpregs_get()
245 &target->thread.xstate->hardfpu, 0, -1); in fpregs_set()
Dptrace_32.c203 &target->thread.xstate->hardfpu, 0, -1); in fpregs_get()
224 &target->thread.xstate->hardfpu, 0, -1); in fpregs_set()
Dsignal_32.c153 return __copy_from_user(&tsk->thread.xstate->hardfpu, &sc->sc_fpregs[0], in restore_sigcontext_fpu()
178 return __copy_to_user(&sc->sc_fpregs[0], &tsk->thread.xstate->hardfpu, in save_sigcontext_fpu()
Dsignal_64.c300 err |= __copy_from_user(&current->thread.xstate->hardfpu, &sc->sc_fpregs[0], in restore_sigcontext_fpu()
325 err |= __copy_to_user(&sc->sc_fpregs[0], &current->thread.xstate->hardfpu, in setup_sigcontext_fpu()
Dprocess_64.c391 memcpy(fpu, &tsk->thread.xstate->hardfpu, sizeof(*fpu)); in dump_fpu()
/linux-2.6.39/arch/sh/kernel/cpu/sh5/
Dfpu.c57 : "r" (&tsk->thread.xstate->hardfpu) in save_fpu()
100 : "r" (&tsk->thread.xstate->hardfpu) in restore_fpu()
/linux-2.6.39/arch/sh/kernel/cpu/
Dfpu.c25 struct sh_fpu_hard_struct *fp = &tsk->thread.xstate->hardfpu; in init_fpu()
/linux-2.6.39/arch/sh/include/asm/
Dprocessor_32.h92 struct sh_fpu_hard_struct hardfpu; member
Dprocessor_64.h98 struct sh_fpu_hard_struct hardfpu; member