Efficient accuracy check for Newton-Raphson divide and square-root operations
AssigneeSun Microsystems, Inc.
InventorLeonard D. Rarick
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc.
InventorLeonard D. Rarick
Estimating the term…
One embodiment of the present invention provides a system that efficiently performs an accuracy-check computation for Newton-Raphson divide and square-root operations. During operation, the system performs Newton-Raphson iterations followed by a multiply for the divide or square-root operation. This result is then rounded to produce a proposed result. Next, the system performs an accuracy-check computation to determine whether rounding the result to a desired precision produces the correct result. This accuracy-check computation involves performing a single pass through a multiply-add pipeline to perform a multiply-add operation. During this single pass, a Booth encoding of an operand in a multiply portion of the multiply-add pipeline is modified, if necessary, to cause an additional term for the accuracy-check computation to be added to the result of the multiply-add operation. In this way, the accuracy-check computation can be completed without requiring an additional pass through the multiply-add pipeline and without an additional partial-product row in the multiply-add pipeline.
A computer-implemented method for efficiently performing an accuracy-check computation for Newton-Raphson divide and square-root operations, wherein the method comprises:
An apparatus which efficiently performs an accuracy-check computation for Newton-Raphson divide and square-root operations, wherein the apparatus comprises:
A computer system with an arithmetic unit which efficiently performs an accuracy-check computation for Newton-Raphson divide and square-root operations, wherein the computer system comprises:
Dependencies are inferred from the claim text.