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
Get step-by-step solutions from verified subject matter experts
