|
From: | Avi Kivity |
Subject: | Re: [Qemu-devel] [PULL] slirp: Fix issues with -mms-bitfields |
Date: | Thu, 25 Aug 2011 16:39:44 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 |
On 08/25/2011 04:36 PM, Peter Maydell wrote:
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.
Thanks, good to know. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.
[Prev in Thread] | Current Thread | [Next in Thread] |