Hardware instructions to accelerate table-driven mathematical computation of reciprocal square, cube, forth root and their reciprocal functions, and the evaluation of exponential and logarithmic families of functions
Abstract
A set of instructions for implementation in a floating-point unit or other computer processor hardware is disclosed herein. In one embodiment, an extended-range fused multiply-add operation, a first look-up operation, and a second look-up operation are each embodied in hardware instructions configured to be operably executed in a processor. These operations are accompanied by a table which provides a set of defined values in response to various function types, supporting the computation of elementary functions such as reciprocal, square, cube, fourth roots and their reciprocals, exponential, and logarithmic functions. By allowing each of these functions to be computed with a hardware instruction, branching and predicated execution may be reduced or eliminated, while also permitting the use of distributed instructions across a number of execution units.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A system for performing mathematical function evaluation, comprising: a plurality of tables providing values for processing a plurality of mathematical functions; a processing unit comprising logic interfacing with the plurality of tables, the logic further comprising: a first hardware instruction configured to lookup a first value for use in a first stage of evaluation for a mathematical function, the first value retrieved from one of the plurality of the tables; a second hardware instruction configured to retrieve a second value for use in a second stage of evaluation for the mathematical fu
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (5)
- Alan H. Karp et al., "High-Precision Division and Square Root," Dec. 1997, pp. 561-589, vol. 23, No. 4, Hewlett-Packard Laboratories, ACM Transactions on Mathematical Software.
- Christopher Kumar Anand et al., "An Optimized Cell BE Special Function Library Generated by Coconut," preprint 2009, pp. 1-13, vol. 58,, IEEE Transactions on Computers.
- Christopher Kumar Anand et al., "Synthesizing and Verifying Multicore Parallelism in Categories of Nested Code Graphs," Aug. 1, 2008; pp. 3-46, Alexander/Process Algebra for Parallel and Distributed Processing C6486-C001.
- Christopher Kumar Anand et al., "Unified Tables for Exponential and Logarithm Families," May 2009, AdvOL-Report No. 2009/02, pp. 1-20, McMaster University, Advanced Optimization Laboratory, Hamilton, Ontario, Canada.
- David M. Russinoff, "A Mechanically Checked Proof of IEEE Compliance of the Floating Point Multiplication, Division and Square Root Algorithms of the AMD-K7 Processor," 1998, pp. 148-200, ISSN 1461-1570, LMS J. Computer Math 1, London Mathematical Society.