Home
last modified time | relevance | path

Searched refs:priv_ver (Results 1 – 9 of 9) sorted by relevance

/openbmc/qemu/target/riscv/tcg/
H A Dtcg-cpu.c84 static const char *cpu_priv_ver_to_str(int priv_ver) in cpu_priv_ver_to_str() argument
218 if (env->priv_ver == PRIV_VERSION_LATEST) { in cpu_bump_multi_ext_priv_ver()
224 if (env->priv_ver < ext_priv_ver) { in cpu_bump_multi_ext_priv_ver()
229 env->priv_ver = ext_priv_ver; in cpu_bump_multi_ext_priv_ver()
251 if (env->priv_ver < min_version) { in cpu_cfg_ext_auto_update()
295 (env->priv_ver < edata->min_version)) { in riscv_cpu_disable_priv_spec_isa_exts()
321 if (cpu->env.priv_ver >= PRIV_VERSION_1_11_0) { in riscv_cpu_update_named_features()
325 if (cpu->env.priv_ver >= PRIV_VERSION_1_12_0) { in riscv_cpu_update_named_features()
675 profile->priv_spec != env->priv_ver) { in riscv_cpu_validate_profile()
1018 env->priv_ver = PRIV_VERSION_1_12_0; in cpu_set_misa_ext_cfg()
[all …]
/openbmc/qemu/target/riscv/
H A Dcpu.c453 env->priv_ver = PRIV_VERSION_LATEST; in riscv_any_cpu_init()
470 env->priv_ver = PRIV_VERSION_LATEST; in riscv_max_cpu_init()
490 env->priv_ver = PRIV_VERSION_LATEST; in rv64_base_cpu_init()
501 env->priv_ver = PRIV_VERSION_1_10_0; in rv64_sifive_u_cpu_init()
519 env->priv_ver = PRIV_VERSION_1_10_0; in rv64_sifive_e_cpu_init()
536 env->priv_ver = PRIV_VERSION_1_11_0; in rv64_thead_c906_cpu_init()
568 env->priv_ver = PRIV_VERSION_1_12_0; in rv64_veyron_v1_cpu_init()
619 env->priv_ver = PRIV_VERSION_LATEST; in rv128_base_cpu_init()
649 env->priv_ver = PRIV_VERSION_LATEST; in rv32_base_cpu_init()
660 env->priv_ver = PRIV_VERSION_1_10_0; in rv32_sifive_u_cpu_init()
[all …]
H A Dfpu_helper.c250 return nanbox_s(env, env->priv_ver < PRIV_VERSION_1_11_0 ? in helper_fmin_s()
267 return nanbox_s(env, env->priv_ver < PRIV_VERSION_1_11_0 ? in helper_fmax_s()
417 return env->priv_ver < PRIV_VERSION_1_11_0 ? in helper_fmin_d()
429 return env->priv_ver < PRIV_VERSION_1_11_0 ? in helper_fmax_d()
583 return nanbox_h(env, env->priv_ver < PRIV_VERSION_1_11_0 ? in helper_fmin_h()
600 return nanbox_h(env, env->priv_ver < PRIV_VERSION_1_11_0 ? in helper_fmax_h()
H A Dmachine.c298 return (env->priv_ver >= PRIV_VERSION_1_12_0 ? 1 : 0); in envcfg_needed()
369 VMSTATE_UINTTL(env.priv_ver, RISCVCPU),
H A Dop_helper.c290 if (env->priv_ver >= PRIV_VERSION_1_12_0) { in helper_sret()
342 if ((env->priv_ver >= PRIV_VERSION_1_12_0) && (prev_priv != PRV_M)) { in helper_mret()
H A Dgdbstub.c264 if (env->priv_ver < csr_ops[i].min_priv_ver) { in riscv_gen_dynamic_csr_feature()
H A Dtranslate.c63 target_ulong priv_ver; member
1220 ctx->priv_ver = env->priv_ver; in riscv_tr_init_disas_context()
H A Dcpu.h219 target_ulong priv_ver; member
H A Dcsr.c2502 if (env->priv_ver >= PRIV_VERSION_1_13_0) { in write_mstateen0()
2541 if (env->priv_ver >= PRIV_VERSION_1_13_0) { in write_mstateen0h()
4644 if (env->priv_ver < csr_min_priv) { in riscv_csrrw_check()