Question: Consider two different processors with the same instruction set architecture. There are four types of instructions: ALU,load,store,and branch. The clockrate and CPI of each implementation

Consider two different processors with the same instruction set architecture. There are four types of instructions: ALU,load,store,and branch. The clockrate and CPI of each implementation are given in the following table:
ALU 45% Load 25% Store 20% Branch 10% (a) Calculate the CPI when running P on each of processor A and B.
(b) Which processor is faster, and by what speedup?
(c) For processor A, if we can choose either load or branch instructions to make twice as fast, which should we choose, and why?
(d) Whats the average MIPS for processor A and B?
Consider two different processors with the same instruction set architecture. There are four types of instruc- tions: ALU, load, store, and branch. The clock rate and CPI of each implementation are given in the following table Processor Clock rate ALULoadStore Branch 2 GHz 3 GHz 2 2 2 4 2 Program P has 109 instructions and is executed on each processor. The distribution of instructions executed ALU 45% Load 25% Store 20% Branch 1090 WhenIs run Is as follows: (a) [2 points] Calculate the CPI when running P on each of processor A and B (b) [2 points] Which processor is faster, and by what speedup? (c) [2 points] For processor A, if we can choose either load or branch instructions to make twice as fast, which should we choose, and why? (d) [2 points] What's the average MIPS for processor A and B
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
