I figure the kernel will do weird things which screw up -fstrict-aliasing, so
its for correctness, not speed.
>
> About alignment.... the info I have found was that pentiums like -malign-*=2,
> and PPro's supposedly liked either 2 or 4 depending on who you ask, and then
> I read somewhere else that PII (at least the latest Deschutes ones) and later
> processors should go back to 0, because for some reason the alignment didn't
> help them much, and removing the padding would save space in the L2 (and to a
> small degree the L1) cache.... so that's why I went with zero. Do you (or
> anybody on the list) no for sure the optimal alignment for the PII Deschutes?
Hm. I think I read somewhere on Intel's page (some doc about optimizing for pentium
class cpus) that p2 likes alignment on 16-byte boundaries. Will check again later.
>
> I kind-of assumed since gcc (I think) does thigns at least to 6, and so does
> pgcc, both of which go into egcs, that egcs would have an O6... oh well :)
oh, gcc does too? that's weird...
-- arvind
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/