JPH0357019A - Floating-point data adding and subtracting circuit - Google Patents

Floating-point data adding and subtracting circuit

Info

Publication number
JPH0357019A
JPH0357019A JP19284989A JP19284989A JPH0357019A JP H0357019 A JPH0357019 A JP H0357019A JP 19284989 A JP19284989 A JP 19284989A JP 19284989 A JP19284989 A JP 19284989A JP H0357019 A JPH0357019 A JP H0357019A
Authority
JP
Japan
Prior art keywords
circuit
data
addition
subtraction
mantissa
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
JP19284989A
Other languages
Japanese (ja)
Other versions
JP3187402B2 (en
Inventor
Akira Yamaguchi
明 山口
Masayuki Koizumi
正幸 小泉
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 JP19284989A priority Critical patent/JP3187402B2/en
Publication of JPH0357019A publication Critical patent/JPH0357019A/en
Application granted granted Critical
Publication of JP3187402B2 publication Critical patent/JP3187402B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the number of gate stages to increase the operation speed by using floating-point data or intermediate data of arithmetic processing to select arithmetic processing paths. CONSTITUTION:A path A consists of a justifying circuit 21, an adding/ subtracting circuit 22, and a normalizing circuit 23 of + or -1-bit shift, and a path B consists of a justifying circuit 24 of a maximum of 1-bit shift, an adding/ subtracting circuit 25, and normalizing circuit 26. The path A or B is selected by a control signal C to a selector circuit 27, and an output Z is obtained from the circuit 27. Thus, plural data paths A and B are provided and are selectively controlled and selected by floating-point data to simplify the circuit function of each data path system and to reduce the number of gate stages of the circuit.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、正規化された浮動小数点データの加減算回路
に関するもので、特にデジタル・シグナル・プロツセッ
サ(略してDSP)や高位マイコンに使用されるもので
ある. (従来の技術) DSPや高位マイコン等,高精度で広いダイナミックレ
ンジを実現する信号処理LSIには、正規化された浮動
小数点データが広く使用されている。ところで上記信号
処理LSIは、高速性が要求されている.その高速化を
制限しているものの1つに,浮動小数点データ加減算回
路(FASUという)がある. まず,従来の浮動小数点加減算回路(FASU)につい
て説明する. 第29図に従来のFASUのブロック図を示す.まず桁
合せの回路1により入力Xと入力Yの指数部データを比
較して、その差に従い仮数部データの桁合せ操作を行な
う.その時に,指数部の差が仮数部桁合せ桁より大きい
場合、指数部が小なる一方の仮数部データをOに固定す
る(O判定回路). 次に、加減算回路2により,桁合せされた2人力の仮数
部データの加減算を行なう. 最後に、正規化回路3により、仮数部の加減算結果から
正規化量を見積り、その見積りに従い加減算結果を正規
化する. 第30図は、従来の32E6(仮数部32ビット,指数
部6ビット)FASUの回路ブロック図である。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention relates to an addition/subtraction circuit for normalized floating point data, and is particularly applicable to digital signal processors (DSP) and high-level It is used in microcontrollers. (Prior Art) Normalized floating point data is widely used in signal processing LSIs that achieve high precision and a wide dynamic range, such as DSPs and high-end microcomputers. By the way, the above-mentioned signal processing LSI is required to be high-speed. One of the things that limits the speedup is the floating point data addition/subtraction circuit (FASU). First, we will explain the conventional floating point addition/subtraction circuit (FASU). Figure 29 shows a block diagram of a conventional FASU. First, the digit alignment circuit 1 compares the exponent data of input X and input Y, and performs digit alignment of the mantissa data according to the difference. At this time, if the difference in the exponent part is greater than the mantissa digit matching digit, the mantissa data with the smaller exponent part is fixed to O (O determination circuit). Next, the addition and subtraction circuit 2 performs addition and subtraction of the mantissa data, which have been digit-aligned by two people. Finally, the normalization circuit 3 estimates the amount of normalization from the result of addition and subtraction of the mantissa part, and normalizes the result of addition and subtraction according to the estimate. FIG. 30 is a circuit block diagram of a conventional 32E6 (32-bit mantissa, 6-bit exponent) FASU.

次にこの回路について説明する. まず減算回路4によって、入力Xの指数部データXEと
、入力Yの指数部データYEとの減算を行なう。その減
算結果に従い仮数部データXMまたはYMを,右方向に
シフトすることによって桁合せを行なう。その時シフト
は、Xシフタ5、Yシフタ6にて行なわれる.次表にシ
フト条件を記載する。
Next, we will explain this circuit. First, the subtraction circuit 4 subtracts the exponent part data XE of the input X and the exponent part data YE of the input Y. The digits are aligned by shifting the mantissa data XM or YM to the right according to the result of the subtraction. At that time, the shift is performed by X shifter 5 and Y shifter 6. The shift conditions are listed in the table below.

次に、桁合せ後の仮数部データXM’とYM’を,命令
に従い、加減算回路7で加算または減算を行なう。上記
加減算回路7にて加減算された出力データの正規化を行
なうための正規化量検出回路8と左シフト回路9と減算
回路IOによって正規化回路が構成されている。上記加
減算結果ZM’を回路8に入力し、仮数部データの正規
化量を検出する。その正規化量に従い、仮数部ZM’を
左にシフトする.また回路10により、正規化量を指数
部ZE’から減算する. その出力結果である仮数部出
力ZMと指数部出力ZEがそれぞれ浮動小数点加減算回
路出力となる. 次に実際に数値を代入してX−Yの減算方法を説明する
.データ長は、仮数部が32ビット(bit),指数部
が6ビット(bit)とする。下記の仮数部1bit目
は符号bitである.Eの左側は仮数部データ、右側は
指数部データである、 燗1) X=0. 10000・・・・・・・・・OE
IOOOOO−Y=0.11111・・・・・・・・・
IEOIIIOO上式を求める時,まずXE−YEを求
める.1000  00 −0111  00 0001  00 上の計算結果のXE>YE、I XE−YE l =4
から、YMを右に4 bitシフトして減算を行なう。
Next, the mantissa data XM' and YM' after the digit alignment are added or subtracted by the addition/subtraction circuit 7 according to the instruction. A normalization circuit is constituted by a normalization amount detection circuit 8, a left shift circuit 9, and a subtraction circuit IO for normalizing the output data added and subtracted by the addition and subtraction circuit 7. The above addition/subtraction result ZM' is input to the circuit 8, and the normalized amount of the mantissa data is detected. Shift the mantissa part ZM' to the left according to the normalized amount. Further, the circuit 10 subtracts the normalized amount from the exponent part ZE'. The mantissa output ZM and the exponent output ZE, which are the output results, are the outputs of the floating-point addition and subtraction circuits, respectively. Next, we will explain how to subtract X-Y by actually substituting numerical values. The data length is 32 bits for the mantissa and 6 bits for the exponent. The 1st bit of the mantissa below is the sign bit. The left side of E is the mantissa data, and the right side is the exponent data. 1) X=0. 10000・・・・・・・・・OE
IOOOOO-Y=0.11111・・・・・・・・・
IEOIIIOOWhen finding the above equation, first find XE-YE. 1000 00 -0111 00 0001 00 Above calculation result XE>YE, I XE-YE l =4
, shift YM to the right by 4 bits and perform subtraction.

XMOIOOO  00−00      E  10
0000YMOOOOO  11−=41      
E  011100ZM’00111  00・・・O
f      ZE’lOOOOOZMOIIIO  
00・・・010     ZE 011111即ち減
算結果ZM’から正規化量を検出する.符号bitはO
で,それからOが1 bit連続であるので、正規化量
はD=1つまり1ビットシフトである。
XMOIOOO 00-00 E 10
0000YMOOOOO 11-=41
E 011100ZM'00111 00...O
f ZE'lOOOOOOZMOIIIO
00...010 ZE 011111, that is, detect the normalized amount from the subtraction result ZM'. The sign bit is O
Then, since O is 1 bit continuous, the normalization amount is D=1, that is, 1 bit shift.

次に正規化量に従い仮数部ZM’を左に1 bitシフ
トする.その出力結果ZMが仮数部の出力となる。また
指数部は、rXE−YE>OJであるため、桁合せ回路
でXE,YEともに、X Eの指数部loooooに合
せ込まれており、ZE′はZE’=XE=1 0000
0となる.その後正規化量D=1に従い、仮数部データ
が左に1 bitシフトしたため、指数部データは1だ
け減少する。よって指数部データZEは、011111
となる.例題2)X=OIOO  00・・・000 
 E  100000−Y=0111  10・・・0
