Home
last modified time | relevance | path

Searched refs:MSTATUS_FS (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.7.0/arch/riscv/core/
Dfpu.c69 if ((status & MSTATUS_FS) != 0) { in z_riscv_fpu_disable()
70 csr_clear(mstatus, MSTATUS_FS); in z_riscv_fpu_disable()
73 _current_cpu->arch.fpu_state = (status & MSTATUS_FS); in z_riscv_fpu_disable()
81 __ASSERT((csr_read(mstatus) & MSTATUS_FS) == 0, in z_riscv_fpu_load()
105 __ASSERT((csr_read(mstatus) & MSTATUS_FS) == 0, in arch_flush_local_fpu()
124 csr_clear(mstatus, MSTATUS_FS); in arch_flush_local_fpu()
209 __ASSERT((esf->mstatus & MSTATUS_FS) == 0 && in z_riscv_fpu_trap()
210 (csr_read(mstatus) & MSTATUS_FS) == 0, in z_riscv_fpu_trap()
299 esf->mstatus &= ~MSTATUS_FS; in z_riscv_fpu_exit_exc()
302 esf->mstatus &= ~MSTATUS_FS; in z_riscv_fpu_exit_exc()
[all …]
Disr.S201 li t1, MSTATUS_FS
/Zephyr-Core-3.7.0/include/zephyr/arch/riscv/
Dcsr.h23 #define MSTATUS_FS 0x00006000 macro
/Zephyr-Core-3.7.0/tests/arch/riscv/fpu_sharing/src/
Dmain.c16 return csr_read(mstatus) & MSTATUS_FS; in fpu_state()