Skip to content

target: Use tcg_constant_tl() instead of tcg_gen_movi_tl()

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3target/mips: Use tcg_constant_tl() instead of tcg_gen_movi_tl()target/mips/tcg/micromips_translate.c.inc target/mips/tcg/mips16e_translate.c.inc target/mips/tcg/nanomips_translate.c.inc +1 more+68 -1291 reply
2/3target/tricore: Use tcg_constant_tl() instead of tcg_gen_movi_tl()target/tricore/translate.c+1 -21 reply
3/3target/ppc: Use tcg_constant_tl() instead of tcg_gen_movi_tl()target/ppc/translate.c+5 -81 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchRichard Henderson
1/3R-b
2/3Inspired-by R-b
3/3Inspired-by R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.45.2