Transcendental function evaluation
First Claim
Patent Images
1. An apparatus, comprising:
- a first circuit arranged to generate a linear term of a transcendental function in response to a set of least significant bits of an input operand and in response to a first table value that is retrieved from a first table in response to a first index generated in response to a set of most significant bits of the input operand;
a second circuit arranged to generate a quadratic term for the transcendental function in response to the set of least significant bits of the input operand and in response to a second table value that is retrieved from a second table in response to a second index generated in response to the set of most significant bits of the input operand; and
a third circuit arranged to generate a constant term for the transcendental function in response to the set of least significant bits of the input operand and in response to a third table value that is retrieved from a third table in response to a third index generated in response to the set of most significant bits of the input operand, and wherein the third circuit is arranged to generate an output operand in response to a sum of the linear term, the quadratic term, and the constant term.
1 Assignment
0 Petitions
Accused Products
Abstract
In described examples, an apparatus is arranged to generate a linear term, a quadratic term, and a constant term of a transcendental function with, respectively, a first circuit, a second circuit, and a third circuit in response to least significant bits of an input operand and in response to, respectively, a first, a second, and a third table value that is retrieved in response to, respectively, a first, a second, and a third index generated in response to most significant bits of the input operand. The third circuit is further arranged to generate a mantissa of an output operand in response to a sum of the linear term, the quadratic term, and the constant term.
7 Citations
20 Claims
-
1. An apparatus, comprising:
-
a first circuit arranged to generate a linear term of a transcendental function in response to a set of least significant bits of an input operand and in response to a first table value that is retrieved from a first table in response to a first index generated in response to a set of most significant bits of the input operand; a second circuit arranged to generate a quadratic term for the transcendental function in response to the set of least significant bits of the input operand and in response to a second table value that is retrieved from a second table in response to a second index generated in response to the set of most significant bits of the input operand; and a third circuit arranged to generate a constant term for the transcendental function in response to the set of least significant bits of the input operand and in response to a third table value that is retrieved from a third table in response to a third index generated in response to the set of most significant bits of the input operand, and wherein the third circuit is arranged to generate an output operand in response to a sum of the linear term, the quadratic term, and the constant term. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A system, comprising:
-
a processor arranged to generate an input operand for hardware accelerated calculation of a transcendental function; a memory configured to receive and store the input operand; and an execution unit arranged to generate as an approximation of a transcendental function in response to the input operand stored and retrieved from the memory, comprising; a first circuit arranged to generate a linear term of the transcendental function in response to a set of least significant bits of a mantissa of the input operand and in response to a first table value that is retrieved from a first table in response to a first index generated in response to a set of most significant bits of the mantissa of the input operand; a second circuit arranged to generate a quadratic term for the transcendental function in response to the set of least significant bits of the mantissa of the input operand and in response to a second table value that is retrieved from a second table in response to a second index generated in response to the set of most significant bits of the mantissa of the input operand; and a third circuit arranged to generate a constant term for the transcendental function in response to a third table value that is retrieved from a third table in response to a third index generated in response to the set of most significant bits of the mantissa of the input operand, and wherein the third circuit is arranged to generate an output operand in response to a sum of the linear term, the quadratic term, and the constant term. - View Dependent Claims (14, 15, 16)
-
-
17. A method, comprising:
-
generating, by a first circuit of a first pipeline stage, a linear term of a transcendental function in response to a set of least significant bits of an input operand and in response to a first table value that is retrieved from a first table in response to a first index generated in response to a set of most significant bits of the input operand; generating, by a second circuit of the first pipeline stage, a quadratic term for the transcendental function in response to the set of least significant bits of the input operand and in response to a second table value that is retrieved from a second table in response to a second index generated in response to the set of most significant bits of the input operand; generating, by a third circuit of a second pipeline stage that follows the first pipeline stage, a constant term for the transcendental function in response to the set of least significant bits of the input operand and in response to a third table value that is retrieved from a third table in response to a third index generated in response to the set of most significant bits of the input operand; and generating, by a fourth circuit of the second pipeline stage, an output operand in response to a sum of the linear term, the quadratic term, and the constant term. - View Dependent Claims (18, 19, 20)
-
Specification