Re: gcc 2.95 vs 3.21 performance

Martin J. Bligh (mbligh@aracnet.com)
Wed, 05 Feb 2003 07:30:08 -0800


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/