This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] i386.c string alignment - no alignment for < 32 bytes, else to 32 bytes
- From: John Wehle <john at feith dot com>
- To: cbsears_sf at yahoo dot com
- Cc: gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: Tue, 15 Jan 2002 12:49:06 -0500 (EST)
- Subject: 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 | |
-------------------------------------------------------------------------