JPS60235241A - 浮動小数点加算回路 - Google Patents

浮動小数点加算回路

Info

Publication number
JPS60235241A
JPS60235241A JP59091494A JP9149484A JPS60235241A JP S60235241 A JPS60235241 A JP S60235241A JP 59091494 A JP59091494 A JP 59091494A JP 9149484 A JP9149484 A JP 9149484A JP S60235241 A JPS60235241 A JP S60235241A
Authority
JP
Japan
Prior art keywords
circuit
bits
overflow
mantissa
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
JP59091494A
Other languages
English (en)
Inventor
Kenzo Tanimoto
谷本 謙造
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.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP59091494A priority Critical patent/JPS60235241A/ja
Publication of JPS60235241A publication Critical patent/JPS60235241A/ja
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
    • G06F7/485Adding; Subtracting

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)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、浮動小数点加算回路に使用されている演算後
正規化回路に関する。
(従来技術) 一般に浮動小数点データの加算手段としては、最初に被
加算数および加a゛数の2つのオペランドの指数部を比
較し、次にその差分だけ小さい方の指数部を有する仮数
部を右にシフトし、2つのオペランドの指数部の桁合せ
を行って仮数部の加減算を実行し、その後に仮数部の中
間結果がオーバーフローを生じている場合には仮数部の
中間結果を1桁だけ右にシフトし、最上位桁に1を挿入
すると同時に、指数部のデータに1を加算して演算後正
矧化して演算結果とし、ていた。
第1図は、従来の演算後正規化回路の指数部演算回路を
示すブロック図でprる。第1図において、1はオーバ
ーフロー検出回路、2は演算器である。
第1図において、仮数部の中間結果はオーバーフロー検
出回路1によってオーバーフローが発生しているか否か
を検出し、仮数部の中間結果にオーバーフローを生じて
いる場合には演算器2により指数部データに1を加算し
、指数部の演算結果とする。
このような演算後正却化回路においては、指数部の演算
結果が確定するまでの時間が降<、さらに演算結果の例
外検出が確定する寸での時間が隅いため、演算器のヤイ
クルタイムを越えるという欠点があった。
(発明の目的) 本発明の目的は、仮数部の中間結果にもとづいて指数部
の上位桁を抽出し、仮数部のデータにオーバーフローが
検出された場合に指数部の下位ビットに1を加算して上
位桁ヘキャリイのある場合とない場合との相違を決定す
る指数部の演算を先に実行しておくことにより上記欠点
を除去し、正規化回路の高速化を計った浮動小数点加算
回路を提供することにある。
(発明の構成) 本発明による浮動小数点加算回路は、オーバーフロー検
出回路と、抽出回路と、第1および第2の演算器と9選
択回路とを具備して構成した本のである。
オーバーフロー検出回路は、仮数部の演算の中間結果に
オーバーフローを検出するためのものである。
抽出回路は(m+n)ピッ)(n:正整数)のデータ幅
から成る指数部の上位nビットを抽出するためのもので
ある。
第1の演舅器は、上記nビットに1を加算するためのも
のである。
第2の演(至)器は、仮数部のオーバーフローを検出す
るだめのオーバーフロー検出回路がオーバーフローを検
出した場合に指数部の下位mビットに1を加算するだめ
のものである。
選択回路は、第2の演算器のキャリイ出力によって指数
部の上位nビットの抽出回路の出力と。
第1の演算器の出力とのいずれか一方を選択するだめの
ものである。
(実施例) 次に、本発明について図面を参照して詳細に説明する。
第2図は、本発明の一実施例を示す高速化を汁1つた演
算後正却化回路の指数部演算回路のブロック図である。
第2図において、11 才、、−よび12けそれぞれ第
1および第2の演a:器、131オ一バーフロー検出回
路、14目選択回路、15は抽出回路である。第2図に
おいて、仮数部の中間結果はオーバーフロー検H1回路
13によってオーバーフローを生じているか否かを検出
する。一方、オーバーフロー検出回路13の出力が確定
する以前に(n+m)ビン)(n:正整数)のデータ幅
を有する指数部の上位nビットを抽出回路15により抽
出してEXP (n )とし、第1の演嘗器11により
111を加算してEXP(n)−1−1をめる。
仮数部の中間結果がオーバーフローを牛じている場合に
は、指数部の下位mビットに1を加算して指数部の演算
結果の出力の下位mビットを第2の演算器12によりめ
、指数部の演算結果の下位mピントを第2の演算器12
から出力する。
第2の演算器12のキャリイ出力にもとづき、選択回路
14により桁上げがおる場合にはEXP(n)+1を選
択し、桁借りがかい場合にけEXP(n)を選択するよ
うにして指数部の演算結果の上位nビットを決定する。
(発明の効果) 本発明は以上説明したように、浮動小数点加算回路の演
算後正知化回路において、指数部の一部を抽出して仮数
部より先に演算することにより高速化し、その結果より
検出する例外検出も高速化することがで集るという効果
がある。
【図面の簡単な説明】
第1図は、従来の演算後正知化回路の指数部演数部演勢
回路の一実施例を示すブロック図である。 1.13・・・オーバーフロー検出回路2.12・・・
演算回路 14・・・・・選択回路 15・・・・・抽出回路

