Home
last modified time | relevance | path

Searched refs:fp_state (Results 1 – 25 of 25) sorted by relevance

/Linux-v5.4/arch/arm/include/asm/
Dfpstate.h70 union fp_state { union
78 #define FP_SIZE (sizeof(union fp_state) / sizeof(int))
Dthread_info.h63 union fp_state fpstate __attribute__((aligned(8)));
/Linux-v5.4/arch/powerpc/kernel/
Dptrace32.c107 tmp = ((unsigned int *)child->thread.fp_state.fpr) in compat_arch_ptrace()
149 tmp = child->thread.fp_state.fpr[numReg - PT_FPR0][0]; in compat_arch_ptrace()
209 ((unsigned int *)child->thread.fp_state.fpr) in compat_arch_ptrace()
253 tmp = &child->thread.fp_state.fpr[numReg - PT_FPR0][0]; in compat_arch_ptrace()
Dsignal_32.c248 buf[i] = task->thread.fp_state.fpscr; in copy_fpr_to_user()
262 task->thread.fp_state.fpscr = buf[i]; in copy_fpr_from_user()
275 buf[i] = task->thread.fp_state.fpr[i][TS_VSRLOWOFFSET]; in copy_vsx_to_user()
288 task->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = buf[i]; in copy_vsx_from_user()
350 return __copy_to_user(to, task->thread.fp_state.fpr, in copy_fpr_to_user()
357 return __copy_from_user(task->thread.fp_state.fpr, from, in copy_fpr_from_user()
703 current->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = 0; in restore_user_regs()
816 current->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = 0; in restore_tm_user_regs()
878 load_fp_state(&current->thread.fp_state); in restore_tm_user_regs()
966 tsk->thread.fp_state.fpscr = 0; /* turn off all fp exceptions */ in handle_rt_signal32()
[all …]
Dsignal_64.c414 tsk->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = 0; in restore_sigcontext()
548 tsk->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = 0; in restore_tm_sigcontexts()
589 load_fp_state(&tsk->thread.fp_state); in restore_tm_sigcontexts()
866 tsk->thread.fp_state.fpscr = 0; in handle_rt_signal64()
Dptrace.c458 buf[32] = target->thread.fp_state.fpscr; in fpr_get()
467 &target->thread.fp_state, 0, -1); in fpr_get()
496 buf[32] = target->thread.fp_state.fpscr; in fpr_set()
505 target->thread.fp_state.fpscr = buf[32]; in fpr_set()
514 &target->thread.fp_state, 0, -1); in fpr_set()
681 buf[i] = target->thread.fp_state.fpr[i][TS_VSRLOWOFFSET]; in vsr_get()
714 buf[i] = target->thread.fp_state.fpr[i][TS_VSRLOWOFFSET]; in vsr_set()
720 target->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = buf[i]; in vsr_set()
3020 tmp = child->thread.fp_state.fpscr; in arch_ptrace()
3053 child->thread.fp_state.fpscr = data; in arch_ptrace()
Dprocess.c243 load_fp_state(&current->thread.fp_state); in restore_fp()
866 memcpy(&thr->ckfp_state, &thr->fp_state, in tm_reclaim_thread()
1791 memset(&current->thread.fp_state, 0, sizeof(current->thread.fp_state)); in start_thread()
Dtraps.c912 vdst = (u8 *)&current->thread.fp_state.fpr[t][0]; in p9_hmi_special_emu()
1178 code = __parse_fpscr(current->thread.fp_state.fpscr); in parse_fpe()
1438 code = __parse_fpscr(current->thread.fp_state.fpscr); in emulate_math()
Dasm-offsets.c111 OFFSET(THREAD_FPSTATE, thread_struct, fp_state.fpr); in main()
/Linux-v5.4/arch/ia64/kernel/
Dtraps.c236 fp_state_t fp_state; in fp_emulate() local
242 memset(&fp_state, 0, sizeof(fp_state_t)); in fp_emulate()
249 fp_state.bitmask_low64 = 0xfc0; /* bit6..bit11 */ in fp_emulate()
251 fp_state.fp_state_low_volatile = (fp_state_low_volatile_t *) &regs->f6; in fp_emulate()
266 (unsigned long *) ifs, &fp_state); in fp_emulate()
/Linux-v5.4/arch/unicore32/include/asm/
Dfpstate.h17 struct fp_state { struct
Dsuspend.h20 struct fp_state fpstate __attribute__((aligned(8)));
Delf.h27 typedef struct fp_state elf_fpregset_t;
Dthread_info.h75 struct fp_state fpstate __attribute__((aligned(8)));
/Linux-v5.4/arch/ia64/include/asm/
Dfpswa.h60 unsigned long *ifs, fp_state_t *fp_state);
/Linux-v5.4/arch/arm/nwfpe/
Dfpa11.c73 void nwfpe_init_fpa(union fp_state *fp) in nwfpe_init_fpa()
Dfpa11.h83 extern void nwfpe_init_fpa(union fp_state *fp);
Dfpmodule.c76 if (sizeof(FPA11) > sizeof(union fp_state)) { in fpe_init()
/Linux-v5.4/arch/powerpc/include/asm/
Dprocessor.h90 #define TS_FPR(i) fp_state.fpr[i][TS_FPROFFSET]
168 struct thread_fp_state fp_state; member
Dsfp-machine.h128 #define __FPU_FPSCR (current->thread.fp_state.fpscr)
/Linux-v5.4/arch/unicore32/kernel/
Dprocess.c211 memset(&thread->fpstate, 0, sizeof(struct fp_state)); in flush_thread()
Dentry.S409 @ r20 = fp_state
/Linux-v5.4/arch/arm/kernel/
Dptrace.c816 0, sizeof(union fp_state), in arch_ptrace()
823 0, sizeof(union fp_state), in arch_ptrace()
Dprocess.c213 memset(&thread->fpstate, 0, sizeof(union fp_state)); in flush_thread()
/Linux-v5.4/arch/powerpc/lib/
Dsstep.c835 current->thread.fp_state.fpr[reg][0] = buf.d[0]; in do_vsx_load()
836 current->thread.fp_state.fpr[reg][1] = buf.d[1]; in do_vsx_load()
866 buf.d[0] = current->thread.fp_state.fpr[reg][0]; in do_vsx_store()
867 buf.d[1] = current->thread.fp_state.fpr[reg][1]; in do_vsx_store()