Re: [Qemu-devel] [PATCH v7 01/12] bitops: Add MAKE_64BIT_MASK macro

2016-06-23 Thread Peter Maydell
On 22 June 2016 at 21:23, Alistair Francis wrote: > Add a macro that creates a 64bit value which has length number of ones > shifted across by the value of shift. > > Signed-off-by: Alistair Francis > Reviewed-by: Alex Bennée Reviewed-by: Peter Maydell thanks -- PMM

[Qemu-devel] [PATCH v7 01/12] bitops: Add MAKE_64BIT_MASK macro

2016-06-22 Thread Alistair Francis
Add a macro that creates a 64bit value which has length number of ones shifted across by the value of shift. Signed-off-by: Alistair Francis Reviewed-by: Alex Bennée --- V7: - Fixup commit typo - Use the method from deposit64() V5: - Re-write to a 64-bit mask instead of ONES() - Re-order thi