Home
last modified time | relevance | path

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

/Linux-v4.19/arch/sh/kernel/cpu/sh4/
Dfpu.c87 :"0"((char *)(&tsk->thread.xstate->hardfpu.status)), in save_fpu()
233 if ((tsk->thread.xstate->hardfpu.fpscr & FPSCR_CAUSE_ERROR)) in ieee_fpe_handler()
235 denormal_to_double(&tsk->thread.xstate->hardfpu, in ieee_fpe_handler()
251 hx = tsk->thread.xstate->hardfpu.fp_regs[n]; in ieee_fpe_handler()
252 hy = tsk->thread.xstate->hardfpu.fp_regs[m]; in ieee_fpe_handler()
253 fpscr = tsk->thread.xstate->hardfpu.fpscr; in ieee_fpe_handler()
263 | tsk->thread.xstate->hardfpu.fp_regs[n + 1]; in ieee_fpe_handler()
265 | tsk->thread.xstate->hardfpu.fp_regs[m + 1]; in ieee_fpe_handler()
267 tsk->thread.xstate->hardfpu.fp_regs[n] = llx >> 32; in ieee_fpe_handler()
268 tsk->thread.xstate->hardfpu.fp_regs[n + 1] = llx & 0xffffffff; in ieee_fpe_handler()
[all …]
/Linux-v4.19/arch/sh/kernel/cpu/sh2a/
Dfpu.c55 : "0" ((char *)(&tsk->thread.xstate->hardfpu.status)), in save_fpu()
459 if ((tsk->thread.xstate->hardfpu.fpscr & FPSCR_FPU_ERROR)) { in ieee_fpe_handler()
461 denormal_to_double (&tsk->thread.xstate->hardfpu, in ieee_fpe_handler()
476 hx = tsk->thread.xstate->hardfpu.fp_regs[n]; in ieee_fpe_handler()
477 hy = tsk->thread.xstate->hardfpu.fp_regs[m]; in ieee_fpe_handler()
478 fpscr = tsk->thread.xstate->hardfpu.fpscr; in ieee_fpe_handler()
488 | tsk->thread.xstate->hardfpu.fp_regs[n+1]; in ieee_fpe_handler()
490 | tsk->thread.xstate->hardfpu.fp_regs[m+1]; in ieee_fpe_handler()
495 tsk->thread.xstate->hardfpu.fp_regs[n] = llx >> 32; in ieee_fpe_handler()
496 tsk->thread.xstate->hardfpu.fp_regs[n+1] = llx & 0xffffffff; in ieee_fpe_handler()
[all …]
/Linux-v4.19/arch/sh/kernel/
Dtraps_64.c356 current->thread.xstate->hardfpu.fp_regs[destreg] = buflo; in misaligned_fpu_load()
360 current->thread.xstate->hardfpu.fp_regs[destreg] = buflo; in misaligned_fpu_load()
361 current->thread.xstate->hardfpu.fp_regs[destreg+1] = bufhi; in misaligned_fpu_load()
364 current->thread.xstate->hardfpu.fp_regs[destreg] = bufhi; in misaligned_fpu_load()
365 current->thread.xstate->hardfpu.fp_regs[destreg+1] = buflo; in misaligned_fpu_load()
367 current->thread.xstate->hardfpu.fp_regs[destreg] = buflo; in misaligned_fpu_load()
368 current->thread.xstate->hardfpu.fp_regs[destreg+1] = bufhi; in misaligned_fpu_load()
423 buflo = current->thread.xstate->hardfpu.fp_regs[srcreg]; in misaligned_fpu_store()
427 buflo = current->thread.xstate->hardfpu.fp_regs[srcreg]; in misaligned_fpu_store()
428 bufhi = current->thread.xstate->hardfpu.fp_regs[srcreg+1]; in misaligned_fpu_store()
[all …]
Dptrace_64.c229 &target->thread.xstate->hardfpu, 0, -1); in fpregs_get()
246 &target->thread.xstate->hardfpu, 0, -1); in fpregs_set()
Dptrace_32.c200 &target->thread.xstate->hardfpu, 0, -1); in fpregs_get()
221 &target->thread.xstate->hardfpu, 0, -1); in fpregs_set()
Dsignal_32.c86 return __copy_from_user(&tsk->thread.xstate->hardfpu, &sc->sc_fpregs[0], in restore_sigcontext_fpu()
110 return __copy_to_user(&sc->sc_fpregs[0], &tsk->thread.xstate->hardfpu, in save_sigcontext_fpu()
Dsignal_64.c160 err |= __copy_from_user(&current->thread.xstate->hardfpu, &sc->sc_fpregs[0], in restore_sigcontext_fpu()
185 err |= __copy_to_user(&sc->sc_fpregs[0], &current->thread.xstate->hardfpu, in setup_sigcontext_fpu()
Dprocess_64.c363 memcpy(fpu, &tsk->thread.xstate->hardfpu, sizeof(*fpu)); in dump_fpu()
/Linux-v4.19/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-v4.19/arch/sh/kernel/cpu/
Dfpu.c30 struct sh_fpu_hard_struct *fp = &tsk->thread.xstate->hardfpu; in init_fpu()
/Linux-v4.19/arch/sh/include/asm/
Dprocessor_32.h93 struct sh_fpu_hard_struct hardfpu; member
Dprocessor_64.h98 struct sh_fpu_hard_struct hardfpu; member