qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] bitops.h: Add field32() and field64() functions


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] bitops.h: Add field32() and field64() functions to extract bitfields
Date: Mon, 25 Jun 2012 21:32:54 +0100

On 25 June 2012 21:26, malc <address@hidden> wrote:
> The field32 and field64 are inconsistent w.r.t. grouping, while both are
> correct, one has to go through precedence list mentally in the latter
> case.

Yeah, unintentional and I agree that if you have to think about
operator precedence there weren't enough brackets. Will fix
field32 to match field64 in v2.

-- PMM



reply via email to

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