Question: Question 3 (30 points). Compute the effective CPI given the following information, assume we have made the following measurements of average CPI for each
Question 3 (30 points). Compute the effective CPI given the following information, assume we have made the following measurements of average CPI for each of the instruction types (Assume that 50% of the conditional branches are taken): Instruction All ALU operations Loads Stores Branches Taken Not taken Program gobmk mcf Jumps Hint: Average the instruction frequency of gobmk and mcf to obtain the instruction mix. You may assume that all other instructions (for instructions not accounted for by the type in the above table) require 3.0 clock cycles each. Stores 12% 11% Loads 21% 35% Clock cycles 1.0 3.5 2.8 Branches 14% 24% 4.0 2.0 2.4 Jumps 2% 1% ALU operations 50% 29% Question 3 (30 points). Compute the effective CPI given the following information, assume we have made the following measurements of average CPI for each of the instruction types (Assume that 50% of the conditional branches are taken): Instruction All ALU operations Loads Stores Branches Taken Not taken Program gobmk mcf Jumps Hint: Average the instruction frequency of gobmk and mcf to obtain the instruction mix. You may assume that all other instructions (for instructions not accounted for by the type in the above table) require 3.0 clock cycles each. Stores 12% 11% Loads 21% 35% Clock cycles 1.0 3.5 2.8 Branches 14% 24% 4.0 2.0 2.4 Jumps 2% 1% ALU operations 50% 29%
Step by Step Solution
3.32 Rating (146 Votes )
There are 3 Steps involved in it
To compute the effective CPI we need to determine the average frequency of each type of instruction and the cycles per instruction CPI for each type T... View full answer
Get step-by-step solutions from verified subject matter experts
