Mail Archives: djgpp-workers/1999/08/11/22:43:56
On Mon, Jul 26, 1999 at 09:28:19AM +0300, Eli Zaretskii wrote:
>
> On Sun, 25 Jul 1999, Jan Hubicka wrote:
>
> > Also about binutils alignment.. I believe alignment is set to prety
> > low number there..
>
> The subsection alignment is 4 bytes in current port of Binutils.
>
> > next (after 2.95) version will need 32 byte alignment for AMD-K6 code
> > (to fit well into cache lines)
>
> I believe we are heading for 16-byte alignment for the next version of
> Binutils. This should be enough for all processors, including AMD-K6,
> since the prefetch queues fetch on 16-byte boundaries. Is there
> something in AMD-K6 that makes this not good enough?
The target lignment according to doc is two instructions away from cache
line (32 bytes)..
>
> Anyway, as long as GCC doesn't align the code on 32-byte boundary by
> default, there's not much sense in aligning subsections on 32-byte
> boundary, is there?
The gcc 2.96.1 in new_ia32_branch does alignment for k6 to 32 bytes by
default..
Honza
- Raw text -