From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Subject: [PATCH 0/2] tcg: Improve expansion of deposit with constants
Date: Wed, 18 Oct 2023 13:46:04 -0700 [thread overview]
Message-ID: <20231018204606.1545518-1-richard.henderson@linaro.org> (raw)
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
next reply other threads:[~2023-10-18 20:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-18 20:46 Richard Henderson [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231018204606.1545518-1-richard.henderson@linaro.org \
--to=richard.henderson@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).