/arch/sh/kernel/cpu/sh4/ |
D | fpu.c | 88 :"0"((char *)(&tsk->thread.xstate->hardfpu.status)), in save_fpu() 138 :"0" (tsk->thread.xstate), "r" (FPSCR_RCHG) in restore_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() [all …]
|
/arch/sh/kernel/ |
D | process.c | 13 if (src->thread.xstate) { in arch_dup_task_struct() 14 dst->thread.xstate = kmem_cache_alloc(task_xstate_cachep, in arch_dup_task_struct() 16 if (!dst->thread.xstate) in arch_dup_task_struct() 18 memcpy(dst->thread.xstate, src->thread.xstate, xstate_size); in arch_dup_task_struct() 26 if (tsk->thread.xstate) { in free_thread_xstate() 27 kmem_cache_free(task_xstate_cachep, tsk->thread.xstate); in free_thread_xstate() 28 tsk->thread.xstate = NULL; in free_thread_xstate()
|
D | traps_64.c | 620 current->thread.xstate->hardfpu.fp_regs[destreg] = buflo; in misaligned_fpu_load() 624 current->thread.xstate->hardfpu.fp_regs[destreg] = buflo; in misaligned_fpu_load() 625 current->thread.xstate->hardfpu.fp_regs[destreg+1] = bufhi; in misaligned_fpu_load() 628 current->thread.xstate->hardfpu.fp_regs[destreg] = bufhi; in misaligned_fpu_load() 629 current->thread.xstate->hardfpu.fp_regs[destreg+1] = buflo; in misaligned_fpu_load() 631 current->thread.xstate->hardfpu.fp_regs[destreg] = buflo; in misaligned_fpu_load() 632 current->thread.xstate->hardfpu.fp_regs[destreg+1] = bufhi; in misaligned_fpu_load() 692 buflo = current->thread.xstate->hardfpu.fp_regs[srcreg]; in misaligned_fpu_store() 696 buflo = current->thread.xstate->hardfpu.fp_regs[srcreg]; in misaligned_fpu_store() 697 bufhi = current->thread.xstate->hardfpu.fp_regs[srcreg+1]; in misaligned_fpu_store() [all …]
|
D | ptrace_32.c | 203 &target->thread.xstate->hardfpu, 0, -1); in fpregs_get() 206 &target->thread.xstate->softfpu, 0, -1); in fpregs_get() 224 &target->thread.xstate->hardfpu, 0, -1); in fpregs_set() 227 &target->thread.xstate->softfpu, 0, -1); in fpregs_set() 405 tmp = ((unsigned long *)child->thread.xstate) in arch_ptrace() 440 ((unsigned long *)child->thread.xstate) in arch_ptrace()
|
D | ptrace_64.c | 91 tmp = ((long *)task->thread.xstate)[addr / sizeof(unsigned long)]; in get_fpu_long() 126 ((long *)task->thread.xstate)[addr / sizeof(unsigned long)] = data; in put_fpu_long() 228 &target->thread.xstate->hardfpu, 0, -1); in fpregs_get() 245 &target->thread.xstate->hardfpu, 0, -1); in fpregs_set()
|
D | process_32.c | 227 prefetch(next_t->xstate); in __switch_to()
|
D | signal_32.c | 153 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()
|
D | signal_64.c | 292 err |= __copy_from_user(¤t->thread.xstate->hardfpu, &sc->sc_fpregs[0], in restore_sigcontext_fpu() 317 err |= __copy_to_user(&sc->sc_fpregs[0], ¤t->thread.xstate->hardfpu, in setup_sigcontext_fpu()
|
D | process_64.c | 392 memcpy(fpu, &tsk->thread.xstate->hardfpu, sizeof(*fpu)); in dump_fpu()
|
/arch/sh/kernel/cpu/ |
D | fpu.c | 18 if (!tsk->thread.xstate) { in init_fpu() 19 tsk->thread.xstate = kmem_cache_alloc(task_xstate_cachep, in init_fpu() 21 if (!tsk->thread.xstate) in init_fpu() 26 struct sh_fpu_hard_struct *fp = &tsk->thread.xstate->hardfpu; in init_fpu() 30 struct sh_fpu_soft_struct *fp = &tsk->thread.xstate->softfpu; in init_fpu()
|
/arch/sh/kernel/cpu/sh2a/ |
D | fpu.c | 55 : "0" ((char *)(&tsk->thread.xstate->hardfpu.status)), in save_fpu() 87 : "0" (tsk->thread.xstate), "r" (FPSCR_RCHG) in restore_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() [all …]
|
/arch/sh/kernel/cpu/sh5/ |
D | fpu.c | 57 : "r" (&tsk->thread.xstate->hardfpu) in save_fpu() 100 : "r" (&tsk->thread.xstate->hardfpu) in restore_fpu()
|
/arch/x86/include/asm/ |
D | xsave.h | 99 struct xsave_struct *xstate = ((__force struct xsave_struct *)buf); in xrestore_user() local 114 : "D" (xstate), "a" (lmask), "d" (hmask), "0" (0) in xrestore_user()
|
/arch/sh/include/asm/ |
D | processor_32.h | 113 union thread_xstate *xstate; member
|
D | processor_64.h | 129 union thread_xstate *xstate; member
|
/arch/sh/math-emu/ |
D | math.c | 555 if ((tsk->thread.xstate->softfpu.fpscr & (1 << 17))) { in ieee_fpe_handler() 557 denormal_to_double (&tsk->thread.xstate->softfpu, in ieee_fpe_handler() 559 tsk->thread.xstate->softfpu.fpscr &= in ieee_fpe_handler() 620 struct sh_fpu_soft_struct *fpu = &(tsk->thread.xstate->softfpu); in do_fpu_inst()
|