This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Performance on an alpha 21164 using egcs 1.0.3 ???
- To: egcs at egcs dot cygnus dot com
- Subject: Performance on an alpha 21164 using egcs 1.0.3 ???
- From: Peter Biechele <peter dot biechele at physik dot uni-freiburg dot de>
- Date: Wed, 30 Dec 1998 19:04:16 +0100
- Reply-To: peter dot biechele at physik dot uni-freiburg dot de
We just bought DEC Alpha Computers and installed Linux Red-Hat 5.2 on them. The
Compiler coming with it are EGCS -1.0.3 !
I have written a small program which consist of just two nested loops and a
square root calculation. I compiled this program under:
DEC Alpha 21164 600 / Linux / egcs 1.0.3: 35 seconds
Intel PII 450 / Linux (Debian) / egcs 1.0.3: 6 seconds
Intel PII 450 / Linux (Debian) / gcc 2.7.2 : 12 seconds
How is this possible !!???????????
The DEC Alpha should be at least the same performance !!!
The test program was :
-------------------------------
# include <stdio.h>
# include <math.h>
main()
{ double y;
double k,i;
for(k=0;k<50000;k++) {
y = sqrt(k);
for(i=0;i<4000;i++) y=sqrt(i*y);
}
printf("Realisierung: %f\n",k*1.);
}
--------------------------------
Our Question:
How can we improve the performance of the egcs compiler under Linux Alpha !!!!
Thank you for any help or suggestions !
Peter Biechele, Germany, Uni Freiburg
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Dipl. Phys. Peter Biechele, Uni Freiburg, Fakultaet fuer Physik, Abt. Honerkamp,
Tel. (0761) 203-5875, EMail: peter.biechele@physik.uni-freiburg.de
FAX: (0761) 203-5967, WWW: http://phym1.physik.uni-freiburg.de/~pebi
Privat: Stefan-Meier-Str. 86, 79104 Freiburg, 0761 / 50 87 20