On 4/17/25 06:09, Philippe Mathieu-Daudé wrote:
Since CPU endianness can be toggled at runtime before resetting,
checking the endianness at build time preprocessing the
TARGET_BIG_ENDIAN definition isn't correct. We have to call
mips_env_is_bigendian() to get the CPU endianness at runtime.
Signed-off-by: Philippe Mathieu-Daudé<phi...@linaro.org>
---
target/mips/tcg/msa_helper.c | 34 ++++++++++++++++------------------
1 file changed, 16 insertions(+), 18 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~