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 A, 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.44 Rating (160 Votes )
There are 3 Steps involved in it
To determine which computer P1 or P2 is faster for the given program we will need to calculate the overall average CPI Cycles Per Instruction for each ... View full answer
Get step-by-step solutions from verified subject matter experts
