]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/s390x: Replace HOST_BIG_ENDIAN #ifdef with if() check
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 10 Oct 2025 12:46:49 +0000 (14:46 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 16 Oct 2025 15:07:52 +0000 (17:07 +0200)
commit6d9dad71265cda5888d4779681977c5b389730a2
treebf19371a75d67dabd3aa2d04829f5087e87e52fe
parentbec018f122677a2e53b7f914c20663986faf2cf0
target/s390x: 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: David Hildenbrand <david@redhat.com>
Message-Id: <20251010134226.72221-15-philmd@linaro.org>
target/s390x/tcg/translate.c
target/s390x/tcg/translate_vx.c.inc