Searched refs:fpu_state (Results 1 – 3 of 3) sorted by relevance
73 _current_cpu->arch.fpu_state = (status & MSTATUS_FS); in z_riscv_fpu_disable()111 bool dirty = (_current_cpu->arch.fpu_state == MSTATUS_FS_DIRTY); in arch_flush_local_fpu()279 _current_cpu->arch.fpu_state = MSTATUS_FS_CLEAN; in fpu_access_allowed()300 esf->mstatus |= _current_cpu->arch.fpu_state; in z_riscv_fpu_exit_exc()316 csr_set(mstatus, _current_cpu->arch.fpu_state); in z_riscv_fpu_thread_context_switch()
23 uint32_t fpu_state; member
14 static inline unsigned long fpu_state(void) in fpu_state() function21 return fpu_state() == MSTATUS_FS_OFF; in fpu_is_off()26 unsigned long state = fpu_state(); in fpu_is_clean()33 return fpu_state() == MSTATUS_FS_DIRTY; in fpu_is_dirty()