Question: Please answer with steps Exercise 1.4 Consider two different implementations of the same instruction set architecture. There are four classes of instructions, A, B, C,

 Please answer with steps Exercise 1.4 Consider two different implementations of

Please answer with steps

Exercise 1.4 Consider two different implementations of the same instruction set architecture. There are four classes of instructions, A, B, C, and D. The clock rate and CPI of each implementation are given in the following table. Clock rate P1 1.5 GHz P22 GH CPI Class A 1 2 CPI Class B 2 2 CPI Class C 3 2 CPI Class D 4 1.4.1 (10) Given a program with 10" instructions divided into classes as follows: 10% class A, 20% class B, 50% class C and 20% dass D, which implemen- tation is faster? 1.4.2 (5) What is the global CPI for each implementation? 1.4.3 (5) Find the clock cycles required in both cases. The following table shows the number of instructions for a program. Arith Store L oad Branch 500 50 100 50 Total 700 1.4.4 (5) Assuming that arith instructions take 1 cycle, load and store 5 cycles and branch 2 cycles, what is the execution time of the program in a 2 GHz processor? 1.4.5 (5) Find the CPI for the program. 1.4.6 (10) If the number of load instructions can be reduced by one-half, what is the speed-up and the CPI

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