Question: Problem 6 : To compute a floating - point square root, a computer uses a sequence of floating - point operations as it does not
Problem :
To compute a floatingpoint square root, a computer uses a sequence of floatingpoint operations as it does not
support square root operations in hardware. ie there is no instruction to compute the square root in one step.
Suppose we have made the following measurements:
frequency of all floatingpoint operations including square root operations
CPI of all floatingpoint operations including square root operations
CPI of non floatingpoint operations
frequency of floatingpoint square root operations
CPI of floatingpoint square root operations
Which of the following two design alternatives will improve the performance of the computer better?
a Reduce the CPI of all floatingpoint operations to
b Add floatingpoint square root operations in hardware to reduce their CPI to without changing the CPI
of the remaining floatingpoint operations.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
