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

John Wehle john@feith.com
Tue Jan 15 15:29:00 GMT 2002


> 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  |                         |
-------------------------------------------------------------------------



More information about the Gcc mailing list