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: GCC 3.3 compile speed regression - THE GRAPH


> Neither lcc nor tcc are optimizing compilers.
> So the right one to compare compilation speed with is `-O0'.


Even that is not an apples/apples comparison. Clearly if one does not
care about code quality, then it should be possible to write a C compiler
running at millions of lines a minute on a modern PC (compare for example
the speed of the Realia COBOL compiler). Even at -O0 you are paying
a significant price for the general structure of gcc which makes advanced
optimizations feasible (not to mention the very general table driven
sturcture of the code generator).

Certainly I agree that it should be possible to speed up gcc by a 
significant factor while retaining these general characteristics, but
I am not sure it is instructive or useful to compare gcc performance
with tcc.


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