Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!rutgers!ucsd!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!lotus!esegue!compilers-sender From: lee@sq.sq.com (Liam Quin) Newsgroups: comp.compilers Subject: dynamic optimisation Message-ID: <1989Nov10.141346.5943@esegue.segue.boston.ma.us> Date: 10 Nov 89 14:13:46 GMT Sender: compilers-sender@esegue.segue.boston.ma.us Reply-To: Liam Quin Organization: Compilers Central Lines: 22 Approved: compilers@esegue.segue.boston.ma.us 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? Lee -- 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) -- Send compilers articles to compilers@esegue.segue.boston.ma.us {spdcc | ima | lotus}!esegue. Meta-mail to compilers-request@esegue. Please send responses to the author of the message, not the poster.