Home
last modified time | relevance | path

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

/linux/arch/powerpc/kernel/ptrace/
A Dptrace-vsx.c32 buf[32] = target->thread.fp_state.fpscr; in fpr_get()
60 buf[32] = target->thread.fp_state.fpscr; in fpr_set()
69 target->thread.fp_state.fpscr = buf[32]; in fpr_set()
109 buf[i] = target->thread.fp_state.fpr[i][TS_VSRLOWOFFSET]; in vsr_get()
139 buf[i] = target->thread.fp_state.fpr[i][TS_VSRLOWOFFSET]; in vsr_set()
145 target->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = buf[i]; in vsr_set()
A Dptrace32.c97 tmp = ((unsigned int *)child->thread.fp_state.fpr) in compat_arch_ptrace()
138 tmp = child->thread.fp_state.fpr[numReg - PT_FPR0][0]; in compat_arch_ptrace()
197 ((unsigned int *)child->thread.fp_state.fpr) in compat_arch_ptrace()
240 tmp = &child->thread.fp_state.fpr[numReg - PT_FPR0][0]; in compat_arch_ptrace()
A Dptrace-novsx.c30 return membuf_write(&to, &target->thread.fp_state, 33 * sizeof(u64)); in fpr_get()
60 &target->thread.fp_state, 0, -1); in fpr_set()
A Dptrace-fpu.c23 *data = child->thread.fp_state.fpscr; in ptrace_get_fpr()
45 child->thread.fp_state.fpscr = data; in ptrace_put_fpr()
/linux/arch/powerpc/kernel/
A Dsignal.h58 unsafe_put_user(__t->thread.fp_state.fpscr, &buf[i], label); \
67 unsafe_put_user(__t->thread.fp_state.fpr[i][TS_VSRLOWOFFSET], \
78 unsafe_get_user(__t->thread.fp_state.fpscr, &buf[i], label); \
87 unsafe_get_user(__t->thread.fp_state.fpr[i][TS_VSRLOWOFFSET], \
135 unsafe_copy_to_user(to, (task)->thread.fp_state.fpr, \
139 unsafe_copy_from_user((task)->thread.fp_state.fpr, from, \
145 return __copy_to_user(to, task->thread.fp_state.fpr, in copy_fpr_to_user()
152 return __copy_from_user(task->thread.fp_state.fpr, from, in copy_fpr_from_user()
A Dsignal.c38 buf[i] = task->thread.fp_state.fpscr; in copy_fpr_to_user()
52 task->thread.fp_state.fpscr = buf[i]; in copy_fpr_from_user()
65 buf[i] = task->thread.fp_state.fpr[i][TS_VSRLOWOFFSET]; in copy_vsx_to_user()
78 task->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = buf[i]; in copy_vsx_from_user()
A Dsignal_32.c521 current->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = 0; in restore_user_regs()
618 current->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = 0; in restore_tm_user_regs()
689 load_fp_state(&current->thread.fp_state); in restore_tm_user_regs()
790 tsk->thread.fp_state.fpscr = 0; /* turn off all fp exceptions */ in handle_rt_signal32()
881 tsk->thread.fp_state.fpscr = 0; /* turn off all fp exceptions */ in handle_signal32()
A Dsignal_64.c415 tsk->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = 0; in __unsafe_restore_sigcontext()
552 tsk->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = 0; in restore_tm_sigcontexts()
593 load_fp_state(&tsk->thread.fp_state); in restore_tm_sigcontexts()
913 tsk->thread.fp_state.fpscr = 0; in handle_rt_signal64()
A Dprocess.c468 load_fp_state(&current->thread.fp_state); in do_restore_fp()
941 memcpy(&thr->ckfp_state, &thr->fp_state, in tm_reclaim_thread()
1887 memset(&current->thread.fp_state, 0, sizeof(current->thread.fp_state)); in start_thread()
A Dtraps.c912 vdst = (u8 *)&current->thread.fp_state.fpr[t][0]; in p9_hmi_special_emu()
1185 code = __parse_fpscr(current->thread.fp_state.fpscr); in parse_fpe()
1444 code = __parse_fpscr(current->thread.fp_state.fpscr); in emulate_math()
A Dasm-offsets.c108 OFFSET(THREAD_FPSTATE, thread_struct, fp_state.fpr); in main()
/linux/arch/arm/include/asm/
A Dfpstate.h70 union fp_state { union
78 #define FP_SIZE (sizeof(union fp_state) / sizeof(int))
A Dthread_info.h66 union fp_state fpstate __attribute__((aligned(8)));
/linux/arch/ia64/kernel/
A 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/arch/ia64/include/asm/
A Dfpswa.h60 unsigned long *ifs, fp_state_t *fp_state);
/linux/arch/powerpc/include/asm/
A Dprocessor.h80 #define TS_FPR(i) fp_state.fpr[i][TS_FPROFFSET]
165 struct thread_fp_state fp_state; member
A Dsfp-machine.h128 #define __FPU_FPSCR (current->thread.fp_state.fpscr)
/linux/arch/arm/nwfpe/
A Dfpa11.c73 void nwfpe_init_fpa(union fp_state *fp) in nwfpe_init_fpa()
A Dfpa11.h83 extern void nwfpe_init_fpa(union fp_state *fp);
A Dfpmodule.c76 if (sizeof(FPA11) > sizeof(union fp_state)) { in fpe_init()
/linux/arch/arm/kernel/
A Dptrace.c762 0, sizeof(union fp_state), in arch_ptrace()
769 0, sizeof(union fp_state), in arch_ptrace()
A Dprocess.c223 memset(&thread->fpstate, 0, sizeof(union fp_state)); in flush_thread()
/linux/arch/powerpc/lib/
A Dsstep.c982 current->thread.fp_state.fpr[reg + i][0] = buf[j].d[0]; in do_vsx_load()
983 current->thread.fp_state.fpr[reg + i][1] = buf[j].d[1]; in do_vsx_load()
1028 buf[j].d[0] = current->thread.fp_state.fpr[reg + i][0]; in do_vsx_store()
1029 buf[j].d[1] = current->thread.fp_state.fpr[reg + i][1]; in do_vsx_store()

Completed in 43 milliseconds