* Re: gcc vs. cc on Alpha: what's the latest?
[not found] <5ei8cj$4js$1@news.fas.harvard.edu>
1997-02-21 5:00 ` gcc vs. cc on Alpha: what's the latest? Hyong Lee
@ 1997-02-21 5:00 ` Oleg Krivosheev
1997-02-21 5:00 ` Timothy Murphy
1997-02-21 5:00 ` Ron Natalie
` (4 subsequent siblings)
6 siblings, 1 reply; 13+ messages in thread
From: Oleg Krivosheev @ 1997-02-21 5:00 UTC (permalink / raw)
Cc: tim
Hi,
tim@maths.tcd.ie (Timothy Murphy) writes:
>
> hahn@neurocog.lrdc.pitt.edu (Mark Hahn) writes:
>
> >the bottom line was that gcc produces code that's 25-30% slower
> >than native compilers on the Alpha or P6.
>
> What "native compilers" on P6?
it is Intel Reference Compiler - what a surprise ;)
> Did they use pgcc (Pentium gcc) as would be logical?
as far as i can remember, gcc 2.7 gives about
20% lower spec[int|fp]95 PPro numbers than IRC
produces "official" ones.
OK
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: gcc vs. cc on Alpha: what's the latest?
[not found] <5ei8cj$4js$1@news.fas.harvard.edu>
1997-02-21 5:00 ` gcc vs. cc on Alpha: what's the latest? Hyong Lee
1997-02-21 5:00 ` Oleg Krivosheev
@ 1997-02-21 5:00 ` Ron Natalie
1997-02-21 5:00 ` Paul Repacholi (prep)
` (3 subsequent siblings)
6 siblings, 0 replies; 13+ messages in thread
From: Ron Natalie @ 1997-02-21 5:00 UTC (permalink / raw)
> >
> > >the bottom line was that gcc produces code that's 25-30% slower
> > >than native compilers on the Alpha or P6.
> >
> > What "native compilers" on P6?
>
> it is Intel Reference Compiler - what a surprise ;)
It certainly is to me, we've found that the Intel Reference
Compiler, even in it's fancy two pass mode is slower than
gcc. Even playing with the compiler optimizations, -blended
shows a performance gain over the pentium and p6 flags.
This is on some graphic benchmarks we have and not the SPECola.
-Ron
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: gcc vs. cc on Alpha: what's the latest?
1997-02-21 5:00 ` Paul Repacholi (prep)
@ 1997-02-21 5:00 ` Ron Natalie
1997-02-21 5:00 ` Mark Hahn
1 sibling, 0 replies; 13+ messages in thread
From: Ron Natalie @ 1997-02-21 5:00 UTC (permalink / raw)
Paul Repacholi (prep) wrote:
> Note that gcc is NOT subject to extensive arch dependent tweeking
> and tuning as venddor compilers are.
Howls of derisive laughter. Without passing judgement on the
Alpha compilers (which I believe to be very good), we've found
that GCC on lots of platforms (especially the more popular
platforms like sun and intel) to outperform the vendor compilers.
Certainly, the so called super optmizing multipass Intel compiler
doesn't do any better for us than gcc (and oddly enough if you
tell it you *DONT* have a pentium, it makes better code than if
you turn on the pentium optimizations). While I haven't tested
the latest SparcWorks stuff, two years ago GCC easily matched
the Solaris SparCompiler.
-ROn
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: gcc vs. cc on Alpha: what's the latest?
1997-02-21 5:00 ` Oleg Krivosheev
@ 1997-02-21 5:00 ` Timothy Murphy
1997-02-21 5:00 ` Dirk Nehring
0 siblings, 1 reply; 13+ messages in thread
From: Timothy Murphy @ 1997-02-21 5:00 UTC (permalink / raw)
Oleg Krivosheev <kriol@fnal.gov> writes:
>> hahn@neurocog.lrdc.pitt.edu (Mark Hahn) writes:
>>
>> >the bottom line was that gcc produces code that's 25-30% slower
>> >than native compilers on the Alpha or P6.
>> Did they use pgcc (Pentium gcc) as would be logical?
>as far as i can remember, gcc 2.7 gives about
>20% lower spec[int|fp]95 PPro numbers than IRC
>produces "official" ones.
It seems that they used non-Pentium gcc -O2 .
I would guess that pgcc (gcc-2.7.2p) -O6
would be significantly faster --
quite possibly faster than the Intel compiler.
--
Timothy Murphy
e-mail: tim@maths.tcd.ie
tel: +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: gcc vs. cc on Alpha: what's the latest?
1997-02-21 5:00 ` Timothy Murphy
@ 1997-02-21 5:00 ` Dirk Nehring
0 siblings, 0 replies; 13+ messages in thread
From: Dirk Nehring @ 1997-02-21 5:00 UTC (permalink / raw)
In comp.os.linux.development.apps Timothy Murphy <tim@maths.tcd.ie> wrote:
> Oleg Krivosheev <kriol@fnal.gov> writes:
> >> hahn@neurocog.lrdc.pitt.edu (Mark Hahn) writes:
> >>
> >> >the bottom line was that gcc produces code that's 25-30% slower
> >> >than native compilers on the Alpha or P6.
> >> Did they use pgcc (Pentium gcc) as would be logical?
> >as far as i can remember, gcc 2.7 gives about
> >20% lower spec[int|fp]95 PPro numbers than IRC
> >produces "official" ones.
> It seems that they used non-Pentium gcc -O2 .
> I would guess that pgcc (gcc-2.7.2p) -O6
> would be significantly faster --
> quite possibly faster than the Intel compiler.
Wrong, I've tested it, pgcc is currently slower than gcc 2.7.2.1 on a
PPro. Marc Lehmann (mlehmann@hildesheim.sgh-net.de), the maintainer of
the pgcc compiler, has no P6 and can't do any special optimization for
this processor type.
Dirk
--
Dirk Nehring, | Student of Natural Scientific Computer Science
dnehring@uni-bielefeld.de | Computing Center, University of Bielefeld, Germany
| <http://www.uni-bielefeld.de/~dnehring/>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: gcc vs. cc on Alpha: what's the latest?
[not found] <5ei8cj$4js$1@news.fas.harvard.edu>
` (2 preceding siblings ...)
1997-02-21 5:00 ` Ron Natalie
@ 1997-02-21 5:00 ` Paul Repacholi (prep)
1997-02-21 5:00 ` Ron Natalie
1997-02-21 5:00 ` Mark Hahn
1997-02-22 5:00 ` Michael Champigny
` (2 subsequent siblings)
6 siblings, 2 replies; 13+ messages in thread
From: Paul Repacholi (prep) @ 1997-02-21 5:00 UTC (permalink / raw)
Cc: ZREPACHOL
On 20 Feb 1997, GB wrote:
> A couple of months ago, I heard rumors that gcc produced significantly
> slower executables for DEC's Alpha platform under Linux than those
> produced by the native compiler under Digital Unix (for the same
> hardware). Is this rumor (still) correct? Does anybody know of any
> published comparison benchmarks?
Probably. There where some comparison numbers for parts of spec
posted to comp.arch a while back.
Note that gcc is NOT subject to extensive arch dependent tweeking
and tuning as venddor compilers are.
~Paul
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: gcc vs. cc on Alpha: what's the latest?
1997-02-21 5:00 ` Paul Repacholi (prep)
1997-02-21 5:00 ` Ron Natalie
@ 1997-02-21 5:00 ` Mark Hahn
1997-02-21 5:00 ` Timothy Murphy
1 sibling, 1 reply; 13+ messages in thread
From: Mark Hahn @ 1997-02-21 5:00 UTC (permalink / raw)
: > A couple of months ago, I heard rumors that gcc produced significantly
: > slower executables for DEC's Alpha platform under Linux than those
: > produced by the native compiler under Digital Unix (for the same
: > hardware). Is this rumor (still) correct? Does anybody know of any
: > published comparison benchmarks?
: Probably. There where some comparison numbers for parts of spec
: posted to comp.arch a while back.
actually, there was a quite recent comparison that I found useful.
the bottom line was that gcc produces code that's 25-30% slower
than native compilers on the Alpha or P6. I understand that gcc
2.8 (when the hell's it going to be released?) will have improved
code generation for both targets.
: Note that gcc is NOT subject to extensive arch dependent tweeking
: and tuning as venddor compilers are.
it's really a shame that gcc's code generator seems so unapproachable.
10000 quite capable developers have the code, but nearly all, like me,
took one look at that stuff and gave up on it...
regards, mark hahn.
--
operator may differ from spokesperson. hahn@neurocog.lrdc.pitt.edu
http://neurocog.lrdc.pitt.edu/~hahn/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: gcc vs. cc on Alpha: what's the latest?
1997-02-21 5:00 ` Mark Hahn
@ 1997-02-21 5:00 ` Timothy Murphy
0 siblings, 0 replies; 13+ messages in thread
From: Timothy Murphy @ 1997-02-21 5:00 UTC (permalink / raw)
hahn@neurocog.lrdc.pitt.edu (Mark Hahn) writes:
>the bottom line was that gcc produces code that's 25-30% slower
>than native compilers on the Alpha or P6.
What "native compilers" on P6?
Did they use pgcc (Pentium gcc) as would be logical?
--
Timothy Murphy
e-mail: tim@maths.tcd.ie
tel: +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: gcc vs. cc on Alpha: what's the latest?
[not found] <5ei8cj$4js$1@news.fas.harvard.edu>
@ 1997-02-21 5:00 ` Hyong Lee
1997-02-21 5:00 ` Oleg Krivosheev
` (5 subsequent siblings)
6 siblings, 0 replies; 13+ messages in thread
From: Hyong Lee @ 1997-02-21 5:00 UTC (permalink / raw)
GB <berriz@husc.harvard.edu> writes:
>A couple of months ago, I heard rumors that gcc produced significantly
>slower executables for DEC's Alpha platform under Linux than those
>produced by the native compiler under Digital Unix (for the same
>hardware). Is this rumor (still) correct? Does anybody know of any
>published comparison benchmarks?
>Thanks in advance,
>Gabriel
>P.S. Note follow-up set to comp.sys.dec.
See comp.arch for a post comparing the spec suite running under Linux/Alpha
on a \x7f'164/275. The numbers for Specbase95 were 4.97 for gcc and 6.22 for
cc.
--
- hyong
hyongel@nwu.edu
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: gcc vs. cc on Alpha: what's the latest?
[not found] <5ei8cj$4js$1@news.fas.harvard.edu>
` (3 preceding siblings ...)
1997-02-21 5:00 ` Paul Repacholi (prep)
@ 1997-02-22 5:00 ` Michael Champigny
1997-02-24 5:00 ` Thomas Leitner
1997-02-22 5:00 ` H.W. Stockman
1997-02-24 5:00 ` Jerry Quinn
6 siblings, 1 reply; 13+ messages in thread
From: Michael Champigny @ 1997-02-22 5:00 UTC (permalink / raw)
GB (berriz@husc.harvard.edu) wrote:
: A couple of months ago, I heard rumors that gcc produced significantly
: slower executables for DEC's Alpha platform under Linux than those
: produced by the native compiler under Digital Unix (for the same
: hardware). Is this rumor (still) correct? Does anybody know of any
: published comparison benchmarks?
I don't have any numbers to show you, but I've compiled many programs
on both Linux/AXP and Digital Unix. The code produced by cc on DEC Unix
is noticably faster than that generated by gcc. :-(
--
.______________________________________________________________________.
| Michael Champigny - Software Engineer | | | | | | | |
| Alpha CAD Physical Analysis | d | i | g | i | t | a | l |
|__________________________________________|___|___|___|___|___|___|___|
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: gcc vs. cc on Alpha: what's the latest?
[not found] <5ei8cj$4js$1@news.fas.harvard.edu>
` (4 preceding siblings ...)
1997-02-22 5:00 ` Michael Champigny
@ 1997-02-22 5:00 ` H.W. Stockman
1997-02-24 5:00 ` Jerry Quinn
6 siblings, 0 replies; 13+ messages in thread
From: H.W. Stockman @ 1997-02-22 5:00 UTC (permalink / raw)
Oleg Krivosheev wrote:
> tim@maths.tcd.ie (Timothy Murphy) writes:
> > hahn@neurocog.lrdc.pitt.edu (Mark Hahn) writes:
> > >the bottom line was that gcc produces code that's 25-30% slower
> > >than native compilers on the Alpha or P6.
> > What "native compilers" on P6?
> it is Intel Reference Compiler - what a surprise ;)
I just saw a DDJ review of commercial C compilers, including the
Intel-ref compiler used as a back-end for Borland C.
On ByteMarks, the Borland/Intel Ref did give a prett dramatic
integer performance improvement over Watcom -- about a factor
of 1.59 I believe. And on real applications, there was (of
course) little difference among the compilers.
I just finished benchmarking Watcom, Symantec and MS VC++ on
one of our recent computational programs (another float-intensive
program). The predictions of ByteMark were:
MS = Watcom = 2*Symantec
Reality was:
MS= 1.05*Symantec; Synamtec= 1.3*Watcom...
In other words, ByteMark FP proved to be a miserable
predictor of floating point performance.
Now the code goes off for testing on various other
processors. So far, a 195 MHz R10000 is <1.7 times
faster than the 200 MHz PPro.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: gcc vs. cc on Alpha: what's the latest?
1997-02-22 5:00 ` Michael Champigny
@ 1997-02-24 5:00 ` Thomas Leitner
0 siblings, 0 replies; 13+ messages in thread
From: Thomas Leitner @ 1997-02-24 5:00 UTC (permalink / raw)
Michael Champigny <champign@cadosf.hlo.dec.com> wrote:
> GB (berriz@husc.harvard.edu) wrote:
> : A couple of months ago, I heard rumors that gcc produced significantly
> : slower executables for DEC's Alpha platform under Linux than those
> : produced by the native compiler under Digital Unix (for the same
> : hardware). Is this rumor (still) correct? Does anybody know of any
> : published comparison benchmarks?
> I don't have any numbers to show you, but I've compiled many programs
> on both Linux/AXP and Digital Unix. The code produced by cc on DEC Unix
> is noticably faster than that generated by gcc. :-(
That's true. This is on Digital Unix 4.0B with gcc 2.7.2:
$ gcc -O3 -o dhry.gcc -DTIME -DREG=register dhry_1.c dhry_2.c
$ cc -O4 -fast -o dhry.cc -DTIME -DREG=register dhry_1. c dhry_2.c
$ ./dhry.gcc
Dhrystone Benchmark, Version 2.1 (Language: C)
Program compiled with 'register' attribute
Please give the number of runs through the benchmark: 10000000
Execution starts, 10000000 runs through Dhrystone
[...]
Microseconds for one run through Dhrystone: 2.6
Dhrystones per Second: 384615.4 <------- GCC
$ ./dhry.cc
Dhrystone Benchmark, Version 2.1 (Language: C)
Program compiled with 'register' attribute
Please give the number of runs through the benchmark: 10000000
Execution starts, 10000000 runs through Dhrystone
[...]
Microseconds for one run through Dhrystone: 2.0
Dhrystones per Second: 500000.0 <------- CC
Tom
--
--------------------------------------------------------------------------
T o m L e i t n e r Dept. of Communications
Graz University of Technology,
e-mail : tom@finwds01.tu-graz.ac.at Inffeldgasse 12
Phone : +43-316-873-7455 A-8010 Graz / Austria / Europe
Fax : +43-316-463-697
Home page : http://wiis.tu-graz.ac.at/people/tom.html
PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send
mail with subject "get Thomas Leitner" to pgp-public-keys@keys.pgp.net
--------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: gcc vs. cc on Alpha: what's the latest?
[not found] <5ei8cj$4js$1@news.fas.harvard.edu>
` (5 preceding siblings ...)
1997-02-22 5:00 ` H.W. Stockman
@ 1997-02-24 5:00 ` Jerry Quinn
6 siblings, 0 replies; 13+ messages in thread
From: Jerry Quinn @ 1997-02-24 5:00 UTC (permalink / raw)
>> "RN" == Ron Natalie <ron@sensor.com> writes:
RN> Paul Repacholi (prep) wrote:
>> Note that gcc is NOT subject to extensive arch dependent tweeking and
>> tuning as venddor compilers are.
RN> Howls of derisive laughter. Without passing judgement on the Alpha
RN> compilers (which I believe to be very good), we've found that GCC on lots
RN> of platforms (especially the more popular platforms like sun and intel)
RN> to outperform the vendor compilers. Certainly, the so called super
RN> optmizing multipass Intel compiler doesn't do any better for us than gcc
RN> (and oddly enough if you tell it you *DONT* have a pentium, it makes
RN> better code than if you turn on the pentium optimizations). While I
RN> haven't tested the latest SparcWorks stuff, two years ago GCC easily
RN> matched the Solaris SparCompiler.
On HPUX 9.05, gcc is unfortunately significantly slower than HP's compiler.
Unfortunate, because we're stuck using xdb to debug and I really dislike xdb.
RN> -ROn
Jerry
--
Jerry Quinn Tel: (514) 761-8737
jquinn@nortel.ca Fax: (514) 761-8505
Speech Technology Infrastructure
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~1997-02-24 5:00 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <5ei8cj$4js$1@news.fas.harvard.edu>
1997-02-21 5:00 ` gcc vs. cc on Alpha: what's the latest? Hyong Lee
1997-02-21 5:00 ` Oleg Krivosheev
1997-02-21 5:00 ` Timothy Murphy
1997-02-21 5:00 ` Dirk Nehring
1997-02-21 5:00 ` Ron Natalie
1997-02-21 5:00 ` Paul Repacholi (prep)
1997-02-21 5:00 ` Ron Natalie
1997-02-21 5:00 ` Mark Hahn
1997-02-21 5:00 ` Timothy Murphy
1997-02-22 5:00 ` Michael Champigny
1997-02-24 5:00 ` Thomas Leitner
1997-02-22 5:00 ` H.W. Stockman
1997-02-24 5:00 ` Jerry Quinn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox