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 16:16:25 -0500 (EST)
- Subject: Re: [patch] i386.c string alignment - no alignment for < 32 bytes, else to 32 bytes
> Let's take the second case first. Applying this rule to *all* 32-byte
> strings is trading off a trivial amount of optimization for memory.
> These constants are not dynamically allocated objects, they are static
> constants rarely used.
It depends on the application.
> It is just wasted space.
-Os says to favor space for time.
-- John
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------