On 5 April 2013 10:11, Peter Crosthwaite wrote:
> But I thought about this more, and perhaps just ditch the ? anyway,
> and rely on the shift by 64 ending up as 0.
That's undefined behaviour, please don't.
-- PMM
Hi Peter,
On Fri, Apr 5, 2013 at 6:53 PM, Peter Maydell wrote:
> On 5 April 2013 09:43, Peter Crosthwaite wrote:
>> Little macro that just gives you N ones (justified to LSB).
>>
>> Signed-off-by: Peter Crosthwaite
>> ---
>>
>> include/qemu/bitops.h |2 ++
>> 1 files changed, 2 insertions(
Little macro that just gives you N ones (justified to LSB).
Signed-off-by: Peter Crosthwaite
---
include/qemu/bitops.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/qemu/bitops.h b/include/qemu/bitops.h
index affcc96..da47fc8 100644
--- a/include/qemu/bitops.
On 5 April 2013 09:43, Peter Crosthwaite wrote:
> Little macro that just gives you N ones (justified to LSB).
>
> Signed-off-by: Peter Crosthwaite
> ---
>
> include/qemu/bitops.h |2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/include/qemu/bitops.h b/include/qemu/b