Question: Instructions: a ) You need to show your work. b ) If you assume something, you need to state that Problem 4 : Performance Evaluation

Instructions:
a) You need to show your work.
b) If you assume something, you need to state that
Problem 4: Performance Evaluation CPI
A pipeline with 5 stages runs a program. Assume 30% of instructions are branches, and branch not
taken holds for branch prediction. Further assume that 20 percent of the branches are predicted
correctly, and there is an average penalty of 2 cycles for each mispredicted branch. Additionally, 10
percent of the total instructions incur an average of 1.5 stalls each.
What would be the CPI of running program P on this pipeline?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!