This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: CS 143 Compilers Handout 10 Extra Credit Programming Assignment Due Thursday, December 3rd, 2009 at 11:59pm 1 Introduction This extra credit programming assignment is intended to be a fun project with which to end the quarter. There are two choices for this extra credit assignment: 1. implement some optimizations in your compiler; or 2. write a Cool program. You may submit either an optimizer or a test program, but not both. You may work in a group of one or two people. 2 Optimizer Project Extra credit will be awarded for projects that, in addition to code generation, perform some significant optimization of the code. The amount of extra credit depends on how well the optimization is written, documented, and demonstrated. Two critical factors are 1. correctness (the optimizations dont result in incorrect programs); and 2. the percentage speed-up your optimized code achieves over coolc , as measured by a weighted sum of the instructions executed on spim over a suite of benchmarks of our choosing....
View Full Document
This note was uploaded on 01/12/2010 for the course CS 143 at Stanford.