Claims (1)

    【特許請求の範囲】
  1. 仮数部の演算の中間結果のシーパー70−を検出するた
    めのmビット(m:正整数)のオーバーフロー検出回路
    と、(m+n)ビット(n:正整数)のデータ幅から成
    る指数部の−F位nビットを抽出するだめの抽出回路と
    、前記nビットに1′f加算するための第1の演算器と
    、前記仮数部のメーバーフローの前Fオーバーフロー検
    出回路が前記オーバーフローを検出した場合に^t1記
    指数部の下位mビットに1を加算するだめの第2の演算
    器と、前記第2の演算器のキャリイ出力によって前記指
    数部の上位nビットの抽出回路の出力と前記第1の演算
    器の出力とのいずれか一方を選択す石ための選択回路と
    を具備して構成したことを特徴とする浮動小数点加算回
    路。
JP59091494A 1984-05-08 1984-05-08 浮動小数点加算回路 Pending JPS60235241A (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59091494A JPS60235241A (ja) 1984-05-08 1984-05-08 浮動小数点加算回路

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59091494A JPS60235241A (ja) 1984-05-08 1984-05-08 浮動小数点加算回路

Publications (1)

Publication Number Publication Date
JPS60235241A true JPS60235241A (ja) 1985-11-21

Family

ID=14027961

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59091494A Pending JPS60235241A (ja) 1984-05-08 1984-05-08 浮動小数点加算回路

Country Status (1)

Country Link
JP (1) JPS60235241A (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6320532A (ja) * 1986-07-14 1988-01-28 Hitachi Ltd 浮動小数点演算装置
US4849923A (en) * 1986-06-27 1989-07-18 Digital Equipment Corporation Apparatus and method for execution of floating point operations

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4849923A (en) * 1986-06-27 1989-07-18 Digital Equipment Corporation Apparatus and method for execution of floating point operations
JPS6320532A (ja) * 1986-07-14 1988-01-28 Hitachi Ltd 浮動小数点演算装置

Similar Documents

Publication Publication Date Title
JPH0644225B2 (ja) 浮動小数点丸め正規化回路
JPS5776635A (en) Floating multiplying circuit
JPH0230530B2 (ja)
JPS61237133A (ja) 演算回路
JPH09212337A (ja) 浮動小数点演算処理装置
JPS60235241A (ja) 浮動小数点加算回路
US8244783B2 (en) Normalizer shift prediction for log estimate instructions
JPH0283728A (ja) 浮動小数点乗算装置
JPS60235239A (ja) 浮動小数点加算回路
JPH1091396A (ja) 浮動小数点数検出装置および浮動小数点数検出回路
JPS6133539A (ja) 浮動小数点演算装置
JPH0362124A (ja) 加算回路
JPS5960637A (ja) 浮動小数点演算装置
JPS59154542A (ja) 乗算装置
JP2723707B2 (ja) 正規化回路
JPH0797312B2 (ja) 演算装置
JPS57196351A (en) Floating point multiplying circuit
JPS5690343A (en) Data normalization device
JPS63158626A (ja) 演算処理装置
JPH0426495B2 (ja)
JPS55116143A (en) Data processor
KR100431707B1 (ko) 부동소수점연산에서의지수처리방법
JPS6359170B2 (ja)
JPH03217938A (ja) 浮動小数点丸め正規化装置
GB1239225A (ja)