Home
last modified time | relevance | path

Searched refs:fpu_state (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/arch/riscv/core/
Dfpu.c73 _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()
/Zephyr-latest/include/zephyr/arch/riscv/
Dstructs.h23 uint32_t fpu_state; member
/Zephyr-latest/tests/arch/riscv/fpu_sharing/src/
Dmain.c14 static inline unsigned long fpu_state(void) in fpu_state() function
21 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()