Re: C compiler for kernel

Harald Koenig (koenig@tat.physik.uni-tuebingen.de)
Sun, 25 May 1997 13:44:52 +0200


On May 23, Thomas Pornin wrote:

> I think gcc-2.7.2.1 is slow on Alpha (which is not really a problem), and
> produces slow code (which is more annoying). Am I right in these
> assumptions ?

CPU time usage when compiling is no too good, but the compiled code is ok IMHO.

I've compared several (mostly non-FP based) programs both with gcc and DU-cc
long time ago and gcc compiled programs have been only about/less then 10% slower
if I remember correctly.

FP performace problems showed up mainly in using libm, not in complied user code.

Harald

--
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^