[patch][pr18006] On x86_64, align arrays >= 32 bytes to 32 bytes

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Jan 7 08:10:32 PST 2014


On 7 January 2014 09:40, Joerg Sonnenberger <joerg at britannica.bec.de> wrote:
> On Wed, Nov 20, 2013 at 12:15:55PM -0500, Rafael EspĂ­ndola wrote:
>> This is the first patch for pr18006. It just changes the alignment we
>> use when creating large arrays (>=32 bytes) on x86_64.
>
> I don't like this. Isn't it going to force the more expensive
> realignment mode whenever such an array is on the stack?

Good point. Testing that shows that gcc only aligns static data to 32
bits. Looks like I misread something. I will update pr18006.

Cheers,
Rafael




More information about the cfe-commits mailing list