qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] util/cacheinfo: Fix warning generated by clang


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH] util/cacheinfo: Fix warning generated by clang
Date: Mon, 3 Jul 2017 14:16:27 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

On 07/01/2017 03:44 PM, Peter Maydell wrote:
On 1 July 2017 at 23:35, Richard Henderson <address@hidden> 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~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]