JP3124286B2 - Floating point arithmetic unit - Google Patents

Floating point arithmetic unit

Info

Publication number
JP3124286B2
JP3124286B2 JP02258848A JP25884890A JP3124286B2 JP 3124286 B2 JP3124286 B2 JP 3124286B2 JP 02258848 A JP02258848 A JP 02258848A JP 25884890 A JP25884890 A JP 25884890A JP 3124286 B2 JP3124286 B2 JP 3124286B2
Authority
JP
Japan
Prior art keywords
mantissa
exponent
bit
solution
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP02258848A
Other languages
Japanese (ja)
Other versions
JPH04138521A (en
Inventor
進博 井出
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP02258848A priority Critical patent/JP3124286B2/en
Publication of JPH04138521A publication Critical patent/JPH04138521A/en
Application granted granted Critical
Publication of JP3124286B2 publication Critical patent/JP3124286B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、浮動小数点数値データを加減算処理する
演算装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to an arithmetic unit for performing addition / subtraction processing on floating-point numerical data.

(従来の技術) 符号付絶対値表現において浮動小数点数値は、指数
部、仮数部、仮数部の符号によって表わされる。例えば
IEEE754規格の倍精度数D(64bit)は次のように表現さ
れる。
(Prior Art) In a signed absolute value expression, a floating-point value is represented by a sign of an exponent, a mantissa, and a mantissa. For example
The double precision number D (64 bits) of the IEEE754 standard is expressed as follows.

D=(−1)×1.f×2e-1023 s:0or1 (1bit) f:000…00〜111…11 (52bit) e:0〜2047 (11bit) ここで、Sは仮数部の符号であり、Dが正の時0,負の
時1である。fは仮数部の少数部である。整数部は隠れ
ビットであり、仮数部fは小数点以下の52ビットのみで
ある。小数点はfのMSBの左にある。仮数部は整数部が
1になるように正規化されている。eは指数部で、バイ
アス値として1023を本来の指数に加えた下駄ばき表現で
表わされる。
D = (-1) S × 1.f × 2 e-1023 s: 0or1 (1 bit) f: 000 ... 00 to 111 ... 11 (52 bits) e: 0 to 2047 (11 bits) where S is the mantissa part The sign is 0 when D is positive and 1 when D is negative. f is the fractional part of the mantissa. The integer part is a hidden bit, and the mantissa part f is only 52 bits below the decimal point. The decimal point is to the left of the MSB of f. The mantissa part is normalized so that the integer part becomes 1. e is an exponent part, which is expressed in a clogging expression obtained by adding 1023 as a bias value to an original exponent.

従来、この様なフォーマットで表わされる浮動小数点
数値を取り扱うデータ処理装置において、加減算は以下
の様な手順で行なっていた。
Conventionally, in a data processing device that handles floating-point values represented in such a format, addition and subtraction have been performed in the following procedure.

フェーズ1 桁合わせ:指数部の大きさを比較し、指数
部の小さい方を大きい方の指数部と同じになるように仮
数部の桁を合わせる。
Phase 1 Digit alignment: Compare the sizes of the exponents and adjust the digits of the mantissa so that the smaller exponent is the same as the larger exponent.

フェーズ2 演算:仮数部の加算及び減算を行なう。Phase 2 operation: Addition and subtraction of the mantissa are performed.

フェーズ3 正規化:仮数部の整数部が1になるように
仮数部を左シフトする。シフトに伴って指数部を補正す
る。
Phase 3 Normalization: The mantissa is shifted left so that the integer of the mantissa becomes 1. The exponent is corrected with the shift.

フェーズ4 丸め:丸めモード、解の符号により丸め処
理を行なう。
Phase 4 Rounding: Rounding is performed according to the rounding mode and the sign of the solution.

フェーズ5 再正規化:丸めにより桁上りが生じた場合
には再度正規化する。
Phase 5 Renormalization: If a carry occurs due to rounding, renormalization is performed.

第6図は一般的に仮数部演算回路のブロック図であ
る。第6図において、フェーズ1は、指数部の大きさを
比較し、指数部の小さい方を大きい方の指数部と同じに
なるように仮数部を右にシフトする。
FIG. 6 is a block diagram of a mantissa operation circuit in general. In FIG. 6, in phase 1, the magnitudes of the exponents are compared, and the mantissa is shifted right so that the smaller exponent is the same as the larger exponent.

フェーズ2は実際に演算を行う。ここで、仮数部の真
の減算は次のように行なわれる。
Phase 2 actually performs the operation. Here, the true subtraction of the mantissa is performed as follows.

仮数部は絶対値表現で表わされるので、まず減数の仮
数部を補数化し、非減数との加算を行なう。ここで、演
算結果が負の数となった場合は、絶対値表現にするため
再度補数化する必要がある。補数化処理は、具体的には
ビット毎の反転をとりインクリメントすることにより行
なう。演算前の補数化処理は、ビット反転回数で反転を
とり、加算器のキャリー入力を1にすることによって省
略できる。しかし、解が負の数となった場合には、演算
後の正規化処理を省略することはできない。このような
減算において仮数部のキャリー伝播は、加算器と補数化
回路において最悪2回生じ、減算処理に非常に多くの時
間を必要とする。
Since the mantissa is represented by the absolute value expression, the mantissa of the reduced number is first complemented and added to the non-decimal number. Here, when the operation result becomes a negative number, it is necessary to perform complementation again in order to represent an absolute value. The complementing process is specifically performed by inverting every bit and incrementing it. Complementation processing before the operation can be omitted by inverting the number of bit inversions and setting the carry input of the adder to 1. However, when the solution becomes a negative number, the normalization process after the operation cannot be omitted. In such subtraction, carry propagation of the mantissa occurs at worst twice in the adder and the complement circuit, and the subtraction process requires a very long time.

フェーズ3の正規化処理は、プライオリティ・エンコ
ーダを用いてフェーズ2の演算結果から先行“1"を検出
し、仮数部の整数部が“1"になるように左シフトする。
プライオリティ・エンコード処理、シフト処理は、共に
非常に多くの実行時間を要する処理である。
In the normalization process of the phase 3, the leading encoder detects a leading "1" from the operation result of the phase 2 using the priority encoder, and shifts to the left so that the integer part of the mantissa becomes "1".
Both the priority encoding process and the shift process require a very long execution time.

フェーズ4の丸め処理は、仮数部が有限桁しかないた
めに解が正確に表現できない場合、仮数部の桁が無限で
あるとして求めた厳密解の値によって、有限仮数部の最
小有意桁にインクリメントするか、あるいは最小有意桁
より下の桁を切り捨てるかして、解を有限ビットで表わ
す処理である。丸め回路でインクリメントを行なった場
合にはキャリー伝播が生じ、丸め処理に非常に多くの時
間を必要とする。
In the rounding process of phase 4, when the solution cannot be accurately represented because the mantissa has only finite digits, the value of the exact solution obtained assuming that the mantissa has infinite digits is incremented to the least significant digit of the finite mantissa. Is performed, or the digits below the least significant digit are truncated, and the solution is represented by finite bits. When the increment is performed by the rounding circuit, carry propagation occurs, and the rounding process requires much time.

このような一般的な手順は、キャリーの伝播するフェ
ーズを2箇所に減らすことができる。
Such a general procedure can reduce the phase of carry propagation to two places.

第7図は仮数部演算回路のブロック図である。第7図
に示す演算回路は、演算結果が負になるのは真の減算の
場合だけであることに注目して構成されている。
FIG. 7 is a block diagram of the mantissa operation circuit. The arithmetic circuit shown in FIG. 7 is configured noting that the operation result becomes negative only in the case of true subtraction.

まず、2つのオペランドの指数部の大きさが異なる場
合であるが、このような場合には必ず指数部の小さい方
が真の減数となるようにすれば、演算結果は必ず正の数
となり、再補数化の必要はない。
First, there is a case where the exponents of the two operands are different in size. In such a case, if the smaller exponent is always a true subtraction, the operation result is always a positive number. There is no need for recomplementation.

次に、指数部が同じ場合であるが、この場合には、指
数部だけの比較ではオペランドの大小関係が明かでな
い。したがって、演算結果が負になることがあり、再補
数化が必要となる。しかし、演算前の桁合わせは行なわ
れないので、丸めによるインクリメントは絶対に生じな
い、すなわち、丸めによるインクリメントと再補数化に
伴うインクリメントが同時に生じることはないので、イ
ンクリメンタを2つの処理で共有することができる。こ
のように、第7図に示す演算回路ではキャリー伝播が生
じるフェーズを2つにすることができる。
Next, in the case where the exponents are the same, in this case, comparison of only the exponents does not reveal the magnitude relation of the operands. Therefore, the operation result may be negative, and recomplementation is necessary. However, since the digit alignment before the operation is not performed, the increment by the rounding never occurs. That is, since the increment by the rounding and the increment by the recomplementation do not occur at the same time, the incrementer is shared by the two processes. can do. As described above, the arithmetic circuit shown in FIG. 7 can reduce the number of phases in which carry propagation occurs to two.

(発明が解決しようとする課題) 以上述べたように、従来の加減算手順では、演算の各
フェーズが逐次的に処理されるため、演算処理の高速化
の障害となっていた。特に、科学技術計算の分野では、
より高精度で高速な演算が要求されており、仮数部のビ
ット数は多ビット化の傾向あるので、各処理を並列に実
行して、演算処理の高速化が求められている。
(Problems to be Solved by the Invention) As described above, in the conventional addition and subtraction procedure, each phase of the operation is sequentially processed, which is an obstacle to speeding up the operation processing. In particular, in the field of scientific computing,
There is a demand for higher-precision and higher-speed calculations, and the number of bits in the mantissa tends to increase. Therefore, there is a demand for speeding up the arithmetic processing by executing each processing in parallel.

そこで、この発明は、上記に鑑みて成されたものであ
り、その目的とするところは、演算手順のフェーズの一
部、具体的には非常に多くの実行時間を要する丸め処理
と正規化処理を並行して実行し、加減算処理の高速化を
達成し得る浮動小数点数演算装置を提供することにあ
る。
Therefore, the present invention has been made in view of the above, and an object thereof is to provide a part of a phase of an arithmetic procedure, specifically, a rounding process and a normalization process that require a very long execution time. And a floating-point arithmetic device capable of achieving high-speed addition and subtraction processing.

[発明の構成] (課題を解決するための手段) 上記目的を達成するために、課題を解決する第1の手
段は、両被演算値における指数部の大小を比較する第1
の比較手段と、両被演算値における絶対値の大小を比較
する第2の比較手段と、前記第1の比較手段の比較結果
に基づいて、両被演算値における指数部の値を統一すべ
く両被演算値における指数部が小さい仮数部を指数部が
大きい仮数部に桁合わせし、この桁合わせを前記第2の
比較手段の比較動作と並行して行う桁合わせ手段と、前
記第1及び第2の比較手段の比較結果に基づいて、指数
部の値の一致した両被演算値における仮数部の内、絶対
値が小さい仮数部のみの値をビット反転する反転手段
と、指数部の値の一致した両被演算値における仮数部の
内、絶対値が大きい仮数部と、前記反転手段によりビッ
ト反転された絶対値が小さい仮数部とを受けて、両仮数
部を加算又は減算し、減算の場合には大きい仮数部から
小さい仮数部を減じ、正の数の演算結果を得る演算手段
とを有することを特徴とする。
[Structure of the Invention] (Means for Solving the Problem) To achieve the above object, a first means for solving the problem is a first means for comparing the magnitudes of exponent parts in both operand values.
A comparison means, a second comparison means for comparing the magnitudes of absolute values of both operand values, and a value of an exponent part in both operand values based on a comparison result of the first comparison means. A digit exponent part having a smaller exponent part in both operand values is digit-aligned with a mantissa part having a larger exponent part, and this digit alignment is performed in parallel with the comparison operation of the second comparing means; Inverting means for bit-inverting, based on the comparison result of the second comparing means, only the value of the mantissa part having the smaller absolute value among the mantissa parts of both operand values having the same exponent value, the value of the exponent part Among the mantissa parts in both operand values that match, the mantissa part having a large absolute value and the mantissa part having a small absolute value bit-inverted by the inversion means are added or subtracted, and the subtraction is performed. In the case of, subtract the small mantissa from the large mantissa It characterized by having a calculating means for obtaining a calculation result of positive number.

第2の手段は、前記第1の手段において、前記演算手
段における演算結果の第1の正規化処理を行い、第1の
解を得る正規化手段と、前記演算手段における演算結果
の第2の正規化処理と丸め処理を前記正規化手段と並行
して行い、第2の解を得る正規化丸め処理手段と、前記
正規化手段によって得られる第1の解と前記正規化丸め
処理手段によって得られる第2の解のいずれか一方の解
を選択することによって真の解を得る解選択手段とを有
することを特徴とする。
A second means for performing, in the first means, a first normalization process on the operation result of the operation means to obtain a first solution; and a second normalization means for obtaining a first solution. A normalization process and a rounding process are performed in parallel with the normalization unit to obtain a second solution, a normalization rounding process unit, and a first solution obtained by the normalization unit and a normalization rounding process obtained by the normalization rounding unit. Solution selecting means for obtaining a true solution by selecting any one of the second solutions to be obtained.

第3の手段は、前記第2の手段において、前記解選択
手段は、前記演算手段で得られた演算結果に対して2ビ
ット以上のシフトが必要な場合は第1の解を選択し、一
方それ以外の場合には第2の解を選択することを特徴と
する。
The third means is the second means, wherein the solution selecting means selects the first solution when a shift of two or more bits is required for the operation result obtained by the operation means, Otherwise, the second solution is selected.

(作用) 上記構成において、減算の場合には減算結果を正の数
で求め、減算結果が負である場合の補数化処理を省略す
るようにしている。
(Operation) In the above configuration, in the case of subtraction, the subtraction result is obtained as a positive number, and the complementing process when the subtraction result is negative is omitted.

(実施例) 以下、この発明の実施例を図面を参照して説明する。
第1図は、この発明の一実施例を示すブロック図であ
る。浮動小数点数値の演算では、指数部、仮数部、仮数
部の符号は、それぞれ独立に計算でき、第1図は仮数部
の演算装置及び指数部演算器の一部を示したものであ
る。この実施例はIEEE754規格に準拠している。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing one embodiment of the present invention. In the operation of the floating-point value, the exponent part, the mantissa part, and the sign of the mantissa part can be independently calculated, and FIG. 1 shows a part of the mantissa part arithmetic unit and the exponent part arithmetic unit. This embodiment complies with the IEEE754 standard.

演算装置の構成を説明する前に、本装置に入力される
被演算値のフォーマットを第2図を参照して説明する。
IEEE754規格では、精度により複数種類のデータフォー
マットを定義しているが、ここでは簡単のため倍精度デ
ータについてのみ述べる。他のフォーマットにおいても
本発明の構成は、いっさいの変更なく適用できる。
Before describing the configuration of the arithmetic unit, the format of the operand value input to the present unit will be described with reference to FIG.
Although the IEEE754 standard defines a plurality of types of data formats depending on the precision, here, only double precision data will be described for simplicity. The configuration of the present invention can be applied to other formats without any change.

第2図(a)は、IEEE754規格における倍精度のデー
タフォーマットを示す図である。第2図(a)におい
て、被演算値は仮数部の符号部1ビット、指数部11ビッ
ト、仮数部52ビットよりなる。第2図(b)は仮数部の
中間値フォーマット(57ビット)を示す図である。第2
図(b)において、最上位ビット(MSB,57ビット目)を
桁あふれビットVとし、56ビット目を整数部の隠れビッ
トNとし、55ビット目〜4ビット目を有意桁としてい
る。また、仮数部には最小有意桁(4ビット目)の1ビ
ット下位の値を表わすカードビットG、ガードビットG
のさらに1ビット下位の値を表わす丸めビットR、丸め
ビットRより下位の全てのビットの論理和の値を表わす
スティッキビットStが拡張されている。
FIG. 2A is a diagram showing a double precision data format in the IEEE754 standard. In FIG. 2A, the operand value is composed of a sign bit of the mantissa, 11 bits of the exponent, and 52 bits of the mantissa. FIG. 2 (b) is a diagram showing the intermediate value format (57 bits) of the mantissa. Second
In FIG. 7B, the most significant bit (MSB, bit 57) is an overflow bit V, the 56th bit is a hidden bit N of an integer part, and the 55th to 4th bits are significant digits. In the mantissa part, a card bit G and a guard bit G each representing a value one bit lower than the least significant digit (fourth bit)
, A rounded bit R representing a value one bit lower than and a sticky bit St representing a value of a logical sum of all bits lower than the rounded bit R are extended.

次に、第1図を参照して仮数部の演算装置の構成を説
明する。第1図において、指数部比較回路1は、一方の
被演算数値となる第1オペランドの指数部と、他方の被
演算数値となる第2オペランドの指数部を受けて、第1
オペランドの指数部E1から第2オペランドの指数部E2を
減算する。指数部比較回路1は、減算結果において、指
数部E1≦指数部E2で“1"となり、指数部E1>指数部E2で
“0"となる指数比較信号と、両指数部の差の値を示す差
信号を出力する。
Next, the configuration of the mantissa arithmetic unit will be described with reference to FIG. In FIG. 1, an exponent part comparison circuit 1 receives an exponent part of a first operand as one operand value and an exponent part of a second operand as another operand value, and
The exponent part E2 of the second operand is subtracted from the exponent part E1 of the operand. The exponent comparison circuit 1 calculates, in the subtraction result, an exponent comparison signal in which the exponent E1 ≦ the exponent E2 becomes “1” and the exponent E1> the exponent E2 becomes “0”, and the difference between the two exponents. The difference signal shown is output.

仮数部交換回路2は、第1オペランドの仮数部F1と第
2オペランドの仮数部F2を受けて、指数部比較回路1か
ら与えられる指数比較信号により、指数部が小さい仮数
部を桁合わせ回路3に与え、指数部が大きい仮数部を反
転回路5aに与える。指数部が同じである場合には、仮数
部の交換は行なわれず、それぞれの仮数部F1,F2は仮数
部交換回路2を通過する。
The mantissa exchange circuit 2 receives the mantissa F1 of the first operand and the mantissa F2 of the second operand, and converts the mantissa having a smaller exponent into a digit matching circuit 3 according to an exponent comparison signal given from the exponent comparator 1. And a mantissa part having a large exponent is provided to the inversion circuit 5a. If the exponents are the same, the mantissas are not exchanged, and the mantissas F1 and F2 pass through the mantissa exchange circuit 2.

桁合わせ回路3は、仮数部交換回路2から与えられる
仮数部を指数部比較回路1から与えられる差信号で示さ
れる指数部の差の分だけ下位側(右側)にシフトして、
指数部E1と指数部E2が同じになるように指数部が小さい
仮数部を指数部が大きい仮数部に桁合わせする。このシ
フト時において、桁あふれビットVには、“0",スティ
ッキビットStには、現在のStと丸めビットRとの論理和
をシフトインする。桁合わせ回路3は桁合わせした仮数
部を反転回路5bに与える。
The digit matching circuit 3 shifts the mantissa provided from the mantissa exchange circuit 2 to the lower side (right side) by the difference of the exponent part indicated by the difference signal provided from the exponent comparison circuit 1,
The mantissa with a small exponent is digit-aligned with the mantissa with a large exponent so that the exponent E1 and the exponent E2 are the same. At the time of this shift, "0" is shifted into the overflow bit V, and the logical sum of the current St and the rounding bit R is shifted into the sticky bit St. The digit matching circuit 3 provides the mantissa part with the digit alignment to the inverting circuit 5b.

比較回路4は、第1オペランド、第2オペランドの指
数部および仮数部をビット結合した63ビット、すなわち
E1・F1,E2・F2(ここで“・”は、ビット結合を表わ
す)の大小比較を行なう回路である。比較結果におい
て、E1・F1≧E2・F2の場合は、オペランド比較信号4aは
“0"、信号4bは“1",E1・F1<E2・F2の場合は、オペラ
ンド比較信号4aは“1",信号4bは“0"となる。オペラン
ド比較信号4a、信号4bは、反転回路5a,5bに各々与えら
れる。
The comparison circuit 4 has 63 bits obtained by bit-combining the exponent part and the mantissa part of the first operand and the second operand, that is,
This is a circuit for comparing the magnitudes of E1 · F1 and E2 · F2 (where “·” represents bit combination). In the comparison result, when E1 · F1 ≧ E2 · F2, the operand comparison signal 4a is “0”, the signal 4b is “1”, and when E1 · F1 <E2 · F2, the operand comparison signal 4a is “1”. , The signal 4b becomes "0". Operand comparison signal 4a and signal 4b are applied to inversion circuits 5a and 5b, respectively.

反転回転5a,5bは、仮数部をビット反転する回路であ
る。反転回路5aには、指数部比較回路1より指数比較信
号と比較回路4よりオペランド比較回路4a、及び演算信
号(仮数部の真の減算を行なう場合に“1"、真の加算を
行なう場合に“0")が与えられている。また、反転回路
5bには、指数部比較回路1より指数比較信号と比較回路
4よりオペランド比較信号4b、及び演算信号が与えられ
ている。これらの信号により、減算を行なう場合には、
仮数部の何れかが、第3図に示すようにビット反転され
る。
The inversion rotations 5a and 5b are circuits for bit inversion of the mantissa. The inversion circuit 5a has an exponent comparison signal from the exponent part comparison circuit 1, an operand comparison circuit 4a from the comparison circuit 4, and an operation signal ("1" when performing true subtraction of the mantissa, and when performing true addition. “0”). Also, inverting circuit
5b is supplied with an exponent comparison signal from the exponent comparison circuit 1, an operand comparison signal 4b from the comparison circuit 4, and an operation signal. When subtraction is performed using these signals,
Either of the mantissas is bit-inverted as shown in FIG.

本実施例では、指数部比較回路1、仮数部交換回路
2、比較回路4、反転回路5a,5bを用いて以上の操作を
行うことにより、必ず仮数部の大きい方から小さい方を
引くこととなり、いかなる場合でも高速に仮数部の差を
絶対値で求めることができる。
In this embodiment, the above operation is performed using the exponent comparison circuit 1, the mantissa exchange circuit 2, the comparison circuit 4, and the inversion circuits 5a and 5b, so that the smaller mantissa is always subtracted from the larger one. In any case, the difference between the mantissa parts can be quickly obtained in an absolute value.

加算器6は反転回路5a及び反転回路5bから仮数部が与
えられ、これらの仮数部を加算する。この時、演算信号
は加算器6のキャリィ入力として与えられている。すな
わち、減算を行なう場合には、さらに“1"が加算され
る。これにより、減算結果(差)は必ず絶対値で求めら
れる。
The adder 6 is provided with mantissa parts from the inversion circuits 5a and 5b and adds these mantissa parts. At this time, the operation signal is provided as a carry input of the adder 6. That is, when performing the subtraction, “1” is further added. Thus, the subtraction result (difference) is always obtained as an absolute value.

プライオリティ・エンコーダ7は、加算器6より演算
結果が与えられ、先行“1"を検出し、演算結果を正規化
するためのシフト数を示すシフトステップ信号を正規化
回路8に与える。
The priority encoder 7 receives the operation result from the adder 6, detects the leading "1", and supplies a shift step signal indicating the number of shifts for normalizing the operation result to the normalization circuit 8.

正規化回路8は、プライオリティ・エンコーダ7より
与えられるシフト数を信号の値だけ演算結果を左側にシ
フトすることによって正規化した演算結果を出力する。
The normalization circuit 8 outputs a calculation result obtained by normalizing the shift number given by the priority encoder 7 by shifting the calculation result to the left by the value of the signal.

双方向1ビットシフタ9は、加算器6より演算結果が
与えられ、1ビットのみの正規化シフトを行なう。すな
わち、演算結果のVビットが“1"である場合には右側に
1ビットシフトし、Vビットが“0",Nビットが“1"の場
合にはシフトは行なわれず、Vビットが“0",Nビットが
“0",仮数部の小数部分のMSBが“1"の場合には左側に1
ビットシフトした正規化結果を出力する。
The bidirectional one-bit shifter 9 receives the operation result from the adder 6 and performs a normalization shift of only one bit. That is, when the V bit of the operation result is “1”, the bit is shifted to the right by one bit. When the V bit is “0” and the N bit is “1”, no shift is performed, and the V bit is set to “0”. If the N bit is “0” and the MSB of the fraction part of the mantissa is “1”, 1
Outputs the bit-shifted normalized result.

インクリメンタ10は、双方向1ビットシフタ9より正
規化結果が与えられ、この正規化結果を丸め判定回路11
より与えられる丸め判定信号の値により、インクリメン
トした値、あるいはそのままの値を出力する。
The incrementer 10 receives the normalization result from the bidirectional 1-bit shifter 9 and converts the normalization result into a rounding decision circuit 11.
It outputs an incremented value or a value as it is depending on the value of the rounding determination signal given from the controller.

丸め判定回路11は、丸めモード信号と最終解の符号と
演算結果が与えられ、これらの値により丸めによるイン
クリメントを行なうか否かを判定する。丸め判定回路11
は、インクリメントする場合には“1"、インクリメント
しない場合には“0"となる丸め判定信号をインクリメン
タ10に与える。丸めモードの種類は第4図に示すように
なり、丸め判定の具体的な論理は第5図に示すようにな
る。丸め判定の論理は、演算結果の値によって、丸め判
定のために参照する演算結果のビットが異なる。すなわ
ち、第5図において、演算結果のVビットが“1"である
場合は、LはLSBより5ビット目、Mは4ビット目、S
は3ビット目からLSBまでの論理和となる。Vビットが
“0",Nビットが“1"の場合は、LはLSBより4ビット
目、Mは3ビット目、Sは2ビット目とLSBとの論理和
となる。Vビットが“0",Nビットが“0",仮数部の小数
部分のMSBが“1"の場合は、LはLSBより3ビット目,Mは
2ビット目、SはLSBに相当する。
The rounding determination circuit 11 is provided with a rounding mode signal, a sign of a final solution, and an operation result, and determines whether or not to perform incrementing by rounding based on these values. Rounding circuit 11
Gives a rounding determination signal to the incrementer 10 which becomes "1" when incrementing and "0" when not incrementing. The types of rounding modes are as shown in FIG. 4, and the specific logic of the rounding determination is as shown in FIG. In the logic of the rounding determination, the bits of the calculation result referred to for the rounding determination differ depending on the value of the calculation result. That is, in FIG. 5, when the V bit of the operation result is “1”, L is the fifth bit from the LSB, M is the fourth bit, and S is the fourth bit.
Is the logical sum from the third bit to the LSB. When the V bit is “0” and the N bit is “1”, L is the fourth bit from the LSB, M is the third bit, and S is the logical sum of the second bit and the LSB. When the V bit is “0”, the N bit is “0”, and the MSB of the fraction part of the mantissa is “1”, L corresponds to the third bit from the LSB, M corresponds to the second bit, and S corresponds to the LSB.

解選択回路12は、正規化回路8の出力あるいはインク
リメンタ10の出力のうち、真の解を選択する。
The solution selecting circuit 12 selects a true solution from the output of the normalizing circuit 8 or the output of the incrementer 10.

以上説明したように、この発明の一実施例は構成され
ており、丸め処理と正規化処理は並行して実行される。
これは、“上位方向(左側)に2ビット以上シフトする
正規化処理と丸め処理が、共に必要である場合はない”
ことに基づいている。上記について以下に詳しく説明す
る。
As described above, one embodiment of the present invention is configured, and the rounding processing and the normalization processing are executed in parallel.
This means that "the normalization process and the rounding process for shifting by 2 bits or more in the upper direction (left side) need not be both necessary."
It is based on that. The above is described in detail below.

まず、仮数部の真の加算を行った場合であるが、この
場合には、正規化が必要となる場合もシフト量は高々1
ビット右シフトである。すなわち、2ビット以上の正規
化シフトは必要ない。ただし、丸め処理は必要な場合が
ある。
First, a case where true addition of the mantissa is performed. In this case, even when normalization is required, the shift amount is 1 at most.
Bit shift right. That is, a normalized shift of 2 bits or more is not required. However, rounding may be required.

次に、仮数部の真の減算を行なう場合であるが、この
場合には、被減数と減数の指数の差が“1"で、かつ下位
からのボローが最上位有意桁(55ビットット目)まで伝
播する場合に限ってのみ、2ビット以上シフトを要する
正規化が必要となる。それ以外の場合は、正規化が必要
ないか、或は正規化が必要となる場合でもシフト量は高
々1ビット左シフトである。従って、左2ビット以上正
規化シフトされた場合には、Gビット,Rビット,Sビット
は、全て“0"となるため、実質的に丸め処理が行なわれ
ることはない。以上のことから、2ビット以上のシフト
を要する正規化処理と丸め処理は、独立に行なうことが
できる。
Next, the true subtraction of the mantissa is performed. In this case, the difference between the exponent of the minuend and the exponent is “1”, and the borrow from the lower end reaches the most significant digit (the 55th bit). Only in the case of propagation, normalization requiring a shift of 2 bits or more is required. In other cases, normalization is not required, or even when normalization is required, the shift amount is at most one bit left shift. Therefore, when the data is normalized-shifted by two or more bits to the left, the G bit, the R bit, and the S bit all become "0", so that the rounding process is not substantially performed. From the above, the normalization process and the rounding process that require a shift of 2 bits or more can be performed independently.

次に、この実施例の作用を説明する。 Next, the operation of this embodiment will be described.

まず、はじめに真の加算処理について説明する。 First, the true addition processing will be described.

第1オペランドの指数部E1と第2オペランドの指数部
E2が指数部比較回路1に与えられると、両指数部の大き
さが比較されるとともに、その大きさの差が差信号とし
て算出される。比較結果は、指数比較信号として仮数部
交換回路2に与えられる。
Exponent part E1 of first operand and exponent part of second operand
When E2 is supplied to the exponent part comparison circuit 1, the magnitudes of both exponent parts are compared, and the difference between the magnitudes is calculated as a difference signal. The comparison result is supplied to the mantissa switching circuit 2 as an exponent comparison signal.

指数比較信号が仮数部交換回路2に与えられると、第
1および第2オペランドの各々の仮数部の内、指数比較
信号により指数部の大きい仮数部が反転回路5aに与えら
れ、指数部の小さい仮数部が桁合わせ回路3に与えられ
る。ただし、指数部の大きさが同じである場合には、各
々の仮数部はこの回路を単に通過する。すなわち仮数部
F1は反転回路5aに与えられ、仮数部F2は反転回路5bに与
えられる。桁合わせ回路3に与えられた仮数部は、指数
部比較回路1から与えられる差信号に従って、両仮数部
の指数部を大きい方の仮数部に統一すべく桁合わせが行
なわれる。
When the exponent comparison signal is provided to the mantissa exchange circuit 2, the mantissa having a large exponent is provided to the inversion circuit 5a by the exponent comparison signal, and the mantissa having a small exponent among the mantissas of each of the first and second operands. The mantissa is provided to the digit matching circuit 3. However, if the exponents are the same size, each mantissa simply passes through this circuit. Ie mantissa
F1 is provided to the inverting circuit 5a, and the mantissa F2 is provided to the inverting circuit 5b. The mantissa provided to the digit matching circuit 3 is subjected to digit matching according to the difference signal provided from the exponent comparison circuit 1 so as to unify the exponents of both mantissas into the larger mantissa.

桁合わせされた仮数部は反転回路5bに与えられる。真
の加算を行なう場合には、反転回路5a,5bに与えられた
仮数部は反転されず加算器6に与えられる。加算器6に
与えられた両仮数部は加算され、その演算結果はプライ
オリティ・エンコーダ7、正規化回路8、双方向1ビッ
トシフタ9及び丸め判定回路11に入力される。
The digit-matched mantissa is applied to an inversion circuit 5b. In the case of performing true addition, the mantissas given to the inverting circuits 5a and 5b are given to the adder 6 without being inverted. The two mantissa parts provided to the adder 6 are added, and the operation result is input to a priority encoder 7, a normalization circuit 8, a bidirectional 1-bit shifter 9, and a rounding judgment circuit 11.

プライオリティ・エンコーダ7に演算結果が与えられ
ると、先行“1"が検出され、正規化に必要なシフト数が
シフトステップ信号として算出される。
When the calculation result is given to the priority encoder 7, the leading "1" is detected, and the number of shifts required for normalization is calculated as a shift step signal.

正規化回路8では、シフトステップ信号にしたがっ
て、演算結果が正規化され、正規化結果が出力される。
ただし、真の加算を行なった場合には、演算結果が1よ
り小さくなることはないので、この回路が動作すること
はない。
The normalization circuit 8 normalizes the operation result according to the shift step signal and outputs the normalized result.
However, when true addition is performed, the operation result does not become smaller than 1, so that this circuit does not operate.

一方、双方向1ビットシフタ9に与えられた演算結果
は、桁あふれビットV、隠れビットNの値により右1ビ
ットシフト或はシフトされない。すなわち、Vビットが
“1"である場合には右側に1ビットシフトされ、Vビッ
トが“0",Nビットが“1"の場合にはシフトされず、イン
クリメンタ10に与えられる。また、丸め判定回路11に演
算結果が与えられると、演算信号と丸めモード信号によ
って第5図に示すような論理に基づいてインクリメント
を行なうか否かが判定され、丸め判定信号をインクリメ
ンタ10に与える。
On the other hand, the operation result given to the bidirectional 1-bit shifter 9 is not shifted or shifted to the right by one bit depending on the values of the overflow bit V and the hidden bit N. That is, when the V bit is “1”, it is shifted to the right by one bit, and when the V bit is “0” and the N bit is “1”, it is not shifted and is supplied to the incrementer 10. Further, when the calculation result is given to the rounding determination circuit 11, it is determined whether or not to perform the increment based on the logic as shown in FIG. 5 by the calculation signal and the rounding mode signal, and the rounding determination signal is sent to the incrementer 10. give.

インクリメンタ10は、丸め判定信号によりシフトされ
た仮数部に丸め処理を行い、丸め結果を出力する。
The incrementer 10 performs a rounding process on the mantissa part shifted by the rounding determination signal, and outputs a rounding result.

解選択回路12は、正規化結果と丸め結果の中から、真
の解を選択する。真の加算を行なった場合には、演算結
果は必ず1以上であり、2ビット以上の正規化シフトは
行なわれないので、真の解として丸め結果が選択され
る。
The solution selection circuit 12 selects a true solution from the normalized result and the rounded result. When a true addition is performed, the result of the operation is always 1 or more, and a normalization shift of 2 bits or more is not performed. Therefore, a rounded result is selected as a true solution.

次に真の減算処理について説明する。 Next, the true subtraction processing will be described.

第1オペランドの指数部E1と第2オペランドE2が指数
部比較回路1に与えられると、真の加算の場合と同様に
両指数部の大きさが比較されるとともに、その大きさの
差が差信号として算出される。比較結果は、指数比較信
号として仮数部交換回路2に与えられる。
When the exponent part E1 of the first operand and the second operand E2 are given to the exponent part comparing circuit 1, the magnitudes of both exponent parts are compared as in the case of true addition, and the difference between the magnitudes is different. It is calculated as a signal. The comparison result is supplied to the mantissa switching circuit 2 as an exponent comparison signal.

指数比較信号が仮数部交換回路2に与えられると、第
1及び第2のオペランドの各々の仮数部の内、指数比較
信号により指数部の大きい仮数部が反転回路5aに与えら
れ、指数部の小さい仮数部が桁合わせ回路3に与えられ
る。ただし、指数部の大きさが同じである場合には、各
々の仮数部はこの回路を単に通過する。
When the exponent comparison signal is provided to the mantissa exchange circuit 2, the mantissa having a larger exponent is provided to the inverting circuit 5a by the exponent comparison signal, of the mantissa of each of the first and second operands. The small mantissa is provided to the digit matching circuit 3. However, if the exponents are the same size, each mantissa simply passes through this circuit.

桁合わせ回路3に与えられた仮数部は、指数部比較回
路1から与えられる差信号に従って両仮数部の指数部を
大きい方の仮数部に統一すべく桁合わせが行なわれる。
桁合わせされた仮数部は、反転回路5bに与えられたる。
The mantissa supplied to the digit matching circuit 3 is subjected to digit matching in accordance with the difference signal provided from the exponent comparison circuit 1 so as to unify the exponents of both mantissas into the larger mantissa.
The digit-matched mantissa is applied to the inverting circuit 5b.

一方、第1オペランドの指数部、仮数部と第2オペラ
ンドの指数部、仮数部が比較回路4に与えられると、両
オペランドの大小比較が行なわれ、その結果がオペラン
ド比較回路4a,4bとして反転回路5a,5bに与えられる。
On the other hand, when the exponent part of the first operand, the mantissa part and the exponent part of the second operand and the mantissa part are given to the comparison circuit 4, both operands are compared in magnitude, and the result is inverted as operand comparison circuits 4a and 4b. It is provided to circuits 5a and 5b.

反転回路5a,5bに与えられた仮数部は、第3図に示す
ように演算信号、指数部比較信号、オペランド比較信号
4a,4bにしたがって、絶対値が小さい方の仮数部のみが
ビット反転される。
The mantissas given to the inverting circuits 5a and 5b include an operation signal, an exponent comparison signal, and an operand comparison signal as shown in FIG.
According to 4a and 4b, only the mantissa having the smaller absolute value is bit-inverted.

それぞれの反転回路5a,5bから加算器6に与えられた
仮数部は加算される。この時、加算器6にはキャリー入
力に“1"が与えられる。以上の操作により、絶対値の大
きい仮数部から絶対値の小さい仮数部を引くことにな
り、差を絶対値で求めることができる。演算結果はプラ
イオリティ・エンコーダ7、正規化回路8、双方向1ビ
ットシフタ9、丸め判定回路11に入力される。
The mantissa parts given to the adder 6 from the respective inversion circuits 5a and 5b are added. At this time, "1" is given to the carry input to the adder 6. By the above operation, the mantissa part having a small absolute value is subtracted from the mantissa part having a large absolute value, and the difference can be obtained by the absolute value. The operation result is input to a priority encoder 7, a normalization circuit 8, a bidirectional 1-bit shifter 9, and a rounding judgment circuit 11.

プライオリティ・エンコーダ7に演算結果が与えられ
ると、先行“1"が検出され、正規化に必要なシフト数が
シフトステップ信号として算出される。正規化回路8で
は、シフトステップ信号にしたがって、演算結果が正規
化され、正規化結果が出力される。
When the calculation result is given to the priority encoder 7, the leading "1" is detected, and the number of shifts required for normalization is calculated as a shift step signal. The normalization circuit 8 normalizes the operation result according to the shift step signal and outputs the normalized result.

一方、双方向1ビットシフタ9に与えられた演算結果
は、桁あふれビットV、隠れビットN、仮数部における
小数部のMSBの値により、左1ビットシフト、或はシフ
トされない。すなわち、Vビットが“0",隠れビットN
が“0",仮数部の小数部のMSBが“1"の場合には左側に1
ビットシフトされ、Vビットが“0",Nビットが“1"の場
合にはシフトされず、インクリメンタ10に与えられる。
On the other hand, the operation result given to the bidirectional 1-bit shifter 9 is shifted left by 1 bit or not shifted by the value of the overflow bit V, the hidden bit N, and the MSB of the fraction part in the mantissa. That is, the V bit is “0” and the hidden bit N
Is "0" and the MSB of the fraction part of the mantissa is "1".
If the V bit is “0” and the N bit is “1”, the bit is not shifted and is supplied to the incrementer 10.

また、丸め判定回路11に演算結果が与えられると、丸
めモード信号にしたがってインクリメントを行なうか否
かが判定され、丸め判定信号がインクリメント10に与え
られる。インクリメンタ10は、丸め判定信号によりシフ
トされた仮数部に丸め処理を行なった丸め結果を出力す
る。
Further, when the calculation result is provided to the rounding determination circuit 11, it is determined whether or not to perform the increment according to the rounding mode signal, and the rounding determination signal is provided to the increment 10. The incrementer 10 outputs a rounded result obtained by performing a rounding process on the mantissa part shifted by the rounding determination signal.

解選択回路12は、正規化結果あるいは丸め結果の中か
ら、真の解を選択する。すなわち、Vビットが“0",隠
れビットNが“0",仮数部の小数部のMSBが“0"の場合に
は真の解として正規化結果が選択され、それ以外の場合
には真の解として丸め結果が選択される。
The solution selecting circuit 12 selects a true solution from the normalized result or the rounded result. That is, when the V bit is “0”, the hidden bit N is “0”, and the MSB of the fraction part of the mantissa is “0”, the normalization result is selected as a true solution. Is selected as the solution of.

本実施例では、指数部比較回路1、仮数部交換回路
2、比較回路4、反転回路5a,5bを用いて、必ず仮数部
の大きい方から小さい方を引くことにより高速に仮数部
の差の絶対値を求めている。しかしながら、2数の差を
絶対値で求める手段は、本実施例で示した手段の他にも
実現可能であり、他の方法で実現しても本発明の一般性
が失われることはない。
In the present embodiment, the exponent comparison circuit 1, the mantissa exchange circuit 2, the comparison circuit 4, and the inverting circuits 5a and 5b always use the smaller mantissa from the larger mantissa to quickly determine the difference between the mantissas. Finding the absolute value. However, the means for obtaining the difference between the two numbers by the absolute value can be realized in addition to the means shown in the present embodiment, and the generality of the present invention is not lost even if realized by other methods.

以上述べてきたように、本実施例では、非常に多くの
処理時間を要する丸め処理と正規化処理を並行して実行
するので、従来の演算装置に比べて高速を加減算処理を
行うことができる。特に、科学技術計算の分野では演算
精度を高めるために仮数部のビット数は多ビット化の傾
向にあり、演算の高速化に対する本発明の効果は大き
い。
As described above, in the present embodiment, since the rounding process and the normalizing process, which require an extremely long processing time, are performed in parallel, the addition / subtraction process can be performed at a higher speed than the conventional arithmetic device. . In particular, in the field of scientific and technological calculations, the number of bits in the mantissa tends to increase in order to increase the calculation accuracy, and the effect of the present invention on speeding up the calculation is great.

[発明の効果] 以上述べたように、本発明によれば、非常に多くの処
理時間を要する丸め処理と正規化処理を並行して実行す
るようにしたので、従来の演算装置に比べて加減算処理
の高速化を達成し得る浮動小数点数演算装置を提供する
ことができる。
[Effects of the Invention] As described above, according to the present invention, since the rounding process and the normalizing process, which require an extremely long processing time, are executed in parallel, addition and subtraction are performed as compared with the conventional arithmetic unit. A floating-point arithmetic device capable of achieving high-speed processing can be provided.

【図面の簡単な説明】[Brief description of the drawings]

第1図はこの発明の一実施例に係わる浮動小数点数演算
装置の構成を示すブロック図、 第2図は第1図に示す装置で演算される仮数部のフォー
マット図、 第3図乃至第5図は第1図に示す装置における動作説明
図、 第6図及び第7図は従来の浮動小数点数演算装置の構成
を示すブロック図である。 1……指数部比較回路 2……仮数部交換回路 3……桁合わせ回路 4……オペランド比較回路 5……仮数部反転回路 6……加算器 7……プライオリティ・エンコーダ 8……正規化回路 9……双方向1ビットシフタ 10……インクリメンタ 11……丸め判定回路 12……解選択回路
FIG. 1 is a block diagram showing a configuration of a floating-point arithmetic device according to an embodiment of the present invention. FIG. 2 is a format diagram of a mantissa part operated by the device shown in FIG. 1, and FIGS. FIG. 1 is a diagram for explaining the operation of the apparatus shown in FIG. 1, and FIGS. 6 and 7 are block diagrams showing the configuration of a conventional floating point arithmetic unit. 1 exponent comparison circuit 2 mantissa exchange circuit 3 digit alignment circuit 4 operand comparison circuit 5 mantissa inversion circuit 6 adder 7 priority encoder 8 normalization circuit 9 Bidirectional 1-bit shifter 10 Incrementer 11 Rounding decision circuit 12 Solution selection circuit

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 7/00 G06F 7/38 G06F 7/50 Continuation of the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 7/00 G06F 7/38 G06F 7/50

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】両被演算値における指数部の大小を比較す
る第1の比較手段と、 両被演算値における絶対値の大小を比較する第2の比較
手段と、 前記第1の比較手段の比較結果に基づいて、両被演算値
における指数部の値を統一すべく両被演算値における指
数部が小さい仮数部を指数部が大きい仮数部に桁合わせ
し、この桁合わせを前記第2の比較手段の比較動作と並
行して行う桁合わせ手段と、 前記第1及び第2の比較手段の比較結果に基づいて、指
数部の値の一致した両被演算値における仮数部の内、絶
対値が小さい仮数部のみの値をビット反転する反転手段
と、 指数部の値の一致した両被演算値における仮数部の内、
絶対値が大きい仮数部と、前記反転手段によりビット反
転された絶対値が小さい仮数部とを受けて、両仮数部を
加算又は減算し、減算の場合には大きい仮数部から小さ
い仮数部を減じ、正の数の演算結果を得る演算手段と を有することを特徴とする浮動小数点演算装置。
A first comparing means for comparing the magnitudes of exponent parts in both operand values; a second comparing means for comparing magnitudes of absolute values in both operand values; On the basis of the comparison result, in order to unify the values of the exponent parts in both operand values, the mantissa part having a small exponent part in both operand values is digit-aligned with the mantissa part having a large exponent part. Digit alignment means for performing the comparison operation in parallel with the comparison means; and, based on the comparison result of the first and second comparison means, the absolute value of the mantissa parts of the two operands whose exponent values match. Means for inverting the value of only the mantissa with a small bit, and of the mantissas in both operands whose exponent values match,
In response to the mantissa part having a large absolute value and the mantissa part having a small absolute value bit-inverted by the inversion means, both mantissa parts are added or subtracted. In the case of subtraction, the small mantissa part is subtracted from the large mantissa part. And a calculation means for obtaining a calculation result of a positive number.
【請求項2】前記演算手段における演算結果の第1の正
規化処理を行い、第1の解を得る正規化手段と、 前記演算手段における演算結果の第2の正規化処理と丸
め処理を前記正規化手段と並行して行い、第2の解を得
る正規化丸め処理手段と、 前記正規化手段によって得られる第1の解又は前記正規
化丸め処理手段によって得られる第2の解のいずれか一
方の解を選択して真の解を得る解選択手段とを有するこ
とを特徴とする請求項1記載の浮動小数点演算装置。
2. A normalizing means for performing a first normalization process on an operation result in said operation means to obtain a first solution, and a second normalization process and a rounding process on the operation result in said operation means. A normalizing and rounding processing means for obtaining a second solution in parallel with the normalizing means; and either a first solution obtained by the normalizing means or a second solution obtained by the normalizing and rounding processing means 2. The floating point arithmetic unit according to claim 1, further comprising: a solution selecting means for selecting one of the solutions to obtain a true solution.
【請求項3】前記解選択手段は、前記演算手段で得られ
た演算結果に対して2ビット以上のシフトが必要な場合
は第1の解を選択し、一方それ以外の場合には第2の解
を選択する ことを特徴とする請求項2記載の浮動小数点演算装置。
3. The solution selecting means selects a first solution when a shift of 2 bits or more is required for the operation result obtained by the operation means, and selects a second solution otherwise. 3. The floating-point arithmetic device according to claim 2, wherein the solution is selected.
JP02258848A 1990-09-29 1990-09-29 Floating point arithmetic unit Expired - Fee Related JP3124286B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02258848A JP3124286B2 (en) 1990-09-29 1990-09-29 Floating point arithmetic unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02258848A JP3124286B2 (en) 1990-09-29 1990-09-29 Floating point arithmetic unit

Publications (2)

Publication Number Publication Date
JPH04138521A JPH04138521A (en) 1992-05-13
JP3124286B2 true JP3124286B2 (en) 2001-01-15

Family

ID=17325876

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02258848A Expired - Fee Related JP3124286B2 (en) 1990-09-29 1990-09-29 Floating point arithmetic unit

Country Status (1)

Country Link
JP (1) JP3124286B2 (en)

Also Published As

Publication number Publication date
JPH04138521A (en) 1992-05-13

Similar Documents

Publication Publication Date Title
US5027308A (en) Circuit for adding/subtracting two floating point operands
JP3076046B2 (en) Exception detection circuit
US5010508A (en) Prenormalization for a floating-point adder
US8185570B2 (en) Three-term input floating-point adder-subtractor
JPH02196328A (en) Floating point computing apparatus
JP3178746B2 (en) Format converter for floating point numbers
JP3313560B2 (en) Floating point processor
US5943249A (en) Method and apparatus to perform pipelined denormalization of floating-point results
US5260889A (en) Computation of sticky-bit in parallel with partial products in a floating point multiplier unit
US11366638B1 (en) Floating point multiply-add, accumulate unit with combined alignment circuits
KR920003493B1 (en) Operation circuit based on floating-point representation
JP2558669B2 (en) Floating point arithmetic unit
JP3124286B2 (en) Floating point arithmetic unit
JP2856792B2 (en) Floating point arithmetic unit
JP2902041B2 (en) Floating point arithmetic unit
JP2555135B2 (en) Arithmetic circuit
US11983509B2 (en) Floating-point accumulator
JP4428778B2 (en) Arithmetic device, arithmetic method, and computing device
JPH01282633A (en) Non-normalized number processing system
JP3137131B2 (en) Floating point multiplier and multiplication method
JPH0361224B2 (en)
JPH0552532B2 (en)
JPS5960637A (en) Arithmetic device for floating decimal point
JPH0383126A (en) Floating-point multiplier
JPH0498524A (en) Floating point arithmetic unit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees