Question: Assignment 1 [1] Consider three different processors P1,P, and P3 executing the same instruction set with the clock rates and CPIs given in the following

 Assignment 1 [1] Consider three different processors P1,P, and P3 executing

Assignment 1 [1] Consider three different processors P1,P, and P3 executing the same instruction set with the clock rates and CPIs given in the following table. (a) Which processor has the highest performance expressed in instructions per second? (b) If the processors each execute a program in 10 seconds, find the number of cycles and the number of instructions. [2] 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. E (a) Given a program with 106 instructions divided into classes as follows: 10% class A, 20% class B, 50% class C, and 20% class D, what is the global CPI for each implementation? (b) Which implementation is faster? (c) Find the clock cycles required in both cases. [3] The following table shows the number of instructions for a program. (a) Assuming that Arithmetic instructions take 1 cycle, load and store 5 cycles, and branches 2 cycles, find the CPI for the program? (b) What is the execution time of the program in a 2GHz processor? (c) If the number of load instructions can be reduced by one half, what is the speedup 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!