mt1_sp09_6pm_commented_mt2

mt1_sp09_6pm_commented_mt2 - CSE 420/598 SPRING 2009...

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

View Full Document Right Arrow Icon
CSE 420/598 SPRING 2009 MIDTERM 1 6PM CLASS NAME Put Name on Every Page 1. (20) Processor Performance Equation and CPI Not a relevant question Given that the CPI for instruction types are: ALU operation 1 Load/store 3 Branch 4 Use the data from the two tables below for spice to: (a) (5) Find the CPI for the optimized and unoptimized versions of spice (b) (10) Determine how much faster the optimized program is than the unoptimized program, i.e. what is the ratio of the execution time of the unoptimized program to the execution time of the optimized program. Effects of Optimization on Absolute Instruction Counts spice optimized branches 12 load/stores 30 ALU ops 41 spice unoptimized branches 13 load/stores 45 ALU ops 50 Effects of Optimization on Absolute Instruction Counts spice optimized branches 14 load/stores 36 ALU ops 49 spice unoptimized branches 12 load/stores 42 ALU ops 46
Background image of page 1

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

View Full DocumentRight Arrow Icon
CSE 420/598 SPRING 2009 MIDTERM 1 6PM CLASS NAME Put Name on Every Page 2. (10) Memory Addressing Not a relevant question In the following 2 sketches of parts of memory, indicate for a 4-byte signed integer word stored in Big Endian and Little Endian format where the most significant byte (msB), least significant
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 5

mt1_sp09_6pm_commented_mt2 - CSE 420/598 SPRING 2009...

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

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