JPS58129652A - Floating-point type arithmetic unit - Google Patents

Floating-point type arithmetic unit

Info

Publication number
JPS58129652A
JPS58129652A JP57014174A JP1417482A JPS58129652A JP S58129652 A JPS58129652 A JP S58129652A JP 57014174 A JP57014174 A JP 57014174A JP 1417482 A JP1417482 A JP 1417482A JP S58129652 A JPS58129652 A JP S58129652A
Authority
JP
Japan
Prior art keywords
bit
output data
block
data
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP57014174A
Other languages
Japanese (ja)
Inventor
Yujiro Ito
雄二郎 伊藤
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP57014174A priority Critical patent/JPS58129652A/en
Publication of JPS58129652A publication Critical patent/JPS58129652A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/38Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
    • G06F7/48Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
    • G06F7/483Computations with numbers represented by a non-linear combination of denominational numbers, e.g. rational numbers, logarithmic number system or floating-point numbers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/38Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
    • G06F7/48Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
    • G06F7/499Denomination or exception handling, e.g. rounding or overflow
    • G06F7/49936Normalisation mentioned as feature only

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Nonlinear Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Complex Calculations (AREA)

Abstract

PURPOSE:To sharply shorten processing time, by constituting the titled unit so that all processing can be executed within the prescribed processing time of a switching means even if the number of bits to be shifted for normalization and digit justification is large. CONSTITUTION:When mantissas B1, A1 are composed of N-bit data, the titled unit is provided with N-1 input data lines, N-1 code bit lines and output data blocks N1-Nn-1. In the output data block Nn-2, the order of connection is fixed so that the output data bit of the adjacent output data block Nn-1 is shifted only by one bit. In the same manner, respective blocks are connected so as to obtain output data by shifting the input data one bit each successively. When the number of shifted bits is ''1'', the output data block Nn-2 is selected by a control signal and data supplied to the block are outputted as output data after digit justification.

Description

【発明の詳細な説明】 この発明は浮動小数点形式により数値の加減算を行うよ
う圧した演算装置に関し、特に仮数部の桁合せ及び正規
化の処理時間を従来よりも大幅に短縮できるようKした
ものである。
[Detailed Description of the Invention] The present invention relates to an arithmetic unit that performs addition and subtraction of numerical values in floating-point format, and in particular to an arithmetic unit that is designed to significantly reduce the processing time for digit alignment and normalization of the mantissa part compared to conventional methods. It is.

A、82つの数値を浮動小数点形式によって加減算処理
するには従来次のような手順で行われてい九〇 まず、数値A、Bを次のように仮数部と指数部とによっ
て表わす。
A.8 Addition and subtraction processing of two numerical values in floating point format has conventionally been carried out using the following procedure.90 First, numerical values A and B are represented by a mantissa part and an exponent part as follows.

