| /netbsd-src/sys/arch/sparc64/sparc64/ |
| H A D | db_trace.c | 451 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 D | cpu.c | 402 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 D | netbsd32_machdep.c | 450 struct fpstate *fsp; in netbsd32_cpu_getmcontext() 536 struct fpstate *fsp; in netbsd32_cpu_setmcontext()
|
| /netbsd-src/sys/arch/sparc/fpu/ |
| H A D | fpu_extern.h | 38 struct fpstate; 50 int fpu_cleanup(struct lwp *, struct fpstate *); 51 int fpu_emulate(struct lwp *, struct trapframe *, struct fpstate *);
|
| H A D | fpu.c | 132 struct fpstate *fs in fpu_cleanup() 251 struct fpstate *fs; 306 struct fpstate *fs; in fpu_execute()
|
| H A D | fpu_emu.h | 143 struct fpstate *fe_fpstate; /* registers, etc */
|
| /netbsd-src/sys/arch/powerpc/powerpc/ |
| H A D | core_machdep.c | 83 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 D | vm_machdep.c | 223 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 D | process_machdep.c | 159 struct fpstate *fs; in process_read_fpregs() 171 struct fpstate *fs; in process_write_fpregs()
|
| H A D | core_machdep.c | 100 memset((void *)&md_core.md_fpstate, 0, sizeof(struct fpstate)); in cpu_coredump()
|
| H A D | genassym.cf | 191 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 D | trap.c | 107 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 D | cpu.c | 1035 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 D | machdep.c | 348 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 D | cpu.h | 543 struct fpstate; 544 void ipi_savefpstate(struct fpstate *); 545 void savefpstate(struct fpstate *); 546 void loadfpstate(struct fpstate *);
|
| H A D | pcb.h | 117 struct fpstate md_fpstate;
|
| H A D | proc.h | 51 struct fpstate *md_fpstate; /* fpu state, if any; always resident */
|
| H A D | reg.h | 111 struct fpstate { struct
|
| H A D | trap.h | 138 extern struct fpstate initfpstate;
|
| /netbsd-src/sys/arch/sparc64/include/ |
| H A D | reg.h | 222 #define fpstate fpstate64 macro 228 #define fpstate fpstate32 macro
|
| /netbsd-src/sys/compat/linux/arch/amd64/ |
| H A D | linux_machdep.c | 217 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 D | linux_machdep.h | 88 struct linux__fpstate *fpstate; member
|
| /netbsd-src/sys/arch/powerpc/include/ |
| H A D | pcb.h | 67 struct fpreg fpstate; member
|
| /netbsd-src/common/lib/libc/arch/sparc64/string/ |
| H A D | memset.S | 145 * Next, allocate an aligned fpstate on the stack. We will properly
|
| H A D | memcpy.S | 497 * 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
|