CS612 Problem Set #3

Due date: Thursday, March 28, 2002 - In class

In this assignment, you will integrate transformations for locality enhancement into a SUIF1 compiler pass and evaluate the performance of the compiler-generated code.  For this assignment you will need the SUIF Transform Library which is contained in the baseparsuif package, available on the SUIF1 website.

1.  Code Transformations

Create a SUIF1 pass to do all of the following:

2.  Code Testing

Compile the supplied C code file with SUIF (integrating your pass, using no other optimizations) and gcc.  Using the UNIX time command (see man page for usage) compare the running times of the resulting programs.  Test you code for several values of K.

3. Tile size selection [**OPTIONAL**]

For extra credit, you may also design and implement a tile size selection algorithm.  Here are some resources to help you get started.

The amount of extra credit that you will be awarded will be based upon the sophistication of the algorithm.

What you must submit:

Hints:


Last Updated: Wednesday, March 06, 2002 02:50:37 PM