* Optimized C++
@ 1995-07-25 4:00 Paul H. Purdom
1995-07-25 4:00 ` Peter Mardahl
1995-07-28 4:00 ` R. van der Wal
0 siblings, 2 replies; 5+ messages in thread
From: Paul H. Purdom @ 1995-07-25 4:00 UTC (permalink / raw)
I'm trying to optimize some math intensive C++ code on an Alpha 4/275,
running OSF1. The standard DEC cxx compiler doesn't seem to do a very good
job. The GNU compiler does better.
I have also found that the optimizing C compiler, kcc, does a very good job on
C
code.
Does anyone know how I can get better performance out of our C++ code?
Is there a C++ equivalent to kcc?
Paul Purdom
php@hrb.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Optimized C++
1995-07-25 4:00 Optimized C++ Paul H. Purdom
@ 1995-07-25 4:00 ` Peter Mardahl
1995-07-27 4:00 ` Peter Mayne
1995-07-28 4:00 ` R. van der Wal
1 sibling, 1 reply; 5+ messages in thread
From: Peter Mardahl @ 1995-07-25 4:00 UTC (permalink / raw)
In article <1995Jul25.133008.23493@hrbicf>, Paul H. Purdom <php> wrote:
>I'm trying to optimize some math intensive C++ code on an Alpha 4/275,
>running OSF1. The standard DEC cxx compiler doesn't seem to do a very good
>job. The GNU compiler does better.
I'm not impressed at all with the optimization done by GNU's C++
compiler either. C++ compilers in general seem pretty lame--
Borland C++ also didn't seem that impressive. We ran some simple
tests and g++ code (using classes and functions which are supposedly
inlined) was about 8 times slower than a C implementation of the
same functionality. A simple, brain-dead case, but we also
see a factor of 2 or 3 in larger programs.
Watcom c++ and microsoft c++ have good reputations for optimizing,
but I doubt they exist for the Alpha.
I tested Borland C++ on a Pentium-box and g++ on an Alphastation.
>Does anyone know how I can get better performance out of our C++ code?
>Is there a C++ equivalent to kcc?
PeterM
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Optimized C++
1995-07-25 4:00 ` Peter Mardahl
@ 1995-07-27 4:00 ` Peter Mayne
0 siblings, 0 replies; 5+ messages in thread
From: Peter Mayne @ 1995-07-27 4:00 UTC (permalink / raw)
In article <3v3qov$fi2@agate.berkeley.edu>
peterm@landau.EECS.Berkeley.EDU (Peter Mardahl) wrote:
> Watcom c++ and microsoft c++ have good reputations for optimizing,
> but I doubt they exist for the Alpha.
I've been using Visual C++ on my Alpha since last year some time. It's
a Digital compiler.
PJDM
--
Peter Mayne
Digital Equipment Corporation (Australia)
Canberra, ACT
----
These are my opinions, and have nothing to do with Digital.
The truth is out there, but not necessarily in here.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Optimized C++
1995-07-25 4:00 Optimized C++ Paul H. Purdom
1995-07-25 4:00 ` Peter Mardahl
@ 1995-07-28 4:00 ` R. van der Wal
1 sibling, 0 replies; 5+ messages in thread
From: R. van der Wal @ 1995-07-28 4:00 UTC (permalink / raw)
In article <1995Jul25.133008.23493@hrbicf> "Paul H. Purdom" <php> writes:
>I'm trying to optimize some math intensive C++ code on an Alpha 4/275,
>running OSF1. The standard DEC cxx compiler doesn't seem to do a very good
>job. The GNU compiler does better.
>I have also found that the optimizing C compiler, kcc, does a very good job on
>C
>code.
>Does anyone know how I can get better performance out of our C++ code?
>Is there a C++ equivalent to kcc?
You may want to check if Metaware has a C++ compiler for DEC Alpha. I'm not
quite sure that they do, but they support a lot of platforms and have very
good optimizing C++ (and C, for that matter) compilers. Their product name is
'High C/C++'.
-Ron van der Wal
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Optimized C++
@ 1995-07-27 4:00 Wim Colgate
0 siblings, 0 replies; 5+ messages in thread
From: Wim Colgate @ 1995-07-27 4:00 UTC (permalink / raw)
/>> Watcom c++ and microsoft c++ have good reputations for optimizing,
/>> but I doubt they exist for the Alpha.
/>
/>I've been using Visual C++ on my Alpha since last year some time. It's
/>a Digital compiler.
/>
/>PJDM
Not entirely... Visual C++ is a Microsoft front end with a Digital Backend.
Wim
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1995-07-28 4:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-07-25 4:00 Optimized C++ Paul H. Purdom
1995-07-25 4:00 ` Peter Mardahl
1995-07-27 4:00 ` Peter Mayne
1995-07-28 4:00 ` R. van der Wal
-- strict thread matches above, loose matches on Subject: below --
1995-07-27 4:00 Wim Colgate
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox