On 25 August 2011 14:22, Avi Kivity <a...@redhat.com> 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