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 > Re: Predict reg...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 7 Topic 2395 of 2472
Post > Topic >>

Re: Predict register usage

by Sid Touati <SidTouati@[EMAIL PROTECTED] > Apr 28, 2008 at 12:11 PM

Before instruction scheduling, predicting the register usage is
difficult. If you target a computer engineering purpose, you can
imagine plenty of heuristics and techniques; in general, no guarantee
is required for engineering solutions, practical efficiency on a set
of benchmarks would be sufficient.

If you target a computer science purpose, you would require to think
about some formal guarantees. There are some fundamental answers to
your question. For instance, what you can predict is a interval for
register usage: say an exact maximal register usage, or an exact
minimal register usage.

For the exact minimal register usage, it is commonly called register
sufficiency. It has been proved that this minimal register usage depends
on the target architecture, that is, this minimal register usage is NOT
a reachable minimal bound for any instruction schedule.

For the exact maximal register usage, it is called register
saturation.  Contrary to the register sufficiency, the register
saturation does not depend on the target architecture. If the
instruction selection pass has been done, it is proved that the
register saturation IS a reachable upper bound for register usage for
any target architecture and for any instruction schedule. You can then
use register saturation to have a safe estimation of your maximum
register usage, independently on the final instruction schedule. And
this maximum register usage is always reachable (not over-estimated).

For more information:
Register Saturation in Instruction Level Parallelism. International
Journal of Parallel Programming, Springer-Verlag, Volume 33, Issue 4,
August 2005. 57 pages.
 




 7 Posts in Topic:
Predict register usage
Tim Frink <plfriko@[EM  2008-04-25 13:56:25 
Re: Predict register usage
Chris F Clark <cfc@[EM  2008-04-25 23:36:26 
Re: Predict register usage
andreybokhanko@[EMAIL PRO  2008-05-02 00:35:46 
Predict register usage
"Inderaj Bains"  2008-04-26 10:01:47 
Re: Predict register usage
Sid Touati <SidTouati@  2008-04-28 12:11:26 
Re: Predict register usage
andreybokhanko@[EMAIL PRO  2008-05-02 00:33:54 
Re: Predict register usage
=?ISO-8859-1?Q?Bj=F6rn_Fr  2008-05-09 15:33:49 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Thu Jul 24 0:15:45 CDT 2008.