Home
last modified time | relevance | path

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

/freebsd/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.c153 if ((pcb->pcb_fpflags & PCB_FP_STARTED) != 0) { in fill_fpregs()
559 pcb->pcb_fpflags |= PCB_FP_SVEVALID; in set_mcontext()
589 if ((curpcb->pcb_fpflags & PCB_FP_STARTED) != 0) { in get_fpcontext()
599 KASSERT((curpcb->pcb_fpflags & ~PCB_FP_USERMASK) == 0, in get_fpcontext()
605 mcp->mc_fpregs.fp_flags = curpcb->pcb_fpflags; in get_fpcontext()
634 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 Dvm_machdep.c87 if ((td1->td_pcb->pcb_fpflags & PCB_FP_STARTED) != 0) in cpu_fork()
H A Dtrap.c524 if ((td->td_pcb->pcb_fpflags & PCB_FP_KERN) != 0) { in do_el1h_sync()
747 (td->td_pcb->pcb_fpflags & ~(PCB_FP_USERMASK|PCB_FP_SVEVALID)) == 0, in do_el0_sync()
H A Dmachdep.c410 thread0.td_pcb->pcb_fpflags = 0; in init_proc0()
/freebsd/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.c386 thread0.td_pcb->pcb_fpflags = 0; in init_proc0()
/freebsd/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 Dmachdep.c304 thread0.td_pcb->pcb_fpflags = 0; in init_proc0()
/freebsd/sys/riscv/include/
H A Dpcb.h50 uint64_t pcb_fpflags; /* Floating point flags */ member
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dsimd_aarch64.h68 if (__predict_false(curthread->td_pcb->pcb_fpflags & PCB_FP_NOSAVE)) \
/freebsd/sys/arm/include/
H A Dpcb.h71 int pcb_fpflags; member
/freebsd/sys/arm64/include/
H A Dpcb.h65 int pcb_fpflags; member