Question: Assume a program consists of arithmetic, load/store, and branch instructions. The program requires the execution of 2.56 x109 arithmetic instructions, 1.28 x109 load/store instructions, and

Assume a program consists of arithmetic, load/store, and branch instructions. The program requires the execution of 2.56 x109 arithmetic instructions, 1.28 x109 load/store instructions, and 256 x106 branch instructions. Assume that processor P1 has a 2.5 GHz clock rate and CPIs of 2, 2, and 2 for arithmetic, load/store, and branch instructions, and processor P2 has a 2.2 GHz clock rate and CPIs of 1, 3, and 2 for arithmetic, load/store, and branch instructions. a) What are the weighted average CPIs for P1 and P2 for this program? b) Which processor will complete the program faster, and by how much (expressed in percentage)?

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 Databases Questions!