Re: [PATCH v3 05/14] target/riscv: Add MXL/SXL/UXL to TB_FLAGS

2021-10-18 Thread LIU Zhiwei
On 2021/10/17 上午1:14, Richard Henderson wrote: Begin adding support for switching XLEN at runtime. Extract the effective XLEN from MISA and MSTATUS and store for use during translation. Reviewed-by: Alistair Francis Signed-off-by: Richard Henderson Reviewed-by: LIU Zhiwei Zhiwei --- ta

[PATCH v3 05/14] target/riscv: Add MXL/SXL/UXL to TB_FLAGS

2021-10-16 Thread Richard Henderson
Begin adding support for switching XLEN at runtime. Extract the effective XLEN from MISA and MSTATUS and store for use during translation. Reviewed-by: Alistair Francis Signed-off-by: Richard Henderson --- target/riscv/cpu.h| 2 ++ target/riscv/cpu.c| 8 target/riscv