00  E  011111コノ場合XE=10000
0,YE=01111lで、これら両者は1 bitち
がいだから、桁合せのため.YMを右1bi.tシフト
する.X.=0100  0000−000  E  
10  00  00一Y=0011  1100・・
・000  E  10  00  000000  
01.00・・・000  E  10  00  0
0ここでZM’=00000100・・・000,ZE
’=100000であり、ZM’より正規量を見積る.
符号bitのあとにOが4個だからD=4である.即ち
ZM’を左へ4 bitシフトし,ZE’を4減少する
.つまりZM=OLOOOOOO・・・000,ZE=
011100となる. 仔I劇3)同様にして X=01000  0・・・O   E  10000
0+Y=lOO11  1・・・I   E  011
110の場合は、XE−YE=2だから、桁合せすると
、X=010000・・・O   E  100000
−Y=111001・・・I   E  100000
001001・・・I   E  100000これを
正規化すると( 1 bitシフト)Z=OIOO11
・・・10  E  011111となる. 第31図は従来の仮数部31bit、指数部6 bit
の浮動小数点加wt算回路のブロック図である.次にこ
の回路について説明する.ここではXシフタ5、Yシフ
タ6、減算回路4等に含まれていた0固定回路12, 
13、O判定回路l4、シフト量検出回路15等を取り
出して示してある。
Next, the mantissa part ZM' is shifted to the left by 1 bit according to the normalization amount. The output result ZM becomes the output of the mantissa part. Also, since the exponent part is rXE-YE>OJ, both XE and YE are adjusted to the exponent part looooo of XE by the digit alignment circuit, and ZE' is ZE'=XE=1 0000
It becomes 0. Thereafter, according to the normalization amount D=1, the mantissa data is shifted to the left by 1 bit, so that the exponent data is decreased by 1. Therefore, the exponent part data ZE is 011111
becomes. Example 2) X=OIOO 00...000
E 100000-Y=0111 10...0
00 E 011111 case XE=10000
0, YE = 01111l, and these two differ by 1 bit, so for digit alignment. YM on the right 1bi. t shift. X. =0100 0000-000 E
10 00 00-Y=0011 1100...
・000 E 10 00 000000
01.00...000 E 10 00 0
0 where ZM'=00000100...000,ZE
'=100000, and estimate the normal quantity from ZM'.
Since there are 4 O's after the code bit, D=4. That is, shift ZM' to the left by 4 bits and decrease ZE' by 4. In other words, ZM=OLOOOOOO...000, ZE=
It becomes 011100. Child I drama 3) Similarly, X = 01000 0...O E 10000
0+Y=lOO11 1...I E 011
In the case of 110, XE-YE=2, so if you match the digits, X=010000...O E 100000
-Y=111001...I E 100000
001001...I E 100000 When this is normalized (1 bit shift) Z=OIOO11
...10 E 011111. Figure 31 shows the conventional mantissa part of 31 bits and exponent part of 6 bits.
This is a block diagram of the floating point addition wt arithmetic circuit. Next, we will explain this circuit. Here, the 0 fixed circuit 12 included in the X shifter 5, Y shifter 6, subtraction circuit 4, etc.
13, O determination circuit 14, shift amount detection circuit 15, etc. are extracted and shown.

この回路は、まず、減算回路4によって入力Xの指数部
データXEと,入力Yの指数部データYEとの差を求め
、その結果に従い仮数部データXMまたはYMを右方向
にシフトすることによって桁合せを行なう.その時のシ
フトはXシフト回路5、Yシフト回路6にて行なわれる
.その時のシフト量と条件を第32図に記載する. 次に、桁合せの後の仮数部データXM’とYM’を, 
命令に従い31bit加減算回路7により加減算を行な
う。
This circuit first calculates the difference between the exponent data XE of input X and the exponent data YE of input Y using the subtraction circuit 4, and shifts the mantissa data Perform the matching. Shifting at this time is performed by an X shift circuit 5 and a Y shift circuit 6. The shift amount and conditions at that time are shown in Figure 32. Next, the mantissa data XM' and YM' after digit alignment are
Addition and subtraction are performed by the 31-bit addition and subtraction circuit 7 according to instructions.

最後に、加減算回路7の出力結果に従い、出力データの
正規化を行なう。 まず、31bit加減算回路7の出
力結果を入力とし,正規化量検出回路8によって正規化
量を検出する。その値に従い仮数部を左シフトし、それ
をZMとする.また、減算回路10により正規化量を指
数部ZE’から減算し、その結果をZEとする。その出
力結果ZMとZEを,浮動小数点加減算回路の出力結果
とする。
Finally, the output data is normalized according to the output result of the addition/subtraction circuit 7. First, the output result of the 31-bit addition/subtraction circuit 7 is input, and the normalization amount detection circuit 8 detects the normalization amount. Shift the mantissa to the left according to that value and set it as ZM. Further, the subtraction circuit 10 subtracts the normalized amount from the exponent part ZE', and the result is set as ZE. Let the output results ZM and ZE be the output results of the floating point addition/subtraction circuit.

(発明が解決しようとする課題) 第30図のデータ長32E6の浮動小数点加減算回路は
、入力データとしては、32E6の正規化入力信号Xと
Yと、加算,減算を選択する演算命令があり、出力に関
しては、入力信号X,Yを、演算命令に従い、加減算を
行なった結果Zを出力する。
(Problems to be Solved by the Invention) The floating point addition/subtraction circuit with a data length of 32E6 in FIG. Regarding the output, the input signals X and Y are subjected to addition and subtraction according to the arithmetic instructions, and the result Z is output.

前述しているように入力信号X,Yを入れてから計算出
力Z (ZEとZM)が出てくるまでに、直列に次の回
路を通る. 1)  6bitの減算[iiJ路4からシフト量を算
出する。
As mentioned above, after the input signals X and Y are input until the calculated output Z (ZE and ZM) is output, they pass through the following circuit in series. 1) 6-bit subtraction [ii Calculate the shift amount from J path 4.

2)上記1)の結果から31bit(5段)のシフタ5
,6を通る。
2) Based on the result of 1) above, 31 bit (5 stages) shifter 5
, 6.

3)上記2〉の結果を32bitの、加減算口路7で計
算する。
3) Calculate the result of 2> above using a 32-bit addition/subtraction circuit 7.

4) 計算結果r32bit+キャリー」を入力として
、5bit出力する正JIL化量算出のエンコーダ回路
8を通る. 5)エンコーダ8 により検出された正規化敏に従い、
仮数部データをシフトする31bit(5段)のシフタ
9を通る。
4) The calculation result r32 bits + carry is passed through the encoder circuit 8 for calculating the positive JIL conversion amount, which outputs 5 bits. 5) According to the normalized sensitivity detected by encoder 8,
It passes through a 31-bit (5 stages) shifter 9 that shifts the mantissa data.

5)′エンコーダ8 により検出された正規化敗に従い
、指数部データを削減させる6bjt減算回路10を通
る。
5) The data passes through a 6bjt subtraction circuit 10 that reduces the exponent data according to the normalization failure detected by the encoder 8.

以上浮動小数点加減算回路は、 1)〜5)、または1
)〜4),5)’を直列に<6号が流れるため、演算速
度が遅くなる欠点があり、信号処理LSIの高速化を制
限する原因の1つになっている。
The above floating point addition/subtraction circuits are 1) to 5), or 1
) to 4) and 5)' flow in series, which has the disadvantage of slowing down the calculation speed, which is one of the reasons for limiting the speeding up of signal processing LSIs.

