From: Richard Henderson <richard.henderson@linaro.org>
To: Taylor Simpson <tsimpson@quicinc.com>, qemu-devel@nongnu.org
Cc: philmd@linaro.org, ale@rev.ng, anjo@rev.ng, bcain@quicinc.com,
quic_mathbern@quicinc.com
Subject: Re: [PATCH] Hexagon (target/hexagon) Add overrides for count trailing zeros/ones
Date: Wed, 5 Apr 2023 15:16:04 -0700 [thread overview]
Message-ID: <674f66cc-9fc8-a8f6-f51f-881151bd9012@linaro.org> (raw)
In-Reply-To: <20230405164211.30015-1-tsimpson@quicinc.com>
On 4/5/23 09:42, Taylor Simpson wrote:
> The following instructions are overriden
> S2_ct0 Count trailing zeros
> S2_ct1 Count trailing ones
> S2_ct0p Count trailing zeros (register pair)
> S2_ct1p Count trailing ones (register pair)
>
> These instructions are not handled by idef-parser because the
> imported semantics uses bit-reverse. However, they are
> straightforward to implement in TCG with tcg_gen_ctzi_*
>
> Test cases added to tests/tcg/hexagon/misc.c
>
> Signed-off-by: Taylor Simpson<tsimpson@quicinc.com>
> ---
> target/hexagon/gen_tcg.h | 24 +++++++++++++++++
> tests/tcg/hexagon/misc.c | 56 +++++++++++++++++++++++++++++++++++++++-
> 2 files changed, 79 insertions(+), 1 deletion(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
prev parent reply other threads:[~2023-04-05 22:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-05 16:42 [PATCH] Hexagon (target/hexagon) Add overrides for count trailing zeros/ones Taylor Simpson
2023-04-05 16:42 ` [PATCH] Hexagon (target/hexagon) Merge arguments to probe_pkt_scalar_hvx_stores Taylor Simpson
2023-04-06 6:53 ` Philippe Mathieu-Daudé
2023-04-05 16:42 ` [PATCH] Hexagon (target/hexagon) Updates to USR should use get_result_gpr Taylor Simpson
2023-04-06 21:11 ` Anton Johansson via
2023-04-05 22:16 ` Richard Henderson [this message]
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=674f66cc-9fc8-a8f6-f51f-881151bd9012@linaro.org \
--to=richard.henderson@linaro.org \
--cc=ale@rev.ng \
--cc=anjo@rev.ng \
--cc=bcain@quicinc.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=quic_mathbern@quicinc.com \
--cc=tsimpson@quicinc.com \
/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).