Question: a . A processor has to execute a program with the following instructions mic: table [ [ Operation , Frequency,Clock cycles per instruction (

a. A processor has to execute a program with the following instructions mic:
\table[[Operation,Frequency,Clock cycles per instruction (CPI)],[ALU,40%,2],[Load,20%,10],[Store,15%,4],[Branches,25%,3]]
The average clock cycles per instruction is
4.15
correct to 2 decimal places.
b. A designer wants to improve the performance of this processor so he designs a new execution unit with the following adjustments:
80% of ALU operations take only 1 cycle to execute and the other 20% still take 2 cycles to execute.
95% of the load instructions take only 2 cycles to execute, while the remaining 5% take 10 cycles to execute.
A store instruction takes 2 cycles to execute. Compute the new average cycles per instruction
Branches remain the same
The average CPI for this new processor is
correct to 2 decimal places.
c. Assuming clock rate and instruction count remains unchanged, what is the speedup factor by which the performance has improved bas
CPI (correct to 2 decimal places)?
a . A processor has to execute a program with the

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