target/mips: Replace MO_TE by mo_endian()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 26 Sep 2024 16:43:19 +0000 (18:43 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 15 Oct 2024 15:18:09 +0000 (12:18 -0300)
commit2803e24694c0051ba72bf92ded49a459209537c9
treebff0b47da6e999f3a7d49134f444179ae8d01502
parent96ccd8534f8b7d3198621f0aad4690108eb15ff1
target/mips: Replace MO_TE by mo_endian()

Replace compile-time MO_TE evaluation by runtime mo_endian() one,
which expand target endianness from DisasContext.

Mechanical change using:

  $ sed -i -e 's/MO_TE/mo_endian(ctx)/' \
     $(git grep -l MO_TE target/mips)

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Tested-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20241010215015.44326-11-philmd@linaro.org>
target/mips/tcg/micromips_translate.c.inc
target/mips/tcg/mips16e_translate.c.inc
target/mips/tcg/mxu_translate.c
target/mips/tcg/nanomips_translate.c.inc
target/mips/tcg/translate.c
target/mips/tcg/tx79_translate.c