また第31図の従来のFASUでは,加減算時において
、2人力指数部の差が仮数部データの桁数以上,つまり
シフト量以上の時はシフト不可となり、加減算回路人力
YE’またはXM’の指数部の小むる数の仮数部データ
を0に固定して、加減算を行なっている(第32図). このため,浮動小数煮加減算回路(FASU)の演算経
路のクリテイカルパスに,減算回路4の出力結果からX
MまたはYMをOに固定するための0判定回路14と、
31bit加減算回路7の入力信号xM′またはYM’
を,O判定回路14の出力結果に従い,オール“O”に
固定するためのO固定回路12. 13が挿入されてい
る。これは、浮動小数点加減算回路のゲート段数の増加
を意味しており、商速化のさまたげになっている. また第31図の浮動小数点加減算回路では、正規化回路
において、仮数部加減算回路7の出力結果から正規化量
を検出しているため、正規化、つま仮数部の正規化量分
の左シフトと指数部の正規化斌分の減算が,仮数部の加
減算結果が検出されるまで行なわれず、高速化が難しか
った.そこで本発明の目的は、前記従来のものより^速
化が可能となる浮動小数点データ加減算回路を提0(す
ることにある。
In addition, in the conventional FASU shown in Fig. 31, during addition and subtraction, if the difference between the two manual exponent parts is greater than the number of digits of the mantissa data, that is, the shift amount, shifting is not possible, and the exponent of the addition/subtraction circuit human power YE' or XM' Addition and subtraction are performed with the mantissa data of the smaller number fixed at 0 (Figure 32). Therefore, the critical path of the calculation path of the floating point addition/subtraction circuit (FASU) is
a 0 determination circuit 14 for fixing M or YM to O;
Input signal xM' or YM' of 31-bit addition/subtraction circuit 7
O fixing circuit 12 . for fixing to all "O" according to the output result of O determining circuit 14 . 13 has been inserted. This means an increase in the number of gate stages in the floating-point addition/subtraction circuit, which is an obstacle to increasing commercial speed. In addition, in the floating point addition/subtraction circuit shown in FIG. 31, the normalization circuit detects the normalization amount from the output result of the mantissa addition/subtraction circuit 7, so the normalization and left shift of the mantissa part by the normalization amount are performed. Subtraction of the normalized portion of the exponent part was not performed until the result of addition/subtraction of the mantissa part was detected, making it difficult to increase speed. Therefore, an object of the present invention is to provide a floating-point data addition/subtraction circuit that can be faster than the conventional circuit.

[発明の構成] (課題を解決するための手段と作用) 本発明は、浮動小数点データの演算処理経路を少くとも
2個有し,?$動小数点データを用いて前記処理経路を
選択する手段を具備したことを特徴とする浮動小数烹デ
ータ加減算回路である。また本発明は、指数部データの
差に応じて仮数部データの桁合せを行なう桁合せ目路と
、該回路により桁合せされた仮数部データの加算または
減算を行なう加減算回路と、該回路での演算前の仮数部
データの各ビットの一部とその前後の複数ビットからフ
ラグを立て、それを正規化量エンコード園路の入力とす
る正規化量検出回路と.該回路の出力に応じて前記加減
算回路からの仮数部データの正規化を行なう正規化用シ
フタと,該シフタの出力から該出力データを右または左
へ1ビットシフトするか否かを選択する手段とを具備し
たことを特徴とする浮動小数点データ加減算回路である
.また本発明は、指数部データの差に応じて仮数部デー
タの桁合せを行なう桁合せ回路と、該回路により桁合せ
された仮数部データの加算または減算を行なう加減算回
路と、該回路での演算結果から正規化量を検出する正規
化量検出回路と、前記正規化址に応じて仮数部データの
正規化を行なう正規化用シフタと、前記加減算回路の出
力を入力とし該加減算回路出力がオーバーフローしたと
きiビットの右シフトを行なう右シフタと,前記加減算
回路の出力に応じて前記右シフタの出力、正規化用シフ
タの出力を選択する手段とを具備したことを特徴とする
浮動小数点データ加減算回路である。
[Structure of the Invention] (Means and Effects for Solving the Problems) The present invention has at least two arithmetic processing paths for floating-point data. The floating point data addition/subtraction circuit is characterized by comprising means for selecting the processing path using $ floating point data. The present invention also provides a digit alignment circuit that performs digit alignment of mantissa data according to a difference in exponent data, an addition/subtraction circuit that performs addition or subtraction of the mantissa data that has been digit-aligned by the circuit, and the circuit. A normalization amount detection circuit that sets a flag from a part of each bit of the mantissa data before the calculation and the multiple bits before and after it, and uses the flag as input to a normalization amount encode garden path. a normalization shifter that normalizes the mantissa data from the addition/subtraction circuit according to the output of the circuit; and means for selecting whether to shift the output data by 1 bit to the right or left from the output of the shifter. This is a floating-point data addition/subtraction circuit characterized by the following. The present invention also provides a digit alignment circuit that aligns mantissa data according to a difference in exponent data, an addition/subtraction circuit that adds or subtracts the mantissa data digit-aligned by the circuit, and a A normalization amount detection circuit that detects a normalization amount from the calculation result, a normalization shifter that normalizes the mantissa data according to the normalization value, and an output of the addition and subtraction circuit that receives the output of the addition and subtraction circuit as input. Floating point data comprising: a right shifter that performs a right shift of i bits when an overflow occurs; and means for selecting the output of the right shifter and the output of the normalization shifter according to the output of the addition/subtraction circuit. It is an addition/subtraction circuit.

即ち本発明は、従来技術のデータの流れに対して、ある
条件を加味した複数のデータバスを設け、それぞれを浮
動小数点データによって、選択的に制御,選択する事に
よって、各データバス系の回路機能を単純にし、回路の
ゲート段数の減少を企てる。また本発明は、従来技術に
おける0判定回路およびO固定回路による処理速度の低
下を軽減するため,桁合せのために生じるシフト量によ
って選択される少くとも2系統の演算回路を設け、これ
らの演算結果を選択することで,高速性を実現している
。即ち指数部の減算によって仮数部のシフト量が仮数部
の桁数未満である時は,従来技術と同様の加減算回路の
演算結果が選択される。
That is, the present invention provides a plurality of data buses that take certain conditions into consideration with respect to the data flow of the conventional technology, and selectively controls and selects each data bus using floating point data, thereby controlling the circuits of each data bus system. The aim is to simplify the functions and reduce the number of gate stages in the circuit. Furthermore, in order to reduce the reduction in processing speed caused by the 0 judgment circuit and the O fixing circuit in the prior art, the present invention provides at least two systems of arithmetic circuits that are selected depending on the shift amount caused for digit alignment, and performs these arithmetic operations. High speed is achieved by selecting the results. That is, when the amount of shift of the mantissa part due to subtraction of the exponent part is less than the number of digits of the mantissa part, the calculation result of the addition/subtraction circuit similar to the prior art is selected.

ただし,この回路にはO固定回路は付加されていない。However, this circuit does not include an O-fixing circuit.

つまり、指数部の小さい方のデータの仮数部を,指数部
の減算結果分右シフトし加減算を行むい、その後正規化
をする。また、指数部の減算によって仮数部のシフト量
が仮数部の桁数以上である時は、データスルーもしくは
符号反転の回路が選択される.上記の2系統の回路は並
列に処裡され、指数部入力により最後に選択される。
That is, the mantissa part of the data with the smaller exponent part is shifted to the right by the result of subtraction of the exponent part, addition and subtraction are performed, and then normalization is performed. Furthermore, when the amount of shift of the mantissa by subtracting the exponent is greater than or equal to the number of digits in the mantissa, a data through or sign inversion circuit is selected. The above two systems of circuits are processed in parallel and are finally selected by the exponent input.

また本発明では、正規化回路において正規化量を桁合せ
後のデータ、すなわち仮数部加減算回路の人力データか
ら検出することを特徴としている.正規化量の検出、お
よび正規化に費やされる処理のほとんどは、仮数部加減
算回路の入方データを用いることにより,仮数部加減算
と並列に処理される。
The present invention is also characterized in that the normalization circuit detects the normalized amount from the data after digit alignment, that is, from the manual data of the mantissa addition/subtraction circuit. Most of the processing for detecting the normalized amount and for normalization is performed in parallel with the mantissa addition/subtraction by using the input data of the mantissa addition/subtraction circuit.

また本発明では、仮数部データの加減算回路の出力がオ
ーバーフローした時、1ビット右シフトする回路を正規
化用シフタから取り出し、これらを並列に選択使用する
ことにより、ゲート段数を減らし、高速化をはかってい
る。
In addition, in the present invention, when the output of the adder/subtractor circuit for mantissa data overflows, a circuit for shifting the mantissa data to the right by 1 bit is extracted from the normalization shifter, and these circuits are selectively used in parallel to reduce the number of gate stages and increase speed. I'm measuring.

(実施例) 以下図面を参照して本発明の実施例を説明する6第1図
は同実施例の構或図であり、経路Aは、桁合せ回路21
,加減算回路22、 ±1 bitシフトの正規化回路
23よりなる。経路Bは、最大1 bitシフトの桁合
せ回路24、加減算回路25,正規化回路26よりなる
.経路A,Bは、セレクタ回路27への制御信号Cで、
いずれかが選択され、それが出力Zとなる。
(Embodiment) An embodiment of the present invention will be described below with reference to the drawings.6 Fig. 1 is a diagram showing the configuration of the embodiment, and path A is the digit matching circuit 21.
, an addition/subtraction circuit 22, and a ±1 bit shift normalization circuit 23. Path B consists of a digit alignment circuit 24 with a maximum of 1 bit shift, an addition/subtraction circuit 25, and a normalization circuit 26. Paths A and B are control signals C to the selector circuit 27,
One of them is selected and becomes the output Z.

正規化された2つの浮動小数点信号の仮数部条件は、 010000・・・・・・OOO≦XM≦0111・・
・・・・ill・・・■010000・・・・・・00
0≦YM≦0111・・・・・・111・・・■である
.ここでは簡単のためXM,YMが両方とも正の場合に
ついて説明するがXM,YMが2の補数表現であること
を考慮すれば.XM,YMの片方または両方が負である
場合も同様に説明できる。ここでXM (XM>Oの場
合)の左辺及び右辺の最上位ビットの重みは『1」,次
の桁の重みはrl/2」,次の桁の・Rみはrl/4』
,・・・であり,YMについても同様である.従って(
1)式のXMの左辺及び■式のYMの左辺は,共にr 
1 / 2Jを表わしている.またXMの右辺及びYM
の右辺は、共に最下位ビット分だけ「1』より小さい数
を表わしている。
The mantissa condition of two normalized floating point signals is 010000...OOO≦XM≦0111...
...ill...■010000...00
0≦YM≦0111...111...■. For simplicity, we will explain the case where both XM and YM are positive, but considering that XM and YM are two's complement representations. The same explanation can be given when one or both of XM and YM is negative. Here, the weight of the most significant bit on the left and right sides of XM (when XM>O) is ``1'', the weight of the next digit is rl/2'', and the R value of the next digit is rl/4''
,..., and the same is true for YM. Therefore (
1) The left side of XM in the formula and the left side of YM in the formula ■ are both r
It represents 1/2J. Also, the right side of XM and YM
The right sides of both represent numbers smaller than "1" by the least significant bit.

XM(.aM,〈2・YM《.ax,・・・(1)■式
から、 YMを2bit以上右にシフトした時、化は、高々1以
下となる。換言すれば「1」の場合1 bitシフト,
「O」の場合シフトなしである.また0式から、 XM
を2 bit以上右ヘシフトしたり、正規化量は高々1
以下となる. 以上の結果から、 2 bit以上の正規化シフトが必
要な条件としては、桁合せ量(指数部の値による仮数部
どうしの桁合せ量)が1 bit以下つまりX. E 
− Y E l≦1の時である.本実施例は、2つの加
減算経路A,Bを設け、Aは従来の桁合せ回路を持って
いるが、正規化量が高々1 bitであり,Bは、桁合
せが1 bit以下であるが,従来の正規化回路を持っ
ている.この信号経路Aの出力とBの出力を別々に求め
、最後にAの出力またはBの出力を信号Cで選択する.
その時の信号Cによる選択条件として、2人力信号の差
IXE−YEI≦1を使用する.以上の特徴によって、
高速化を実現できることは後述する.第2図は第1図の
具体例である. 1)信号経路Aについては、 ?i)2人力信号の指数部の差rXE−YEJを減算回
路3lで算出する.その差に従い、Xシフタ21,,Y
シフタ2l■により、XMまたはYMを右にシフトする
′!1tで桁合せを行なう。ただし、条件として、r 
X E − Y E >31」の時はY M. = 0
とする。rXE−YE<−31Jの時はXM=0とする
。これらは井にシフト範囲をこえた時である. (ii)上記(i)によって、桁合せ後の仮数部データ
XM’lとYM’lを、加算又は減算命令によって加減
算回路22で加算又は減算する。また指数部データの大
きい方をセレクタ32でセレクトし、これをZE’とし
て減算回路34へ出力する。
From formula 1 bit shift,
If "O", there is no shift. Also from type 0, XM
to the right by more than 2 bits, or the normalization amount is at most 1
The following is the result. From the above results, the condition that requires a normalization shift of 2 bits or more is that the amount of digit alignment (the amount of digit alignment between mantissa parts based on the value of the exponent part) is 1 bit or less, that is, if X. E
− Y E When l≦1. In this embodiment, two addition/subtraction paths A and B are provided, and A has a conventional digit alignment circuit, but the normalized amount is at most 1 bit, and B has a digit alignment of less than 1 bit. , has a conventional normalization circuit. The output of this signal path A and the output of B are determined separately, and finally the output of A or the output of B is selected using signal C.
As the selection condition for the signal C at that time, the difference between the two human power signals, IXE-YEI≦1, is used. Due to the above characteristics,
We will discuss later how speedup can be achieved. Figure 2 is a concrete example of Figure 1. 1) Regarding signal path A, ? i) Calculate the difference rXE-YEJ between the exponent parts of the two human input signals using the subtraction circuit 3l. According to the difference, X shifter 21,,Y
Shift XM or YM to the right with shifter 2l■'! Perform digit alignment using 1t. However, as a condition, r
When “X E − Y E > 31”, Y M. = 0
shall be. When rXE-YE<-31J, XM=0. These are the times when the well exceeds the shift range. (ii) According to (i) above, the mantissa data XM'l and YM'l after digit alignment are added or subtracted by the addition or subtraction circuit 22 by an addition or subtraction instruction. Also, the selector 32 selects the larger exponent data and outputs it to the subtraction circuit 34 as ZE'.

