target/riscv: remove cpu->cfg.ext_d

Create a new "d" RISCVCPUMisaExtConfig property that will update
env->misa_ext* with RVD. Instances of cpu->cfg.ext_d and similar are
replaced with riscv_has_ext(env, RVD).

Remove the old "d" property and 'ext_d' from RISCVCPUConfig.

Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20230406180351.570807-8-dbarboza@ventanamicro.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
Daniel Henrique Barboza 2023-04-06 15:03:38 -03:00 committed by Alistair Francis
parent c00226e1f0
commit ffffd954ba
2 changed files with 8 additions and 10 deletions

View file

@ -427,7 +427,6 @@ struct RISCVCPUConfig {
bool ext_g;
bool ext_m;
bool ext_f;
bool ext_d;
bool ext_s;
bool ext_u;
bool ext_h;