[common path branch optimizations]
> P.S. Compiler can not do such optimization IN PRINCIPLE sinse it has no info
> about "common path" :-(( Of course it's possible to extend "C" to make such
> automatic optimization possible but it's not clear if such change is worthfull...
Er, sorry, but it can do it. It just needs a multi-pass compile with a
profiling run in the middle.
See `-fprofile-arcs' and `-fbranch-probabilities' in the manual for a
recent GCC.
-- `As promised, here's the patch to do this. Not only is it good (it compiles), but it is perfect (it boots). Up 9 minutes so far without problems.' --- Richard Gooch on linux-kernel- 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/