Directly use tcg_constant_tl() for constant integer, this save a call to tcg_gen_movi_tl(), often saving a temp register.
(Only build-tested) Philippe Mathieu-Daudé (3): target/mips: Use tcg_constant_tl() instead of tcg_gen_movi_tl() target/tricore: Use tcg_constant_tl() instead of tcg_gen_movi_tl() target/ppc: Use tcg_constant_tl() instead of tcg_gen_movi_tl() target/mips/tcg/translate.c | 56 ++++------- target/ppc/translate.c | 13 +-- target/tricore/translate.c | 3 +- target/mips/tcg/micromips_translate.c.inc | 12 +-- target/mips/tcg/mips16e_translate.c.inc | 15 +-- target/mips/tcg/nanomips_translate.c.inc | 114 ++++++++-------------- 6 files changed, 74 insertions(+), 139 deletions(-) -- 2.45.2
