]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/mips: Factor mo_endian_rev() out of MXU code
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 10 Oct 2024 19:00:25 +0000 (16:00 -0300)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 15 Oct 2024 15:13:59 +0000 (12:13 -0300)
commite9c26e7740c1ea16e927f2871301ec819f8b8daf
treee926fc443c487e9264d9c0ae9a6cf78bdb0282fe
parent54821ff6e909292a66ac66f104ff04e4ecf8f23e
target/mips: Factor mo_endian_rev() out of MXU code

Instead of swapping the reversed target endianness
using MO_BSWAP, directly return the correct endianness.

Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20241010215015.44326-7-philmd@linaro.org>
target/mips/tcg/mxu_translate.c
target/mips/tcg/translate.h