A parametric error analysis of Goldschmidt's division algorithm
作者:
Highlights:
•
摘要
Back in the 1960s Goldschmidt presented a variation of Newton–Raphson iterations for division that is well suited for pipelining. The problem in using Goldschmidt's division algorithm is to present an error analysis that enables one to save hardware by using just the right amount of precision for intermediate calculations while still providing correct rounding. Previous implementations relied on combining formal proof methods (that span thousands of lines) with millions of test vectors. These techniques yield correct designs but the analysis is hard to follow and is not quite tight.We present a simple parametric error analysis of Goldschmidt's division algorithm. This analysis sheds more light on the effect of the different parameters on the error. In addition, we derive closed error formulae that allow to determine optimal parameter choices in four practical settings.We apply our analysis to show that a few bits of precision can be saved in the floating-point division (FP-DIV) micro-architecture of the AMD-K7TMmicroprocessor. These reductions in precision apply to the initial approximation and to the lengths of the multiplicands in the multiplier. When translated to cost, the reductions reflect a savings of 10.6% in the overall cost of the FP-DIV micro-architecture.
论文关键词:Floating point arithmetic,Goldschmidt's division algorithm,Parametric error analysis
论文评审过程:Received 25 November 2002, Revised 11 August 2004, Available online 28 October 2004.
论文官网地址:https://doi.org/10.1016/j.jcss.2004.08.004