PROCESSING UNIT
First Claim
1. A processing unit, comprising:
- a floating point multiply-add circuit which receives three inputs, which are rs1, rs2 and rs3, and executes floating point multiply-add operation;
a resistor file of which the floating point multiply-add circuit use,an OR circuit which computes OR of the most significant bit of output of the floating point multiply-add circuit and the least significant bit rs2 [0] of the input rs2;
a selector which selects either the input rs1 or the value “
1.0”
; and
an EOR circuit which computes EOR of a bit rs2 [1] that is one bit higher than the least significant bit of the input rs2 and the most significant bit of the selector,wherein the floating point multiply-add circuit computes an expansion point, determines an expansion function of the Taylor series expansion of a trigonometric function and computes the expansion function according to computed the expansion point and determined the expansion function,and said selector, said OR circuit and said EOR circuit output a coefficient of a polygonal of said determined expansion function according trigonometric function operation auxiliary instruction.
1 Assignment
0 Petitions
Accused Products
Abstract
A processing unit computes a trigonometric function, for decrease the number of instructions and improve throughput. In a floating point multiply-add circuit, an OR circuit, a selector and an EOR circuit are disposed, and an expansion point and expansion function of the Taylor series expansion of the trigonometric function are computed using a first trigonometric function operation auxiliary instruction for defining the operation of rd=(rs1*rs1)|(rs2 [0]<<63) and a second trigonometric function operation auxiliary instruction for defining the operation of rd=((rs2 [0])? 1.0: rs1)̂(rs2 [1]<<63), or a third trigonometric function operation auxiliary instruction for defining the operation of rd=(rs1*rs1)|((˜rs2 [0]<<63) and a fourth trigonometric function operation auxiliary instruction for defining the operation of rd=((rs2 [0])? rs1: 1.0)̂((rs2 [1]̂rs2 [0])<<63)).
14 Citations
8 Claims
-
1. A processing unit, comprising:
-
a floating point multiply-add circuit which receives three inputs, which are rs1, rs2 and rs3, and executes floating point multiply-add operation; a resistor file of which the floating point multiply-add circuit use, an OR circuit which computes OR of the most significant bit of output of the floating point multiply-add circuit and the least significant bit rs2 [0] of the input rs2; a selector which selects either the input rs1 or the value “
1.0”
; andan EOR circuit which computes EOR of a bit rs2 [1] that is one bit higher than the least significant bit of the input rs2 and the most significant bit of the selector, wherein the floating point multiply-add circuit computes an expansion point, determines an expansion function of the Taylor series expansion of a trigonometric function and computes the expansion function according to computed the expansion point and determined the expansion function, and said selector, said OR circuit and said EOR circuit output a coefficient of a polygonal of said determined expansion function according trigonometric function operation auxiliary instruction. - View Dependent Claims (3, 5, 7)
-
-
2. A processing unit, comprising:
-
a floating point multiply-add circuit which receives three inputs, which are rs1, rs2 and rs3, and executes floating point multiply-add operation; an OR circuit which computes OR of the most significant bit of output of the floating point multiply-add circuit and an inversion signal of the least significant bit rs2 [0] of the input rs2; a selector that selects either the input rs1 or the value “
1.0”
;a first EOR circuit that computes EOR of a bit rs2 [1] that is one bit higher than the least significant bit of the input rs2; and a second EOR circuit that computes EOR of the most significant bit of the selector and output of the first EOR circuit, wherein the floating point multiply-add circuit computes an expansion point, determines an expansion function of the Taylor series expansion of a trigonometric function and computes the expansion function according to computed the expansion point and determined the expansion function, and said selector, said OR circuit and said first and second EOR circuits output a coefficient of a polygonal of said determined expansion function according trigonometric function operation auxiliary instruction. - View Dependent Claims (4, 6, 8)
-
Specification