Home
last modified time | relevance | path

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

12

/netbsd-src/sys/arch/sparc64/sparc64/
H A Ddb_trace.c451 struct fpstate64 *fpstate; in db_dump_fpstate() local
454 fpstate = DDB_FP; in db_dump_fpstate()
457 fpstate = (struct fpstate64 *)(uintptr_t)addr; in db_dump_fpstate()
460 fpstate, (unsigned long long)fpstate->fs_fsr, in db_dump_fpstate()
461 (unsigned long)fpstate->fs_gsr); in db_dump_fpstate()
463 (unsigned int)fpstate->fs_regs[0], in db_dump_fpstate()
464 (unsigned int)fpstate->fs_regs[1], in db_dump_fpstate()
465 (unsigned int)fpstate->fs_regs[2], in db_dump_fpstate()
466 (unsigned int)fpstate->fs_regs[3], in db_dump_fpstate()
467 (unsigned int)fpstate->fs_regs[4], in db_dump_fpstate()
[all …]
H A Dcpu.c402 struct fpstate64 *fpstate; in cpu_reset_fpustate() local
406 fpstate = ALIGNFPSTATE(&fps[1]); in cpu_reset_fpustate()
414 fpstate->fs_fsr = 7 << FSR_VER_SHIFT; /* 7 is reserved for "none" */ in cpu_reset_fpustate()
415 savefpstate(fpstate); in cpu_reset_fpustate()
H A Dnetbsd32_machdep.c450 struct fpstate *fsp; in netbsd32_cpu_getmcontext()
536 struct fpstate *fsp; in netbsd32_cpu_setmcontext()
/netbsd-src/sys/arch/sparc/fpu/
H A Dfpu_extern.h38 struct fpstate;
50 int fpu_cleanup(struct lwp *, struct fpstate *);
51 int fpu_emulate(struct lwp *, struct trapframe *, struct fpstate *);
H A Dfpu.c132 struct fpstate *fs in fpu_cleanup()
251 struct fpstate *fs;
306 struct fpstate *fs; in fpu_execute()
H A Dfpu_emu.h143 struct fpstate *fe_fpstate; /* registers, etc */
/netbsd-src/sys/arch/powerpc/powerpc/
H A Dcore_machdep.c83 md_core.fpstate = pcb->pcb_fpu; in cpu_coredump()
85 memset(&md_core.fpstate, 0, sizeof(md_core.fpstate)); in cpu_coredump()
/netbsd-src/sys/arch/sparc/sparc/
H A Dvm_machdep.c223 kmem_alloc(sizeof(struct fpstate), KM_SLEEP); in cpu_lwp_fork()
239 sizeof(struct fpstate)); in cpu_lwp_fork()
295 struct fpstate *fs; in cpu_lwp_free()
322 struct fpstate *fs; in cpu_lwp_free2()
325 kmem_free(fs, sizeof(struct fpstate)); in cpu_lwp_free2()
H A Dprocess_machdep.c159 struct fpstate *fs; in process_read_fpregs()
171 struct fpstate *fs; in process_write_fpregs()
H A Dcore_machdep.c100 memset((void *)&md_core.md_fpstate, 0, sizeof(struct fpstate)); in cpu_coredump()
H A Dgenassym.cf191 define FS_REGS offsetof(struct fpstate, fs_regs)
192 define FS_FSR offsetof(struct fpstate, fs_fsr)
193 define FS_QSIZE offsetof(struct fpstate, fs_qsize)
194 define FS_QUEUE offsetof(struct fpstate, fs_queue)
H A Dtrap.c107 struct fpstate initfpstate = {
396 struct fpstate *fs = l->l_md.md_fpstate; in trap()
408 fs = kmem_alloc(sizeof(struct fpstate), KM_SLEEP); in trap()
H A Dcpu.c1035 struct fpstate fpstate; in fpu_init() local
1049 fpstate.fs_fsr = 7 << FSR_VER_SHIFT; in fpu_init()
1050 savefpstate(&fpstate); in fpu_init()
1052 (fpstate.fs_fsr >> FSR_VER_SHIFT) & (FSR_VER >> FSR_VER_SHIFT); in fpu_init()
H A Dmachdep.c348 struct fpstate *fs; in setregs()
385 kmem_free(fs, sizeof(struct fpstate)); in setregs()
605 struct fpstate *fps = l->l_md.md_fpstate; in cpu_getmcontext()
716 struct fpstate *fps = l->l_md.md_fpstate; in cpu_setmcontext()
/netbsd-src/sys/arch/sparc/include/
H A Dcpu.h543 struct fpstate;
544 void ipi_savefpstate(struct fpstate *);
545 void savefpstate(struct fpstate *);
546 void loadfpstate(struct fpstate *);
H A Dpcb.h117 struct fpstate md_fpstate;
H A Dproc.h51 struct fpstate *md_fpstate; /* fpu state, if any; always resident */
H A Dreg.h111 struct fpstate { struct
H A Dtrap.h138 extern struct fpstate initfpstate;
/netbsd-src/sys/arch/sparc64/include/
H A Dreg.h222 #define fpstate fpstate64 macro
228 #define fpstate fpstate32 macro
/netbsd-src/sys/compat/linux/arch/amd64/
H A Dlinux_machdep.c217 sigframe.uc.luc_mcontext.fpstate = fpsp; in linux_sendsig()
343 if (lsigctx->fpstate != NULL) in linux_sys_rt_sigreturn()
385 if (lsigctx->fpstate != NULL) { in linux_sys_rt_sigreturn()
387 error = copyin(lsigctx->fpstate, fxarea, sizeof(*fxarea)); in linux_sys_rt_sigreturn()
H A Dlinux_machdep.h88 struct linux__fpstate *fpstate; member
/netbsd-src/sys/arch/powerpc/include/
H A Dpcb.h67 struct fpreg fpstate; member
/netbsd-src/common/lib/libc/arch/sparc64/string/
H A Dmemset.S145 * Next, allocate an aligned fpstate on the stack. We will properly
H A Dmemcpy.S497 * Next, allocate an aligned fpstate on the stack. We will properly
521 * %l0 XXXX DEBUG old fpstate
524 * %l3 orig fpstate
526 * %l6 old fpstate

12