(iii)加減算回路22ノ出力結果ZM’lを、+1
bit正規化用エンコーダ33に入力し、 ZM’lの
上位数ビットから左又は右1 bitシフト制御信号を
出力する.そのシフト制御信号に従い左右工bitシフ
タ23によって正規化を行なう。 このシフタ23の出
力を信号経路Aの仮数部出力Z M 1とする. ?こで、ZM’lの正規化量が、±1 bit以上にな
る可能性はあるが、その時の出力セレクタ27は、経路
Bを選択するので、don″t Care (関係なし
)である. 2)次に信号経路Bについては、 (i)2人力信号の指数部下位2bitっまりXEI,
XEO,YEI,YEOを入力として、第3図に従い,
lbitシフタ24.または24■でXMまたはYMを
lbit右にシ“フトする.第3図でrXJは不定の意
味である.第6図は第5図のカルノーマップをもとに設
計した信号XS(Xシフト),YS(Yシフト)の発生
回路である。
(iii) Addition/subtraction circuit 22 output result ZM'l is +1
It is input to the bit normalization encoder 33 and outputs a 1-bit shift control signal to the left or right from the upper few bits of ZM'l. Normalization is performed by the left/right bit shifter 23 according to the shift control signal. Let the output of this shifter 23 be the mantissa output Z M 1 of the signal path A. ? Here, there is a possibility that the normalized amount of ZM'l becomes more than ±1 bit, but in that case, the output selector 27 selects route B, so it is not a concern.2 ) Next, for signal path B, (i) the lower 2 bits of the exponent part of the 2-person signal are XEI,
Using XEO, YEI, YEO as input, according to Figure 3,
lbit shifter 24. Or shift XM or YM to the right by lbit in 24■. In Fig. 3, rXJ has an indefinite meaning. Fig. 6 shows the signal XS (X shift) designed based on the Carnaugh map in Fig. 5. , YS (Y shift) generation circuit.

(1i)上記(i)により、桁合せ後の仮数部データX
M’2とYM’2を、加算又は減算命令によって、加減
算回路25で加減算する. ( iii )加減算回路25の出力結果ZM’2に対
し、正規化量検出回路35によって正規化量を検出する
.その検出結果に従って、31bit左シフタ26によ
ってシフトする事で正規化を行なう.そのシフタ26の
出力を信号経路Bの仮数部データZM2とする。
(1i) According to (i) above, the mantissa data X after digit alignment
M'2 and YM'2 are added or subtracted by an addition/subtraction circuit 25 using an addition or subtraction instruction. (iii) For the output result ZM'2 of the addition/subtraction circuit 25, the normalization amount is detected by the normalization amount detection circuit 35. According to the detection result, normalization is performed by shifting using a 31-bit left shifter 26. The output of the shifter 26 is assumed to be the mantissa data ZM2 of the signal path B.

3)次に仮数部出力結果ZMI,ZM2及び正規化量結
果M1または−M2の選択用セレクタ27,セレクタ3
6の制御信号の選択条件は、第4図によって求まる. 入力信号XM.YMの符号bit、加減算命令、指数部
XE,YEの減算結果によって、第7図の如く選択信号
Cが作られ、それに従いセレクタ27,セレクタ36で
出力結果が選択され,出力される。
3) Next, selector 27 and selector 3 select mantissa output results ZMI, ZM2 and normalized amount result M1 or -M2.
The selection conditions for the control signal No. 6 are determined from FIG. Input signal XM. A selection signal C is generated as shown in FIG. 7 by the sign bit of YM, the addition/subtraction instruction, and the subtraction results of the exponent parts XE and YE, and output results are selected and outputted by the selector 27 and the selector 36 according to the selection signal C as shown in FIG.

上記実施例によれば次の利点がある。The above embodiment has the following advantages.

即ち第30図の如く、従来の32E6の浮動小数点の加
減算においては、その信号経路が、まず6bit減算回
路4によって指数部の差を求め、指数部の差に従い、X
シフタ5またはYシフタ6 (31bitシフタ)によ
り,桁合せを行なう。そのデータを32bit加減算回
路7にて加減算し、 その加減算結果を用いて正規化量
を検出し、この正規化量に従い、シフタ9でシフトを行
なう。その時のデータの回路遅延は、 (1)6bit減算回路4→ 5段シフト回路5または
?→32bit加減算回路7→−1 bit, +31
bitエンコーダ8→5段シフト回路9 となる。
That is, as shown in FIG. 30, in the conventional 32E6 floating point addition/subtraction, the signal path first calculates the difference in the exponent part using the 6-bit subtraction circuit 4, and then calculates the difference in the exponent part according to the difference in the exponent part.
Digit alignment is performed using shifter 5 or Y shifter 6 (31-bit shifter). The data is added and subtracted by a 32-bit addition/subtraction circuit 7, a normalized amount is detected using the result of the addition/subtraction, and a shifter 9 performs a shift according to this normalized amount. The circuit delay of data at that time is: (1) 6-bit subtraction circuit 4 → 5-stage shift circuit 5 or? →32-bit addition/subtraction circuit 7 →-1 bit, +31
The bit encoder 8 becomes the 5-stage shift circuit 9.

一方、第2図の回路では、 (2) 6bit減算回路31→5段シフト回路21.
または21■→32bit加減算回路22→±1 bi
tエンコーダ33→1段シフト回路23→セレクト回路
27または、 (3) 4人力制御回路(第6図)→1段シフト回路2
41または24■→32bit加減算回路25→+31
bitエンコーダ25→5段シフト回路26→セレクト
回路27 回路遅延は、信号パス(2),(3)の遅い方になる.
明らかに■,■は、(1)に比べゲート段数が少く、高
速性が実現できる. 第8図は従来の第31図を改良した本発明の異なる実施
例で,これは仮数部31bit,指数部6 bitのF
ASUに適用したものである.第9図(a)は一般的な
1 bit減算器のブロック図、第9図(b)はその真
理値表,第9図(c)は同回路図,第lO図は第9図の
 1 bit減算器を利用した減算回路4及び0判定回
路14の回路図,第11図(a),第12図は従来のX
シフト回路,Yシフト回路図、第11図(b)は問路部
51のブロック図,第l1図(c)は同詳細回路図、第
13図,第14図は第8図のXシフト回路5,Yシフト
回路6を示す。
On the other hand, in the circuit shown in FIG. 2, (2) 6-bit subtraction circuit 31→5-stage shift circuit 21.
Or 21■→32bit addition/subtraction circuit 22→±1 bi
t encoder 33 → 1st stage shift circuit 23 → select circuit 27 or (3) 4-man power control circuit (Fig. 6) → 1st stage shift circuit 2
41 or 24■→32bit addition/subtraction circuit 25→+31
bit encoder 25 → 5-stage shift circuit 26 → select circuit 27 The circuit delay is the slower one of the signal paths (2) and (3).
Obviously, ■ and ■ have fewer gate stages than (1), and can achieve high speed. FIG. 8 shows a different embodiment of the present invention, which is an improvement over the conventional FIG.
This is applied to ASU. Fig. 9(a) is a block diagram of a general 1-bit subtracter, Fig. 9(b) is its truth table, Fig. 9(c) is the same circuit diagram, and Fig. 1O is the same as that of Fig. 9. The circuit diagrams of the subtraction circuit 4 and the 0 judgment circuit 14 using a bit subtracter, FIGS. 11(a) and 12, are the circuit diagrams of the conventional X
Shift circuit, Y shift circuit diagram, FIG. 11(b) is a block diagram of the interrogation unit 51, FIG. 11(c) is a detailed circuit diagram of the same, FIGS. 13 and 14 are the X shift circuit of FIG. 8. 5, Y shift circuit 6 is shown.

