Mail Archives: djgpp/2009/02/10/04:31:30
> From: Rugxulo <rugxulo AT gmail DOT com>
> Date: Mon, 9 Feb 2009 21:15:10 -0800 (PST)
>
> GCC 3.4.4 (compiled by me specifically for -march=pentium") runs at
> least four times slower on my P166 (at least compiling TDE 5.1v).
Like I said: 2.7.2 is the leanest, meanest GCC in the West.
> I don't know why, Haifa scheduler?
Who knows? I guess the main reason is that being lean and mean is no
longer a worthy goal in the eyes of GCC developers as much as it was
before.
> I wonder if 386/486 optimizations regressed since then but haven't
> tested. Some people also claim .EXE size has gone up ever since,
> which is actually fairly true.
I challenge anyone who cares to show a test case where a real-life C
program (not one of those "benchmarks" prepared solely to show off
optimizer features) runs more than 10% faster under GCC 3.x or 4.x
than when compiled by GCC 2.7.2.
Me, I will trade 10% speedup for the ability to debug optimized code
any time. To say nothing of 4-fold compilation speedup.
Thanks for making a new build of GCC 2.7.2.3 available. Too bad it
didn't support DWARF-2 debug info, but that disadvantage pales in
comparison with its advantages.
- Raw text -