CMU 15-745 Spring 2008, Assignment 3

Assignment 3: Locality Optimization

Checkpoint: 10:30am, Thursday, February 28

Due: 10:30am, Thursday, March 5

Materials: pdf LocalityOptimizer.cpp bench3.tgz

In this assignment you will use the results of the previous assignment to implement two optimizations, loop interchange and blocking, that improve the locality of memory references.

Updates

The provided mm.bc file is the wrong file (it was compiled with gcc optimizations on). You should generate a new file using llvm-gcc -O0 -c -emit-llvm mm.c -o mm.bc
Top General Info Schedule Projects Assignments Papers Useful Info