Activity13 Soln - SOLUTION In-Class Activity#13 3:39 PM...

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

View Full Document Right Arrow Icon
ECSE-2660 Computer Architecture, Networks, & Operating Systems, Spring 2001 Page 1 of 2 SOLUTION In-Class Activity #13 2/27/2001 3:39 PM Activity 13.1 1. For the following questions, use the following data: Instruction Mix Instruction Type Usage Frequency Loads 20% Stores 15% R-type 50% Conditional Branches 10% Jumps 5% Additional Data 40% of load instructions are followed immediately by an instruction that uses the loaded result (i.e., causes a load-use data hazard that costs an extra cycle); Jumps always take 2 cycles Cycle time = 2ns 1. (15 points) Redo question 1(a) from Activity 12.1, with the following changed assumptions: the CPU proceeds with branch instructions assuming that they are not taken Branches are actually taken 30% of the time. By a branch being “taken” we mean that the next instruction comes from the branch target, not (PC + 4). Improved hardware is used that reduces the branch penalty from 3 cycles to just 1 cycle. 80% of the conditional branches belong to loops, for which the CPU predicts correctly 90% of the time The remaining 20% of the conditional branches are predicted correctly 60% of the time.
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 04/25/2010 for the course ECSE ecse-2340 taught by Professor Wozny during the Spring '09 term at Rensselaer Polytechnic Institute.

Page1 / 3

Activity13 Soln - SOLUTION In-Class Activity#13 3:39 PM...

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