JPH031228A - Floating point multiplier - Google Patents

Floating point multiplier

Info

Publication number
JPH031228A
JPH031228A JP1136382A JP13638289A JPH031228A JP H031228 A JPH031228 A JP H031228A JP 1136382 A JP1136382 A JP 1136382A JP 13638289 A JP13638289 A JP 13638289A JP H031228 A JPH031228 A JP H031228A
Authority
JP
Japan
Prior art keywords
mantissa
exponent
signal
rounding
multiplication
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.)
Pending
Application number
JP1136382A
Other languages
Japanese (ja)
Inventor
Masanobu Fukushima
正展 福島
Takashi Yasui
隆 安井
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP1136382A priority Critical patent/JPH031228A/en
Publication of JPH031228A publication Critical patent/JPH031228A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

この発明は、浮動小数点形式のデータに対する乗算回路
であり、特にIEEE(ザ インスティテユート オブ
 エレクトロニクス エンジニア)規格による浮動小数
点乗算回路に関する。
The present invention relates to a multiplication circuit for data in floating point format, and particularly to a floating point multiplication circuit according to the IEEE (Institute of Electronics Engineers) standard.

【従来の技術】[Conventional technology]

第3図は、IEEE規格による従来の浮動小数点乗算装
置の構成例を示しており、指数部及び仮数部の計算フロ
ーを第4図(A)、第4図(B)に示している。 指数部加算器lにて被演算数の指数部のオペランドXe
、Yeの加算が行なわれ(ステップSt)、又、仮数部
乗算器4では、前記被演算数の仮数部のオペランドXs
とYsとの乗算が行なわれ(ステップ#l)、この仮数
部乗算器4における仮数部の乗算結果がオーバーフロー
したときは(ステップ#2)、指数部に対し+1加算す
るためのインクリメント信号が送出される(ステップS
3)。次に指数部の加算結果をバイアス付き表記とする
ために、バイアス減算器2にて指数部からバイアス値A
が減算される(ステップS4)。 又、前記インクリメント信号がセレクタ5に入力される
ことにより、仮数部乗算器4よりの仮数部の乗算結果が
1ビツト右にソフトされる(ステップ#3)。又、面記
仮数部乗算結果に対して丸め回路6により丸め処理が行
なわれ、その結果、この丸め回路6より+1の丸め信号
が出力されると(ステップ#4)、仮数部のインクリメ
ンタ−7において、セレクタ5よりの仮数部の乗算結果
に+1加算され(ステップ#5)、このインクリメンタ
−7から仮数部の計算結果Osが出力される。又、イン
クリメンタ−7での+1の演算の結果、桁上がりが生じ
、インクリメンタ−7から指数部に対してインクリメン
ト信号が出力されると(ステップS5)、指数部のイン
クリメンタ−3において、バイアス減算器2よりの指数
部の加算結果に対し+!加算されて(ステップS6)、
指数部の計算結果Oeが出力される。
FIG. 3 shows an example of the configuration of a conventional floating point multiplication device according to the IEEE standard, and FIGS. 4(A) and 4(B) show calculation flows for the exponent and mantissa parts. Operand Xe of the exponent part of the operand in the exponent part adder l
, Ye is performed (step St), and the mantissa multiplier 4 adds the operand Xs of the mantissa of the operand.
is multiplied by Ys (step #l), and when the multiplication result of the mantissa in this mantissa multiplier 4 overflows (step #2), an increment signal is sent to add +1 to the exponent. (Step S
3). Next, in order to express the addition result of the exponent part with bias, the bias subtracter 2 converts the exponent part into a bias value A.
is subtracted (step S4). Further, by inputting the increment signal to the selector 5, the multiplication result of the mantissa part from the mantissa multiplier 4 is softened to the right by one bit (step #3). Further, the rounding circuit 6 performs rounding processing on the result of multiplication of the mantissa part, and as a result, when the rounding circuit 6 outputs a rounding signal of +1 (step #4), the incrementer of the mantissa part 7, +1 is added to the multiplication result of the mantissa part from the selector 5 (step #5), and the calculation result Os of the mantissa part is output from the incrementer 7. Further, as a result of the +1 operation in the incrementer 7, a carry occurs, and when the incrementer 7 outputs an increment signal to the exponent part (step S5), in the incrementer 3 of the exponent part, +! for the addition result of the exponent part from bias subtractor 2! are added (step S6),
The calculation result Oe of the exponent part is output.

【発明が解決しようとする課題】[Problem to be solved by the invention]

IEEE規格の浮動小数点乗算においては、上述したご
とく、指数部は、Xe−ASYe−Aのごとくバイアス
付きで表記される。Aがバイアス値て、A=2   1
(nはデータヒツト数)と定義される。この場合、指数
部の加算結果は、(Xe−A)+(Ye−A)=(Xe
+Ye−A)−Aとなり、指数部の加算結果を(Xe+
Ye−A)のようにバイアス付き表記とするノこめには
、Δを減算する必要があり、そのためにバイアス減算器
2を設けている。 又、このような計算に加えて、仮数部の乗算でのオーバ
ーフロー信号に伴う指数部へのインクリメント動作と、
丸め処理に伴う指数部へのインクリメント動作との2つ
のケースのインクリメント動作を必要とし、それぞれの
インクリメント動作を、指数部加算器l及びインクリメ
ンタ−3にて行っている。 従って計算時間の最も遅い場合を想定すると、丸め回路
6よりの丸め信号が仮数部のインクリメンタ−7に入り
、このインクリメンタ−7での加算の結果、桁上がりが
生じ、インクリメンタ−7よりインクリメント信号が出
力されると、インクリメンタ−3においてインクリメン
ト動作が行なわれて指数部の計算結果Oeが出力される
場合であり、この場合、丸め回路6よりの丸め信号出力
から指数部のインクリメンタ−3から出力結果が得られ
るまでに、仮数部のインクリメンタ−7での遅延時間と
、指数部のインクリメンタ−3での遅延時間との遅れが
生じることになる。扱う数値が単精度の場合、仮数部の
インクリメンタ−7が24ビツト、指数部のインクリメ
ンタ−3が8ビツトで計32ビットの幅があり、又、倍
精度ではインクリメンタ−7が43ビツト、インクリメ
ンタ−3が11ビツトで計64ビット幅があるように、
各インクリメンタ−のビット幅が非常に大きいため、こ
れらのインクリメンタ−7,3で生じる遅延時間も大き
く、浮動小数点の乗算時間が長くなる欠点がある。又、
指数部の計算に関して、加算器1、バイアス減算器2及
びインクリメンタ−3を必要とするために回路規模が大
きくなるといった欠点があった。 この発明は、」二連の従来技術の欠点に鑑みてなされた
ものであり、乗算時間を短くし、かつ回路構成を簡単に
した浮動小数点乗算装置を提供することを目的とする。
In floating point multiplication according to the IEEE standard, as described above, the exponent part is expressed with a bias, such as Xe-ASYe-A. A is the bias value, A=2 1
(n is the number of data hits). In this case, the addition result of the exponent part is (Xe-A) + (Ye-A) = (Xe
+Ye-A)-A, and the addition result of the exponent part is (Xe+
It is necessary to subtract Δ for a biased notation such as Ye-A), and a bias subtractor 2 is provided for this purpose. In addition to such calculations, an increment operation to the exponent part accompanying an overflow signal during multiplication of the mantissa part,
Two cases of increment operations are required, including an increment operation for the exponent part associated with rounding processing, and each increment operation is performed by the exponent part adder l and the incrementer 3. Therefore, assuming the case where the calculation time is the slowest, the rounding signal from the rounding circuit 6 enters the mantissa incrementer 7, and as a result of addition in this incrementer 7, a carry occurs, and the incrementer 7 When the increment signal is output, the increment operation is performed in the incrementer 3 and the exponent part calculation result Oe is output. In this case, the exponent part increment is output from the rounding signal output from the rounding circuit 6. Until an output result is obtained from -3, there will be a delay between the delay time in incrementer 7 for the mantissa part and the delay time in incrementer 3 for the exponent part. If the number to be handled is single precision, the incrementer 7 of the mantissa part is 24 bits, and the incrementer 3 of the exponent part is 8 bits, for a total of 32 bits, and for double precision, the incrementer 7 is 43 bits. , so that incrementer 3 is 11 bits and has a total width of 64 bits.
Since the bit width of each incrementer is very large, the delay time caused by these incrementers 7 and 3 is also large, which has the disadvantage that floating point multiplication time becomes long. or,
Regarding the calculation of the exponent part, there is a drawback that the circuit scale becomes large because an adder 1, a bias subtracter 2, and an incrementer 3 are required. The present invention has been made in view of the two drawbacks of the prior art, and it is an object of the present invention to provide a floating point multiplication device that shortens the multiplication time and has a simple circuit configuration.

【課題を解決するための手段】[Means to solve the problem]

この発明の浮動小数点乗算装置は、浮動小数点形式のデ
ータを乗算する浮動小数点乗算装置において、仮数部X
s、Ysの乗算を行う仮数部乗算器と、指数部Xe、Y
eの加算を行う指数部加算器と、面記指数部加算器によ
る加算器ツノからバイアス値Aを減算する減算器とを備
え、バスアス値Aが入力される面記減算器の減算人力部
のLSBに、仮数部乗算器でのオーバーフローに伴い出
力されるインクリメント信号と、仮数部乗算器の乗算出
力に対する丸め処理に伴い出力されるインクリメント信
号との論理和の反転信号を入力することによリ、指数部
におけるインクリメント処理を、(XeA)+(Ye−
A)−(Xe+Ye−A)−(A−1)なる形式にて行
うことを特徴とする。
A floating point multiplication device according to the present invention is a floating point multiplication device that multiplies floating point format data.
A mantissa multiplier that multiplies s and Ys, and an exponent part Xe and Y
The subtraction manual section of the notation subtractor is equipped with an exponent adder that adds e, and a subtracter that subtracts the bias value A from the adder horn of the notation exponent adder. By inputting to the LSB an inverted signal of the logical sum of the increment signal outputted due to an overflow in the mantissa multiplier and the increment signal outputted due to the rounding process for the multiplication output of the mantissa multiplier. , the increment process in the exponent part is performed as (XeA)+(Ye−
A)-(Xe+Ye-A)-(A-1).

【作用】[Effect]

上記構成によれば、仮数部の乗算でオーバーフローして
インクリメント信号が出力されたとき、あるいは、乗算
結果に対する丸め処理で+Iの丸め信号が出力され、仮
数部で桁上がりの結果、インクリメント信号が出力され
たとき、減算器の減算入力部のL S Bに所定の信号
を入力することにより、指数部に対するインクリメント
操作を行っている。
According to the above configuration, when an increment signal is output due to an overflow in the multiplication of the mantissa part, or a rounding signal of +I is output during rounding of the multiplication result, and as a result of a carry in the mantissa part, an increment signal is output. When the exponent part is incremented by inputting a predetermined signal to LSB of the subtraction input part of the subtracter, the exponent part is incremented.

【実施例】【Example】

第1図は、この発明の浮動小数点乗算装置の一実施例を
示す制御ブロック図であり、第3図の従来装置と同一の
部分には同一の符号を付している。 仮数部乗算器4よりのインクリメント信号は、セレクタ
5に人力されるとともに、ノア回路NORに入力され、
このノア回路NOHの出力信号は、反転器INVを介し
てバイアス減算器2の、バイアス値(A−1)が入力さ
れる減Jγ入力部の最下位のビット(LSB)に人力さ
れる。 そして、丸め回路6よりの丸め信号は、仮数部のインク
リメンタ−7に入力されるとと乙に、アンド回路AND
に入力され、又、セレクタ5よりのmビットの信号らア
ンド回路ANDに入力され、このアンド回路ANDの出
力信号は、面記ノア回路N ORの他方の人力部に入力
される。 次に上記構成の乗算装置の動作を第2図(A)及び第2
図(B)の計算フローを参照して説明する。 仮数部乗算器4での仮数部Xs、Ysの乗算により(ス
テップ#11)、その乗算結果がオーバーフローしてイ
ンクリメント信号が出力されたとき(ステップ#12)
、ノア回路NORは“じを出力し、反転器INVを介し
てバイアス減算器2の減算人力部のLSHに指数部に“
0”が人力される。従ってバイアス減算器2において、
(Xe+Ye−A)(A、−1)、つまり(Xe+Ye
−A)−Aト1の減算が行なわれる。一方、仮数部乗算
器4よりインクリメント信号が出力されていないときは
、バイアス減算器2の減算入力部ののLSBに”ビが人
力されるので、このバイアス減算器2において、(Xe
+Ye−A)−((A−1)+ 1)、つまり、従来例
で述へたと同じ(Xe+Ye−A)−Aの演算が行なわ
れる。よって、仮数部乗算器4よりインクリメント信号
が出力されたときは、指数部の加算出力に対して+1加
算される。このように仮数部乗算器4よりのインクリメ
ント信号によって指数部に対してインクリメントが行な
われる条件を以下、条件Iという。 又、このインクリメント信号がセレクタ5に入力される
ことにより、仮数部乗算器4よりの仮数部乗算結果が1
ビツト右にシフトされる(ステップ#13)。 次に、仮数部乗算器4よりの乗算出力は、丸め回路6に
て丸め処理が行なわれ、その結果、+1の丸め信号が出
力されたか否かが判定され(ステップ#14)、この丸
め信号が出力されたときは、インクリメンタ−7におい
て、セレクタ5よりの仮数部の乗算値に+1の加算が行
なわれ(ステップ#15)、このインクリメンタ−7か
ら仮数部の乗算結果Osが出力される。又、仮数部にお
いては、セレクタ5よりのmビットの仮数部の乗算値が
すべて“1″であるかが判定され(ステップ#16)、
面記乗算値の谷ビットがすべて“1”のときは、インク
リメンタ−7での+1の加算により、桁上がりが生じて
指数部に対4−るインクリメントが必要となり、このと
きはアンド回路ANDより“ビが出力されノア回路NO
Rに人力されることにより、前述と同様、バイアス減算
器2にて指数部に対してインクリメントが行なわれる。 以上のように丸め処理に伴い指数部に対しインクリメン
トされる条件を以下、条件2という。条件2の場合には
、アンド回路ANDよりの信号を指数部に対するインク
リメント信号として用いており、第3図の従来装置のよ
うに、二つのインクリメンタ7.3を通さなくてら済む
ので、計算時間を短縮できる。 一方、指数部加算器■にて指数部Xe、Yeの加算が行
なわれ(ステップSl1)、次にバイアス減算器2にて
、前記加算結果に対してはバイアスの減算が行なわれる
が、仮数部の演算で条件lあるいは条件2が成立したか
が判定される(ステップS 12)。条件lあるいは条
件2が成立したときは、上記のごとく、(Xe+Ye−
A) −A+1の減算が行なわれて指数部の加算結果に
対してインクリメント動作が行なわれる(ステップS 
l 3)。 方、条件lあるいは条件2のいずれら成立しなかったと
きは、(Xe+Ye−A)−Aの減算が行なわれ(ステ
ップ5I4)、指数部に対するインクリメント動作は生
じない。バイアス減算器2からは直接に指数部の加算結
果が出力される。 尚、第2図(B)の計算フローでは、条件I及び条件2
の方が成立したとき、指数部に対して2回のインクリメ
ント動作が生じる可能性があるが、実際には条件lと条
件2とか共に成立しないことを以下に述べる。 今、仮数部の被演算数Xs、Ysの乗算でオーバーフロ
ーが生じるよう、共にmビット幅をもつ最大値 X5=2 −1 Ys=2 −1 とすると、 X5xYs−(2”−IO2”−1) 2m   2m+1 =2−2    +1 −2”’(2m ’−1)+1 ここで、(2”’−1)の項は、“ビかm−1個並んだ
ものを示しており、2m+1の項は、前記の項をm+1
ビツトシフトさせるしのである。即ち、Xs、Ysを共
に最大値に選んでし、lの並びはせいぜいm−1個であ
り、丸め処理により、仮数部が+1加算されても、指数
部に伝わることはありえない。なぜなら、このとき仮数
部かmビット全て!でないと指数部に伝わらないためで
ある。よって、条件lと条件2とを論理和であるノア回
路NORで受けることができる。
FIG. 1 is a control block diagram showing an embodiment of a floating point multiplication device of the present invention, and the same parts as in the conventional device of FIG. 3 are given the same reference numerals. The increment signal from the mantissa multiplier 4 is inputted to the selector 5 and inputted to the NOR circuit NOR.
The output signal of this NOR circuit NOH is input via the inverter INV to the least significant bit (LSB) of the subtraction Jγ input section of the bias subtractor 2 to which the bias value (A-1) is input. When the rounding signal from the rounding circuit 6 is input to the incrementer 7 of the mantissa part, the rounding signal is input to the AND circuit AND.
The m-bit signal from the selector 5 is also input to the AND circuit AND, and the output signal of this AND circuit AND is input to the other human power section of the NOR circuit NOR. Next, the operation of the multiplication device with the above configuration is shown in FIGS. 2(A) and 2.
This will be explained with reference to the calculation flow in Figure (B). When the mantissa multiplier 4 multiplies the mantissa parts Xs and Ys (step #11), the multiplication result overflows and an increment signal is output (step #12)
, the NOR circuit NOR outputs "the same" and sends it to the exponent part through the inverter INV to the LSH of the subtraction section of the bias subtractor 2.
0" is input manually. Therefore, in the bias subtracter 2,
(Xe+Ye-A) (A, -1), that is, (Xe+Ye
-A) - A to 1 is subtracted. On the other hand, when the increment signal is not output from the mantissa multiplier 4, "B" is manually input to the LSB of the subtraction input section of the bias subtracter 2, so in this bias subtracter 2, (Xe
+Ye-A)-((A-1)+1), that is, the same calculation (Xe+Ye-A)-A as described in the conventional example is performed. Therefore, when the increment signal is output from the mantissa multiplier 4, +1 is added to the addition output of the exponent part. The condition under which the exponent part is incremented by the increment signal from the mantissa multiplier 4 in this manner is hereinafter referred to as condition I. Also, by inputting this increment signal to the selector 5, the mantissa multiplication result from the mantissa multiplier 4 becomes 1.
Bits are shifted to the right (step #13). Next, the multiplication output from the mantissa multiplier 4 is rounded in the rounding circuit 6, and it is determined whether or not a rounded signal of +1 is output as a result (step #14). When is output, the incrementer 7 adds +1 to the mantissa multiplication value from the selector 5 (step #15), and the incrementer 7 outputs the mantissa multiplication result Os. Ru. In addition, in the mantissa part, it is determined whether the multiplication values of the m-bit mantissa part from the selector 5 are all "1" (step #16),
When all the valley bits of the notation multiplication value are "1", the addition of +1 in incrementer 7 causes a carry, and the exponent part needs to be incremented by 4. In this case, the AND circuit AND Then “B” is output and the NOR circuit NO.
By manually inputting R, the bias subtracter 2 increments the exponent part as described above. The condition in which the exponent part is incremented due to rounding as described above is hereinafter referred to as condition 2. In the case of condition 2, the signal from the AND circuit AND is used as the increment signal for the exponent part, and unlike the conventional device shown in FIG. can be shortened. On the other hand, the exponent parts Xe and Ye are added in the exponent part adder 2 (step Sl1), and then in the bias subtracter 2, the bias is subtracted from the addition result, but the mantissa part It is determined by the calculation whether condition 1 or condition 2 is satisfied (step S12). When condition 1 or condition 2 is satisfied, (Xe+Ye−
A) -A+1 is subtracted and an increment operation is performed on the addition result of the exponent part (step S
l3). On the other hand, if either condition 1 or condition 2 is not satisfied, (Xe+Ye-A)-A is subtracted (step 5I4), and no increment operation is performed on the exponent part. The bias subtracter 2 directly outputs the addition result of the exponent part. In addition, in the calculation flow of FIG. 2(B), Condition I and Condition 2 are
If the above holds true, there is a possibility that the exponent part will be incremented twice, but it will be explained below that in reality, both conditions 1 and 2 do not hold. Now, if we set the maximum value X5 = 2 -1 Ys = 2 -1 so that the multiplication of the mantissa operands Xs and Ys will cause an overflow, both of which have a width of m bits, then X5xYs-(2''-IO2''-1 ) 2m 2m+1 = 2-2 +1 -2"'(2m'-1)+1 Here, the term (2"'-1) indicates "m-1 pieces lined up, and 2m+1 The term is the previous term m+1
It shifts bits. That is, if both Xs and Ys are selected to have the maximum value, there are at most m-1 sequences of l, and even if the mantissa is added by +1 due to rounding, it will never be transmitted to the exponent. Because at this time, all m bits of the mantissa! This is because otherwise it will not be transmitted to the exponent part. Therefore, condition 1 and condition 2 can be received by the NOR circuit NOR which is a logical sum.

【発明の効果】【Effect of the invention】

以上説明したように、この発明は、浮動小数点形式のデ
ータを乗算する浮動小数点乗算器において、指数部の加
算結果に対してバイアス値を減算する際に、バイアス減
算器の減算入力部のLSBに、仮数部乗算器よりオーバ
ーフローの信号が出力されたとき、及び、仮数部の丸め
処理に伴い指数部に対しインクリメント動作が必要とな
ったとき、バイアス減算器にて、(Xe+Ye−A)−
(A−1)の減算を行わせることにより、指数部に+1
のインクリメントを行うようにしたので、従来指数部に
必要だったインクリメント用のインクリメンタ−が不用
となり、回路を簡略化できる。又、仮数部での丸め処理
に伴う、指数部へのインクリメント操作の有無の判定を
、丸め回路よりの丸め信号と、仮数部の乗算結果におけ
る全ビットとの論理積を用いたので、従来装置のごとく
、丸め処理に伴う丸め信号を仮数部及び指数部のインク
リメンタ7及び3に通す必要がなくなり、計算を高速に
行うことができる。
As explained above, in a floating point multiplier that multiplies data in floating point format, when a bias value is subtracted from the addition result of the exponent part, the LSB of the subtraction input section of the bias subtracter is , when an overflow signal is output from the mantissa multiplier, and when an increment operation is required for the exponent part due to rounding of the mantissa part, the bias subtracter calculates (Xe+Ye-A)-
By subtracting (A-1), the exponent part is +1
Since the increment is performed in the exponent part, an incrementer for incrementing, which was conventionally required for the exponent part, is no longer necessary, and the circuit can be simplified. In addition, since the logical product of the rounding signal from the rounding circuit and all the bits in the multiplication result of the mantissa part is used to determine whether or not an increment operation is to be performed on the exponent part due to the rounding process in the mantissa part, the conventional device As shown in the figure, it is no longer necessary to pass the rounding signal accompanying the rounding process through the incrementers 7 and 3 of the mantissa and exponent parts, and calculations can be performed at high speed.

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

第1図はこの発明の浮動小数点乗算装置の一実施例を示
す制御ブロック図、第2図(A)及び第2図(B)は、
第1図の乗算装置における指数部長び仮数部における計
算を示すフローチャート、第3図は従来の浮動小数点乗
算装置の一制御ブロック図、第4図(A)及び第4図(
B)は、第3図の乗算装置における指数部及び仮数部に
おける計算を示すフローチャートである。 ■・・・指数部加算器、2・・バイアス減算器、4・・
・仮数部乗算器、瞳・・セレクタ、6・・・丸め回路、
7・・・インクリメンタ−Nl’t・・・ノア回路、[
NV・・・反転器、AND・・・アンド回路。
FIG. 1 is a control block diagram showing an embodiment of a floating point multiplication device of the present invention, and FIGS. 2(A) and 2(B) are:
FIG. 3 is a control block diagram of a conventional floating-point multiplication device; FIG. 4(A) and FIG.
B) is a flowchart showing calculations in the exponent part and mantissa part in the multiplication device of FIG. 3; ■...Exponent adder, 2...Bias subtracter, 4...
・Mantissa multiplier, pupil... selector, 6... rounding circuit,
7...Incrementer-Nl't...Nor circuit, [
NV...inverter, AND...AND circuit.

Claims (2)

【特許請求の範囲】[Claims] (1)浮動小数点形式のデータを乗算する浮動小数点乗
算装置において、仮数部Xs,Ysの乗算を行う仮数部
乗算器と、指数部Xe,Yeの加算を行う指数部加算器
と、前記指数部加算器による加算出力からバイアス値A
を減算する減算器とを備え、バスアス値Aが入力される
前記減算器の減算入力部のLSBに、仮数部乗算器での
オーバーフローに伴い出力されるインクリメント信号と
、仮数部乗算器の乗算出力に対する丸め処理に伴い出力
されるインクリメント信号との論理和の反転信号を入力
することにより、指数部におけるインクリメント処理を
、(Xe−A)+(Ye−A)=(Xe+Ye−A)−
(A−1)なる形式にて行うことを特徴とする浮動小数
点乗算装置。
(1) A floating-point multiplication device that multiplies floating-point format data, including a mantissa multiplier that multiplies mantissa parts Xs and Ys, an exponent adder that adds exponent parts Xe and Ye, and the exponent part Bias value A from the addition output from the adder
and an increment signal outputted due to an overflow in the mantissa multiplier to the LSB of the subtraction input section of the subtracter to which the bus value A is input, and a multiplication output of the mantissa multiplier. By inputting the inverted signal of the logical sum with the increment signal output during the rounding process, the increment process in the exponent part can be performed as (Xe-A)+(Ye-A)=(Xe+Ye-A)-
(A-1) A floating point multiplication device characterized by performing multiplication in the following format.
(2)上記丸め処理に伴う、指数部へのインクリメント
動作の有無の判定に際し、丸め回路からの丸め信号と、
仮数部の乗算結果の全ビットとの論理積の信号を用いる
請求項1記載の浮動小数点乗算装置。
(2) When determining whether or not an increment operation is to be performed on the exponent part due to the rounding process, the rounding signal from the rounding circuit,
2. The floating point multiplication device according to claim 1, which uses a signal of AND with all bits of the multiplication result of the mantissa part.
JP1136382A 1989-05-29 1989-05-29 Floating point multiplier Pending JPH031228A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1136382A JPH031228A (en) 1989-05-29 1989-05-29 Floating point multiplier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1136382A JPH031228A (en) 1989-05-29 1989-05-29 Floating point multiplier

Publications (1)

Publication Number Publication Date
JPH031228A true JPH031228A (en) 1991-01-07

Family

ID=15173848

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1136382A Pending JPH031228A (en) 1989-05-29 1989-05-29 Floating point multiplier

Country Status (1)

Country Link
JP (1) JPH031228A (en)

Similar Documents

Publication Publication Date Title
US6099158A (en) Apparatus and methods for execution of computer instructions
US4999803A (en) Floating point arithmetic system and method
US5862065A (en) Method and circuit for fast generation of zero flag condition code in a microprocessor-based computer
US5993051A (en) Combined leading one and leading zero anticipator
US5148386A (en) Adder-subtracter for signed absolute values
JP2002108606A (en) Sticky bit generation circuit and multiplier
KR19980041753A (en) An adder for processing a plurality of data having different data types
KR20060057574A (en) Arithmetic unit and method for addition or subtraction by preliminary saturation test
JP4571903B2 (en) Arithmetic processing apparatus, information processing apparatus, and arithmetic processing method
JPS60140422A (en) Arithmetic processing unit
JPWO2007096982A1 (en) Arithmetic processing apparatus and arithmetic processing method
US6061707A (en) Method and apparatus for generating an end-around carry in a floating-point pipeline within a computer system
JP3306497B2 (en) Rounding circuit in floating point multiplier
US7003540B2 (en) Floating point multiplier for delimited operands
US7444366B2 (en) Faster shift value calculation using modified carry-lookahead adder
KR0176883B1 (en) Complex multiplier
US5208769A (en) Unsigned integer multiply/divide circuit
JP3187402B2 (en) Floating point data addition / subtraction circuit
JPH113210A (en) Three-input comparator, saturation operation device using the same, and operation method thereof
JP2752698B2 (en) Floating point addition / subtraction circuit
JPS59140560A (en) floating point multiplier
JPH0427587B2 (en)
KR0175358B1 (en) Status Flag Detection Circuit of Computer for High Speed
JPH01232430A (en) Arithmetic circuit
EP0438962A2 (en) Method and apparatus for exponent adder