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. P1 has a clock rate of 4 GHz, and P2 has a clock rate of 6 GHz. The average number of cycles for each instruction class for P1 and P2 are listed in the following table.a. b. P1 P2 P1 P2 CPI Class A CPI Class B CPI Class C CPI Class D CPI Class E 1 3 1 2 2 3 2 2 3 3 3 2 4 5 4 2

If the number of instructions executed in a certain program is divided equally among the five classes of instructions except for class A, which occurs twice as often as each of the others, how much faster is P2 than P1?

a. b. P1 P2 P1 P2 CPI Class A CPI Class B CPI Class C CPI Class D CPI Class E 1 3 1 2 2 3 2 2 3 3 3 2 4 5 4 2 5 5 5 6

Step by Step Solution

3.41 Rating (157 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Sure lets calculate the speedup of P2 over P1 First we need to calculate the average cycles per inst... View full answer

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 Computer Organization Design Questions!