qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 2/5] cpu: default TARGET_LONG_ALIGNMENT to TARGE


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 2/5] cpu: default TARGET_LONG_ALIGNMENT to TARGET_LONG_SIZE
Date: Tue, 2 Apr 2013 16:16:57 +0100

On 2 April 2013 15:44, Paolo Bonzini <address@hidden> wrote:
> This is the case for all supported 64-bits architectures.

Being sensible with the defaults is good, but I wonder if
we could structure cpu-defs.h (or somewhere else) so there
was a nice clear list of "here are all the things you need
to either define for your new target or check that the
defaults are sensible". Especially for things like the
type alignment it's easy to end up with something that
only mostly works if the default isn't correct for you.

Or maybe I'm being overoptimistic about whether new target
authors would actually check through the list anyway :-)

-- PMM



reply via email to

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