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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started