From: Richard Henderson <rth@twiddle.net>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Pranith Kumar <bobby.prani@gmail.com>,
"Emilio G. Cota" <cota@braap.org>,
"open list:All patches CC here" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] util/cacheinfo: Fix warning generated by clang
Date: Mon, 3 Jul 2017 14:16:27 -0700 [thread overview]
Message-ID: <623f712b-96ee-1cde-5bae-9352a1e7bf4b@twiddle.net> (raw)
In-Reply-To: <CAFEAcA9hUksWa+_X47z2DSEqV6NXBQWwjgbq-58xn6FXADY+FA@mail.gmail.com>
On 07/01/2017 03:44 PM, Peter Maydell wrote:
> On 1 July 2017 at 23:35, Richard Henderson <rth@twiddle.net> wrote:
>> Perhaps it ought to be telling me to use %x to force Xn in spite of the
>> type?
>
> You always get Xn anyway, regardless of the type.
>
> For us, I think the right thing to do is make 'ctr' be a uint64_t,
> because we're reading a 64 bit sysreg and silently truncating it
> as a side effect of the asm constraints is a bit obscure.
Fair enough. Applied as-is to tcg-next.
r~
prev parent reply other threads:[~2017-07-03 21:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-30 15:39 [Qemu-devel] [PATCH] util/cacheinfo: Fix warning generated by clang Pranith Kumar
2017-06-30 21:15 ` Emilio G. Cota
2017-07-01 22:20 ` Richard Henderson
2017-07-01 22:30 ` Peter Maydell
2017-07-01 22:35 ` Richard Henderson
2017-07-01 22:44 ` Peter Maydell
2017-07-03 21: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=623f712b-96ee-1cde-5bae-9352a1e7bf4b@twiddle.net \
--to=rth@twiddle.net \
--cc=bobby.prani@gmail.com \
--cc=cota@braap.org \
--cc=peter.maydell@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).