Question: Consider two different implementations, P1 and P2, of the same instruction set. There are five classes of instructions (A, B, C, D, and E) in
Consider two different implementations, P1 and P2, of the same instruction set. There are five classes of instructions (A, B, C, D, and E) in the instruction set. The clock rate and CPI of each class is given below.
If the number of instructions executed in a certain program is divided equally among the classes of instructions except for class E, which occurs twice as often as each of the others, which computer is faster? How much faster is it?
a. b. P1 P2 P1 P2 Clock Rate 2.0 GHz 4.0 GHz 2.0 GHz 3.0 GHz CPI Class A 1 2 1 1 CPI Class B 20 N2 CPI Class C 3 2 2 3 CPI Class D 4 4 3 4 CPI Class E 3 4 2 3
Step by Step Solution
3.48 Rating (161 Votes )
There are 3 Steps involved in it
To determine which computer is faster and how much faster it is we need to calculate the execution time for both P1 and P2 under the given conditions ... View full answer
Get step-by-step solutions from verified subject matter experts
