Question: Consider two different program implementations of the same ISA. There are four classes of instructions, Arithmetic, Store, Load, and Branch. The clock rate and CPI

Consider two different program implementations of the same ISA. There are four classes of instructions, Arithmetic, Store, Load, and Branch. The clock rate and CPI of each implementation are given in the following table: a. Given a program with 106 instructions divided into classes as follows: 20% Arithmetic, 10% a. Store, 40% Load, and 30% Branch, which implementation is faster? b. What is the global CPI (average CPI) for each implementation? c. For P1, if we can improve the performance of the Branch instructions by reducing its CPI by b. c. half using a branch predictor, what is the speed up of the program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
