On 10/10/24 14:50, Philippe Mathieu-Daudé wrote:
Extract the implicit MO_TE definition in order to replace
it by runtime variable in the next commit.
Mechanical change using:
$ for n in UW UL UQ UO SW SL SQ; do \
sed -i -e "s/MO_TE$n/MO_TE | MO_$n/" \
$(git grep -l MO_TE$n target/mips); \
done
manually remove superfluous parenthesis in nanoMIPS gen_save().
Reviewed-by: Jiaxun Yang<jiaxun.y...@flygoat.com>
Tested-by: Jiaxun Yang<jiaxun.y...@flygoat.com>
Signed-off-by: Philippe Mathieu-Daudé<phi...@linaro.org>
---
target/mips/tcg/translate.c | 120 +++++++++++-----------
target/mips/tcg/tx79_translate.c | 8 +-
target/mips/tcg/micromips_translate.c.inc | 22 ++--
target/mips/tcg/mips16e_translate.c.inc | 10 +-
target/mips/tcg/nanomips_translate.c.inc | 32 +++---
5 files changed, 96 insertions(+), 96 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~