qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/2] tcg: Improve expansion of deposit with constants


From: Richard Henderson
Subject: [PATCH 0/2] tcg: Improve expansion of deposit with constants
Date: Wed, 18 Oct 2023 13:46:04 -0700

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]