Question: Question 4 . ( 1 0 points ) Effective CPIConsider the average frequencies for various instruction types:Instruction Types % IC ( frequency ) CPIALU 4

Question 4.(10 points) Effective CPIConsider the average frequencies for various instruction types:Instruction Types %IC (frequency) CPIALU 43%1Load 21%2Store 12%2Branch 24%2a).(5pts) Calculate the average CPI.b).(5pts) Suppose we have a compiler that can optimize the program. The compiler can eliminate50% of the ALU instructions. With the optimized compiler, calculate the average CPI.

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!