From: Tony Hammitt <thammitt@kc.rr.com>
Subject: Re: Compaq C-compiler - what am I doing wrong?
Date: 1999/11/05 [thread overview]
Message-ID: <38233E1B.C2411C7E@kc.rr.com> (raw)
In-Reply-To: rz77ljxw8pt.fsf@corton.inria.fr
Robert Harley wrote:
>
> Tony Hammitt wrote:
> > If ccc isn't faster than gcc, there's something wrong.
>
> Rubbish.
>
> Rob.
OK, let me qualify that a little. Ccc is almost always faster
than gcc on numerical code, esp. with lots of opportunities
for the vastly superior instruction scheduling algorithms ccc
has. I've seen gcc -O3 go slower than -O0 because of these
scheduling problems.
Maybe someday, someone at Compaq will help out the gcc project
with optimization. We can hope. Does the license permit us to
look at the generated opcodes? That and a dedicated gear head
could benefit gcc greatly. I'd love to sponsor such a project
(just let me make some more money first :-)
I have done experiments with many types of code and the smallest
speedup I got with ccc is 15%. Taken out of context, my statement
above does seem rather bald; in the context of well-coded
numerical algorithms I'm willing to bet I'm right.
Tony
next prev parent reply other threads:[~1999-11-05 5:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-04 5:00 Compaq C-compiler - what am I doing wrong? Jimmy Eng
1999-11-05 5:00 ` Reg Clemens
1999-11-05 5:00 ` Greg Lindahl
1999-11-06 5:00 ` Stuart Midgley
1999-11-05 5:00 ` Tony Hammitt
1999-11-05 5:00 ` Robert Harley
1999-11-05 5:00 ` Tony Hammitt [this message]
1999-11-09 5:00 ` Wong Yeow Whye
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