Question: Consider the execution of an object code with 2 x 10 instructions on a 400-MHz processor. The program consists of four major types of

 Consider the execution of an object code with 2 x 10 instructions on a 400-MHz processor. The program  

Consider the execution of an object code with 2 x 10 instructions on a 400-MHz processor. The program consists of four major types of instructions. The instruction mix and the number of cycles (CPI) needed for each instruction type are given below based on the result of a program trace experiment: Instruction type Arithmetic and logic Load/store with cache hit Branch Memory reference with cache miss CPI 1 2 4 8 Instruction mix 60% 18% 12% 10% (a) Calculate the average CPI when the program is executed on a uniprocessor with the above trace results. (b) Calculate the corresponding MIPS rate based on the CPI obtained in part (a).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The image contains a table of instruction types with their respective Cycles Per Instruction CPI and ... View full answer

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!