Home
last modified time | relevance | path

Searched refs:pcb_fpflags (Results 1 – 17 of 17) sorted by relevance

/freebsd-14-stable/sys/arm64/arm64/
HDvfp.c532 MPASS((pcb->pcb_fpflags & PCB_FP_SVEVALID) != 0); in vfp_save_state_common()
555 pcb->pcb_fpflags &= ~PCB_FP_SVEVALID; in vfp_save_state_common()
611 newpcb->pcb_fpflags &= in vfp_new_thread()
615 MPASS((newpcb->pcb_fpflags & (PCB_FP_KERN|PCB_FP_NOSAVE)) == 0); in vfp_new_thread()
624 newpcb->pcb_fpflags &= ~PCB_FP_SVEVALID; in vfp_new_thread()
626 newpcb->pcb_fpflags &= ~PCB_FP_STARTED; in vfp_new_thread()
667 pcb->pcb_fpflags = 0; in vfp_reset_state()
691 if ((curpcb->pcb_fpflags & PCB_FP_SVEVALID) != 0 && in vfp_restore_state_common()
700 MPASS((curpcb->pcb_fpflags & PCB_FP_SVEVALID) != 0); in vfp_restore_state_common()
703 curpcb->pcb_fpflags |= PCB_FP_STARTED; in vfp_restore_state_common()
[all …]
HDexec_machdep.c154 if ((pcb->pcb_fpflags & PCB_FP_STARTED) != 0) { in fill_fpregs()
560 pcb->pcb_fpflags |= PCB_FP_SVEVALID; in set_mcontext()
590 if ((curpcb->pcb_fpflags & PCB_FP_STARTED) != 0) { in get_fpcontext()
600 KASSERT((curpcb->pcb_fpflags & ~PCB_FP_USERMASK) == 0, in get_fpcontext()
606 mcp->mc_fpregs.fp_flags = curpcb->pcb_fpflags; in get_fpcontext()
635 curpcb->pcb_fpflags = mcp->mc_fpregs.fp_flags & PCB_FP_STARTED; in set_fpcontext()
HDfreebsd32_machdep.c142 if ((pcb->pcb_fpflags & PCB_FP_STARTED) != 0) { in get_fpcontext32()
152 KASSERT((pcb->pcb_fpflags & ~PCB_FP_USERMASK) == 0, in get_fpcontext32()
HDtrap.c517 if ((td->td_pcb->pcb_fpflags & PCB_FP_KERN) != 0) { in do_el1h_sync()
738 (td->td_pcb->pcb_fpflags & ~(PCB_FP_USERMASK|PCB_FP_SVEVALID)) == 0, in do_el0_sync()
HDvm_machdep.c81 if ((td1->td_pcb->pcb_fpflags & PCB_FP_STARTED) != 0) in cpu_fork()
HDmachdep.c391 thread0.td_pcb->pcb_fpflags = 0; in init_proc0()
/freebsd-14-stable/sys/arm/arm/
HDvfp.c247 (curpcb->pcb_fpflags & PCB_FP_KERN) == 0) { in vfp_bounce()
288 newpcb->pcb_fpflags &= in vfp_new_thread()
291 MPASS((newpcb->pcb_fpflags & (PCB_FP_KERN|PCB_FP_NOSAVE)) == 0); in vfp_new_thread()
293 newpcb->pcb_fpflags &= ~PCB_FP_STARTED; in vfp_new_thread()
445 KASSERT((pcb->pcb_fpflags & PCB_FP_NOSAVE) == 0, in fpu_kern_enter()
456 pcb->pcb_fpflags |= PCB_FP_KERN | PCB_FP_NOSAVE | in fpu_kern_enter()
469 KASSERT((pcb->pcb_fpflags & PCB_FP_KERN) != 0 || in fpu_kern_enter()
471 ("Mangled pcb_vfpsaved %x %p %p", pcb->pcb_fpflags, pcb->pcb_vfpsaved, in fpu_kern_enter()
477 pcb->pcb_fpflags |= PCB_FP_KERN; in fpu_kern_enter()
478 pcb->pcb_fpflags &= ~PCB_FP_STARTED; in fpu_kern_enter()
[all …]
HDmachdep_kdb.c111 if ((pcb->pcb_fpflags & PCB_FP_STARTED) != 0) { in fill_fpregs()
HDvm_machdep.c109 if ((td1->td_pcb->pcb_fpflags & PCB_FP_STARTED) != 0) in cpu_fork()
HDmachdep.c378 thread0.td_pcb->pcb_fpflags = 0; in init_proc0()
/freebsd-14-stable/sys/riscv/riscv/
HDexec_machdep.c125 if ((pcb->pcb_fpflags & PCB_FP_STARTED) != 0) { in fill_fpregs()
152 pcb->pcb_fpflags |= PCB_FP_STARTED; in set_fpregs()
189 pcb->pcb_fpflags &= ~PCB_FP_STARTED; in exec_setregs()
276 if ((curpcb->pcb_fpflags & PCB_FP_STARTED) != 0) { in get_fpcontext()
283 KASSERT((curpcb->pcb_fpflags & ~PCB_FP_USERMASK) == 0, in get_fpcontext()
288 mcp->mc_fpregs.fp_flags = curpcb->pcb_fpflags; in get_fpcontext()
311 curpcb->pcb_fpflags = mcp->mc_fpregs.fp_flags & PCB_FP_USERMASK; in set_fpcontext()
HDtrap.c437 if ((pcb->pcb_fpflags & PCB_FP_STARTED) == 0) { in do_trap_user()
445 pcb->pcb_fpflags |= PCB_FP_STARTED; in do_trap_user()
HDmachdep.c298 thread0.td_pcb->pcb_fpflags = 0; in init_proc0()
/freebsd-14-stable/sys/riscv/include/
HDpcb.h50 uint64_t pcb_fpflags; /* Floating point flags */ member
/freebsd-14-stable/sys/contrib/openzfs/include/os/freebsd/spl/sys/
HDsimd_aarch64.h68 if (__predict_false(curthread->td_pcb->pcb_fpflags & PCB_FP_NOSAVE)) \
/freebsd-14-stable/sys/arm/include/
HDpcb.h71 int pcb_fpflags; member
/freebsd-14-stable/sys/arm64/include/
HDpcb.h65 int pcb_fpflags; member