Answered step by step
Verified Expert Solution
Question
1 Approved Answer
5 (24 pts) A program executes the following mixture of instructions: Instruction Type Execution Time (clock cycles) 10 Fractions of instructions executed 0.3 0.4 0.2
5 (24 pts) A program executes the following mixture of instructions: Instruction Type Execution Time (clock cycles) 10 Fractions of instructions executed 0.3 0.4 0.2 0.1 Loads and stores Integer ALU FP ALU Branch 40 a) What is the average CPI for this program? b) What is the average MIPS rate for this program? (Assume clock period is Ins.) c) You decide to design a new version of this processor with a faster floating-point ALU to improve the processor's performance when executing this program. What speedup would you expect to see if you could reduce the number of cycles required to execute all floating-point instructions by 5 clock cycles? d) What is the maximum number of clock cycles each floating point operation can take to obtain an overall speedup for this program of 7 percent? e) What is the theoretical limit to the speedup you could obtain by improving the time required to execute floating-point instructions? f) To obtain the biggest performance improvement for the amount of effort expended in redesigning this processor, on which one of the instruction types (load/store, floating point, integer ALU, or branch) should you concentrate your effort? Quantitatively justify your answer. 5 (24 pts) A program executes the following mixture of instructions: Instruction Type Execution Time (clock cycles) 10 Fractions of instructions executed 0.3 0.4 0.2 0.1 Loads and stores Integer ALU FP ALU Branch 40 a) What is the average CPI for this program? b) What is the average MIPS rate for this program? (Assume clock period is Ins.) c) You decide to design a new version of this processor with a faster floating-point ALU to improve the processor's performance when executing this program. What speedup would you expect to see if you could reduce the number of cycles required to execute all floating-point instructions by 5 clock cycles? d) What is the maximum number of clock cycles each floating point operation can take to obtain an overall speedup for this program of 7 percent? e) What is the theoretical limit to the speedup you could obtain by improving the time required to execute floating-point instructions? f) To obtain the biggest performance improvement for the amount of effort expended in redesigning this processor, on which one of the instruction types (load/store, floating point, integer ALU, or branch) should you concentrate your effort? Quantitatively justify your
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started