JPH0644048A - Floating point arithmetic unit and method - Google Patents

Floating point arithmetic unit and method

Info

Publication number
JPH0644048A
JPH0644048A JP4198739A JP19873992A JPH0644048A JP H0644048 A JPH0644048 A JP H0644048A JP 4198739 A JP4198739 A JP 4198739A JP 19873992 A JP19873992 A JP 19873992A JP H0644048 A JPH0644048 A JP H0644048A
Authority
JP
Japan
Prior art keywords
rounding
mantissa
digit
circuit
operands
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.)
Granted
Application number
JP4198739A
Other languages
Japanese (ja)
Other versions
JP3174974B2 (en
Inventor
Kotaro Shimamura
光太郎 島村
Hiromichi Yamada
弘道 山田
Takashi Hotta
多加志 堀田
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP19873992A priority Critical patent/JP3174974B2/en
Priority to US08/037,654 priority patent/US5408426A/en
Publication of JPH0644048A publication Critical patent/JPH0644048A/en
Priority to US08/371,998 priority patent/US5623435A/en
Application granted granted Critical
Publication of JP3174974B2 publication Critical patent/JP3174974B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To attain the high speed of the addition/subtraction of a floating point number by executing normalization processing and rounding processing in parallel. CONSTITUTION:A rounding correction determination circuit 8 provided with plural rounding correction judgement circuits 81 corresponding to each of plural rounding position candidates and a selection circuit 82 to select the output of the rounding correction judgement circuits 81 in conformity with the output of a rounding position determination circuit 6 is provided. In this configuration, the output of an adder/subtracter circuit 4 is used as the inputs of the rounding position determination circuit 6, the rounding correction determination circuit 8, and a rounding correction addition circuit 10. Thus, since the adder/subtracter circuit 4 and the rounding correction judgement circuit 81, and the rounding correction addition circuit 10 and a normalized shift number calculation circuit 12 come to be capable of executing the processing simultaneously, the processing time of a whole arithmetic unit is shortened, and the high speed of a arithmetic processing is attained.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、浮動小数点数の演算速
度の高速化を図った浮動小数点演算装置および方法に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a floating point arithmetic device and method for increasing the operation speed of floating point numbers.

【0002】[0002]

【従来の技術】浮動小数点数を計算機上で表現する方法
としては、例えば、図7に示すようなIEEE−754
で定められた標準形式を挙げることができる。この種の
形式で表現された2つの浮動小数点数を加減算する従来
の装置としては、特開平2−232723号公報に記載
されたものがある。
2. Description of the Related Art As a method of expressing a floating point number on a computer, for example, IEEE-754 as shown in FIG. 7 is used.
There are standard formats defined in. As a conventional device for adding and subtracting two floating point numbers expressed in this type of format, there is one described in Japanese Patent Laid-Open No. 2-232723.

【0003】上記公報の装置は図8のようの構成されて
いる。桁合わせ回路2は、加減算を行うべき2つの浮動
小数点数、すなわちオペランド1,2を入力し、双方の
指数部が等しくなるよう、一方のオペランドの仮数部を
下位側にシフトする。桁合わせ回路2から出力されたデ
ータは加減算回路24に入力される。加減算回路24
は、加算系命令か減算系命令かの区別と、オペランドの
符号、大小関係などに応じて、桁合わせ後の仮数部の加
算または減算を行う。加減算回路24の出力は正規化回
路26に入力される。
The device disclosed in the above publication is constructed as shown in FIG. The digit matching circuit 2 inputs two floating point numbers to be added and subtracted, that is, operands 1 and 2, and shifts the mantissa part of one operand to the lower side so that both exponent parts are equal. The data output from the digit alignment circuit 2 is input to the addition / subtraction circuit 24. Adder / subtractor circuit 24
Performs addition or subtraction of the mantissa part after digit alignment according to the distinction between the addition type instruction and the subtraction type instruction, the sign of the operand, the magnitude relation, and the like. The output of the adder / subtractor circuit 24 is input to the normalization circuit 26.

【0004】正規化回路26は、加減算後の仮数部の最
上位桁、すなわち上位ビットから見て最初に1が現れる
桁を探し、その桁のすぐ右側に小数点がくるように仮数
部をシフトすると同時に、シフト数に応じて指数部の補
正を行う。正規化回路26の出力は丸め回路28に入力
される。
The normalization circuit 26 searches for the most significant digit of the mantissa after addition and subtraction, that is, the digit in which 1 appears first from the upper bit, and shifts the mantissa so that the decimal point is immediately to the right of that digit. At the same time, the exponent part is corrected according to the number of shifts. The output of the normalization circuit 26 is input to the rounding circuit 28.

【0005】丸め回路28は、正規化後のデータの仮数
部のビット数が所定の形式で表現できる範囲を超えてい
た場合に、表現可能なビット数に短縮する。具体的に
は、下位側の表現しきれないビットに対して、それらの
ビットの値と予め定められた丸めモードに応じて切り上
げ(+1加算要)または切り捨て(+1加算不要)の処
理を行う。
The rounding circuit 28 shortens the number of bits of the mantissa part of the normalized data to the number of bits that can be expressed when the number of bits of the mantissa exceeds the range that can be expressed in a predetermined format. Specifically, rounding up (+1 addition is required) or rounding down (+1 addition is not required) is performed on the bits that cannot be expressed on the lower side according to the value of those bits and a predetermined rounding mode.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記従
来の技術では、正規化処理した後のデ−タを用いて丸め
処理を行っているため、全体の処理時間が長くなり、浮
動小数点数の加減算を高速に行う際の妨げとなってい
る。
However, in the above-mentioned conventional technique, since the rounding process is performed by using the data after the normalization process, the whole processing time becomes long, and the addition and subtraction of the floating point number is performed. Is a hindrance to doing at high speed.

【0007】本発明の目的は、正規化処理と丸め処理を
並列に行うことにより、浮動小数点数の加減算の高速化
を図った浮動小数点演算装置および方法を提供すること
である。
It is an object of the present invention to provide a floating point arithmetic unit and method for speeding up addition and subtraction of floating point numbers by performing normalization processing and rounding processing in parallel.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、2つの浮動小数点オペランドを取り込ん
で前記両オペランドの仮数部を桁合わせする桁合わせ手
段と、桁合わせ処理後の前記両オペランドの仮数部を加
算または減算する加減算手段と、加算または減算されて
新たに最上位桁となった桁が所定の位置にくるように仮
数部をシフトし、かつシフト数に応じて指数部を補正す
る正規化処理を行う正規化手段と、加算または減算後の
仮数部が所定の桁数より多かった場合に、予め指定され
た丸めモードに従って仮数部の桁数を縮める丸め処理を
行う丸め手段と、を備えた浮動小数点演算装置におい
て、前記加減算手段から正規化処理前の仮数部を取り込
んで、その仮数部を用いて前記丸め処理の一部を実行
し、その後に前記正規化処理と丸め処理を並行して行う
手段を設けたものである。
In order to achieve the above-mentioned object, the present invention adopts a digit aligning means for taking in two floating point operands and digit aligning the mantissa parts of both operands, and the digit aligning means after digit aligning processing. Addition / subtraction means for adding or subtracting the mantissa part of both operands, and shifting the mantissa part so that the newly added or subtracted most significant digit is at a predetermined position, and the exponent part according to the number of shifts. And a normalization means for performing a normalization process for correcting, and a rounding process for reducing the number of digits of the mantissa according to a predesignated rounding mode when the mantissa after addition or subtraction has more than a predetermined number of digits. In the floating-point arithmetic unit including means, a mantissa part before normalization processing is fetched from the addition / subtraction means, a part of the rounding processing is executed using the mantissa part, and then the normalization processing is performed. It is provided with a means for performing parallel processing and rounding processing.

【0009】さらに、本発明は、2つの浮動小数点オペ
ランドを取り込んで、両オペランドの指数部の差の絶対
値を求め、かつ指数部の小さいオペランドの仮数部を前
記求めた絶対値の分だけ下位側にシフトして、前記両オ
ペランドの仮数部を桁合わせする桁合わせ手段と、桁合
わせ処理後の前記両オペランドの仮数部を加算または減
算する加減算手段と、加算または減算されて新たに最上
位桁となった桁が所定の位置にくるように仮数部をシフ
トし、かつシフト数に応じて指数部を補正する正規化処
理を行う正規化手段と、加算または減算後の仮数部が所
定の桁数より多かった場合に、予め指定された丸めモー
ドに従って仮数部の桁数を縮める丸め処理を行う丸め手
段と、を備えた浮動小数点演算装置において、前記正規
化処理を行う際の仮数部のシフトが、下位側へ1ビッ
ト、上位側へ0ビット、または上位側へ1ビットである
場合の3通りを想定し、それぞれの場合に、前記丸め処
理において仮数部に+1を加算する補正が必要であるか
どうかを、前記正規化処理前の仮数部を用いて判定する
丸め補正判定手段と、前記正規化処理における仮数部の
シフトが、前記3通りのうちの1つであるかまたは前記
3通り以外であるかを、前記正規化処理前の仮数部を用
いて判定する丸め位置判定手段と、前記丸め位置判定手
段の判定結果に基づいて、前記丸め補正判定手段での3
通りのうちの1つを有効とするか、または3通りの全て
を無効とする選択手段と、を設けることによって、前記
正規化処理と丸め処理を並行に行うものである。
Further, according to the present invention, two floating-point operands are taken in, the absolute value of the difference between the exponent parts of both operands is calculated, and the mantissa part of the operand having a small exponent part is lower by the calculated absolute value. A digit aligning means for shifting the mantissa parts of both the operands to the side, an adder / subtractor means for adding or subtracting the mantissa parts of the both operands after the digit aligning process, and a new uppermost position added or subtracted. The normalizing means that shifts the mantissa part so that the digit becomes a predetermined position and corrects the exponent part according to the number of shifts, and the mantissa part after addition or subtraction are predetermined. When the number of digits is greater than the number of digits, a rounding unit that performs a rounding process that reduces the number of digits of the mantissa according to a predesignated rounding mode is used. Assuming that the shift of the number part is 1 bit to the lower side, 0 bit to the higher side, or 1 bit to the higher side, +1 is added to the mantissa part in the rounding process in each case. Whether rounding correction determining means for determining whether correction is necessary using the mantissa part before the normalization process and shift of the mantissa part in the normalization process are one of the three types Alternatively, based on the rounding position determining unit that determines whether there is any other than the above three types using the mantissa part before the normalization process, and the rounding correction determining unit based on the determination result of the rounding position determining unit,
The normalizing process and the rounding process are performed in parallel by providing a selecting means that makes one of the streets valid or makes all three streets invalid.

【0010】また、本発明は、上記の浮動小数点演算装
置のいずれかを半導体装置に組み込んだものである。
The present invention also incorporates any one of the above floating point arithmetic units into a semiconductor device.

【0011】また、本発明は、2つの浮動小数点オペラ
ンドを取り込んで前記両オペランドの仮数部を桁合わせ
する桁合わせ処理と、桁合わせ処理後の前記両オペラン
ドの仮数部を加算または減算する加減算処理と、加算ま
たは減算されて新たに最上位桁となった桁が所定の位置
にくるように仮数部をシフトし、かつシフト数に応じて
指数部を補正する正規化処理と、加算または減算後の仮
数部が所定の桁数より多かった場合に、予め指定された
丸めモードに従って仮数部の桁数を縮める丸め処理と、
を含む浮動小数点演算方法において、前記正規化処理前
の仮数部を取り込んで、その仮数部を用いて前記丸め処
理の一部を実行し、その後に前記正規化処理と丸め処理
を並行して行うことである。
Further, according to the present invention, digit alignment processing for taking in two floating-point operands and digit-matching the mantissa parts of both operands, and addition / subtraction processing for adding or subtracting the mantissa parts of both operands after digit alignment processing. And normalization processing that shifts the mantissa so that the new highest digit after addition or subtraction is at a predetermined position, and corrects the exponent according to the number of shifts, and after addition or subtraction If the mantissa part of is greater than the predetermined number of digits, rounding processing to reduce the number of digits of the mantissa part according to a predesignated rounding mode,
In the floating point arithmetic method including, the mantissa part before the normalization process is taken in, a part of the rounding process is executed using the mantissa part, and then the normalization process and the rounding process are performed in parallel. That is.

【0012】さらに、本発明は、2つの浮動小数点オペ
ランドを取り込んで、両オペランドの指数部の差の絶対
値を求め、かつ指数部の小さいオペランドの仮数部を前
記求めた絶対値の分だけ下位側にシフトして、前記両オ
ペランドの仮数部を桁合わせする桁合わせ処理と、桁合
わせ処理後の前記両オペランドの仮数部を加算または減
算する加減算処理と、加算または減算されて新たに最上
位桁となった桁が所定の位置にくるように仮数部をシフ
トし、かつシフト数に応じて指数部を補正する正規化処
理と、加算または減算後の仮数部が所定の桁数より多か
った場合に、予め指定された丸めモードに従って仮数部
の桁数を縮める丸め処理と、を含む浮動小数点演算方法
において、前記正規化処理を行う際の仮数部のシフト
が、下位側へ1ビット、上位側へ0ビット、または上位
側へ1ビットである場合の3通りを想定し、それぞれの
場合に、前記丸め処理において仮数部に+1を加算する
補正が必要であるかどうかを、前記正規化処理前の仮数
部を用いて判定する丸め補正判定処理と、前記正規化処
理における仮数部のシフトが、前記3通りのうちの1つ
であるかまたは前記3通り以外であるかを、前記正規化
処理前の仮数部を用いて判定する丸め位置判定処理と、
前記丸め位置判定処理の判定結果に基づいて、前記丸め
補正判定処理での3通りのうちの1つを有効とするか、
または3通りの全てを無効とする選択処理と、を実行す
ることによって、前記正規化処理と丸め処理を並行に行
うことである。
Further, according to the present invention, two floating-point operands are taken in, the absolute value of the difference between the exponent parts of both operands is calculated, and the mantissa part of the operand having a small exponent part is lower by the calculated absolute value. Shift to the side to perform digit alignment processing for aligning the mantissa parts of both operands, addition / subtraction processing for adding or subtracting the mantissa parts of both operands after digit alignment processing, and addition or subtraction to newly add the highest rank. The mantissa part is shifted so that the digit becomes a predetermined position, and the exponent part is corrected according to the number of shifts, and the mantissa part after addition or subtraction is larger than the predetermined digit number. In this case, in the floating-point arithmetic method that includes rounding processing that reduces the number of digits of the mantissa according to a predesignated rounding mode, the shift of the mantissa during the normalization processing is , 0 bits to the upper side, or 1 bit to the upper side are assumed, and in each case, it is determined whether or not the correction of adding +1 to the mantissa part in the rounding process is necessary. The rounding correction determination process for determining using the mantissa part before the normalization process and whether the shift of the mantissa part in the normalization process is one of the three types or other than the three types are described above. Rounding position determination processing for determining using the mantissa part before normalization processing,
Whether to enable one of the three types in the rounding correction determination process based on the determination result of the rounding position determination process,
Alternatively, the normalization process and the rounding process are performed in parallel by executing a selection process that invalidates all three types.

【0013】[0013]

【作用】本発明によれば、正規化処理を行う際の仮数部
のシフト数を3通り想定することにより、正規化処理を
行う前の仮数部を用いて丸め補正判定を行うことができ
るため、正規化処理と丸め処理を並列に行うことが可能
となる。また、丸め補正判定処理では、仮数部の下位数
ビットのみを用いるため、加減算処理のうちの上位ビッ
トの処理と丸め補正判定処理を並列に行うことができ
る。しかも、丸め補正判定処理の回路はもともと少ない
ゲ−ト数で構成できるため、前記回路を3つに増やすこ
とによるゲ−ト数の増加はごくわずかである。これによ
り、回路が複雑化することなく、全体の処理時間を短縮
することが可能となる。
According to the present invention, the rounding correction determination can be performed by using the mantissa before the normalization process by assuming three shift numbers of the mantissa during the normalization process. , It is possible to perform the normalization process and the rounding process in parallel. Further, in the rounding correction determination process, since only the lower-order few bits of the mantissa part are used, the process of the higher-order bits in the addition / subtraction process and the rounding correction determination process can be performed in parallel. In addition, since the rounding correction determination processing circuit can be originally configured with a small number of gates, the increase in the number of gates by increasing the number of circuits to three is negligible. This makes it possible to reduce the overall processing time without complicating the circuit.

【0014】[0014]

【実施例】以下に、本発明の一実施例を図面に従って説
明する。なお、以下の説明では、IEEE−754の倍
精度フォーマット浮動小数点数の演算装置を例として示
してあるが、本発明はそれに限定されるわけではなく、
その他のフォーマット(特に、比較的複雑な丸め処理を
必要とするもの)をサポートする演算装置、或いはそれ
らのフォーマットのうちの複数を同時にサポートする演
算装置に用いた場合にも有効である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. In the following description, an IEEE-754 double precision format floating point arithmetic unit is shown as an example, but the present invention is not limited thereto.
It is also effective when used in an arithmetic unit that supports other formats (in particular, those that require a relatively complicated rounding process), or an arithmetic unit that simultaneously supports a plurality of these formats.

【0015】図1は本発明の浮動小数点演算装置の概略
構成を示したブロック図である。図に示すように、本発
明の浮動小数点演算装置は、桁合わせ回路2、加減算回
路4、丸め位置決定回路6、丸め補正決定回路8、丸め
補正加算回路10、正規化シフト数計算回路12、正規
化シフト回路14、丸め補正シフト回路16、正規化シ
フトに伴う指数部補正回路18、および11ビットの2
→1選択回路20から構成されている。
FIG. 1 is a block diagram showing a schematic configuration of a floating point arithmetic unit according to the present invention. As shown in the figure, the floating point arithmetic unit of the present invention includes a digit alignment circuit 2, an addition / subtraction circuit 4, a rounding position determination circuit 6, a rounding correction determination circuit 8, a rounding correction addition circuit 10, a normalized shift number calculation circuit 12, Normalization shift circuit 14, rounding correction shift circuit 16, exponent correction circuit 18 associated with normalization shift, and 11-bit 2
→ It is composed of one selection circuit 20.

【0016】次に、上記構成の浮動小数点演算装置の動
作について説明する。図2および表1には桁合わせ回路
2の詳細が示されている。桁合わせ回路2は、演算を行
うべき2つの浮動小数点数、すなわちオペランド1(10
2)とオペランド2(104)を入力し、両者の指数部のうち
大きい方を出力する(106)と同時に、指数部の小さい方
のオペランドの仮数部を、指数部の差の絶対値だけ下位
側にシフトして仮数部bとして出力する(110)。その
際、小数点以下55ビット目には、シフトした際54ビ
ットより下位にシフトアウトされる全ビットのORをと
り、その値を出力する。一方、指数部の大きい方のオペ
ランドの仮数部については、そのまま仮数部aとして出
力する(108)。
Next, the operation of the floating point arithmetic unit having the above configuration will be described. 2 and Table 1 show details of the digit alignment circuit 2. The digit alignment circuit 2 uses two floating point numbers to be operated, that is, the operand 1 (10
2) and operand 2 (104) are input and the larger of the exponents of both is output (106), and at the same time, the mantissa of the operand with the smaller exponent is placed lower by the absolute value of the difference between the exponents. It is shifted to the side and output as the mantissa part b (110). At that time, the 55th bit after the decimal point is ORed of all the bits shifted out to the lower order than the 54th bit when shifted, and the value is output. On the other hand, the mantissa part of the operand with the larger exponent part is output as it is as the mantissa part a (108).

【0017】IEEE−754では、浮動小数点数の演
算を行う際には仮数部の桁数が無限であると仮定して演
算を行い、そのあとで丸めを行って結果を求める様に定
められているが、演算の種類が加減算である場合には、
本実施例のように少数点以下55ビット目までに限定し
て演算を行っても、丸めを行ったあとの結果としては、
仮数部の桁数が無限であると仮定した場合と同じものが
得られる。
In the IEEE-754, when a floating point number is calculated, it is assumed that the number of digits of the mantissa is infinite, and then the rounding is performed to obtain the result. However, if the type of operation is addition / subtraction,
Even if the operation is limited to the decimal point and up to the 55th bit as in this embodiment, the result after rounding is as follows.
The same result is obtained assuming that the number of digits of the mantissa is infinite.

【0018】[0018]

【表1】 [Table 1]

【0019】図3は加減算回路4の詳細ブロック図であ
る。加減算回路4は、桁合わせ回路2の出力である2つ
の仮数部を入力し、実行すべき命令の種類(加算系命令
か減算系命令か)と両オペランドの符号に応じて、両者
の間の加算または減算を行う。結果が負の数になるのを
防ぐために、減算の場合は絶対値の大きいオペランドか
ら小さいオペランドを減じるようにし、必要があれば結
果の符号を反転する。
FIG. 3 is a detailed block diagram of the adder / subtractor circuit 4. The adder / subtractor circuit 4 inputs the two mantissa parts which are the outputs of the digit alignment circuit 2 and, depending on the type of the instruction to be executed (additional instruction or subtraction instruction) and the sign of both operands, the two Add or subtract. In order to prevent the result from becoming a negative number, in the case of subtraction, the operand with the larger absolute value is subtracted from the operand with the smaller absolute value, and the sign of the result is inverted if necessary.

【0020】桁合わせ後の2つの仮数部は、まず最初に
反転・選択回路411,412に入力される。減算を行
う場合には、減数に当たる仮数部(絶対値が小さい方の
オペランドの仮数部)を反転し、加算時に最下位ビット
に対するキャリ入力を1として加算を行う。このような
方法をとることにより、2の補数をとる際の+1加算
と、2つのオペランドの間の演算とを一度の加算で行う
ことができる。一方、加算を行う場合には、反転・選択
回路411,412は2つの仮数部とも反転せずにその
まま出力する。
The two mantissa parts after digit alignment are first input to the inversion / selection circuits 411 and 412. When the subtraction is performed, the mantissa part (the mantissa part of the operand having a smaller absolute value) corresponding to the subtraction is inverted, and the carry input for the least significant bit is set to 1 at the time of addition, and the addition is performed. By adopting such a method, it is possible to perform the +1 addition when taking the 2's complement and the operation between the two operands in one addition. On the other hand, when performing addition, the inversion / selection circuits 411 and 412 do not invert the two mantissa parts and output them as they are.

【0021】反転・選択回路411,412の出力はそ
れぞれn+1個のブロックに分割される。キャリ入力加
算回路43は、このn+1個のブロックのうちの最下位
ブロックを入力し、減算を行うかどうかを示す信号を下
位からのキャリ入力とみなして加算を行い、演算結果及
び上位ブロックへのキャリを出力する。n個のキャリな
し加算回路421〜42nは、それぞれ残りのnブロッ
クのうちの1つを入力し、下位ブロックからのキャリが
なかったと仮定した加算を行って、演算結果および上位
ブロックへのキャリ(キャリ生成信号)を出力する。n
個のキャリあり加算回路441〜44nは、同様に上位
nブロックのうちの1つを入力し、下位ブロックからの
キャリがあったと仮定した加算を行って、演算結果およ
び上位ブロックへのキャリ(キャリ伝播信号)を出力す
る。
The outputs of the inversion / selection circuits 411 and 412 are each divided into n + 1 blocks. The carry input adder circuit 43 inputs the lowest block of the n + 1 blocks, regards the signal indicating whether or not to perform subtraction as the carry input from the lower order, performs the addition, and outputs the operation result and the upper block. Output a carry. Each of the n carry-free adder circuits 421 to 42n inputs one of the remaining n blocks, performs an addition assuming that there is no carry from the lower block, and carries out the operation result and the carry ( Carry generation signal) is output. n
Similarly, one of the carry addition circuits 441 to 44n inputs one of the upper n blocks, performs addition assuming that there is a carry from the lower block, and carries out the operation result and the carry (carry to the upper block. Propagation signal) is output.

【0022】キャリ伝播回路45は、最上位ブロックを
除いたn個のブロックからのキャリ生成信号およびキャ
リ伝播信号を入力し、上位nブロックへの最終的なキャ
リを出力する。選択回路461〜46nは、キャリ伝播
回路45からの入力に基いて、キャリなし加算回路42
1〜42nの出力とキャリあり加算回路441〜44n
の出力のいずれか一方を選択する。このような構成をと
ることにより、キャリ伝播に要する時間を短かく抑える
ことができるため、高速な加算を行うことが可能とな
る。
The carry propagation circuit 45 inputs a carry generation signal and a carry propagation signal from n blocks excluding the uppermost block, and outputs a final carry to the upper n blocks. The selection circuits 461 to 46n are based on the input from the carry propagation circuit 45, and carry-free addition circuit 42.
1 to 42n outputs and carry addition circuits 441 to 44n
Select one of the outputs of. By adopting such a configuration, the time required for carry propagation can be suppressed to be short, so that high-speed addition can be performed.

【0023】上位nブロックの選択回路461〜46n
の出力、及び最下位ブロックのキャリ入力加算回路43
の出力を合わせて加減算回路4の演算結果となる(11
2)。それと同時に、最下位ブロックのキャリ入力加算回
路43の出力のうち下5ビットが丸め補正判定回路81
へ出力され(114)、最上位ブロックのキャリなし加算回
路421およびキャリあり加算回路441の出力のそれ
ぞれ上3ビットが丸め位置判定回路61へ出力され(11
6)、さらにキャリ伝播回路45の出力のうち最上位ブロ
ックへのキャリ信号が丸め位置判定出力の選択回路62
へ出力される(118)。
Select circuits 461 to 46n of upper n blocks
Output and carry input adder circuit 43 of the lowest block
Are added together to obtain the operation result of the adder / subtractor circuit 4 (11
2). At the same time, the lower 5 bits of the output of the carry input adder circuit 43 of the lowest block are rounding correction determining circuit 81.
(114), and the upper 3 bits of the outputs of the carry-free adder circuit 421 and the carry-adder circuit 441 of the highest block are output to the rounding position determination circuit 61 (11
6) Further, of the outputs of the carry propagation circuit 45, the carry signal to the highest-order block is the rounding position determination output selection circuit 62.
Is output to (118).

【0024】図4は丸め位置決定回路6の詳細図であ
る。丸め位置の候補としては、表2に示したA,B,
C,Dの4通りの可能性がある。丸め位置判定回路61
1,612はそれぞれ最上位ブロックへのキャリがある
と仮定した場合、及び無いと仮定した場合について丸め
位置を判定する。選択回路621〜624は、最上位ブ
ロックへのキャリがあるか無いかに応じて、2つの丸め
位置判定回路611,612の出力のいずれかを選択す
る。以上の構成により、加減算回路4の最上位ブロック
の演算結果が出力されると同時に、丸め位置の決定を行
うことが可能となる。
FIG. 4 is a detailed diagram of the rounding position determination circuit 6. Rounding position candidates include A, B, and
There are four possibilities, C and D. Rounding position determination circuit 61
Reference numerals 1 and 612 determine the rounding positions for the case in which it is assumed that there is a carry to the top block and the case in which it is assumed that there is no carry. The selection circuits 621 to 624 select one of the outputs of the two rounding position determination circuits 611 and 612 depending on whether or not there is a carry to the highest block. With the above-described configuration, it is possible to determine the rounding position at the same time that the calculation result of the uppermost block of the adder / subtractor circuit 4 is output.

【0025】[0025]

【表2】 [Table 2]

【0026】本実施例は、浮動小数点数同士の加算また
は減算を実行する演算装置であるが、他の例として、浮
動小数点数と整数などとの間の型変換命令を同時にサポ
ートする演算装置も考えられる。そのような例では、あ
る特定の命令を実行する時に限り、加減算回路の出力に
かかわらず一定の位置で丸めを行う必要が出てくる可能
性もある。しかしながら、そのような場合にも、図4の
回路に若干の修正を施せば、その命令を実行する場合に
限って丸め位置判定回路の出力を固定することは可能で
ある。
Although the present embodiment is an arithmetic unit that performs addition or subtraction of floating point numbers, another example is an arithmetic unit that simultaneously supports type conversion instructions between floating point numbers and integers. Conceivable. In such an example, it may be necessary to perform rounding at a fixed position regardless of the output of the adder / subtractor circuit, only when executing a specific instruction. However, even in such a case, if the circuit of FIG. 4 is slightly modified, it is possible to fix the output of the rounding position determination circuit only when the instruction is executed.

【0027】図5は、丸め補正決定回路8の詳細図であ
る。丸め位置決定回路6で判定した丸め位置と丸め補正
判定に用いるビットとの関係は、表2に示した様にな
る。各丸め位置によって、丸め用ビット(L,G,S)
にどの信号を用いるかが異なるため、それぞれの丸め位
置に対応して複数の丸め補正判定回路811〜813が
必要となる。丸め補正判定回路811〜813は全て同
じ構成であり、表3に示した様に、3ビットの丸め用ビ
ット、結果の符号、及び予め定められた丸めモードを入
力して、丸めにより切り上げが発生するかどうかの判定
を行う。選択回路82は、丸め位置決定回路6の出力に
従って丸め補正判定回路811〜813の出力、又は論
理値0を選択して出力する。
FIG. 5 is a detailed diagram of the rounding correction determining circuit 8. The relationship between the rounding position determined by the rounding position determination circuit 6 and the bits used for rounding correction determination is as shown in Table 2. Rounding bit (L, G, S) depending on each rounding position
Therefore, a plurality of rounding correction determination circuits 811 to 813 are required for each rounding position. The rounding correction determination circuits 811 to 813 all have the same configuration, and as shown in Table 3, rounding up is generated by inputting a rounding bit of 3 bits, a sign of the result, and a predetermined rounding mode. Determine whether to do. The selection circuit 82 selects and outputs the output of the rounding correction determination circuits 811 to 813 or the logical value 0 according to the output of the rounding position determination circuit 6.

【0028】[0028]

【表3】 [Table 3]

【0029】丸め補正加算回路10は、加減算回路4の
演算結果、及び丸め補正決定回路8の出力を入力する。
丸めにより切り上げが必要な場合には表2で示したLの
ビットに1を加算し、切り捨ての場合には加算せずにそ
のまま出力する。
The rounding correction addition circuit 10 inputs the calculation result of the addition / subtraction circuit 4 and the output of the rounding correction determination circuit 8.
When rounding up is necessary due to rounding, 1 is added to the bit of L shown in Table 2, and when rounding down, it is output as it is without addition.

【0030】シフト数計算回路12は、加減算回路の演
算結果を入力し、上位側から見て初めて現れる1(先行
1)の位置を探して正規化に必要なシフト数を計算す
る。正規化シフト回路14は、丸め補正加算回路10が
出力した仮数部をシフト数計算回路12が計算したシフ
ト数に従ってシフトする。正規化シフト回路14の出力
は通常、先行1のすぐ右側(下位側)に小数点が存在す
るが、丸め補正加算回路10で+1加算を行った際に先
行1の位置が移動した場合には、先行1の1ビット下位
のビットの右側に小数点が存在する。丸め補正シフト回
路16は、丸め補正加算回路10の+1加算により先行
1の位置が移動した場合に、先行1のすぐ右側に小数点
が来るようにするために、正規化シフト回路14の出力
を1ビット下位側にシフトする。但し、丸め補正加算回
路10の+1加算により先行1の位置が移動した場合に
は、先行1以外のビットは全て0となるため、丸め補正
シフト回路16で実際にシフトする必要があるのは、先
行1のビットのみである。特に、IEEE−754の形
式の様に、先行1のビットを出力する必要のない場合に
は、丸め補正シフト回路16によるシフトは行わなくて
もよい。
The shift number calculation circuit 12 inputs the calculation result of the adder / subtractor circuit, searches for a position of 1 (preceding 1) that appears first from the upper side, and calculates the shift number necessary for normalization. The normalization shift circuit 14 shifts the mantissa part output from the rounding correction addition circuit 10 according to the shift number calculated by the shift number calculation circuit 12. The output of the normalization shift circuit 14 normally has a decimal point immediately to the right (lower side) of the leading 1, but when the position of the leading 1 moves when the rounding correction addition circuit 10 performs +1 addition, There is a decimal point to the right of the bit one bit lower than the leading one. The rounding correction shift circuit 16 sets the output of the normalization shift circuit 14 to 1 so that the decimal point is located immediately to the right of the leading 1 when the position of the leading 1 is moved by the +1 addition of the rounding correction adding circuit 10. Shift to the lower bit side. However, when the position of the leading 1 is moved by the +1 addition of the rounding correction addition circuit 10, all the bits other than the leading 1 become 0, so that the rounding correction shift circuit 16 needs to actually shift: Only the leading 1 bit. In particular, when it is not necessary to output the leading 1 bit as in the IEEE-754 format, the rounding correction shift circuit 16 does not have to perform the shift.

【0031】指数部補正回路18は、桁合わせ回路2の
出力した指数部に、正規化シフトによって必要となる補
正を加える。また、丸め補正シフト回路16で下位側へ
の1ビットシフトを行う必要がある場合には、指数部に
+1の補正を行う必要があるため、+1の補正を行った
指数部も同時に計算しておく。選択回路20は、丸め補
正シフト回路16での下位シフトが必要であるかないか
に応じて、指数部補正回路18で計算しておいた2通り
の指数部のどちらかを選択して出力する。このような構
成をとることにより、丸め補正シフト回路16でのシフ
トによる指数部の補正に要する時間を、実質的に選択回
路20の処理時間のみとすることができるため、高速な
処理が可能となる。
The exponent part correction circuit 18 adds necessary correction to the exponent part output from the digit alignment circuit 2 by normalization shift. If the rounding correction shift circuit 16 needs to shift 1 bit to the lower side, the exponent part needs to be corrected by +1. Therefore, the exponent part corrected by +1 is also calculated at the same time. deep. The selection circuit 20 selects and outputs one of the two exponent parts calculated by the exponent part correction circuit 18, depending on whether or not the lower shift in the rounding correction shift circuit 16 is necessary. With such a configuration, the time required to correct the exponent part by the shift in the rounding correction shift circuit 16 can be substantially the processing time of the selection circuit 20, and thus high-speed processing is possible. Become.

【0032】丸め補正シフト回路16の出力した仮数部
(132)と、選択回路20の出力した指数部(134)とを合わ
せて、演算結果となる。
Mantissa part output from the rounding correction shift circuit 16
(132) and the exponent part (134) output from the selection circuit 20 are combined to obtain the calculation result.

【0033】従来の演算装置の処理時間(図6(a))
と、本実施例の演算装置の処理時間(図6(b))とを
比べると、シフト数計算及び丸め補正判定の処理時間を
短縮することが可能となり、全体として浮動小数点数を
高速に演算するのに極めて有効であることが分かる。
Processing time of the conventional arithmetic unit (FIG. 6 (a))
6 is compared with the processing time (FIG. 6B) of the arithmetic unit of this embodiment, the processing time of shift number calculation and rounding correction determination can be shortened, and floating point numbers can be calculated at high speed as a whole. It turns out that it is extremely effective to do.

【0034】[0034]

【発明の効果】以上詳述したように、本発明によれば、
正規化処理と丸め処理を並列に行うようにしたので、従
来の演算装置に比べて処理時間を短縮することができ、
浮動小数点数の演算をより高速に行うことが可能とな
る。
As described in detail above, according to the present invention,
Since the normalization process and the rounding process are performed in parallel, the processing time can be shortened as compared with the conventional arithmetic device.
It is possible to perform floating point arithmetic at higher speed.

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

【図1】本発明の浮動小数点演算装置の概略構成を示し
たブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a floating point arithmetic unit of the present invention.

【図2】桁合わせ回路の入出力データの形式を示した図
である。
FIG. 2 is a diagram showing a format of input / output data of a digit alignment circuit.

【図3】加減算回路の詳細ブロック図である。FIG. 3 is a detailed block diagram of an adder / subtractor circuit.

【図4】丸め位置決定回路の詳細図である。FIG. 4 is a detailed diagram of a rounding position determination circuit.

【図5】丸め補正決定回路の詳細図である。FIG. 5 is a detailed diagram of a rounding correction determination circuit.

【図6】演算装置の処理時間について従来技術と本発明
とで比較した図である。
FIG. 6 is a diagram comparing the processing time of the arithmetic device between the related art and the present invention.

【図7】浮動小数点数の表現方法の一例を示した図であ
る。
FIG. 7 is a diagram showing an example of a method of expressing a floating point number.

【図8】従来の浮動小数点演算装置の概略構成を示した
ブロック図である。
FIG. 8 is a block diagram showing a schematic configuration of a conventional floating point arithmetic unit.

【符号の説明】[Explanation of symbols]

2 桁合わせ回路 4 加減算回路 6 丸め位置決定回路 61 丸め位置判定回路 62 選択回路 8 丸め補正決定回路 81 丸め補正判定回路 82 選択回路 10 丸め補正加算回路 12 正規化シフト数計算回路 14 正規化シフト回路 16 丸め補正シフト回路 18 指数部補正回路 20 選択回路 2 Digit alignment circuit 4 Addition / subtraction circuit 6 Rounding position determination circuit 61 Rounding position determination circuit 62 Selection circuit 8 Rounding correction determination circuit 81 Rounding correction determination circuit 82 Selection circuit 10 Rounding correction addition circuit 12 Normalized shift number calculation circuit 14 Normalized shift circuit 16 Rounding correction shift circuit 18 Exponential part correction circuit 20 Selection circuit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 2つの浮動小数点オペランドを取り込ん
で前記両オペランドの仮数部を桁合わせする桁合わせ手
段と、 桁合わせ処理後の前記両オペランドの仮数部を加算また
は減算する加減算手段と、 加算または減算されて新たに最上位桁となった桁が所定
の位置にくるように仮数部をシフトし、かつシフト数に
応じて指数部を補正する正規化処理を行う正規化手段
と、 加算または減算後の仮数部が所定の桁数より多かった場
合に、予め指定された丸めモードに従って仮数部の桁数
を縮める丸め処理を行う丸め手段と、 を備えた浮動小数点演算装置において、 前記加減算手段から正規化処理前の仮数部を取り込ん
で、その仮数部を用いて前記丸め処理の一部を実行し、
その後に前記正規化処理と丸め処理を並行して行う手段
を設けたことを特徴とする浮動小数点演算装置。
1. A digit aligning unit that takes in two floating point operands and digit-matches the mantissa parts of both operands; an adder-subtractor unit that adds or subtracts the mantissa parts of both operands after digit aligning processing; Normalization means that shifts the mantissa so that the new highest digit after subtraction is at a predetermined position and corrects the exponent according to the number of shifts; and addition or subtraction In a floating-point arithmetic unit comprising rounding means for rounding down the number of digits of the mantissa according to a predesignated rounding mode when the subsequent mantissa has more than a predetermined number of digits, Take in the mantissa before normalization, and execute part of the rounding process using the mantissa,
After that, a unit for performing the normalizing process and the rounding process in parallel is provided, which is a floating point arithmetic unit.
【請求項2】 2つの浮動小数点オペランドを取り込ん
で、両オペランドの指数部の差の絶対値を求め、かつ指
数部の小さいオペランドの仮数部を前記求めた絶対値の
分だけ下位側にシフトして、前記両オペランドの仮数部
を桁合わせする桁合わせ手段と、 桁合わせ処理後の前記両オペランドの仮数部を加算また
は減算する加減算手段と、 加算または減算されて新たに最上位桁となった桁が所定
の位置にくるように仮数部をシフトし、かつシフト数に
応じて指数部を補正する正規化処理を行う正規化手段
と、 加算または減算後の仮数部が所定の桁数より多かった場
合に、予め指定された丸めモードに従って仮数部の桁数
を縮める丸め処理を行う丸め手段と、 を備えた浮動小数点演算装置において、 前記正規化処理を行う際の仮数部のシフトが、下位側へ
1ビット、上位側へ0ビット、または上位側へ1ビット
である場合の3通りを想定し、それぞれの場合に、前記
丸め処理において仮数部に+1を加算する補正が必要で
あるかどうかを、前記正規化処理前の仮数部を用いて判
定する丸め補正判定手段と、 前記正規化処理における仮数部のシフトが、前記3通り
のうちの1つであるかまたは前記3通り以外であるか
を、前記正規化処理前の仮数部を用いて判定する丸め位
置判定手段と、 前記丸め位置判定手段の判定結果に基づいて、前記丸め
補正判定手段での3通りのうちの1つを有効とするか、
または3通りの全てを無効とする選択手段と、 を設けることによって、前記正規化処理と丸め処理を並
行に行うことを特徴とする浮動小数点演算装置。
2. Taking two floating-point operands, obtaining the absolute value of the difference between the exponent parts of both operands, and shifting the mantissa part of the operand with a small exponent part to the lower side by the obtained absolute value. A digit aligning means for aligning the mantissa parts of both operands, an adder / subtractor means for adding or subtracting the mantissa parts of the operands after digit aligning processing, and an addition or subtraction to obtain a new highest digit. A normalization unit that shifts the mantissa part so that the digit is at a predetermined position and corrects the exponent part according to the number of shifts, and the mantissa part after addition or subtraction have more than the predetermined digit number. In a floating-point arithmetic device having rounding means for reducing the number of digits of the mantissa according to a predesignated rounding mode, the shift of the mantissa at the time of performing the normalization processing. , 1 bit to the lower side, 0 bit to the upper side, or 1 bit to the upper side, and in each case, correction is required to add +1 to the mantissa part in the rounding process. Rounding correction determining means for determining whether or not the mantissa before the normalization processing is used, and the shift of the mantissa in the normalization processing is one of the three ways or other than the three ways. Based on the result of the rounding position determining unit and the rounding position determining unit, and one of three types of the rounding correction determining unit based on the determination result of the rounding position determining unit. Or
Alternatively, the floating point arithmetic unit is characterized in that the normalizing process and the rounding process are performed in parallel by providing selection means for invalidating all three ways.
【請求項3】 請求項1又は2記載の浮動小数点演算装
置を組み込んだ半導体装置。
3. A semiconductor device incorporating the floating point arithmetic unit according to claim 1.
【請求項4】 2つの浮動小数点オペランドを取り込ん
で前記両オペランドの仮数部を桁合わせする桁合わせ処
理と、 桁合わせ処理後の前記両オペランドの仮数部を加算また
は減算する加減算処理と、 加算または減算されて新たに最上位桁となった桁が所定
の位置にくるように仮数部をシフトし、かつシフト数に
応じて指数部を補正する正規化処理と、 加算または減算後の仮数部が所定の桁数より多かった場
合に、予め指定された丸めモードに従って仮数部の桁数
を縮める丸め処理と、 を含む浮動小数点演算方法において、 前記正規化処理前の仮数部を取り込んで、その仮数部を
用いて前記丸め処理の一部を実行し、その後に前記正規
化処理と丸め処理を並行して行うことを特徴とする浮動
小数点演算方法。
4. A digit alignment process that takes in two floating-point operands and digit-matches the mantissa parts of both operands; an add-subtract process that adds or subtracts the mantissa parts of the two operands after digit alignment process; The normalization process is performed to shift the mantissa so that the new highest digit after subtraction comes to a predetermined position, and to correct the exponent according to the number of shifts, and the mantissa after addition or subtraction. In a floating-point arithmetic method that includes a rounding process that reduces the number of digits of the mantissa according to a pre-specified rounding mode when the number of digits is greater than a predetermined number, and the mantissa before the normalization is taken in A part of the rounding process is executed by using a unit, and then the normalizing process and the rounding process are performed in parallel.
【請求項5】 2つの浮動小数点オペランドを取り込ん
で、両オペランドの指数部の差の絶対値を求め、かつ指
数部の小さいオペランドの仮数部を前記求めた絶対値の
分だけ下位側にシフトして、前記両オペランドの仮数部
を桁合わせする桁合わせ処理と、 桁合わせ処理後の前記両オペランドの仮数部を加算また
は減算する加減算処理と、 加算または減算されて新たに最上位桁となった桁が所定
の位置にくるように仮数部をシフトし、かつシフト数に
応じて指数部を補正する正規化処理と、 加算または減算後の仮数部が所定の桁数より多かった場
合に、予め指定された丸めモードに従って仮数部の桁数
を縮める丸め処理と、 を含む浮動小数点演算方法において、 前記正規化処理を行う際の仮数部のシフトが、下位側へ
1ビット、上位側へ0ビット、または上位側へ1ビット
である場合の3通りを想定し、それぞれの場合に、前記
丸め処理において仮数部に+1を加算する補正が必要で
あるかどうかを、前記正規化処理前の仮数部を用いて判
定する丸め補正判定処理と、 前記正規化処理における仮数部のシフトが、前記3通り
のうちの1つであるかまたは前記3通り以外であるか
を、前記正規化処理前の仮数部を用いて判定する丸め位
置判定処理と、 前記丸め位置判定処理の判定結果に基づいて、前記丸め
補正判定処理での3通りのうちの1つを有効とするか、
または3通りの全てを無効とする選択処理と、 を実行することによって、前記正規化処理と丸め処理を
並行に行うことを特徴とする浮動小数点演算方法。
5. Taking two floating-point operands, obtaining the absolute value of the difference between the exponent parts of both operands, and shifting the mantissa part of the operand with the smaller exponent part to the lower side by the obtained absolute value. A digit alignment process for aligning the mantissa parts of both operands, an addition / subtraction process for adding or subtracting the mantissa parts of both operands after the digit alignment process, and an addition or subtraction to obtain a new highest digit. Normalization processing that shifts the mantissa part so that the digit is in a predetermined position and corrects the exponent part according to the number of shifts, and if the mantissa part after addition or subtraction has more than the predetermined digit number, In a floating-point arithmetic method including rounding processing for reducing the number of digits of the mantissa according to a specified rounding mode, the shift of the mantissa when performing the normalization processing is 1 bit to the lower side and 0 to the upper side. Assuming that there are three types of cases where there is 1 bit to the upper side, and in each case whether or not the correction for adding +1 to the mantissa part is necessary in the rounding process, Before the normalization process, it is determined whether the rounding correction determination process is performed using the mantissa part, and whether the shift of the mantissa part in the normalization process is one of the three types or is other than the three types. Rounding position determination processing for determining using the mantissa part of, and based on the determination result of the rounding position determination processing, one of three types of the rounding correction determination processing is enabled,
Alternatively, the floating point arithmetic method is characterized in that the normalizing process and the rounding process are performed in parallel by executing a selection process for invalidating all three ways.
JP19873992A 1992-03-17 1992-07-24 Floating point arithmetic device and method Expired - Fee Related JP3174974B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP19873992A JP3174974B2 (en) 1992-07-24 1992-07-24 Floating point arithmetic device and method
US08/037,654 US5408426A (en) 1992-03-17 1993-03-17 Arithmetic unit capable of performing concurrent operations for high speed operation
US08/371,998 US5623435A (en) 1992-03-17 1995-01-12 Arithmetic unit capable of performing concurrent operations for high speed operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19873992A JP3174974B2 (en) 1992-07-24 1992-07-24 Floating point arithmetic device and method

Publications (2)

Publication Number Publication Date
JPH0644048A true JPH0644048A (en) 1994-02-18
JP3174974B2 JP3174974B2 (en) 2001-06-11

Family

ID=16396180

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19873992A Expired - Fee Related JP3174974B2 (en) 1992-03-17 1992-07-24 Floating point arithmetic device and method

Country Status (1)

Country Link
JP (1) JP3174974B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5684729A (en) * 1994-09-19 1997-11-04 Hitachi, Ltd. Floating-point addition/substraction processing apparatus and method thereof
US6314442B1 (en) 1998-06-19 2001-11-06 Mitsubishi Denki Kabushiki Kaisha Floating-point arithmetic unit which specifies a least significant bit to be incremented

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5684729A (en) * 1994-09-19 1997-11-04 Hitachi, Ltd. Floating-point addition/substraction processing apparatus and method thereof
US6314442B1 (en) 1998-06-19 2001-11-06 Mitsubishi Denki Kabushiki Kaisha Floating-point arithmetic unit which specifies a least significant bit to be incremented

Also Published As

Publication number Publication date
JP3174974B2 (en) 2001-06-11

Similar Documents

Publication Publication Date Title
EP0973089B1 (en) Method and apparatus for computing floating point data
JP4388543B2 (en) 3-input floating-point adder / subtracter
JP2618374B2 (en) Finding the position of the most significant digit
JPWO2007096982A1 (en) Arithmetic processing apparatus and arithmetic processing method
JPH05324270A (en) Method and device for converting format for floating point number
JPH09212337A (en) Floating-point arithmetic processor
JP2558669B2 (en) Floating point arithmetic unit
JPH0644048A (en) Floating point arithmetic unit and method
JP4439060B2 (en) Floating point adder
EP1282034A2 (en) Elimination of rounding step in the short path of a floating point adder
JP3257278B2 (en) Normalizer using redundant shift number prediction and shift error correction
JPH0635671A (en) Floating point adder-subtracter
JP3187402B2 (en) Floating point data addition / subtraction circuit
JP3517162B2 (en) Division and square root arithmetic unit
JP3233432B2 (en) Multiplier
JPS63158626A (en) Arithmetic processing unit
JP3295949B2 (en) Floating-point operation method and device
JP2003029960A (en) Elimination of rounding step in short path of floating point adder
JPH05204606A (en) Floating point arithmetic system and unit
JP2512939B2 (en) Fixed floating data conversion circuit
JP3124286B2 (en) Floating point arithmetic unit
JP4073513B2 (en) Floating point processor
JPH01111229A (en) Floating point adder/subtractor
JPS63182740A (en) Divider
JPS6371725A (en) Operation processing device

Legal Events

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