]> git.proxmox.com Git - mirror_qemu.git/commit
target/riscv: rework 'vext_spec'
authorDaniel Henrique Barboza <dbarboza@ventanamicro.com>
Fri, 5 Jan 2024 23:05:36 +0000 (20:05 -0300)
committerAlistair Francis <alistair.francis@wdc.com>
Fri, 9 Feb 2024 00:49:31 +0000 (10:49 +1000)
commit41f2b94ee067b00993b0dd6c7ad3c681b093a30a
tree5c158f2221763875e255a86f8ce8f5a6c057f4c8
parentfefc294baa008d12a49460111227c4deef7e4d2d
target/riscv: rework 'vext_spec'

The same rework did in 'priv_spec' is done for 'vext_spec'. This time is
simpler, since we only accept one value ("v1.0") and we'll always have
env->vext_ver set to VEXT_VERSION_1_00_0, thus we don't need helpers to
convert string to 'vext_ver' back and forth like we needed for
'priv_spec'.

Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Tested-by: Vladimir Isaev <vladimir.isaev@syntacore.com>
Message-ID: <20240105230546.265053-8-dbarboza@ventanamicro.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
target/riscv/cpu.c
target/riscv/cpu.h
target/riscv/cpu_cfg.h
target/riscv/tcg/tcg-cpu.c