Home
last modified time | relevance | path

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

/freebsd/sys/amd64/amd64/
H A Dexec_machdep.c503 fill_fpregs_xmm(struct savefpu *sv_xmm, struct fpreg *fpregs) in fill_fpregs_xmm() argument
505 struct envxmm *penv_fpreg = (struct envxmm *)&fpregs->fpr_env; in fill_fpregs_xmm()
510 bzero(fpregs, sizeof(*fpregs)); in fill_fpregs_xmm()
528 bcopy(sv_xmm->sv_xmm[i].xmm_bytes, fpregs->fpr_xacc[i], 16); in fill_fpregs_xmm()
533 set_fpregs_xmm(struct fpreg *fpregs, struct savefpu *sv_xmm) in set_fpregs_xmm() argument
536 struct envxmm *penv_fpreg = (struct envxmm *)&fpregs->fpr_env; in set_fpregs_xmm()
556 bcopy(fpregs->fpr_xacc[i], sv_xmm->sv_xmm[i].xmm_bytes, 16); in set_fpregs_xmm()
561 fill_fpregs(struct thread *td, struct fpreg *fpregs) in fill_fpregs() argument
568 fill_fpregs_xmm(get_pcb_user_save_td(td), fpregs); in fill_fpregs()
574 set_fpregs(struct thread *td, struct fpreg *fpregs) in set_fpregs() argument
[all …]
/freebsd/sys/riscv/include/
H A Ducontext.h50 struct fpregs { struct
59 struct fpregs mc_fpregs; argument
/freebsd/sys/arm64/include/
H A Ducontext.h46 struct fpregs { struct
68 struct fpregs mc_fpregs;
/freebsd/sys/fs/procfs/
H A Dprocfs_fpregs.c112 error = PROC(read, fpregs, td2, &r); in procfs_doprocfpregs()
123 error = PROC(write, fpregs, td2, &r); in procfs_doprocfpregs()
/freebsd/lib/libthread_db/
H A Dlibpthread_db.c719 pt_thr_getfpregs(const td_thrhandle_t *th, prfpregset_t *fpregs) in pt_thr_getfpregs() argument
734 ret = ps_lgetfpregs(ta->ph, ta->map[th->th_tid].lwp, fpregs); in pt_thr_getfpregs()
748 ret = ps_lgetfpregs(ta->ph, lwp, fpregs); in pt_thr_getfpregs()
755 pt_ucontext_to_fpreg(&tmbx.tm_context, fpregs); in pt_thr_getfpregs()
852 pt_thr_setfpregs(const td_thrhandle_t *th, const prfpregset_t *fpregs) in pt_thr_setfpregs() argument
867 ret = ps_lsetfpregs(ta->ph, ta->map[th->th_tid].lwp, fpregs); in pt_thr_setfpregs()
882 ret = ps_lsetfpregs(ta->ph, lwp, fpregs); in pt_thr_setfpregs()
893 pt_fpreg_to_ucontext(fpregs, &tmbx.tm_context); in pt_thr_setfpregs()
H A Dlibthr_db.c544 pt_thr_getfpregs(const td_thrhandle_t *th, prfpregset_t *fpregs) in pt_thr_getfpregs() argument
555 ret = ps_lgetfpregs(ta->ph, th->th_tid, fpregs); in pt_thr_getfpregs()
594 pt_thr_setfpregs(const td_thrhandle_t *th, const prfpregset_t *fpregs) in pt_thr_setfpregs() argument
605 ret = ps_lsetfpregs(ta->ph, th->th_tid, fpregs); in pt_thr_setfpregs()
H A Dthread_db.c234 td_thr_setfpregs(const td_thrhandle_t *th, const prfpregset_t *fpregs) in td_thr_setfpregs() argument
237 return (ta->ta_ops->to_thr_setfpregs(th, fpregs)); in td_thr_setfpregs()
/freebsd/sys/powerpc/powerpc/
H A Dexec_machdep.c747 fill_fpregs(struct thread *td, struct fpreg *fpregs) in fill_fpregs() argument
755 memset(fpregs, 0, sizeof(struct fpreg)); in fill_fpregs()
757 memcpy(&fpregs->fpscr, &pcb->pcb_fpu.fpscr, sizeof(double)); in fill_fpregs()
759 memcpy(&fpregs->fpreg[i], &pcb->pcb_fpu.fpr[i].fpr, in fill_fpregs()
785 set_fpregs(struct thread *td, struct fpreg *fpregs) in set_fpregs() argument
792 memcpy(&pcb->pcb_fpu.fpscr, &fpregs->fpscr, sizeof(double)); in set_fpregs()
794 memcpy(&pcb->pcb_fpu.fpr[i].fpr, &fpregs->fpreg[i], in set_fpregs()
/freebsd/sys/i386/i386/
H A Dexec_machdep.c1072 fill_fpregs(struct thread *td, struct fpreg *fpregs) in fill_fpregs() argument
1081 (struct save87 *)fpregs); in fill_fpregs()
1083 bcopy(&get_pcb_user_save_td(td)->sv_87, fpregs, in fill_fpregs()
1084 sizeof(*fpregs)); in fill_fpregs()
1089 set_fpregs(struct thread *td, struct fpreg *fpregs) in set_fpregs() argument
1094 npx_set_fpregs_xmm((struct save87 *)fpregs, in set_fpregs()
1097 bcopy(fpregs, &get_pcb_user_save_td(td)->sv_87, in set_fpregs()
1098 sizeof(*fpregs)); in set_fpregs()
/freebsd/sys/kern/
H A Dsys_process.c143 proc_read_fpregs(struct thread *td, struct fpreg *fpregs) in proc_read_fpregs() argument
146 PROC_ACTION(fill_fpregs(td, fpregs)); in proc_read_fpregs()
150 proc_write_fpregs(struct thread *td, struct fpreg *fpregs) in proc_write_fpregs() argument
153 PROC_ACTION(set_fpregs(td, fpregs)); in proc_write_fpregs()
1441 error = PROC_WRITE(fpregs, td2, addr); in kern_ptrace()
1447 error = PROC_READ(fpregs, td2, addr); in kern_ptrace()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_posix.cpp229 const auto *fpregs = static_cast<ucontext_t *>(ctx)->uc_mcontext.fpregs; in ucontext_t_sz() local
233 reinterpret_cast<const uint32_t *>(fpregs + 1) - 24; in ucontext_t_sz()
235 return reinterpret_cast<const char *>(fpregs) + after_xmm[13] - in ucontext_t_sz()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARM.td40 def FeatureFPRegs : SubtargetFeature<"fpregs", "HasFPRegs", "true",