Searched refs:MSTATUS_FS (Results 1 – 4 of 4) sorted by relevance
69 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 …]
201 li t1, MSTATUS_FS
23 #define MSTATUS_FS 0x00006000 macro
16 return csr_read(mstatus) & MSTATUS_FS; in fpu_state()