* GCC versus DEC CC
@ 1996-06-03 4:00 Elias Mazur
1996-06-03 4:00 ` Pim van der Eijk
0 siblings, 1 reply; 6+ messages in thread
From: Elias Mazur @ 1996-06-03 4:00 UTC (permalink / raw)
I've been using DEC cc (with -migrate) to compile most of the software
I have.
Does anyone have experience or comparison done on which compiler (gcc
or cc) generates more optimized code for the DEC Alpha 3000/300LX.
Thanks.
- Elias Mazur (mazur@eih.com)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: GCC versus DEC CC
1996-06-03 4:00 GCC versus DEC CC Elias Mazur
@ 1996-06-03 4:00 ` Pim van der Eijk
1996-06-04 4:00 ` Richard D. Piccard
1996-06-04 4:00 ` Burkhard Neidecker-Lutz
0 siblings, 2 replies; 6+ messages in thread
From: Pim van der Eijk @ 1996-06-03 4:00 UTC (permalink / raw)
This is of course completely anecdotal evidence but you asked
for it. It is also from memory, it may not apply to the
latest versions of the two compilers.
GCC was faster than the default (mips-originated) C compiler.
GEM-based C (cc -migrate) was slightly faster than GCC.
This was using all high-performance options I could find for the
two compilers, no source code modifications, and only for the
applications I developed with, not with something more representative
such as SPEC.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: GCC versus DEC CC
1996-06-03 4:00 ` Pim van der Eijk
@ 1996-06-04 4:00 ` Richard D. Piccard
1996-06-05 4:00 ` Pim van der Eijk
1996-06-04 4:00 ` Burkhard Neidecker-Lutz
1 sibling, 1 reply; 6+ messages in thread
From: Richard D. Piccard @ 1996-06-04 4:00 UTC (permalink / raw)
Pim van der Eijk wrote:
>
> This is of course completely anecdotal evidence but you asked
> for it. It is also from memory, it may not apply to the
> latest versions of the two compilers.
>
> GCC was faster than the default (mips-originated) C compiler.
>
> GEM-based C (cc -migrate) was slightly faster than GCC.
>
> This was using all high-performance options I could find for the
> two compilers, no source code modifications, and only for the
> applications I developed with, not with something more representative
> such as SPEC.
Was this the comilation process - the performance of the compiler
as an executing program, or was this the performance of the compiled
code, the quality of the job (eventually) done by the compiler?
--
==================================================================
Dick Piccard Academic Technology Manager
piccard@ouvaxa.cats.ohiou.edu Computer Services
http://ouvaxa.cats.ohiou.edu/~piccard/ Ohio University
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: GCC versus DEC CC
1996-06-04 4:00 ` Richard D. Piccard
@ 1996-06-05 4:00 ` Pim van der Eijk
1996-06-06 4:00 ` Curt Smith
0 siblings, 1 reply; 6+ messages in thread
From: Pim van der Eijk @ 1996-06-05 4:00 UTC (permalink / raw)
"Richard D. Piccard" <piccard@ouvaxa.cats.ohiou.edu> wrote:
>Pim van der Eijk wrote:
>>
[stuff deleted]
>
>Was this the comilation process - the performance of the compiler
>as an executing program, or was this the performance of the compiled
>code, the quality of the job (eventually) done by the compiler?
>
>--
>==================================================================
>Dick Piccard Academic Technology Manager
>piccard@ouvaxa.cats.ohiou.edu Computer Services
>http://ouvaxa.cats.ohiou.edu/~piccard/ Ohio University
The programs I used, compiled using DEC C, ran faster than compiled
using other compilers.
Other factors that influenced my choice of compiler:
- there is a tendency among "freeware" (and related) programs to
take explicit advantage of GCC-specific features. Just adapting
makefiles is hard if people use exotic features of a compiler.
Case in point: compilers for high-level languages (e.g. Mercury)
that generate GNU C code as portable assembler. Other case: SP.
- a big advantage of Digital's compilers are options like -taso
and xtaso, especially if you're in a hurry to get a port done ..
Case: SMART.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: GCC versus DEC CC
1996-06-05 4:00 ` Pim van der Eijk
@ 1996-06-06 4:00 ` Curt Smith
0 siblings, 0 replies; 6+ messages in thread
From: Curt Smith @ 1996-06-06 4:00 UTC (permalink / raw)
Pim van der Eijk (pvde@nedernet.nl) wrote:
: "Richard D. Piccard" <piccard@ouvaxa.cats.ohiou.edu> wrote:
: >Pim van der Eijk wrote:
: >>
: [stuff deleted]
: >
: >Was this the comilation process - the performance of the compiler
: >as an executing program, or was this the performance of the compiled
: >code, the quality of the job (eventually) done by the compiler?
: >
: >--
: >==================================================================
: >Dick Piccard Academic Technology Manager
: >piccard@ouvaxa.cats.ohiou.edu Computer Services
: >http://ouvaxa.cats.ohiou.edu/~piccard/ Ohio University
:
:
: The programs I used, compiled using DEC C, ran faster than compiled
: using other compilers.
:
: Other factors that influenced my choice of compiler:
:
: - there is a tendency among "freeware" (and related) programs to
: take explicit advantage of GCC-specific features. Just adapting
: makefiles is hard if people use exotic features of a compiler.
: Case in point: compilers for high-level languages (e.g. Mercury)
: that generate GNU C code as portable assembler. Other case: SP.
:
: - a big advantage of Digital's compilers are options like -taso
: and xtaso, especially if you're in a hurry to get a port done ..
Our experiences with gcc VS cc on DUX 3.2d correlates with the above.
We find that we NEED BOTH compilers every day. Some off the net work
compiles best (or only) with gmake/gcc. Our in house work often goes
best with with gmake/cc. Some of our in house SW does run faster with
gcc than cc.
Curt Smith
curts@compgen.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: GCC versus DEC CC
1996-06-03 4:00 ` Pim van der Eijk
1996-06-04 4:00 ` Richard D. Piccard
@ 1996-06-04 4:00 ` Burkhard Neidecker-Lutz
1 sibling, 0 replies; 6+ messages in thread
From: Burkhard Neidecker-Lutz @ 1996-06-04 4:00 UTC (permalink / raw)
In article <DsFruw.Err@solair1.inter.NL.net> Pim van der Eijk <pvde@nedernet.nl> writes:
>
>GCC was faster than the default (mips-originated) C compiler.
Only rarely true in my experience. Often due to the fact that GCC
defaults to ANSI mode and the normal CC defaults to K&R mode. Specifying
c89 or cc -std1 usually made cc faster.
>GEM-based C (cc -migrate) was slightly faster than GCC.
GEM-based C (or DEC C) is the default compiler under Digital UNIX V4.0
and will always kill the two others on anything containing floating point
and most of the time on integer code. Be sure to get a recent version,
it got a lot better since V3.2A.
Burkhard Neidecker-Lutz
EUROMEDIA - Distributed Multimedia Archives for Cooperative TV Production
CEC Karlsruhe , European Applied Research Center, Digital Equip. Corp.
email: neideck@kar.dec.com
"PA-8000 users: send me mail when you get one delivered. Current count: 1"
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1996-06-06 4:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-06-03 4:00 GCC versus DEC CC Elias Mazur
1996-06-03 4:00 ` Pim van der Eijk
1996-06-04 4:00 ` Richard D. Piccard
1996-06-05 4:00 ` Pim van der Eijk
1996-06-06 4:00 ` Curt Smith
1996-06-04 4:00 ` Burkhard Neidecker-Lutz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox