Q: Suppose you have a machine which executes a program that consists of 50% (in terms of execution time) floating point multiply, 20% floating point divide, and the remaining 30% are from other instructions. (a) Management wants the machine to run 1.4 times faster. You can make the divide run at most 3 times faster and the multiply run at most 8 times faster. Can you meet the management’s goal by making only one improvement, and which one? (Show the calculations you did to answer this question.) (b) If you make both the multiply and divide improvements, what is the speed (performance) of the improved machine relative to the original machine? (Show the calculations you did to answer this question.)
Q: Suppose you have a machine which executes a program that consists of 50% (in terms of execution time) floating point multiply, 20% floating point divide, and the remaining 30% are from other instructions.
(a) Management wants the machine to run 1.4 times faster. You can make the divide run at most 3 times faster and the multiply run at most 8 times faster. Can you meet the management’s goal by making only one improvement, and which one? (Show the calculations you did to answer this question.)
(b) If you make both the multiply and divide improvements, what is the speed (performance) of the improved machine relative to the original machine? (Show the calculations you did to answer this question.)
Trending now
This is a popular solution!
Step by step
Solved in 3 steps