Mail Archives: djgpp-workers/1999/07/06/11:14:59
On Tue, 6 Jul 1999, salvador wrote:
> The main problem is the fact that we must align all the code to 16 bytes if the
> user wants to align your functions to 16 bytes.
I don't understand why this is true. The .text section must be aligned
to 16 bytes, which wastes 15 bytes at most, but once .text is 16-byte
aligned, any user-defined function can be aligned to 16-byte no matter
what the rest of the code does: just emit the ".align" directive. Or am
I missing something?
> Aligning to 16 bytes is good but will bloat libc a little bit.
I think ".balign 16,,7" doesn't bloat too much, and it's what Intel
recommends. But I don't know if GCC/EGCS can be told to use this.
- Raw text -