A−A 1 米2Ac1・・−・・・・−(11B=B
l米2       ・・・・・・・・(2)まず、指
数部Ae 、 Beを比較して指数部の大小を判別し、
この例では指数部の大きな万に他方の指数部を合せるよ
うにする。そのためAe≧Beなる場合#/cは、演算
結果の指数部を仮KAeと設定し、数値Bの仮数部Bl
をAe−Beビットだけ右にシフトさせると共に、左か
らB1の符号ビット(MSB)と同じものをつめて桁合
せを行う。
A-A 1 rice 2Ac1・・・・・・(11B=B
l rice 2 ・・・・・・・・・(2) First, compare the exponent parts Ae and Be to determine the size of the exponent part,
In this example, the other exponent part is set to match the larger exponent part. Therefore, when Ae≧Be, #/c sets the exponent part of the operation result to temporary KAe, and the mantissa part Bl of the numerical value B.
is shifted to the right by Ae-Be bits, and the same sign bit (MSB) of B1 is inserted from the left to perform digit alignment.

この桁合せの操作よって得られた新たなりの仮数部Bl
’とA1の加減算が行われ、その結果が予め定められた
形式になっていない場合にはその演算結果が正規化され
る。正規化のため、演算結果が適当にシフトされると共
に1それに応じて指数部の変更が行われて定められ丸形
式に変更される。
The new mantissa part Bl obtained by this digit alignment operation
' and A1 are added and subtracted, and if the result is not in a predetermined format, the result is normalized. For normalization, the calculation result is shifted appropriately, and the exponent part is changed accordingly and changed into a round format.

このような桁合せ操作及び正規化の操作は従来シフトレ
ジスタなどを用いて行っている。そのため桁合せのため
のビットシフトの回数あるいは正規化の丸めのビットシ
フトの回数が多い場合には、桁合せの処理時間及び正規
化の処理時間が長くかかるという欠点があった。
Such digit alignment and normalization operations have conventionally been performed using a shift register or the like. Therefore, when the number of bit shifts for digit alignment or the number of bit shifts for rounding for normalization is large, there is a drawback that processing time for digit alignment and normalization processing time is long.

そこで、この発明では正規化及び桁合せの丸めのビット
シフト量が多くてもスイッチング手段の単位処理時間内
で全て処理できるように構成することKより、桁合せ及
び正規化のための処理時間の大幅な短縮を図れるように
したものでめる0続いて、この発明の一例を第1図以下
を参照して詳細に説明する。
Therefore, in the present invention, even if the bit shift amount for normalization and digit alignment rounding is large, it can all be processed within the unit processing time of the switching means. Next, an example of the present invention will be described in detail with reference to FIG. 1 and subsequent figures.

まず、説明の便宜上仮数部AI 、Blを2進数で表わ
し、指数部Ae、Beを夫々10進数で表わすものとす
る。そして数値A、Bを仮に次のように表わす。
First, for convenience of explanation, it is assumed that the mantissa parts AI and Bl are expressed in binary numbers, and the exponent parts Ae and Be are respectively expressed in decimal numbers. The numerical values A and B are tentatively expressed as follows.

B 1 =00110100       Be=3 
 ・・・・・・(4)−例として、減算処理操作につい
て説明する0第1図において、指数部Ae、Beは指数
部比較ブロックQIK供給されて指数部AeとBeの比
較が行われる・その出力で分岐ブロック(2Qに供給さ
れた仮数部AIと81の分岐状態が制御される・この例
では指数部の大きい方に指数部の小さい方を合せるよう
にしであるため、指数部の小さい方に属する仮数部が桁
合せブロック(至)に供給されるように分岐状轢が制御
される。例えば、数値A、Bを(31、(4)式のよう
に表わした場合には、B e (A eなので、仮数部
B1ft桁合せブロック(至)に供給して、Ae−Be
ビットだけ仮数部B1をシフトさせる。このビットシフ
トと共に左からは仮数部B10M5Bと同じものをつめ
る。従って桁合せされた新たな仮数部Bl’は次のよう
になる。
B 1 =00110100 Be=3
(4) - As an example, in FIG. 1, which describes the subtraction processing operation, the exponent parts Ae and Be are supplied to the exponent part comparison block QIK, and the exponent parts Ae and Be are compared. The output controls the branching state of the mantissa AI and 81 supplied to the branch block (2Q).In this example, the larger exponent part is matched with the smaller exponent part, so the smaller exponent part is Branching is controlled so that the mantissa belonging to the digit alignment block (to) is supplied to the digit alignment block (to).For example, when numerical values A and B are expressed as in equations (31 and (4)), B e (Since A e, supply it to the mantissa part B1ft digit alignment block (to) and make Ae-Be
Shift the mantissa part B1 by a bit. Along with this bit shift, the same part as the mantissa part B10M5B is filled from the left. Therefore, the new mantissa part Bl' with digits aligned is as follows.

B1’=00011010         ・・・・
・・・・・(5)この仮数部B1の桁合せ操作は第2図
に示すような桁合せブロック(1)によって−挙に行わ
れる。
B1'=00011010...
(5) This digit alignment operation of the mantissa part B1 is performed simultaneously by a digit alignment block (1) as shown in FIG.

仮数部Bl 、AIがNビットのデータで構成されてい
る場合には、N−1本の入力データーラインが設けられ
ると共に、N−1本の符号ビットラインが設けられ、符
号ビットラインには仮数部A1若しくはB1の符号ビッ
トが共通に供給される。これら入力データライン及び符
号ビットラインに対しn個の出力データブロックN1%
Nn−1が設けられる。
When the mantissa part Bl and AI are composed of N-bit data, N-1 input data lines are provided, and N-1 sign bit lines are provided, and the sign bit line contains the mantissa. The sign bit of part A1 or B1 is commonly supplied. n output data blocks N1% for these input data lines and code bit lines
Nn-1 is provided.

夫々のブロックKFiN本の出力データラインが設けら
れ、ブロックNn−1からはデータビットがシフトされ
ていない、すなわち入力データピット七の壕壕のデータ
が出力ビットとして得られるように入力データライン及
び符号ビットラインと出力データラインとが結線される
・従ってLSBビットの入力データラインはL8Bビッ
トの出力データラインに結線され、同じく符号ビットラ
インはそのまま出力側符号ビットライン(MSB)に結
線される。
Each block KFiN output data lines are provided, and the input data lines and symbols are arranged such that from block Nn-1 no data bits are shifted, i.e. the data of seven input data pits are obtained as output bits. The bit line and the output data line are connected. Therefore, the input data line of the LSB bit is connected to the output data line of the L8B bit, and the sign bit line is directly connected to the output side sign bit line (MSB).

これに対し、出力データブロックNn−!においては、
隣りの出力データプロ、ツクNn−1の出力データビッ
トが1ビツトだけシフトするように結線順序が定められ
る@従って、 LSBビットの出力データラインはL8
B + 1のビットの入力データフィンに結線される・
そしてこの出力データラインのうちMOBビットの出力
ビツトライン及びMSB−1ビツトの出力データライン
は夫々符号ビットラインに結線される。
On the other hand, output data block Nn-! In,
The wiring order is determined so that the output data bits of the adjacent output data line Nn-1 are shifted by one bit. Therefore, the output data line of the LSB bit is L8.
Connected to the input data fin of bit B + 1.
Of these output data lines, the MOB bit output data line and the MSB-1 bit output data line are respectively connected to the code bit line.

以下同様にして夫々のブ寵ツクは順次1ビツトずつシフ
トし走入カデータが出力データとして得られるように結
線される。
Thereafter, in the same manner, each book is sequentially shifted one bit at a time and wired so that the incoming data is obtained as the output data.

ただし、桁合せの必要なビットシフト数はN−1ビツト
であるので、最初のブロックN1のL8Bビットの出力
データラインはMSB−1ビツトの入力データラインに
結線される。
However, since the number of bit shifts required for digit alignment is N-1 bits, the output data line of L8B bits of the first block N1 is connected to the input data line of MSB-1 bits.

これらN−1個の複数の出力データブロックの夫々に#
−1図のようなスイッチング手段81〜8トlが設けら
れ、これらに供給される制御信号によって1つの出力デ
ータブロックが選択され、選択された出力データブロッ
クよりのデータが桁合せされた仮数部Blのデータとな
る。
# for each of these N-1 plurality of output data blocks
- Switching means 81 to 8 l as shown in Figure 1 are provided, one output data block is selected by the control signal supplied to these, and the mantissa part in which the data from the selected output data block is digit-aligned. This becomes the data of Bl.

従って、上述のようにシフトビットが1つの場合には、
その制御信号によって出力データブロックNn−,が選
択され、このブロックに供給されたデータが桁合せ後の
出力データとして出力される。
Therefore, if there is one shift bit as described above,
The control signal selects the output data block Nn-, and the data supplied to this block is output as output data after digit alignment.

Ae−Be=N−2でおる場合には、出力データブロッ
クN2が選択されて、N−2ビツトだけシフトされたデ
ータが仮数部Bl’のデータとして出力される。
If Ae-Be=N-2, the output data block N2 is selected and the data shifted by N-2 bits is output as the data of the mantissa part B1'.

なお、上述のスイッチング手段Sl〜Sn、はスリース
テートのスイッチング素子などを使用できる。
Note that three-state switching elements or the like can be used for the above-mentioned switching means Sl to Sn.

また、制御信号は指数部比較ブロックOIによって形成
されたものが使用される。すなわち、このブロックQl
においては指数部AeとBeとが比較され、その大きさ
に応じた制御信号が形成される。
Furthermore, the control signal formed by the exponent comparison block OI is used. That is, this block Ql
In the step, the exponent parts Ae and Be are compared, and a control signal corresponding to the magnitude thereof is generated.

桁合せ後の仮数部Bl/け分岐ブロック[株]の他方か
ら得られた仮数部AIと共に演算回路(ALLJ)−に
供給されて、仮数部AIとBl’の減算処理が行われる
。その結果をC1とする。この減算出力C1は正規化ブ
ロック団に供給される〇正規化ブロック(至)は仮数部
CIがめる定められた形式となるように、入力された仮
数部C1を判別し、定められた形式でない場合にはデー
タ内容に応じて適歯にビットシフトを行うと共に、それ
に伴って指数部の変更を行う指数部変更データを得るた
めのブロックである。この例ではMSBビットとMSB
−1ビツトが等しく、且つMSB−1ビツトとMSB−
2ビツトが異るようにその形式が定められているものと
する。
The mantissa part Bl/k after digit alignment is supplied to the arithmetic circuit (ALLJ) along with the mantissa part AI obtained from the other branch block, and the mantissa part AI and Bl' are subtracted. Let the result be C1. This subtraction output C1 is supplied to the normalization block group. The normalization block (to) determines the input mantissa part C1 so that the mantissa part CI is in the specified format, and if it is not in the specified format, This is a block for obtaining exponent part changing data that performs bit shifting to an appropriate value according to the data content and changes the exponent part accordingly. In this example, the MSB bit and the MSB
-1 bit are equal, and MSB-1 bit and MSB-
It is assumed that the format is determined so that two bits are different.

正規化ブロック−は第3図で示すように仮数部C1のデ
ータ数に応じてN本の入力データラインが設けられると
共にビットシフトに供するN−2本のデータラインが設
けられ、これらビットシフト用のデータラインは全て接
地される・そしてプロテクトビット補正用のブロックを
含めてN+1個の出力データブロックN、;5−pJn
tが設けられる・これら各ブロックはN本の出力データ
ラインを有し、このN本の出力データラインとN本の入
力データライン及びN−2本のビットシフト用データラ
インが第2図で示したと同様な関係で結線される。
As shown in FIG. 3, the normalization block is provided with N input data lines according to the number of data in the mantissa part C1, and N-2 data lines for bit shifting. All data lines of are grounded and N+1 output data blocks N, including the block for protect bit correction; 5-pJn
t is provided. Each of these blocks has N output data lines, and these N output data lines, N input data lines, and N-2 bit shifting data lines are shown in FIG. are connected in the same way as.

出力データブロックN。′はプロテクトビット補正用の
ブロックである@従って、MSBビットの出力データラ
インとMSB−1ビツトの出力データラインとはMSB
ビットの入力データラインに結線される。次の出力デー
タブロックN l/は正規化が必要でない場合の出力デ
ータブロックで、従ってその出力データラインはN本の
入力データラインにのみ結線される。
Output data block N. ' is a block for protecting bit correction @ Therefore, the output data line of MSB bit and the output data line of MSB-1 bit are MSB
Connected to the bit's input data line. The next output data block Nl/ is the output data block when no normalization is required, so its output data lines are connected to only N input data lines.

これに対し、第3のブロックN2′は正規化が必要な場
合で、且つ1ビツトシフトの正規化が必要な場合であっ
て、出力データラインのうち、MSBビットの出力デー
タラインはMSBビットの入力データラインに結線され
、MSB−1ビツトの出力ブタラインはMSB−2ビツ
トの入力データラインに結線され、以後順次1ビツトず
つシフトするように出力データラインと入力データライ
ンが結線され、さらK L8Bビットの出力データライ
ンはビットシフト用データラインのうちの1本に結線さ
れる。
On the other hand, the third block N2' is a case where normalization is required and normalization with a 1-bit shift is required, and among the output data lines, the output data line of the MSB bit is the input data line of the MSB bit. The output data line of the MSB-1 bit is connected to the input data line of the MSB-2 bit, and then the output data line and the input data line are connected so as to shift one bit at a time, and then the output data line of the MSB-1 bit is connected to the input data line of the MSB-2 bit. The output data line of is connected to one of the bit shifting data lines.

そして、最後の出力データブロックNn/は、そのMS
Bビットの出力データラインはM8Bビットの入力デー
タラインに結線されると共6(、MSB−sピット以下
の出力データラインは全てビットシフト用データライン
に結線される〇 従って、上述の例においてはλLU−から出力された仮
数部ciFi、 CI=AI−Bl’−00010010・・・・・・・
・・(6)のようなデータであるので、この場合には正
規化りが同一であるので、この例では1ビツトシフトの
正規化を行う。正規化後のデータを(71弐と示す。
Then, the last output data block Nn/ is its MS
The output data line of the B bit is connected to the input data line of the M8B bit, and all the output data lines below the MSB-s pit are connected to the data line for bit shifting. Therefore, in the above example, Mantissa part ciFi output from λLU-, CI=AI-Bl'-00010010...
Since the data is as shown in (6), the normalization is the same in this case, so in this example, normalization is performed by a 1-bit shift. The data after normalization is shown as (712).

CI’=00100100      ・・・・・・・
・・(7)従って、正規化ブロック−においては、第3
の出力テ/ フo y l N’2 K設けられたスイ
ッチング手段86′のみオン和し、その他の出力データ
ブロックに設けられ九スイッチング手R86s8t *
8’z +・・・S6は全てオフとなるような゛制御信
号を供給すればよい。
CI'=00100100 ・・・・・・・・・
...(7) Therefore, in the normalization block, the third
Only the switching means 86' provided in the output data block turns on, and the nine switching means provided in the other output data blocks R86s8t *
8'z+... A control signal that turns off all S6 may be supplied.

制御信号は入力データラインに供給され九仮数部C1の
データをデコードすることによって形成する。5υはそ
のためのデコーダである。仮数部CIの出力データピッ
トが例えば(8)式のような場合には、これを(9)式
のように正規化する必要があるので、この場合には最後
の出力データブロックN/nのデータが出力されるよう
な制御信号が形成される。
A control signal is provided on the input data line and is formed by decoding the data in the nine mantissa C1. 5υ is a decoder for that purpose. For example, if the output data pit of the mantissa CI is as shown in equation (8), it is necessary to normalize it as shown in equation (9). A control signal is generated such that the data is output.

ct=oooooooi       ・・・・・・・
・・(8)CI’=00100000       ・
・・・・・・・・(9)なおこのような仮数部の正規化
によって指数部の変更を行う必要がある。そのためこの
例では入力データラインに供給された仮数部C1のデー
タがさらにデコーダ@に供給されて、−どれだけ指数部
の変更を必要とするかが検出される。従ってこの正規化
ブロック−からは、正規化された仮数部(C1′とする
) と、指数部の変更を行うため指数部変更データが出
力される0 −は指数部変更ブロックで、指数部比較ブロック01よ
り出力された大きい方の指数部、この例では指数部A6
が供給されると共に、正規化ブロック(至)より出力さ
れた指数部の変更データが供給さのひき算が行われる。
ct=ooooooooi ・・・・・・・・・
・・・(8) CI'=00100000 ・
(9) It is necessary to change the exponent part by normalizing the mantissa part in this way. Therefore, in this example, the data of the mantissa part C1 supplied to the input data line is further supplied to the decoder@, and it is detected by how much the exponent part needs to be changed. Therefore, this normalization block - outputs the normalized mantissa (called C1') and exponent change data to change the exponent. The larger exponent part output from block 01, in this example exponent part A6
is supplied, and at the same time, the modified data of the exponent part output from the normalization block (to) is supplied and subtraction is performed.

例えば、上述のように仮定された指数部ke=4に対し
、1ビツトシフトしてその仮数部C1を正規化した丸め
、指数部は4から3に一変更する0このブロックlの出
力が求めようとする減算出力の指数部Ceとなる。
For example, for the exponent part ke = 4 assumed above, the mantissa part C1 is normalized and rounded by shifting it by 1 bit, and the exponent part is changed from 4 to 3. 0 Let's find the output of this block l. This is the exponent part Ce of the subtracted output.

一方、正規化ブロック−より出力された正規化後の仮数
部CI’と分岐ブロックc!Iにおいて分岐されたAL
U−に供給された仮数部、この例でdAlが大島マルチ
ブレクtmVcm給され、A1若しくは01′の選択が
行われる。このマルチプレク?(至)では、指数部の差
が小さい場合には正規化された仮数部CI’が出力され
るのく対し、指数部の差があまり忙大きい場合には仮数
部A1がそのまま出力される。このマルチプレクサ(至
)の制御は指数部比較ブロック員の出力圧よって行われ
る。
On the other hand, the normalized mantissa CI' output from the normalization block and the branch block c! AL branched at I
The mantissa supplied to U-, dAl in this example, is supplied to the Oshima multiplex tmVcm, and the selection of A1 or 01' is performed. This multiplex? In (to), if the difference in the exponent parts is small, the normalized mantissa part CI' is output, but if the difference in the exponent parts is too large, the mantissa part A1 is output as is. This multiplexer is controlled by the output pressure of the exponent comparison block member.

以上のような演算処理の結果、マルチプレクサ(至)か
らは求めようとする減算出力の仮数部CI’若しくはA
1が出力され、また指数部変更ブロック−からは最終的
な指数部Ceが出力される。
As a result of the above arithmetic processing, the mantissa part CI' or A of the subtraction output to be obtained from the multiplexer (to) is
1 is output, and the final exponent part Ce is output from the exponent part changing block -.

以上説明したようにこの発明においては桁合せ及び正規
化の之めにシフトレジスタ等f:使用していないので、
データの桁合せ及び正規化を行うために必要な多数回の
ピットシフト操作と等価な操作を1つのブロックの選択
で行うことができる。
As explained above, in this invention, shift registers etc. are not used for digit alignment and normalization, so
An operation equivalent to the multiple pit shift operations required for data alignment and normalization can be performed by selecting one block.

従ってデータの桁合せ及び正規化に必要な処理時間はス
イッチング手段8x−8n−x r 8’o−86に設
けられたスイッチング素子の単位スイッチング時間とな
るから、処理時間を従来よりも大幅に短縮することがで
きる。
Therefore, the processing time required for data digit alignment and normalization is the unit switching time of the switching element provided in the switching means 8x-8n-x r 8'o-86, so the processing time is significantly reduced compared to the conventional method. can do.

なお、上述の実施例はいずれも仮数部が2の補数形式で
表わされている場合の各ブロックと入力データラインの
関係を説明したが、アンサインド形式によって仮数部を
表=わすようにした場合にもこの発明を適用することが
できる。
Note that in all of the above embodiments, the relationship between each block and the input data line was explained when the mantissa was expressed in two's complement format; however, the mantissa was expressed in unsigned format. The present invention can also be applied to such cases.

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

第1図はこの発明に係わる浮動小数点形式の演算装置の
要部の一例を示す系統図、第2図は桁合せブロックの一
例を示す接続図、第3図は正規化ブロックの一例を示す
接続図である。 0Iは指数部比較ブロック、(至)は桁合せブロツ久(
41#1ALU% ωは正規化ブロック、Ilは指数部
変更ブロック、(至)はマルチプレクサである。 代理人 伊勢 弓・
Fig. 1 is a system diagram showing an example of the main parts of a floating-point arithmetic unit according to the present invention, Fig. 2 is a connection diagram showing an example of a digit alignment block, and Fig. 3 is a connection diagram showing an example of a normalization block. It is a diagram. 0I is the exponent comparison block, (to) is the digit alignment block (
41#1ALU% ω is a normalization block, Il is an exponent changing block, and (to) is a multiplexer. Agent Yumi Ise

Claims (1)

【特許請求の範囲】[Claims] 浮動小数点形式の演算装置において、仮数部の入力デー
タと同一のデータが出力される出力データブロックと、
上記入力データが1ビツトシフトしたデータが出力され
、以後上記入力データが順次1ビツトずつシフトしたデ
ータ内容の異る複数のデータが出力される複数の出力デ
ータブロックを有し、上記仮数部のビットシフト量に応
じて上記複数の出力データブロックのうちの1つが選択
されて所定量だけビットシフトされた仮数部のデータが
出力されるよう釦なされた浮動小数点形式%式%
In a floating-point format arithmetic unit, an output data block that outputs the same data as the input data of the mantissa part;
It has a plurality of output data blocks in which data obtained by shifting the above input data by 1 bit is output, and thereafter a plurality of data with different data contents obtained by sequentially shifting the above input data by 1 bit are output, and the bit shift of the mantissa part is performed. A floating point format % expression % with a button that selects one of the plurality of output data blocks according to the amount and outputs the mantissa data bit-shifted by a predetermined amount.
JP57014174A 1982-01-29 1982-01-29 Floating-point type arithmetic unit Pending JPS58129652A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57014174A JPS58129652A (en) 1982-01-29 1982-01-29 Floating-point type arithmetic unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57014174A JPS58129652A (en) 1982-01-29 1982-01-29 Floating-point type arithmetic unit

Publications (1)

Publication Number Publication Date
JPS58129652A true JPS58129652A (en) 1983-08-02

Family

ID=11853773

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57014174A Pending JPS58129652A (en) 1982-01-29 1982-01-29 Floating-point type arithmetic unit

Country Status (1)

Country Link
JP (1) JPS58129652A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937330A (en) * 2010-09-03 2011-01-05 钰创科技股份有限公司 Data processing circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937330A (en) * 2010-09-03 2011-01-05 钰创科技股份有限公司 Data processing circuit

Similar Documents

Publication Publication Date Title
JP2674754B2 (en) Barrel shifter
US7395304B2 (en) Method and apparatus for performing single-cycle addition or subtraction and comparison in redundant form arithmetic
EP0540150B1 (en) Arithmetic logic unit
JPH06236252A (en) Leading-zero two-stage and multistage detection unit for detection of number of leading zeros in mantissa part of floating-point number, floating-point left-shift mantissa normalization unit and method for detection of number of leading zeros
JP2557190B2 (en) Optimization system for argument reduction
US4617641A (en) Operation unit for floating point data having a variable length exponent part
JPH05224883A (en) System for converting binary number of magnitude having floating-point n-bit code into binary number indicated by two's complement of fixed-point m-bit
EP0416308A2 (en) Rectangular array signed digit multiplier
US5195051A (en) Computation of sign bit and sign extension in the partial products in a floating point multiplier unit
EP0609673B1 (en) A mantissa addition system and method for a floating point adder
US5576982A (en) Fast significant bit calculator and its application to integer multiplication and division
US4823300A (en) Performing binary multiplication using minimal path algorithm
EP0361886B1 (en) Improved floating point computation unit
JPS58129652A (en) Floating-point type arithmetic unit
EP0332215B1 (en) Operation circuit based on floating-point representation
US5754458A (en) Trailing bit anticipator
KR19990074385A (en) Apparatus and method for simultaneously performing rounding and addition in a floating-point multiplier
US5432727A (en) Apparatus for computing a sticky bit for a floating point arithmetic unit
KR100252766B1 (en) Sticky signal generator operating at high-speed
JP3512738B2 (en) Rounding detection circuit and composite circuit including the rounding detection circuit connected to a shift circuit
JP3535670B2 (en) Floating point mantissa normalization circuit
JP4428778B2 (en) Arithmetic device, arithmetic method, and computing device
JP3137131B2 (en) Floating point multiplier and multiplication method
JP3187402B2 (en) Floating point data addition / subtraction circuit
JPH0413734B2 (en)