CS612 Problem Set #3

Due date: Thursday, March 16, 2000 - 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.

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

What you must submit:

Hints:


Last Updated: Monday, March 06, 2000 04:45:23 PM