Searched refs:MSTATUS_FS (Results 1 – 7 of 7) sorted by relevance
73 csr_set(MODE_PREFIX(status), MSTATUS_FS); in arch_cpu_init_dm()
27 #define MSTATUS_FS 0x00006000 macro
567 if (env->mstatus & MSTATUS_FS) { in riscv_cpu_fp_enabled() 568 if (env->virt_enabled && !(env->mstatus_hs & MSTATUS_FS)) { in riscv_cpu_fp_enabled() 597 mstatus_mask |= MSTATUS_FS; in riscv_cpu_swap_hypervisor_regs()
697 tcg_gen_ori_tl(tmp, tmp, MSTATUS_FS);702 tcg_gen_ori_tl(tmp, tmp, MSTATUS_FS);
621 #define MSTATUS_FS 0x00006000 macro
869 env->mstatus |= MSTATUS_FS; in write_fflags() 888 env->mstatus |= MSTATUS_FS; in write_frm() 908 env->mstatus |= MSTATUS_FS; in write_fcsr() 1896 if ((status & MSTATUS_FS) == MSTATUS_FS || in add_status_sd() 2006 mask |= MSTATUS_FS; in write_mstatus() 2175 env->mstatus &= ~MSTATUS_FS; in write_misa()
161 fs = get_field(env->mstatus, MSTATUS_FS); in riscv_get_tb_cpu_state() 170 fs = MIN(fs, get_field(env->mstatus_hs, MSTATUS_FS)); in riscv_get_tb_cpu_state()