Home
last modified time | relevance | path

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

/src/sys/arm64/arm64/ !
H A Dvfp.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()
614 newpcb->pcb_fpflags &= in vfp_new_thread()
618 MPASS((newpcb->pcb_fpflags & (PCB_FP_KERN|PCB_FP_NOSAVE)) == 0); in vfp_new_thread()
627 newpcb->pcb_fpflags &= ~PCB_FP_SVEVALID; in vfp_new_thread()
629 newpcb->pcb_fpflags &= ~PCB_FP_STARTED; in vfp_new_thread()
670 pcb->pcb_fpflags = 0; in vfp_reset_state()
694 if ((curpcb->pcb_fpflags & PCB_FP_SVEVALID) != 0 && in vfp_restore_state_common()
703 MPASS((curpcb->pcb_fpflags & PCB_FP_SVEVALID) != 0); in vfp_restore_state_common()
706 curpcb->pcb_fpflags |= PCB_FP_STARTED; in vfp_restore_state_common()
[all …]
H A Dexec_machdep.c158 if ((pcb->pcb_fpflags & PCB_FP_STARTED) != 0) { in fill_fpregs()
603 pcb->pcb_fpflags |= PCB_FP_SVEVALID; in set_mcontext()
633 if ((curpcb->pcb_fpflags & PCB_FP_STARTED) != 0) { in get_fpcontext()
643 KASSERT((curpcb->pcb_fpflags & ~PCB_FP_USERMASK) == 0, in get_fpcontext()
649 mcp->mc_fpregs.fp_flags = curpcb->pcb_fpflags; in get_fpcontext()
678 curpcb->pcb_fpflags = mcp->mc_fpregs.fp_flags & PCB_FP_STARTED; in set_fpcontext()
H A Dfreebsd32_machdep.c143 if ((pcb->pcb_fpflags & PCB_FP_STARTED) != 0) { in get_fpcontext32()
153 KASSERT((pcb->pcb_fpflags & ~PCB_FP_USERMASK) == 0, in get_fpcontext32()
H A Dtrap.c590 if ((td->td_pcb->pcb_fpflags & PCB_FP_KERN) != 0) { in do_el1h_sync()
809 (td->td_pcb->pcb_fpflags & ~(PCB_FP_USERMASK|PCB_FP_SVEVALID)) == 0, in do_el0_sync()
H A Dvm_machdep.c87 if ((td1->td_pcb->pcb_fpflags & PCB_FP_STARTED) != 0) in cpu_fork()
H A Dmachdep.c447 thread0.td_pcb->pcb_fpflags = 0; in init_proc0()
/src/sys/arm/arm/ !
H A Dvfp.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 …]
H A Dmachdep_kdb.c110 if ((pcb->pcb_fpflags & PCB_FP_STARTED) != 0) { in fill_fpregs()
H A Dvm_machdep.c106 if ((td1->td_pcb->pcb_fpflags & PCB_FP_STARTED) != 0) in cpu_fork()
H A Dmachdep.c384 thread0.td_pcb->pcb_fpflags = 0; in init_proc0()
/src/sys/riscv/riscv/ !
H A Dexec_machdep.c124 if ((pcb->pcb_fpflags & PCB_FP_STARTED) != 0) { in fill_fpregs()
151 pcb->pcb_fpflags |= PCB_FP_STARTED; in set_fpregs()
188 pcb->pcb_fpflags &= ~PCB_FP_STARTED; in exec_setregs()
275 if ((curpcb->pcb_fpflags & PCB_FP_STARTED) != 0) { in get_fpcontext()
282 KASSERT((curpcb->pcb_fpflags & ~PCB_FP_USERMASK) == 0, in get_fpcontext()
287 mcp->mc_fpregs.fp_flags = curpcb->pcb_fpflags; in get_fpcontext()
310 curpcb->pcb_fpflags = mcp->mc_fpregs.fp_flags & PCB_FP_USERMASK; in set_fpcontext()
H A Dtrap.c435 if ((pcb->pcb_fpflags & PCB_FP_STARTED) == 0) { in do_trap_user()
443 pcb->pcb_fpflags |= PCB_FP_STARTED; in do_trap_user()
H A Dvm_machdep.c96 if ((td1->td_pcb->pcb_fpflags & PCB_FP_STARTED) != 0) { in cpu_fork()
H A Dmachdep.c301 thread0.td_pcb->pcb_fpflags = 0; in init_proc0()
/src/sys/riscv/include/ !
H A Dpcb.h50 uint64_t pcb_fpflags; /* Floating point flags */ member
/src/sys/contrib/openzfs/include/os/freebsd/spl/sys/ !
H A Dsimd_aarch64.h69 if (__predict_false(curthread->td_pcb->pcb_fpflags & PCB_FP_NOSAVE)) \
/src/sys/arm/include/ !
H A Dpcb.h71 int pcb_fpflags; member
/src/sys/arm64/include/ !
H A Dpcb.h65 int pcb_fpflags; member