qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] target: Use tcg_constant_tl() instead of tcg_gen_movi_tl()
@ 2024-10-04 20:26 Philippe Mathieu-Daudé
  2024-10-04 20:26 ` [PATCH 1/3] target/mips: " Philippe Mathieu-Daudé
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Philippe Mathieu-Daudé @ 2024-10-04 20:26 UTC (permalink / raw)
  To: qemu-devel; +Cc: Richard Henderson, qemu-ppc, Philippe Mathieu-Daudé

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-10-15 14:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-04 20:26 [PATCH 0/3] target: Use tcg_constant_tl() instead of tcg_gen_movi_tl() Philippe Mathieu-Daudé
2024-10-04 20:26 ` [PATCH 1/3] target/mips: " Philippe Mathieu-Daudé
2024-10-04 20:54   ` Richard Henderson
2024-10-04 20:26 ` [PATCH 2/3] target/tricore: " Philippe Mathieu-Daudé
2024-10-04 20:56   ` Richard Henderson
2024-10-04 20:26 ` [PATCH 3/3] target/ppc: " Philippe Mathieu-Daudé
2024-10-04 20:57   ` Richard Henderson
2024-10-15 14:53 ` [PATCH 0/3] target: " Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).