Adaptive economical asynchronous iterative methods "digit by digit"
Keywords:
adaptive algorithms, asynchronous methods, digit-by-digit methods, elementary functions, iterative methods, hardware implementation, initial approximations, final approximations, redundant number systems, parallel computingAbstract
Adaptive economical asynchronous iterative "digit-by-digit" methods are considered. The paper presents a new class of adaptive algorithms that accelerate calculations by more fully utilizing the available computer hardware. Unlike the usual "digit-by-digit" methods, which mainly assume hardware implementation, the described adaptive methods can be effective in some cases even with software implementation. The basis of the developed adaptive algorithms is the T.H. Chen method, although algorithms of the type of J. Volder or J. Meggit can also be used for these purposes. The term "adaptation" in this context is understood as functional and hardware correspondence. The use of adaptive algorithms allows, along with special structures characteristic of "digit-by-digit" methods, to use modern ALU structures containing parallel adders, multipliers, fast shifters, and devices for determining the number of leading zeros, usually used in hardware for implementing floating-point addition commands. In addition, it is possible to reduce the computation time of elementary functions by more fully using "fast" constant memory devices and table-algorithmic methods. The paper discusses the introduction of initial approximations before the first or second stage of the "digit-by-digit" method, as well as the use of final approximations. Along with ordinary approximations, segment approximations are also considered. The use of adaptive algorithms allows a wide variation in the range of hardware used due to various modifications of the "digit-by-digit" method algorithms. By applying economical asynchronous algorithms with the use of economical linear approximations at the second iteration stage, which do not contain multiplication operations, it is possible to achieve the same acceleration of calculations for the binary number system as in the T.H. Chen method, but without multiplication operations. The average number of iterations decreases approximately fourfold (twice due to asynchrony and twice due to the initial approximation at the second stage of calculations). If economical quadratic approximations containing one multiplication operation are used in these algorithms, the number of iterations decreases approximately sixfold (twice due to asynchrony and three times due to quadratic approximation). Increasing the order of the initial approximation can further reduce the number of iterations, but this increases the number of multiplications and the possibilities for parallelizing the algorithm. Using redundant digit sets (1,0,1) increases the average number of zeros from half to two-thirds of the total number of digits in the number representation. In this case, with economical linear approximation, the number of iterations decreases sixfold, and with economical quadratic approximation, it decreases ninefold (three times due to asynchrony and three times due to the use of initial approximation). In addition, the algorithms of J. Volder and J. Meggit require double iterations, but the considered algorithm does not, as the approximation process is one-sided. This also provides an additional acceleration effect.Views and downloads
References
1. Volder J.E. The CORDIC trigonometric computing technique //IRE Trans. Electr.comput. –1959. -С8, N3. –P.330-334.
2. Meggit J.E. Psevdo division and psevdo multiplication processes // IBM J. -1962. -6, № . –P.210-226.
3. Байков В.Д., Смолов В.Б. Специализированные процессоры: Итерационные алгоритмы и структуры. –М.: Радио и связь, 1985. -288 с.
4. Байков В.Д., Семотин С.А. Вычисление элементарных функций в ЭВМ. –М.: Радио и связь, 1982. -64 с.
5. Евдокимов В.Ф., Стасюк А.Н. Параллельные вычислительные структуры на основе разрядных методов вычислений. – Киев: Наук.думка, 1987. –312 с.
6. Самофалов К.Г., Луцкий Г.М. Основы теории многоуровневых конвейерных систем. –М.: Радио и связь, 1980. –272 с.
7. Теслер Г.С. Организация параллельных вычислений элементарных функций с использованием экономичных алгоритмов // Тезисы докладов Всесоюзной школы-семинара «Распараллеливание обработки информации». –Львов. –1985. -Кн.1. – С.95-97.
8. Chen T.C. Automatic computation of exponentials, logarithms, rations and square roots // IBM Journal of Res. And Devel. –1971. --16, N4. –P.380-388.
9. Wrathall C., Chen T.C. Convergence guarante, impovements for a fast hardwere exp, log evalution scheme // Proc. оf 4-th Symp. оn Comp. Arithmetic. –1978. –P.175-182.
10. Ercegovoc M.D. Radix-16 evalution of certain elementary functions // IEEE Trans. оf Comp. – 1973. -22, N6. –P.561-566.
11. Попов Б.А., Теслер Г.С. Вычисление функций на ЭВМ. Справочник. –Киев: Наук. думка, 1984. –600с.
Downloads
Published
Issue
Section
License
Copyright (c) 1999 Mathematical Machines and Systems

This work is licensed under a Creative Commons Attribution 4.0 International License.

