diff options
author | Daniel Henrique Barboza <dbarboza@ventanamicro.com> | 2023-02-26 14:05:14 -0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2023-03-01 18:09:45 -0800 |
commit | 86247c51fff458fb238a1690232c16e8425b15d3 (patch) | |
tree | f0273a2f9591ba323a56d5306ccb8220f4408ade /qemu-io-cmds.c | |
parent | e130683ffbac5006e57b9f730bbc556044117222 (diff) |
target/riscv/vector_helper.c: avoid env_archcpu() when reading RISCVCPUConfig
This file has several uses of env_archcpu() that are used solely to read
cfg->vlen. Use the new riscv_cpu_cfg() inline instead.
Suggested-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Weiwei Li<liweiwei@iscas.ac.cn>
Message-ID: <20230226170514.588071-3-dbarboza@ventanamicro.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions