diff options
author | LIU Zhiwei <zhiwei_liu@linux.alibaba.com> | 2023-04-12 13:43:11 +0200 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2023-05-05 10:49:50 +1000 |
commit | ebd476488d1369d602534e82234d410ca1734f07 (patch) | |
tree | fec83b0e97644c01a3e50861b9c8cd721897cb2a /hw/misc | |
parent | 42967f40731c197cb8e59ad8ac480a2dcc80c199 (diff) | |
download | qemu-ebd476488d1369d602534e82234d410ca1734f07.zip qemu-ebd476488d1369d602534e82234d410ca1734f07.tar.gz qemu-ebd476488d1369d602534e82234d410ca1734f07.tar.bz2 |
target/riscv: Encode the FS and VS on a normal way for tb flags
Reuse the MSTATUS_FS and MSTATUS_VS for the tb flags positions is not a
normal way.
It will make it hard to change the tb flags layout. And even worse, if we
want to keep tb flags for a same extension togather without a hole.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn>
Message-Id: <20230324143031.1093-4-zhiwei_liu@linux.alibaba.com>
[rth: Adjust trans_rvf.c.inc as well; use the typedef]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Tested-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-Id: <20230325105429.1142530-4-richard.henderson@linaro.org>
Message-Id: <20230412114333.118895-4-richard.henderson@linaro.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw/misc')
0 files changed, 0 insertions, 0 deletions