583hw1 - EECS 583 Homework 1 Fall 2011 Assigned: Mon,...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
EECS 583 – Homework 1 Fall 2011 Assigned: Mon, September 12, 2011 Due: Fri, September 23, 2011 (midnight) Preliminaries: LLVM Installation Setup and install the LLVM compiler system ( http://www.llvm.org ) under Linux (preferable) or MacOS (if you want to be adventurous). Please use LLVM 2.9. If you do not have a good machine available for your own use, we have 3 machines available for class [andrew, hugo, wilma].eecs.umich.edu. Login to one of these, create a directory for yourself on /y/students (everyone should have write permission), and install it there. Try to spread out across the 3 machines so 1 disk does not become the bottleneck. Note, you do not have to build llvm-gcc as that is already done for you. After you have installed LLVM, test your installation by compiling a simple test program and verifying that it runs correctly. Statistics Computation Pass Write a statistics computation pass in LLVM that computes several dynamic operation counts for each function. First, the total number of dynamic operations should be computed along with the percentages in the following categories: integer ALU, floating-point ALU, memory, branch, and
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/26/2011 for the course EECS 583 taught by Professor Flinn during the Fall '08 term at University of Michigan.

Page1 / 2

583hw1 - EECS 583 Homework 1 Fall 2011 Assigned: Mon,...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online