Question: Q1. A processor executes 5 classes of instructions, with the CPI for each class as given below: Class CPI A certain benchmark program contains these

Q1. A processor executes 5 classes of instructions, with the CPI for each class as given below: Class CPI A certain benchmark program contains these instruction classes in the ratio 5:4:3:2.1. A i) What is the average CPI before and after the compiler optimization? executing the said benchmark program) go up by this optimization? compiler optimization can change the ratio of the instructions to 4:3:2:2:1 while reducing the total number of instructions by 500 (ii) By what percentage will the performance of the processor (as measured by (Assume the clock cycle time remains constant)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
