From: Lieven Marchand <mal@bewoner.dma.be>
Subject: Re: Hotspot. Dynamic compilers "better" than static one?
Date: 1998/06/02
Date: 1998-06-02T00:00:00+00:00 [thread overview]
Message-ID: <6l6kke$1iu$1@xenon.inbe.net> (raw)
In-Reply-To: 35735C36.6ED7@atlas.otago.ac.nz
"Dr Richard A. O'Keefe" <ok@atlas.otago.ac.nz> writes:
> Robert Dewar wrote:
> <<Many modern compilers support profiling feedback.>>
>
> > Actually fewer production compilers than you might imagine actually use
> > this approach, though of course it has appeared in research compilers for
> > a long time.
>
> Sun's C, Pascal, and Fortran compilers for SPARC do this.
> Digital's compilers for the Alpha do this.
The K&R C compiler for Ultrix already had profiling feedback about 10 years
ago.
> What may be of more interest is that I have seen profile-driven
> feedback make a difference of 0-20%, with 0% actually being quite
> common, and I've had better performance using gcc -O6 (without
> feedback) on an Alpha than I've had from the Dec compiler _with_
> feedback.
>
I've never seen it made much difference however.
> So profile-driven feedback HAS BEEN SHIPPING FOR SEVERAL YEARS
> in production compilers from MIPS, Digital, and Sun, and that's
> just the ones I've used. But it's only one technique, and not
> always the most important.
Has anybody done any studies on how to choose input for the trial runs
you're going to feed back to the optimizer? There seems to be a silent
assumption that "typical" input values are adequate and that the choice
of input values won't make the performance worse on some other type of
values.
--
Lieven Marchand <mal@bewoner.dma.be>
------------------------------------------------------------------------------
Few people have a talent for constructive laziness. -- Lazarus Long
Fascist news feed line fodder
next prev parent reply other threads:[~1998-06-02 0:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <6knj4m$odp$1@nnrp1.dejanews.com>
1998-05-30 0:00 ` Hotspot. Dynamic compilers "better" than static one? nabbasi
1998-05-30 0:00 ` Roedy Green
1998-05-30 0:00 ` Andi Kleen
[not found] ` <dewar.896629645@merv>
1998-06-02 0:00 ` Dr Richard A. O'Keefe
1998-06-02 0:00 ` Lieven Marchand [this message]
1998-06-01 0:00 ` Norman H. Cohen
1998-06-03 0:00 ` John Volan
1998-06-05 0:00 ` Norman H. Cohen
1998-06-08 0:00 ` John Volan
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox