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