第8図において41〜44はセレクタで、それぞれ選択
入力(Cz+C2)が゛′1″の時、A0〜A,側の入
力が選択され,選択入力が“O”の時,他方の入力が選
択される。45はI) Mスルー又は一PM回路で、P
Mスルー回路45は、Xの仮数部XM側が選択されるか
または加算(X+Y)の時使用され、−PM回路45は
Yの仮数部YM側が選択されかつ減算(x−y)の時使
用されるもので、符シ}反転回路である。この第8図で
は、 (】)入力データの指数部の差の絶対値I XE−YE
1を減算回路4によって検出し、これが31未満の時は
最終的に以下の回路が選択される。
In Fig. 8, 41 to 44 are selectors, and when the selection input (Cz+C2) is ``1'', the inputs on the A0 to A side are selected, and when the selection input is ``O'', the other input is selected. 45 is I) M through or one PM circuit, P
The M through circuit 45 is used when the mantissa part XM side of X is selected or addition (X+Y), and the -PM circuit 45 is used when the mantissa part YM side of Y is selected and subtraction (x-y) It is an inversion circuit. In this Fig. 8, ( ]) the absolute value of the difference in the exponent part of the input data I
1 is detected by the subtraction circuit 4, and when this is less than 31, the following circuit is finally selected.

まず、桁合せのため.XE−YEの値によって仮数部X
M.YMに対し、第l5図に示すシフトを行なう. つまりO固定は行なわず、またIXE−YE≧3lの範
囲ではデータは保証しなくて良い.次に、上記のシフタ
で得られた仮数部XM’、YM’に対して、3lbft
加減算回路7により演算を行なう. 次に、上記の加減算回路7によって得られた仮数部ZM
’を正規化するために、正規化量検出回路8によって正
規化量を検出する.ここで正規化量検出回路8は、仮数
部ZM’を入力とし、上位bitを優先するプライオリ
ティー・エンコーダである。
First, for digit alignment. Mantissa part X depending on the value of XE-YE
M. Perform the shift shown in Figure 15 on YM. In other words, O fixation is not performed, and data does not need to be guaranteed in the range of IXE-YE≧3l. Next, for the mantissa parts XM' and YM' obtained by the above shifter, 3lbft
Calculations are performed by the addition/subtraction circuit 7. Next, the mantissa part ZM obtained by the above-mentioned addition/subtraction circuit 7
In order to normalize ', the normalization amount is detected by the normalization amount detection circuit 8. Here, the normalization amount detection circuit 8 is a priority encoder that receives the mantissa part ZM' as an input and gives priority to the upper bits.

上記正規化量で仮数部ZM’  を左シフトしたものを
仮数部出力とする. 減算回路10によって,指数部データXEおよびYEの
大きい方から、上記正規化量を差し引いて、これを指数
部出力B,とする. ■ 減算回路4の出力I XE−YE lが31以上の
時は,最終的に以下の回路が選択される.この回路は、
セレクタ41およびスルー回路,符号反転回路45から
なり,第16図に示す演算結果が出力される. この第16図において「命令」とはX+Y,X−Yのこ
とであり、「加算及び減算』とは,加算の場合でも減算
の場合でもという意味である。
The mantissa part ZM' is left-shifted using the above normalized amount and is used as the mantissa output. The subtraction circuit 10 subtracts the normalized amount from the larger of the exponent part data XE and YE, and sets this as the exponent part output B. ■ When the output IXE-YEl of the subtraction circuit 4 is 31 or more, the following circuit is finally selected. This circuit is
It consists of a selector 41, a through circuit, and a sign inversion circuit 45, and outputs the calculation result shown in FIG. 16. In FIG. 16, "instructions" refer to X+Y, X-Y, and "addition and subtraction" mean both addition and subtraction.

(3) 前述した通り,最後に上記(1)および■の出
力が、減算回路4の演算結果からO判定回路14により
選択され、これを出力ZMおよびZEとする。
(3) As described above, finally, the outputs of (1) and (2) above are selected by the O determination circuit 14 from the calculation results of the subtraction circuit 4, and are used as the outputs ZM and ZE.

本失施例では、並列に処理される2系組の演算結果が,
O判定回路l4により最後に選択される.つまり、本実
施例による浮動小数点加減算回路においては,O判定回
ml4はクリティカルバスに含まれない。また、第31
図の従来技術においてO判定回路l4の演算結果を入力
とするO固定回路12,l3が、本実施例による浮動小
数点加減算回路では存在しない。従来技術では,O判定
回路及びO固定回路による処理速度の低下が大きかった
が、本発明では、これを回避することで高速性を美況し
ている. 第l7図ないし第19図は加減算前の仮数部データ?ら
正規化量を検出し、高速化をはかる実施例である6図中
51はスルーまたは符号反転回路で,減算の場合、仮数
部YMの符号を反転する。8■は正規化量検出回路8の
エンコーダ、52〜54は減算回路、55は1ビット修
正検出回路,56は左1 bitシフタ,57は右1 
bitシフタ、58. 59はセレクタである。シフタ
56は1 bitシフト不足の時、左へ1bitシフト
するもの、シフタ57は1 bitシフトしすぎの時、
右へlビットもどすものである.正規化データをそのま
へ通過させたい時は、経路60を用いる。
In this example, the calculation results of two systems processed in parallel are
The final selection is made by the O determination circuit l4. That is, in the floating point addition/subtraction circuit according to this embodiment, the O judgment time ml4 is not included in the critical bus. Also, the 31st
In the prior art shown in the figure, the O fixed circuits 12 and 13 which input the operation result of the O determination circuit 14 do not exist in the floating point addition/subtraction circuit according to this embodiment. In the conventional technology, the processing speed was significantly reduced due to the O judgment circuit and the O fixing circuit, but the present invention achieves high speed by avoiding this. Is Figure 17 to Figure 19 the mantissa data before addition and subtraction? In Figure 6, which is an embodiment of detecting the normalized amount from the data and increasing the speed, numeral 51 is a through or sign inverting circuit, which inverts the sign of the mantissa part YM in the case of subtraction. 8■ is the encoder of the normalization amount detection circuit 8, 52 to 54 are the subtraction circuits, 55 is the 1-bit correction detection circuit, 56 is the left 1 bit shifter, and 57 is the right 1 bit shifter.
bit shifter, 58. 59 is a selector. The shifter 56 shifts 1 bit to the left when 1 bit is insufficient, and the shifter 57 shifts 1 bit too much.
This returns l bits to the right. When it is desired to pass the normalized data as is, the path 60 is used.

(1)最初に,本発明の特徴である正規化量検出の実施
例について説明する. ここで、 仮数部データは隠れbit無しの2の補正数
表現であるとし、加算命令だけを考える。
(1) First, an example of normalization amount detection, which is a feature of the present invention, will be explained. Here, it is assumed that the mantissa data is a correction number representation of 2 without hidden bits, and only the addition instruction is considered.

まず,桁合せ後の仮数部データがXM’、YM’が同符
号である場合、その加算結果について,正規化による左
シフトは行なわれない.つまり、加算結果においては、
XM’.YM’が異符号である場合のみを考えれば良い
.ここで,X.M’、YM’から直接、正規化量を検出
する方広を考える。以下の説明のため, XM’、YM
’の対応する各bitが、共にOである場合を11 Q
 I+、片方が↓である場合を“′1″′,共に1であ
る場合を゛′2″と表現することにする。正規化が生じ
るのは、加算結果において、符1bitであるMSB 
(最上位bit)と同じデータが、MSBから辿続して
3bj.t以上並ぶ場合であり、第20図に示す2つの
場合しかない。
First, if XM' and YM' of the mantissa data after digit alignment have the same sign, the addition result is not shifted to the left by normalization. In other words, in the addition result,
XM'. We only need to consider the case where YM' has different signs. Here, X. Consider a square that directly detects the normalized amount from M' and YM'. For the following explanation, XM', YM
11 Q
I+, if one side is ↓, it will be expressed as "'1"', and if both are 1, it will be expressed as "'2".Normalization occurs at the MSB, which is the sign 1 bit, in the addition result.
The same data as (most significant bit) is traced from MSB to 3bj. There are only two cases shown in FIG. 20.

つまり,■の場合は、加算結果が負になる場合で、加算
結果において、正規化位置まで1が続く。
That is, in the case of ■, the addition result is negative, and in the addition result, 1 continues up to the normalization position.

これを加算前データで見れば、最初にtが続き,これに
0が1 bit続く。次に2以外が来れば、加算結果に
おいてこれより下位に1が続くことはない。加算前デー
タにおいて0の次に2が来れば、2が続く限り加算結果
において1が続く。
Looking at this as pre-addition data, t follows first, followed by 1 bit of 0. If a value other than 2 comes next, 1 will not continue below this in the addition result. If 2 comes after 0 in the pre-addition data, 1 continues in the addition result as long as 2 continues.

一方■の場合は、加算結果が正になる場合で,加算結果
において、正規化位置までOが続く。これも■の場合と
同様に加算前データで見れば,最初に工が続き、これに
2が1 bit続く。 次にO以外が来れば,加算結果
においてこれより下位にOが続くことはなく、加算前デ
ータにおいて2の次にOが来れば,0が続く限り加算結
果においてOが続く. 以上から、加算前データにおいて隣接する3bitを検
証すれば、その中央のビットが正規化位置となり得るか
どうかが判るので、加算前データの各bitについて、
左右1 bitを含む3bitで上記の検証を行ない、
対応するbitにフラグを立て、つまり加算後に正規化
した場合にMSBとなるところにフラグを立て,このb
it列をプライオリテイー・エンコーダ8,8,に通す
ことで、正規化量を検出する車ができる. 詳細に説明するため、上記■、■を第21図に示すのよ
うに場合分けし、正規化検出によるフラグ位置を併記す
る. ここで、第21図で備考欄に記したように、加算結果に
よって2通りの正規化が予想される場合がある. これ
らは、下位bitからの桁上りによって生じるものであ
るが、その正規化量は,高々lbitしか違わない. 
 lbitの修正は容易なので、加算後に1 bitの
