From: Richard Henderson <richard.henderson@linaro.org>
To: Philipp Tomsich <philipp.tomsich@vrull.eu>, qemu-devel@nongnu.org
Cc: Alistair Francis <alistair.francis@wdc.com>
Subject: Re: [PATCH v2 1/2] tcg: add dup_const_tl wrapper
Date: Sun, 3 Oct 2021 20:38:38 -0400 [thread overview]
Message-ID: <1cf0729e-dabb-0e29-d481-78186dd03681@linaro.org> (raw)
In-Reply-To: <20211003214243.3813425-1-philipp.tomsich@vrull.eu>
On 10/3/21 5:42 PM, Philipp Tomsich wrote:
> dup_const always generates a uint64_t, which may exceed the size of a
> target_long (generating warnings with recent-enough compilers).
>
> To ensure that we can use dup_const both for 64bit and 32bit targets,
> this adds dup_const_tl, which either maps back to dup_const (for 64bit
> targets) or provides a similar implementation using 32bit constants.
>
> Signed-off-by: Philipp Tomsich<philipp.tomsich@vrull.eu>
>
> ---
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
next prev parent reply other threads:[~2021-10-04 0:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-03 21:42 [PATCH v2 1/2] tcg: add dup_const_tl wrapper Philipp Tomsich
2021-10-03 21:42 ` [PATCH v2 2/2] target/riscv: Use dup_const_tl in orc.b to legalise truncation of constant Philipp Tomsich
2021-10-04 7:43 ` Philippe Mathieu-Daudé
2021-10-06 22:26 ` Alistair Francis
2021-10-06 22:42 ` Alistair Francis
2021-10-04 0:38 ` Richard Henderson [this message]
2021-10-04 7:43 ` [PATCH v2 1/2] tcg: add dup_const_tl wrapper Philippe Mathieu-Daudé
2021-10-05 2:22 ` 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=1cf0729e-dabb-0e29-d481-78186dd03681@linaro.org \
--to=richard.henderson@linaro.org \
--cc=alistair.francis@wdc.com \
--cc=philipp.tomsich@vrull.eu \
--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).