qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PULL 1/8] target-sh4: use bit number for SR constants


From: Peter Maydell
Subject: Re: [Qemu-devel] [PULL 1/8] target-sh4: use bit number for SR constants
Date: Wed, 3 Jun 2015 15:46:08 +0100

On 3 June 2015 at 15:34, Aurelien Jarno <address@hidden> wrote:
> On 2015-06-03 09:09, Aurelien Jarno wrote:
>> On 2015-06-02 19:01, Christopher Covington wrote:
>> > I like using the BIT() macro for this kind of thing.
>>
>> Thanks for the hint, I'll come with an additional patch to fix that in
>> the code.
>
> Unfortunately it doesn't seem as easy as it appears. The BIT() macro uses
> long types

Yeah, I've always taken it as really only being intended for working
with the bitmap functions, on account of the weird choice of "long".

-- PMM



reply via email to

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