Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Superblock analysis?
Hi All:

I have some questions about superblocks:

1--Is it possible to have two independent branch instructions in a superbloc
k?

2--Do compilers perform post register-allocation instruction scheduling usin
g
superblocks ?

Regards
Abid

Report this thread to moderator Post Follow-up to this message
Old Post
ammalik@cs.uwaterloo.ca
07-18-06 09:01 AM


Re: Superblock analysis?
ammalik@cs.uwaterloo.ca wrote:
> I have some questions about superblocks:
>
> 1--Is it possible to have two independent branch instructions in a superbl
ock?
>
> 2--Do compilers perform post register-allocation instruction scheduling us
ing
> superblocks ?

Here's a recent paper on superblocks in the GNU Compiler Collection:

http://www.gccsummit.org/2006/view_...?content_key=38

>
> Regards
> Abid


Report this thread to moderator Post Follow-up to this message
Old Post
Bill Cox
07-19-06 12:03 AM


Re: Superblock analysis?
ammalik@cs.uwaterloo.ca wrote:
> 1--Is it possible to have two independent branch instructions in a superblock?[/co
lor]

One definition of a superblock have it as "a linear sequence of basic
blocks that has a single entry point only.", thus yes, you can have as
many [independent] branches as you like in a superblock.

> 2--Do compilers perform post register-allocation instruction scheduling us
ing
> superblocks?

That seems like several questions in one.  First, you can do register
allocation before or after scheduling (in some approaches even
simultaneously).  There are pros and cons to either choice, but
generally, if you have enough registers, you'd do allocation last (to
maximize the scheduling freedom).

You can most definitely schedule using superblocks.  Using superblocks
may offer more scheduling opportunities at a lower complexity than
using basic blocks.

You could do a lot worse than reading the seminal dissertation
"Bulldog: a compiler for VLIW architectures" by John R. Ellis
(http://portal.acm.org/citation.cfm?...br />
=6184618)

Tommy

Report this thread to moderator Post Follow-up to this message
Old Post
Tommy Thorn
07-19-06 12:03 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Compilers archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 03:29 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.