Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Compilers > Code selection ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 2421 of 2472
Post > Topic >>

Code selection trade-offs

by Tim Frink <plfriko@[EMAIL PROTECTED] > May 12, 2008 at 07:37 PM

Hi,

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?

I want to leave the issue open how the execution counts are
gained. This might happen by translating the source code one into
machine code, perform profiling and than transform the profiling data
back into the source code.  Or, as an alternative, a static program
analysis could be performed to extract information about the execution
frequency of the high-level code constructs.

I'm curious if you can imagine a case where this would make sense. I
assume that this must be a case for a trade-off where you produce
either slower and smaller code for the frequently executed code
sections or some specialized code that increases the code size but
leads to a shorted overall code execution time.

Regards,
Tim
 




 4 Posts in Topic:
Code selection trade-offs
Tim Frink <plfriko@[EM  2008-05-12 19:37:20 
Re: Code selection trade-offs
=?windows-1252?Q?Bj=F6rn_  2008-05-15 19:29:50 
Re: Code selection trade-offs
IndianTechie <kamalpr@  2008-05-23 02:47:06 
Re: Code selection trade-offs
Walter Banks <walter@[  2008-05-24 17:30:07 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 2:18:16 CDT 2008.