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 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
The image contains a table of instruction types with their respective Cycles Per Instruction CPI and ... View full answer
Get step-by-step solutions from verified subject matter experts
