From: lindahl@pbm.com (Greg Lindahl)
Subject: Re: gcc/egcs C optimization
Date: 1998/11/03 [thread overview]
Message-ID: <71o1qr$mr7@news3.newsguy.com> (raw)
In-Reply-To: 363F3118.7A28BB64@nist.gov
"Adam C. Powell, IV" <adam.powell@nist.gov> 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
next prev parent reply other threads:[~1998-11-03 5:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-31 5:00 gcc/egcs C optimization Berk Sensoy
1998-11-02 5:00 ` Conrad Sanderson
1998-11-02 5:00 ` Murx
1998-11-03 5:00 ` Adam C. Powell, IV
1998-11-03 5:00 ` Greg Lindahl [this message]
1998-11-04 5:00 ` Steven G. Johnson
1998-11-04 5:00 ` C.Simmendinger
1998-11-04 5:00 ` Greg Lindahl
1998-11-05 5:00 ` C.Simmendinger
1998-11-05 5:00 ` Greg Lindahl
1998-11-05 5:00 ` C.Simmendinger
1998-11-04 5:00 ` Craig Burley
1998-11-05 5:00 ` Toon Moene
1998-11-06 5:00 ` C.Simmendinger
1998-11-06 5:00 ` C.Simmendinger
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox