Question: 4 (15 pts) Suppose that when a certain processor is running an intense mathematical benchmark, 60% of the instructions are floating-point instructions (20% compute a

4 (15 pts) Suppose that when a certain processor is running an intense mathematical benchmark, 60% of the instructions are floating-point instructions (20% compute a square root, and 40% are other floating-point computations). Refer to the table for the CPIs for different types of instructions. Percentage (Freqi) 40% ; 2 Instruction distribution non-floating-point instructions square root floating- point instructions other floating-point instructions 20% 10 5 40% a) What is the overall average CPI when the processor is running the benchmark? b) What is the average CPI for all floating-point instructions (including the square root and other floating- point instructions)? c) Suppose you have a choice between speeding up all floating-point instructions by a factor of 3 versus speeding up the floating-point square root instruction by a factor of 100. What is the overall speedup resulting from each possible choice? Assuming that the two choices require equal effort, which is the better choice? 4 (15 pts) Suppose that when a certain processor is running an intense mathematical benchmark, 60% of the instructions are floating-point instructions (20% compute a square root, and 40% are other floating-point computations). Refer to the table for the CPIs for different types of instructions. Percentage (Freqi) 40% ; 2 Instruction distribution non-floating-point instructions square root floating- point instructions other floating-point instructions 20% 10 5 40% a) What is the overall average CPI when the processor is running the benchmark? b) What is the average CPI for all floating-point instructions (including the square root and other floating- point instructions)? c) Suppose you have a choice between speeding up all floating-point instructions by a factor of 3 versus speeding up the floating-point square root instruction by a factor of 100. What is the overall speedup resulting from each possible choice? Assuming that the two choices require equal effort, which is the better choice
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
