From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,1177a02b35e507b5 X-Google-Attributes: gid111c93,public From: lindahl@pbm.com (Greg Lindahl) Subject: Re: gcc/egcs C optimization Date: 1998/11/03 Message-ID: <71o1qr$mr7@news3.newsguy.com>#1/1 X-Deja-AN: 408106609 References: <363F3118.7A28BB64@nist.gov> Organization: a guest of Shadow Island Games Newsgroups: comp.os.linux.alpha "Adam C. Powell, IV" writes: > > Note that with the current state of free compilers on Alpha, > > you will probably end up getting better performance on > > a Intel P2/450. > > Really?? Even for floating point? Do you have a P2/450 vs. alpha bnchmark? > All of the programs I have built unmodified with egcs-1.0.3a and libffm run > slightly faster (10-30%) than an SGI Origin 2000! (Goto's gemm is about 4 > times faster than the hand-coded R10K BLAS gemm.) I'd have to see a > convincing benchmark to believe P2 is any faster- for floating point (integer > I'd believe)- everything I've seen says otherwise. I believe that FFTW would be an example where a 450 mhz PII can be faster than a 533 mhz Alpha. FFTW generates FFT routines with huge basic blocks of adds and multiplies, and the instruction scheduler with egcs is unable to effectively schedule them. If anyone wants to hack on the the haifa scheduler, that would be the place to start. BTW, note that your SGI is at most 250 mhz for its R10k; although the R10k is a semi-brainiac, you shouldn't extrapolate from R10k results to PII results without measuring... But you are right that "compilers always make the alpha lose" is not correct. If you do linear algebra, the alpha rules. -- g