Re: Code selection trade-offs

Walter Banks <>
Sat, 24 May 2008 17:30:07 -0400

          From comp.compilers

Related articles
Code selection trade-offs (Tim Frink) (2008-05-12)
Re: Code selection trade-offs (=?windows-1252?Q?Bj=F6rn_Franke?=) (2008-05-15)
Re: Code selection trade-offs (IndianTechie) (2008-05-23)
Re: Code selection trade-offs (Walter Banks) (2008-05-24)
| List of all articles for this month |

From: Walter Banks <>
Newsgroups: comp.compilers
Date: Sat, 24 May 2008 17:30:07 -0400
Organization: NewsGuy - Unlimited Usenet $19.95
References: 08-05-042
Keywords: optimize
Posted-Date: 24 May 2008 17:43:08 EDT

Tim Frink wrote:

> Do you know of any works where profiling information/ static program
> analysis is used as a heuristic to control code selection, i.e. the
> (profiling) execution counts of particular code structures are
> influencing the choice of instructions used to translate the source
> code into assembler? ...

There are some embedded applications where profiling can be
significant in code generation. The real implementation problem is the
evaluation of when to ignore the profile information. In cases where
in some code sections information from profiling shows that little can
be gained also identifies the area where performance may be further
sacrificed in exchange for performance in a critical section.


Walter Banks
Byte Craft Limited
Tel. (519) 888-6911

Post a followup to this message

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