Question: Problem 2 (40%) Assume a program consists of arithmetic, load/store, and branch instructions. The program requires the execution of 2.56 x10 arithmetic instructions, 1.28 x10

 Problem 2 (40%) Assume a program consists of arithmetic, load/store, and

Problem 2 (40%) Assume a program consists of arithmetic, load/store, and branch instructions. The program requires the execution of 2.56 x10 arithmetic instructions, 1.28 x10 load/store instructions, and 256 x10 branch instructions. Assume that processor Pl 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 Pl 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!