Question: Consider an assembly program that contains instructions of classes: Add, Subtract, Divide, and Store with the following information: table [ [ Class , Number
Consider an assembly program that contains instructions of classes: Add, Subtract, Divide, and Store with the following information:
tableClassNumber of instructions,CPIAddSubtractDivideStore
The program is executed by a processor with a GHz clock rate. Answer the following questions:
A Find the total number of clock cycles executed by this processor.
B What is the average CPI of the program?
C How much we must improve the CPI of the class 'Store' instructions if we want the program to run times faster?
D What CPI of class 'Store' instructions we should use to have the program run faster?
E By how much is the execution time of the program improved if the CPI of classes 'Add' and 'Subtract' instructions are reduced by and the CPI of class 'Divide' and 'Store' instructions is reduced by
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
