]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/riscv: Replace HOST_BIG_ENDIAN #ifdef with if() check
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 10 Oct 2025 12:46:36 +0000 (14:46 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 16 Oct 2025 15:07:52 +0000 (17:07 +0200)
commit886b0cea411691d6fd75fae97ab40ff833fdb9ed
treebe5a3efe8193b6308bf9bae8de86651d2f4d03f1
parent89e1cd7363e0a066a6b7a6059998efa3a89cc1b9
target/riscv: Replace HOST_BIG_ENDIAN #ifdef with if() check

Replace preprocessor-time #ifdef with a compile-time check
to ensure all code paths are built and tested. This reduces
build-time configuration complexity and simplifies code
maintainability.

No functional change intended.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20251010134226.72221-14-philmd@linaro.org>
target/riscv/insn_trans/trans_rvv.c.inc
target/riscv/vector_helper.c