dynamic optimisation

Liam Quin <lee@sq.sq.com>
Thu, 9 Nov 89 18:02:04 EST

          From comp.compilers

Related articles
dynamic optimisation lee@sq.sq.com (Liam Quin) (1989-11-09)
Re: dynamic optimisation chip%soi@harvard.harvard.edu (1989-11-13)
| List of all articles for this month |

From: Liam Quin <lee@sq.sq.com>
Date: Thu, 9 Nov 89 18:02:04 EST

Do you know of any compilers that will optimise a program (when compiling it)
taking into account data produced by profiling in some way actual runs?

Clearly such data is a best a set of hints -- one could not simply eliminate
all those sections of code which were not called, for example.
On the other hand, the choice of which variables to put in a register,
or which half of an expression to try first, can make a big difference.
Similarly, expanding a function inline that is called very often might be
an unexpectedly big win, even if it's quite large.

So, which compilers (particularly under the Unix operating system) which
exhibit this behaviour? Would it be worth adding to Gnu cc?

Liam R. Quin, Unixsys (UK) Ltd.
lee@sq.com (whilst visiting Toronto for a few weeks)
lee@anduk.co.uk (after Christmas, when I return to England)

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.