修正を行なうものとする。
On the other hand, in the case of ■, the addition result is positive, and in the addition result, O continues up to the normalization position. Similarly to the case of ■, if we look at the data before addition, the digit follows first, followed by 1 bit of 2. If something other than O comes next, no O will follow in the addition result, and if O comes after 2 in the pre-addition data, O will continue in the addition result as long as 0 continues. From the above, by verifying the three adjacent bits in the pre-addition data, it can be determined whether the center bit can be the normalization position, so for each bit of the pre-addition data,
Perform the above verification with 3 bits including 1 bit on the left and right,
Set a flag on the corresponding bit, that is, set a flag on the part that becomes MSB when normalized after addition, and set this b
By passing the it sequence through the priority encoders 8, 8, a vehicle that detects the normalized amount is created. In order to explain in detail, the above cases (1) and (2) are divided into cases as shown in Fig. 21, and the flag positions obtained by normalized detection are also shown. Here, as noted in the remarks column in Figure 21, two types of normalization may be expected depending on the addition result. These are caused by carry from the lower bits, but the normalization amount differs by at most 1 bit.
Since it is easy to modify lbit, 1 bit is modified after addition.

ところで第21図において、上記1 bitの修正が必
要な場合には、フラグの欄で“・・・・011.X・・
・・・・ のように正規化が起こり得る2 bitにフ
ラグ(「l」で示す)が立っているが、加算後にtbi
tの修正をすることを前提とすれば、この2 bitの
うちのいずれかにフラグを立てれば良い。この点を考慮
して、正規化量検出のための論理回路を設計した例を示
す.ここでSおよびCは加算前データであり、“O”の
時sc=oo.  “1”の時SC=10.”2”の時
SC=O Lである。また,当該3bitに対し、上位
bitからSOCO.S1.C1、S 2G2とする。
By the way, in FIG. 21, if the above 1 bit needs to be corrected, enter "...011.X..." in the flag column.
A flag (indicated by "l") is set on the 2 bits where normalization can occur, but after addition, tbi
If it is assumed that t is to be corrected, it is sufficient to set a flag in either of these two bits. Taking this point into consideration, we will show an example of designing a logic circuit for normalization amount detection. Here, S and C are data before addition, and when "O", sc=oo. When “1”, SC=10. When it is "2", SC=OL. Also, for the 3 bits, SOCO. S1. C1, S 2G2.

a) 加算後に右1bitの修正をする場合。a) When correcting the right 1 bit after addition.

この場合,上記1 bit修正を考慮した2 bitの
フラグの内、下位bitにフラグを立て,上位bitに
はフラグを立てない。第22図にカルノー図、第23図
にこのカルノー図から求めた正規化爪検出回路を示す.
第22図において上下または左右2欄にわたり九枠で囲
った部分は、カルノー図から得る回路のm at化のた
めの手法を示し、第23図の回路は第22図のSo,C
o,SL,Cl,S2,S2の計6独から得られろ。
In this case, of the 2-bit flag that takes into account the above 1-bit correction, the lower bit is flagged, and the upper bit is not flagged. Fig. 22 shows a Karnaugh diagram, and Fig. 23 shows a normalized claw detection circuit obtained from this Karnaugh diagram.
In Fig. 22, the part surrounded by nine frames in the top and bottom or left and right columns shows the method for converting the circuit into a mat obtained from the Karnaugh diagram, and the circuit in Fig. 23 is
Obtain it from a total of 6 Germans: o, SL, Cl, S2, and S2.

b) 加算後に左L bitの修正をする場合。b) When correcting the left L bit after addition.

この場合,上記1 bit修正を考慮した2 bitの
フラグの内、上位bitにフラグを立て、下位bitの
フラグは11 Q”、LL L”のいずれでも良い。第
24図にカルノー図、第25図にこのカルノー図から求
めた正規化址検出凹路を示す。上記の右1 bitの修
正をする場合より,小さい回路で実現できる。
In this case, the upper bit of the 2-bit flag considering the above 1-bit correction may be set, and the lower bit flag may be either 11 Q'' or LL L''. FIG. 24 shows a Karnaugh diagram, and FIG. 25 shows a normalized residual detection concave path obtained from this Karnaugh diagram. This can be realized with a smaller circuit than when modifying the right 1 bit above.

C) 加算後に左または右1 bitの修正をする場合
C) When correcting 1 bit on the left or right after addition.

