This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] i386.c string alignment - no alignment for < 32 bytes, else to 32 bytes


> gcc has a bug with string alignment on the x86.  For short strings,
> it doesn't align at all.  For strings longer than 32 bytes,
> it needlessly aligns them to 32 bytes. NB: this is only on the x86.

This is per the recommendations of the "Intel Architecture Optimization Manual".

-- John
-------------------------------------------------------------------------
|   Feith Systems  |   Voice: 1-215-646-8000  |  Email: john@feith.com  |
|    John Wehle    |     Fax: 1-215-540-5495  |                         |
-------------------------------------------------------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]