Re: [Qemu-devel] [PATCH v6 01/13] bitops: Add MAKE_64BIT_MASK macro

2016-06-13 Thread Alistair Francis
On Thu, Jun 9, 2016 at 11:46 AM, Peter Maydell wrote: > On 12 May 2016 at 23:45, Alistair Francis wrote: >> Add a macro that creates a 64bit value which has length number of ones >> shifted acrros by the value of shift. > > "across" > >> >> Signed-off-by: Alistair Francis >> Reviewed-by: Alex Be

Re: [Qemu-devel] [PATCH v6 01/13] bitops: Add MAKE_64BIT_MASK macro

2016-06-09 Thread Peter Maydell
On 12 May 2016 at 23:45, Alistair Francis wrote: > Add a macro that creates a 64bit value which has length number of ones > shifted acrros by the value of shift. "across" > > Signed-off-by: Alistair Francis > Reviewed-by: Alex Bennée > --- > V5: > - Re-write to a 64-bit mask instead of ONES()

[Qemu-devel] [PATCH v6 01/13] bitops: Add MAKE_64BIT_MASK macro

2016-05-12 Thread Alistair Francis
Add a macro that creates a 64bit value which has length number of ones shifted acrros by the value of shift. Signed-off-by: Alistair Francis Reviewed-by: Alex Bennée --- V5: - Re-write to a 64-bit mask instead of ONES() - Re-order this patch in the series include/qemu/bitops.h | 3 +++ 1 fil