この場合、上記1 bit修正を考慮した2 bitの
フラグの内、下位bitにフラグを立て、上位bitの
フラグは“O′″、′{”のいずれでも良い。第26図
にカルノー図,第27図はこのカルノー図から求めた正
規化量検出回路を示す。上記の左1 bitの修正をす
る場合より、さらに小さい回路で実現できる。
In this case, the lower bit of the 2-bit flag considering the 1-bit correction described above may be set, and the upper bit flag may be either "O'" or "{". Figure 27 shows a normalization amount detection circuit obtained from this Karnaugh diagram.It can be realized with a smaller circuit than the case of correcting the left 1 bit described above.

■ 次に、本発明を適用した仮数部31bit,指数部
6bitの’tf動小数ijH加減算lりI路の実施例
について説明する。
(2) Next, an embodiment of a 'tf dynamic decimal number ijH addition/subtraction l/I path with a mantissa part of 31 bits and an exponent part of 6 bits to which the present invention is applied will be described.

第l7図が、左右1 bitの修正を考慮した本実施例
のブロック図である。
FIG. 17 is a block diagram of this embodiment considering correction of 1 bit on the left and right sides.

まず、減算回路4によって入力Xの指数部データX E
と、六力Yの指数部データYEとの差XE−YEを求め
、その結果に従いXシフト同路5、Yシフト回路6によ
り、仮数部データXMもしくはYMを右方向にIXE−
YEIシフトすることによって桁合せを行なう。また,
セレクタによりXE.YEの大きい方を選択し、 これ
をZE’とする。
First, the subtraction circuit 4 extracts the exponent data X E of the input X.
and the exponent part data YE of Rokuryoku Y, and according to the result, the mantissa part data XM or YM is shifted to the right by the X shift circuit 5 and the Y shift circuit 6.
The digits are aligned by shifting YEI. Also,
Selector selects XE. Select the larger of YE and call it ZE'.

次に、(1)で説明した正規化量検出回路を適川するた
め、減算の場合は回路5lでYの仮数部の符号を反転す
る。
Next, in order to correct the normalization amount detection circuit described in (1), in the case of subtraction, the sign of the mantissa part of Y is inverted in the circuit 5l.

次に,仮数部データXM’とYM’の加算を行ない、同
時に(1)の正規化量検出回路により正規化量NEを検
出し、その出力をエンコードする。
Next, the mantissa data XM' and YM' are added, and at the same time, the normalization amount NE is detected by the normalization amount detection circuit (1), and its output is encoded.

次に、減算回路52〜54によって、指数部ZE’から
正規化量NEfi−減算する。この時、滅算回路52〜
54は, 指数部の正規化において左右1 bitの修
正を考慮し,各々ZE’−NE−1,ZE’−NE.Z
E′−NE十上を演算する. 上記減算と同時に、上記正規化量にしたがって、,!l
:.シフタ9により仮数部zM′を正規化する。その後
,検出回路55で、左1 bitシフタ56または右1
.bitシフタ57による左右1 bitの修正値を検
出する。
Next, the subtraction circuits 52 to 54 subtract the normalized amount NEfi from the exponent part ZE'. At this time, the extinction circuit 52~
54 takes into account the correction of 1 bit on the left and right sides in the normalization of the exponent part, and calculates ZE'-NE-1, ZE'-NE. Z
Calculate E'-NE ten. At the same time as the above subtraction, according to the normalized amount, ,! l
:. A shifter 9 normalizes the mantissa part zM'. After that, the detection circuit 55 selects the left 1 bit shifter 56 or the right 1 bit shifter 56.
.. The left and right 1-bit correction values by the bit shifter 57 are detected.

最後に、上記正規化と同時に左31bitシフタ9の出
力から検出した修正量にしたがい、セレクタにより仮数
部ZMおよび指数部ZEを選択し、これを浮動小数点加
減算回路の出力結果とする。
Finally, in accordance with the correction amount detected from the output of the left 31-bit shifter 9 at the same time as the normalization, the mantissa part ZM and the exponent part ZE are selected by the selector, and these are used as the output results of the floating point addition/subtraction circuit.

第18図は、右1bitの修正を考慮した実施例のブロ
ック図である。(1)で前述した通り,正規化量検出回
路は左右1 bit修正の場合に比べて複雑だが、指数
部正規化のための減算回路と,仮数部正規化のためのl
 bitシフタが1つづつ少くてすみ、ZEおよびZM
を選択するためのセレグタ58. 59も小さくてすむ
FIG. 18 is a block diagram of an embodiment that takes into account modification of the right 1 bit. As mentioned above in (1), the normalization amount detection circuit is more complex than the case of left and right 1-bit correction, but it requires a subtraction circuit for exponent normalization and an l for mantissa normalization.
One less bit shifter is required for ZE and ZM
selector 58. 59 is also small.

第19図は、左1 bitの修正を考慮した実施例のブ
ロック図である。(1)で前述した通り、正規化量検出
回路は左 1 bit修正の場合に比へて簡単であるが
、左右1 bit修正の場合に比べてm雑である。
FIG. 19 is a block diagram of an embodiment that takes into account the modification of the left 1 bit. As described above in (1), the normalization amount detection circuit is simpler in the case of left 1-bit correction, but is more complex than in the case of left and right 1-bit correction.

しかし, 正規化のための減算回路および1 bitシ
フタの回路規模は、 右1 bit修正の場合と同じで
ある。
However, the circuit scale of the subtraction circuit and 1-bit shifter for normalization is the same as in the case of right 1-bit correction.

従来の浮動小数点加減算回路では,正規化回路において
、仮数部加減算回路の出力結果から正規化量を検出して
いるため、正規化が仮数部の加減算結果が検出されるま
で行なわれなかったが、本実施例では、加減算前の仮数
部データから正規化量を検出するため、正規化が仮数部
の加減算結果の出力に先立って行なわれ、品速な浮動小
数4’(!)+加減算回路を設計することができる。特
に、指数部の減算は,正規化に費やす時間に対して大き
な比重を占めているので、これが仮数部加減算出力に先
立って行なわれることは、島速化に寄写する。
In conventional floating-point addition/subtraction circuits, the normalization circuit detects the normalized amount from the output result of the mantissa addition/subtraction circuit, so normalization is not performed until the mantissa addition/subtraction results are detected. In this embodiment, in order to detect the normalized amount from the mantissa data before addition/subtraction, normalization is performed before outputting the result of addition/subtraction of the mantissa, and a high-speed floating point 4'(!)+addition/subtraction circuit is implemented. can be designed. In particular, since the subtraction of the exponent part occupies a large proportion of the time spent on normalization, the fact that this is performed prior to the addition/subtraction calculation of the mantissa part contributes to speeding up.

第28図はFASUの高速化を図るための異なる尖施例
である。即ち通常の正規化回路(例えば第31図のシフ
タ9参照)は、前段部に、加減算回路?力がオーバーフ
ローした場合に.  lbit右シフトさせるシフタが
設けてある。 この1 bit右シフタ91は、シフタ
9から独立させてもかまわないので、これらシフタ9,
9■を並列配置し、例えば加減算器7の出力の上位2 
bitを用いて形成した制御信号により,セレクタl6
で出力選択する構成とすれば,加減算M路7以降でのゲ
ート段数が減り、その分高速化が図れるものである。ま
た、右1bitシフタの全てを独立させず、 クリテイ
カルバスだけをシフタ9から独立させることでも、同様
に高速化を図ることができる。
FIG. 28 shows a different tip embodiment for increasing the speed of FASU. That is, a normal normalization circuit (for example, see shifter 9 in FIG. 31) has an addition/subtraction circuit in the front stage. In case of force overflow. A shifter is provided to shift the data to the right by lbit. This 1-bit right shifter 91 may be made independent from the shifter 9, so these shifters 9,
9■ are arranged in parallel, for example, the top two outputs of the adder/subtractor 7
The selector l6 is controlled by the control signal formed using the bit.
If the configuration is such that the output is selected, the number of gate stages after the addition/subtraction M path 7 is reduced, and the speed can be increased accordingly. Further, by making only the critical bus independent from the shifter 9 instead of making all the right 1-bit shifters independent, the speed can be similarly increased.

なお本発明は実施例のみに限られず種々の応用が可能で
ある。例えば実施例では仮数部演算経路を2個とし、こ
れらを選択するようにしたが、それ以上としてもよい. [発明の効果コ 以上説明した如く本発明によれば、ゲート段数を少とし
たり、演算経路を複数としてこれらを共に動作させ、得
たい出力のみを選択するようにしたり,上記演算経路の
動作中に選択用信号も並行してネj?られるようにした
ため、高速化された7l動小数点データ加減算回路が提
供できるものである。
Note that the present invention is not limited to the embodiments, and can be applied in various ways. For example, in the embodiment, there are two mantissa calculation paths and these are selected, but more than two paths may be used. [Effects of the Invention] As explained above, according to the present invention, the number of gate stages can be reduced, a plurality of calculation paths can be made to operate together, and only the desired output can be selected; The selection signal is also sent in parallel. Therefore, a high-speed 7l dynamic point data addition/subtraction circuit can be provided.

4.図面のfIff拒む説明 第1図は本発明の一実施例の構戒図、第2図は同構成の
具体例を示す構成図、第3図ないし第5図は同構成の作
用を示す図表、第6図,第7図は同構成の一部詳細回路
図、第8図は本発明の異なる実施例の構成図、第9図は
同構成の一部詳細説明図、第10図は減算回路及びO判
定回路部分図、第11図,第12図は第8図の構成の効
果説明に用いる従来(l!1路図、第1311,第14
図は同従来i(tI路の改良例を示す回路図,第l5図
,第16図は第8図の構成の作用を示す図表、第l7図
ないし第19図は本発明の異なる実施例の構成図、第2
0図ないし第27図は同構成の一部説明図,第28図は
本発明の異なる実施例の構成図、第29図ないし第31
図は従来回路の構戊図,第32図は第31図の作用を示
す図表である。
4. Figure 1 is a composition diagram of an embodiment of the present invention, Figure 2 is a configuration diagram showing a specific example of the same configuration, Figures 3 to 5 are diagrams showing the operation of the same configuration, Figures 6 and 7 are partially detailed circuit diagrams of the same configuration, Figure 8 is a configuration diagram of a different embodiment of the present invention, Figure 9 is a partially detailed explanatory diagram of the same configuration, and Figure 10 is a subtraction circuit. and O judgment circuit partial diagrams, FIGS. 11 and 12 are conventional (l!1 road diagrams,
The figure is a circuit diagram showing an improved example of the conventional i(tI path), Figures 15 and 16 are diagrams showing the effect of the configuration of Figure 8, and Figures 17 to 19 are diagrams of different embodiments of the present invention. Configuration diagram, 2nd
0 through 27 are partial explanatory diagrams of the same configuration, FIG. 28 is a configuration diagram of a different embodiment of the present invention, and FIGS. 29 through 31.
The figure is a configuration diagram of a conventional circuit, and FIG. 32 is a diagram showing the operation of FIG. 31.

4 , 10. 31・・・減算回路、 5,6・・・
右30bitシ?タ、7・・・加減算回路、8・・・正
規化量検出回路、81・・エンコーダ、9・・・左30
bitシフタ、91・・・右1bitシフタ,15・・
・シフト量検出回路、16・・・セレクタ, 21■・
・・Xシフタ、211・・Yシフタ、21.24・・・
桁合せ回路、22. 25・・・加減算回路、23. 
26・・・正規化回R6、24,,24■・・・lbi
tシフタ,27・・・セレクタ,33.35・・・エン
コーダ、41. 43・・・セレクタ,45・・・PM
スルー又は一PM回路、5l・・・スルー又は反転回路
、55・・・修正量検出回路、56・・・左1 bit
シフタ,57・・右1 bitシフタ,59・・・セレ
クタ。
4, 10. 31... Subtraction circuit, 5, 6...
Right 30bit? 7...Addition/subtraction circuit, 8...Normalization amount detection circuit, 81...Encoder, 9...Left 30
Bit shifter, 91...Right 1 bit shifter, 15...
・Shift amount detection circuit, 16...Selector, 21■・
...X shifter, 211...Y shifter, 21.24...
Digit alignment circuit, 22. 25...addition/subtraction circuit, 23.
26...Normalization times R6, 24,, 24■...lbi
t shifter, 27... selector, 33. 35... encoder, 41. 43...Selector, 45...PM
Through or one PM circuit, 5l... Through or inversion circuit, 55... Correction amount detection circuit, 56... Left 1 bit
Shifter, 57...Right 1 bit shifter, 59...Selector.

出力2 第 1 図 第 3 図 第 4 図 (b) (C) 第 9 図 第15図 第16図 XE YE XM YM 第18図 箪19図 第20図 第21図 (a) (c) (b) (d) 第22図 第24図 (a) (c) (b) (d) 第26図 第27図 第29図 ZE 第30図 ZM 第32図Output 2 No. 1 figure No. 3 figure No. 4 figure (b) (C) No. 9 figure Figure 15 Figure 16 XE YE XM YM Figure 18 Chest 19 Figure 20 Figure 21 (a) (c) (b) (d) Figure 22 Figure 24 (a) (c) (b) (d) Figure 26 Figure 27 Figure 29 ZE Figure 30 ZM Figure 32

Claims (5)

【特許請求の範囲】[Claims] (1)浮動小数点データの演算処理経路を少くとも2個
有し、浮動小数点データかまたは、演算処理の中間デー
タを用いて前記処理経路を選択する手段を具備したこと
を特徴とする浮動小数点データ加減算回路。
(1) Floating point data characterized by having at least two arithmetic processing paths for floating point data, and comprising means for selecting the processing path using floating point data or intermediate data of arithmetic processing. Addition/subtraction circuit.
(2)少くとも第1,第2の仮数部データ演算経路を有
し、前記第1の仮数部データ演算処理経路は、第1,第
2の仮数部データのビット数に応じたビット数を有し指
数部データの差に応じて仮数部データの桁合せを行なう
桁合せ回路と、該回路で桁合せされた仮数部データの加
減算を行なう第1の加減算回路と、該回路での加減算結
果から左または右1ビットのシフト量を検出しその検出
結果に応じて左または右1ビットのシフトを行なう第1
のシフタとを有し、前記第2の仮数部データ演算経路は
、指数部データに応じて第1,第2の仮数部データの1
ビットシフトを行なう桁合せシフト回路と、これらシフ
ト回路の出力の加算または減算を行なう第2の加減算回
路と、該回路による加減算結果から正規化量を検出しそ
の検出結果に応じて正規化シフトを行なう第2のシフタ
とを有し、指数部データの差に応じて前記第1,第2の
シフタの出力を選択することを特徴とする浮動小数点デ
ータ加減算回路。
(2) It has at least first and second mantissa data calculation paths, and the first mantissa data calculation path calculates the number of bits corresponding to the number of bits of the first and second mantissa data. A digit alignment circuit that aligns the digits of the mantissa data according to the difference in the exponent data, a first addition/subtraction circuit that performs addition/subtraction of the mantissa data whose digits have been aligned in the circuit, and the results of the addition/subtraction in the circuit. The first step detects the shift amount of 1 bit to the left or right from , and shifts 1 bit to the left or right according to the detection result.
shifter, and the second mantissa data calculation path shifts one of the first and second mantissa data according to the exponent data.
A digit alignment shift circuit that performs bit shifting, a second addition/subtraction circuit that performs addition or subtraction of the outputs of these shift circuits, and a normalization amount that is detected from the addition/subtraction results of the circuit and a normalization shift performed in accordance with the detection result. 1. A floating point data addition/subtraction circuit, comprising: a second shifter for adding and subtracting data; and selecting outputs of the first and second shifters according to a difference in exponent part data.
(3)少くとも第1、第2の仮数部データ演算経路を有
し、前記第1の仮数部データ演算経路は、指数部データ
の差に応じて仮数部データの桁合せを行なう桁合せ回路
と、該回路により桁合せされた仮数部データの加算また
は減算を行なう加減算回路と、該回路での演算結果から
正規化量を検出する正規化量検出回路と、前記正規化量
に応じて仮数部データの正規化を行なう正規化用シフタ
とを有し、前記第2の仮数部データ演算経路は、入力オ
ペランドスルーの経路と入力オペランドの符号反転回路
を有し、浮動小数点データの加算命令時において、指数
部の差が仮数部桁合せ桁数より大きい時、指数部が大で
あるオペランドのスルーデータを加減算結果とし、浮動
小数点データの減算命令において、指数部の差が仮数部
桁合せ桁数より大きい時、2つのオペランド内の被減数
が大である時は被減数側のスルーデータを、減数が大で
ある時は減数側の符号反転データを、加減算結果とする
ものであり、指数部データの差に応じて前記第1,第2
の仮数部データ演算経路の出力を選択することを特徴と
する浮動小数点データ加減算回路。
(3) It has at least first and second mantissa data calculation paths, and the first mantissa data calculation path is a digit alignment circuit that performs digit alignment of mantissa data according to the difference in exponent data. , an addition/subtraction circuit that adds or subtracts mantissa data whose digits have been aligned by the circuit, a normalization amount detection circuit that detects a normalized amount from the calculation result of the circuit, and a the second mantissa data operation path has an input operand through path and an input operand sign inversion circuit, and the second mantissa data operation path has an input operand through path and an input operand sign inversion circuit, When the difference in the exponent part is larger than the number of digits in the mantissa part, the through data of the operand with the larger exponent part is used as the addition/subtraction result, and in the subtraction instruction for floating point data, the difference in the exponent part is greater than the number of digits in the mantissa part digit adjustment. When the number is larger than the number, if the minuend in the two operands is large, the through data on the minutand side is used as the addition/subtraction result, and when the subtrahend is large, the sign-inverted data on the subtrahend side is used as the addition/subtraction result, and the exponent part data The first and second
A floating-point data addition/subtraction circuit characterized in that the output of a mantissa data calculation path is selected.
(4)指数部データの差に応じて仮数部データの桁合せ
を行なう桁合せ回路と、該回路により桁合せされた仮数
部データの加算または減算を行なう加減算回路と、該回
路での演算前の仮数部データの各ビットの一部とその前
後の複数ビットからフラグを立て、それを正規化量エン
コード回路の入力とする正規化量検出回路と、該回路の
出力に応じて前記加減算回路からの仮数部データの正規
化を行なう正規化用シフタと、該シフタの出力から該出
力データを右または左へ1ビットシフトするか否かを選
択する手段とを具備したことを特徴とする浮動小数点デ
ータ加減算回路。
(4) A digit alignment circuit that aligns the mantissa data according to the difference in the exponent data, an addition/subtraction circuit that adds or subtracts the mantissa data digit-aligned by the circuit, and a pre-operation circuit in the circuit. a normalization amount detection circuit which sets a flag from a part of each bit of the mantissa data and a plurality of bits before and after it and inputs the flag to a normalization amount encoding circuit; A floating point system comprising: a normalization shifter for normalizing mantissa data; and means for selecting whether to shift the output data by 1 bit to the right or left from the output of the shifter. Data addition/subtraction circuit.
(5)指数部データの差に応じて仮数部データの桁合せ
を行なう桁合せ回路と、該回路により桁合せされた仮数
部データの加算または減算を行なう加減算回路と、該回
路での演算結果から正規化量を検出する正規化量検出回
路と、前記正規化量に応じて仮数部データの正規化を行
なう正規化用シフタと、前記加減算回路の出力を入力と
し該加減算回路出力がオーバーフローしたとき1ビット
の右シフトを行なう右シフタと、前記加減算回路の出力
データを用い、オーバーフロー検出と、正規化量検出を
並列に行う手段とを具備したことを特徴とする浮動小数
点データ加減算回路。
(5) A digit alignment circuit that aligns the mantissa data according to the difference in the exponent data, an addition/subtraction circuit that adds or subtracts the mantissa data digit-aligned by the circuit, and the calculation results of the circuit. a normalization amount detection circuit that detects the normalization amount from the normalization amount; a normalization shifter that normalizes the mantissa data according to the normalization amount; 1. A floating point data addition/subtraction circuit comprising: a right shifter for performing a 1-bit right shift; and means for performing overflow detection and normalization amount detection in parallel using the output data of the addition/subtraction circuit.
JP19284989A 1989-07-26 1989-07-26 Floating point data addition / subtraction circuit Expired - Lifetime JP3187402B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19284989A JP3187402B2 (en) 1989-07-26 1989-07-26 Floating point data addition / subtraction circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19284989A JP3187402B2 (en) 1989-07-26 1989-07-26 Floating point data addition / subtraction circuit

Publications (2)

Publication Number Publication Date
JPH0357019A true JPH0357019A (en) 1991-03-12
JP3187402B2 JP3187402B2 (en) 2001-07-11

Family

ID=16297996

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19284989A Expired - Lifetime JP3187402B2 (en) 1989-07-26 1989-07-26 Floating point data addition / subtraction circuit

Country Status (1)

Country Link
JP (1) JP3187402B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05313857A (en) * 1992-05-08 1993-11-26 Nec Corp Floating-point adding/subtracting device and its control system
JPH07225671A (en) * 1993-12-06 1995-08-22 Internatl Business Mach Corp <Ibm> Result normalization mechanism and method of operation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53133344A (en) * 1977-04-27 1978-11-21 Panafacom Ltd Floatinggpoint arithmetic processing system
JPS59226944A (en) * 1983-06-09 1984-12-20 Fujitsu Ltd Addition and subtraction system of floating point data
JPS60204031A (en) * 1984-02-24 1985-10-15 アメリカ合衆国 Floating points operation method and apparatus for digital computer
JPS6133539A (en) * 1984-07-25 1986-02-17 Toshiba Corp Floating point arithmetic unit
JPS63310022A (en) * 1987-06-11 1988-12-19 Matsushita Electric Ind Co Ltd Arithmetic processing unit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53133344A (en) * 1977-04-27 1978-11-21 Panafacom Ltd Floatinggpoint arithmetic processing system
JPS59226944A (en) * 1983-06-09 1984-12-20 Fujitsu Ltd Addition and subtraction system of floating point data
JPS60204031A (en) * 1984-02-24 1985-10-15 アメリカ合衆国 Floating points operation method and apparatus for digital computer
JPS6133539A (en) * 1984-07-25 1986-02-17 Toshiba Corp Floating point arithmetic unit
JPS63310022A (en) * 1987-06-11 1988-12-19 Matsushita Electric Ind Co Ltd Arithmetic processing unit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05313857A (en) * 1992-05-08 1993-11-26 Nec Corp Floating-point adding/subtracting device and its control system
JPH07225671A (en) * 1993-12-06 1995-08-22 Internatl Business Mach Corp <Ibm> Result normalization mechanism and method of operation

Also Published As

Publication number Publication date
JP3187402B2 (en) 2001-07-11

Similar Documents

Publication Publication Date Title
US4999803A (en) Floating point arithmetic system and method
JP3845009B2 (en) Product-sum operation apparatus and product-sum operation method
JP2618374B2 (en) Finding the position of the most significant digit
JPH09231055A (en) Logical operation circuit and carry look-ahead adder
EP0044450B1 (en) Digital adder circuit
KR100627993B1 (en) Three input split-adder
JP2511527B2 (en) Floating point arithmetic unit
JP2857505B2 (en) Division device
JPH0357019A (en) Floating-point data adding and subtracting circuit
US4099248A (en) One&#39;s complement subtractive arithmetic unit utilizing two&#39;s complement arithmetic circuits
JP4439060B2 (en) Floating point adder
JPH01232423A (en) Arithmetic circuit
JP2507183B2 (en) Floating point addition / subtraction unit
JP3517162B2 (en) Division and square root arithmetic unit
JP2555577B2 (en) Arithmetic unit
JP3462054B2 (en) Parallel addition / subtraction circuit
JP2856792B2 (en) Floating point arithmetic unit
US5689721A (en) Detecting overflow conditions for negative quotients in nonrestoring two&#39;s complement division
JPH09223016A (en) Method and device for arithmetic processing
JPH0667852A (en) Divider
JP2931632B2 (en) Digit shifter and floating point arithmetic unit
JP2506891B2 (en) Floating point arithmetic unit
JPH0367328A (en) Floating point arithmetic unit
JPH0667853A (en) Divider
JPH05204606A (en) Floating point arithmetic system and unit

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090511

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090511

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100511

Year of fee payment: 9

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100511

Year of fee payment: 9