This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compile performance of Linux kernels in mainline gcc


Giovanni Bajo wrote:
While I do not necessarily agree, there have been some statements in the past
about ignoring the compile time regression at -O2. The idea is that 4.0
optimizes code much better (or: has many more optimizers) than 3.3, so we
should not care that much if compilation time goes up a little. (of course,
this does not affect 5000% regressions which are clearly bugs, etc.).

Why can commercial compilers produce faster code in less time? If their generated code is faster than GCC's, they are likely performing more optimizations, and therefore, by your logic, they should compile SLOWER than GCC.


But they don't.

--
Scott Robert Ladd
site: http://www.coyotegulch.com
blog: http://chaoticcoyote.blogspot.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]