]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/mips: Explode MO_TExx -> MO_TE | MO_xx
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 10 Oct 2024 19:06:46 +0000 (16:06 -0300)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 15 Oct 2024 15:16:25 +0000 (12:16 -0300)
commit89b59d8699324d33dcd038622120aef12d0b1e0d
treeebf35b694462d1638dd82a5540d7b5d86357a9bb
parente9c26e7740c1ea16e927f2871301ec819f8b8daf
target/mips: Explode MO_TExx -> MO_TE | MO_xx

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