target/microblaze: Consider endianness while translating code
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 24 Sep 2024 21:45:54 +0000 (23:45 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 6 Mar 2025 14:46:18 +0000 (15:46 +0100)
commit415aae543edad19eda8f66955dde386c7fd7c680
treecffd865c848488e940f34055b8c2df1c44a70b30
parent2c9e8ddd769959e899206b4cdea466ba5845e0bc
target/microblaze: Consider endianness while translating code

Consider the CPU ENDI bit, swap instructions when the CPU
endianness doesn't match the binary one.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20241105130431.22564-17-philmd@linaro.org>
target/microblaze/cpu.h
target/microblaze/translate.c