The new version of the patch addresses the suggestion given by Richard Handerson here:
https://patchew.org/QEMU/[email protected]/[email protected]/#[email protected] about the ineffectiveness of the optimization of the load/store loop for small vector and data sizes when QEMU is in system mode. Changes: - Wrap the optimization of simple RISC-V vector unit-stride loads and stores into a user mode configuration directive. Cc: Richard Handerson <[email protected]> Cc: Palmer Dabbelt <[email protected]> Cc: Alistair Francis <[email protected]> Cc: Bin Meng <[email protected]> Cc: Weiwei Li <[email protected]> Cc: Daniel Henrique Barboza <[email protected]> Cc: Liu Zhiwei <[email protected]> Cc: Helene Chelin <[email protected]> Cc: Nathan Egge <[email protected]> Cc: Max Chou <[email protected]> Helene CHELIN (1): target/riscv: rvv: reduce the overhead for simple RISC-V vector unit-stride loads and stores Paolo Savini (1): target/riscv: use a simplified loop to emulate rvv loads/stores only in user mode. target/riscv/vector_helper.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.34.1
