Re: gcc 2.95 vs 3.21 performance

Martin J. Bligh
2003-02-05T15:21:13Z

> GCC already went this way, i.e. it aligns functions and loops by
> ridiculous (IMHO) amounts like 16 bytes. That's 7,5 bytes per alignment
> on average. Now count lk functions and loops and mourn for lost icache.
> Or just disassemble any .o module and read the damn code.
>
> This is the primary reason why people report larger kernels for GCC 3.x
>
> I am damn sure that if you compile with less sadistic alignment
> you will get smaller *and* faster kernel.

There's only one real way to know that. Do it, test it.

M.