target/riscv: Inline unit-stride ld/st and corresponding functions for performance
authorMax Chou <max.chou@sifive.com>
Wed, 18 Sep 2024 17:14:12 +0000 (01:14 +0800)
committerAlistair Francis <alistair.francis@wdc.com>
Thu, 7 Nov 2024 02:33:44 +0000 (12:33 +1000)
commitf8ee6f533d696b34f74cf4dcf542961776d56e4e
treee04f9df82a1437840d55d5dccfbf085e9e4d5d13
parente32988789b63d6b09754d4812b87d5bf7ebb37b2
target/riscv: Inline unit-stride ld/st and corresponding functions for performance

In the vector unit-stride load/store helper functions. the vext_ldst_us
& vext_ldst_whole functions corresponding most of the execution time.
Inline the functions can avoid the function call overhead to improve the
helper function performance.

Signed-off-by: Max Chou <max.chou@sifive.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-ID: <20240918171412.150107-8-max.chou@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
target/riscv/vector_helper.c