diff options
author | Daniel Henrique Barboza <dbarboza@ventanamicro.com> | 2023-04-06 15:03:50 -0300 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2023-05-05 10:49:50 +1000 |
commit | 4f13abcb2bcba47692cc3a171fda61dc46fc89be (patch) | |
tree | 06e882e36752384725ea053dd28527e351db933a /hw/misc | |
parent | 8ef67c663709f5a7d3be239777e65479ac236d23 (diff) | |
download | qemu-4f13abcb2bcba47692cc3a171fda61dc46fc89be.zip qemu-4f13abcb2bcba47692cc3a171fda61dc46fc89be.tar.gz qemu-4f13abcb2bcba47692cc3a171fda61dc46fc89be.tar.bz2 |
target/riscv: add RVG and remove cpu->cfg.ext_g
We're still have one RISCVCPUConfig MISA flag, 'ext_g'. We'll remove it
the same way we did with the others: create a "g" RISCVCPUMisaExtConfig
property, remove the old "g" property, remove all instances of 'cfg.ext_g'
and use riscv_has_ext(env, RVG).
The caveat is that we don't have RVG, so add it. RVG will be used right
off the bat in set_misa() of rv64_thead_c906_cpu_init() because the CPU is
enabling G via the now removed 'ext_g' flag.
After this patch, there are no more MISA extensions represented by flags
in 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-20-dbarboza@ventanamicro.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw/misc')
0 files changed, 0 insertions, 0 deletions