[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Generating better i386 code
From: |
Jason Hood |
Subject: |
Re: [Tinycc-devel] Generating better i386 code |
Date: |
Fri, 27 Sep 2013 11:21:19 +1000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 |
On 26/09/2013 16:30, Daniel Glöckner wrote:
> On Thu, Sep 26, 2013 at 03:39:45PM +1000, Jason Hood wrote:
>> * 4- & 8-byte structs copy as int/long long (all targets);
>
> did you check if the structure is aligned to a multiple of 4 bytes?
> Otherwise it will crash on ARM.
No, as I thought structures of these sizes would already be
aligned (as if they were int or long long). Is that not
necessarily the case?
--
Jason.