qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] tcg: Improve expansion of deposit with constants
@ 2023-10-18 20:46 Richard Henderson
  2023-10-18 20:46 ` [PATCH 1/2] tcg: Improve expansion of deposit of constant Richard Henderson
  2023-10-18 20:46 ` [PATCH 2/2] tcg: Improve expansion of deposit into a constant Richard Henderson
  0 siblings, 2 replies; 3+ messages in thread
From: Richard Henderson @ 2023-10-18 20:46 UTC (permalink / raw)
  To: qemu-devel

The introduction of tcg_gen_deposit_z_* pre-dates the introduction
of tcg_constant_*.  These days, a reasonably up-to-date translator
should not need to manually choose between the two deposit functions,
but instead rely on any zero register to supply tcg_constant*(0)
as a source operand.

In addition, the hppa front end has some special cases for insertion
of a constant (depiw instruction), as opposed to the current insertion
into a constant.


r~


Richard Henderson (2):
  tcg: Improve expansion of deposit of constant
  tcg: Improve expansion of deposit into a constant

 tcg/tcg-op.c | 323 ++++++++++++++++++++++++++++++++-------------------
 1 file changed, 202 insertions(+), 121 deletions(-)

-- 
2.34.1



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

end of thread, other threads:[~2023-10-18 20:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-18 20:46 [PATCH 0/2] tcg: Improve expansion of deposit with constants Richard Henderson
2023-10-18 20:46 ` [PATCH 1/2] tcg: Improve expansion of deposit of constant Richard Henderson
2023-10-18 20:46 ` [PATCH 2/2] tcg: Improve expansion of deposit into a constant Richard Henderson

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