Re: instruction bundling (scheduling?)

kphillips <kevin.phillips83@yahoo.com>
Wed, 9 Apr 2008 12:29:07 -0700 (PDT)

          From comp.compilers

Related articles
instruction bundling (scheduling?) kevin.phillips83@yahoo.com (kphillips) (2008-04-04)
Re: instruction bundling (scheduling?) anton@mips.complang.tuwien.ac.at (2008-04-06)
Re: instruction bundling (scheduling?) kevin.phillips83@yahoo.com (kphillips) (2008-04-09)
Re: instruction bundling (scheduling?) andreybokhanko@gmail.com (2008-04-13)
Re: instruction bundling (scheduling?) kamalpr@gmail.com (IndianTechie) (2008-04-14)
Re: instruction bundling (scheduling?) kevin.phillips83@yahoo.com (kphillips) (2008-04-15)
Re: instruction bundling (scheduling?) SidTouati@inria.fr (Sid Touati) (2008-04-22)
| List of all articles for this month |
From: kphillips <kevin.phillips83@yahoo.com>
Newsgroups: comp.compilers
Date: Wed, 9 Apr 2008 12:29:07 -0700 (PDT)
Organization: Compilers Central
References: 08-04-017 08-04-025
Keywords: optimize
Posted-Date: 10 Apr 2008 23:27:22 EDT

Many thanks for your feedback!


> Given the large number of registers in IA-64, for simplicity just
> schedule first and allocate registers later; spilling and thus
> rescheduling will be rare. Also, most liveness analysis and register
> allocation algorithms work on scheduled code anyway (if they work
> before instruction scheduling, they use the order coming out of
> earlier phases).


Great. If there is the need for spilling, I will try either to
(1) try to find an empty slot in a template to use
(2) otherwise add an extra template for the load


It's rather simple, but I think it will work






> A nice paper on instruction scheduling and register allocation for
> basic blocks is:
> author = "James R. Goodman and Wei-Chung Hsu",
> title = "Code Scheduling and Register Allocation in Large Basic Blocks",


Thanks! will go through it very soon.


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.


K. Phillips


Post a followup to this message

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