Talk About Network



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: instruction...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 7 Topic 2379 of 2421
Post > Topic >>

Re: instruction bundling (scheduling?)

by andreybokhanko@[EMAIL PROTECTED] Apr 13, 2008 at 10:49 AM

On Apr 9, 11:29 pm, kphillips <kevin.phillip...@[EMAIL PROTECTED]
> wrote:
> One other query - I have no specific algorithms that cater for data
> prefetches. Since a load instruction take a huge amount of cycles
> (assuming the worst case scenario - memory), is it a good idea to
> issue advanced load instructions as early as possible? Then the
> latency for loads will be assumed for quite less .. hopefully it will
> work for most cases.

....and registers' live ranges will be quite longer, leading to higher
register pressure. You have to use a heuristic here.

Regarding scheduling vs register allocation -- I agree with Anton Ertl
that it is better to do scheduling first. For two reasons:
1. Usually, optimal, unhindered (by new dependencies introduced by
register allocation) scheduling is more important (no hard data here,
just my practical observations)
2. You have quite a few registers on Itanium (especially if you
allocate on single basic blocks level and thus, have all of the
registers free again at the start of each new block)

Andrey




 7 Posts in Topic:
instruction bundling (scheduling?)
kphillips <kevin.phill  2008-04-04 09:27:22 
Re: instruction bundling (scheduling?)
anton@[EMAIL PROTECTED]   2008-04-06 16:20:41 
Re: instruction bundling (scheduling?)
kphillips <kevin.phill  2008-04-09 12:29:07 
Re: instruction bundling (scheduling?)
andreybokhanko@[EMAIL PRO  2008-04-13 10:49:18 
Re: instruction bundling (scheduling?)
IndianTechie <kamalpr@  2008-04-14 22:18:40 
Re: instruction bundling (scheduling?)
kphillips <kevin.phill  2008-04-15 11:22:49 
Re: instruction bundling (scheduling?)
Sid Touati <SidTouati@  2008-04-22 11:14:20 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Sat May 17 1:09:40 CDT 2008.