[PATCH 0/3] target: Use tcg_constant_tl() instead of tcg_gen_movi_tl()

Philippe Mathieu-Daudé posted 3 patches 1 month, 2 weeks ago
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(-)
[PATCH 0/3] target: Use tcg_constant_tl() instead of tcg_gen_movi_tl()
Posted by Philippe Mathieu-Daudé 1 month, 2 weeks ago
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


Re: [PATCH 0/3] target: Use tcg_constant_tl() instead of tcg_gen_movi_tl()
Posted by Philippe Mathieu-Daudé 1 month, 1 week ago
On 4/10/24 17:26, Philippe Mathieu-Daudé wrote:

> 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()

Series queued, thanks.