qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PULL] slirp: Fix issues with -mms-bitfields


From: Peter Maydell
Subject: Re: [Qemu-devel] [PULL] slirp: Fix issues with -mms-bitfields
Date: Thu, 25 Aug 2011 14:36:04 +0100

On 25 August 2011 14:22, Avi Kivity <address@hidden> wrote:
> On 08/25/2011 04:13 PM, Jan Kiszka wrote:
>> Packing all structs is not really a good idea, more a last resort.
>
> btw, how are the non-x86s handling this? by trapping and fixuping in the
> kernel?

If a structure's packing means it doesn't adhere to the relevant
alignment constraints for the architecture gcc will access the
misaligned integers with a sequence of byte loads and stores.

-- PMM



reply via email to

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