Question: Assume we have a processor P 1 running at 2 GHz clock rate. Assume a program requires the execution of 5 0 times 1

Assume we have a processor P1 running at 2 GHz clock rate. Assume a program
requires the execution of 50\times 106 FP (Floating Point) instructions, 80\times 106
INT (integer)
instructions, 110\times 106 L/S (Load/Store) instructions, and 16\times 106 branch instructions. The
CPI for each type of instruction is 1,1,4,2, respectively.
(a)(5 points) What is the average CPI for this program on this processor P1? What is the
CPU time for P1 to run this program?
(b)(5 points) By how much must we improve the CPI of FP (Floating Point) instructions if
we want the program to run two times faster?
(c)(5 points) By how much must we improve the CPI of L/S (Load/Store) instructions if we
want the program to run two times faster?
(d)(5 points) By how much is the execution time of the program improved if the CPI of INT
(integer) and FP (Floating Point) instructions are reduced by 40% and the CPI of L/S
(Load/Store) and Branch is reduced by 30%?
(e)(10 points) Assume we have another proccessor P2 that has the same ISA as P1, running at
2.5 GHz. The CPI for each type of instruction is 3,3,3,2, respectively. Which processor
is faster in running this program? What is the speedup over the other processor?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Programming Questions!