Question: 2. Refer to the following table for the data required. Arith Store Load Branch Instructions for 500 150 10o 100o a program CPI 5 5
2. Refer to the following table for the data required. Arith Store Load Branch Instructions for 500 150 10o 100o a program CPI 5 5 2 a. b. c. d. Calculate execution time of a program on a 2 GHz processor. Find global CPl of the program If number of load instructions can be reduced by one-half, what is the speed up and CPI? If number of store and arithmetic instructions can be reduced by one-half, what is the speed up and CPI? Write MIPS code to implement a leaf procedure for the following C function: int leaf_procedure (int x, int y) 3. int i, a; arxty i =x-2; a-a+i return a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
