Question: Suppose a program consists of 20% floating point multiply instructions, 20% floating point divide instructions, and the remaining 60% are other instructions. Floating point division
Suppose a program consists of 20% floating point multiply instructions, 20% floating point divide instructions, and the remaining 60% are other instructions. Floating point division instructions take 6 times as many clock cycles as do floating point multiplication instructions, and floating point multiplication instructions take 4 times as many clock cycles as each of the non-floating point instructions.
a) [15 points] Suppose the execution of floating point multiplication instructions is made 8/5 times faster, without changing the execution speed for any other instructions. Use Amdahl's Law to determine what speedup would be achieved for that program? Round your answer to the nearest one-thousandth.
b) [15 points] Suppose the execution of floating point multiplication instructions is made 8/5 faster, and the execution of floating point division instructions is made 3/2 faster. Use Amdahl's Law to determine what speedup would be achieved for that program? Round your answer to the nearest one-thousandth.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
