JPS61114337A - Floating point multiplier - Google Patents

Floating point multiplier

Info

Publication number
JPS61114337A
JPS61114337A JP59234454A JP23445484A JPS61114337A JP S61114337 A JPS61114337 A JP S61114337A JP 59234454 A JP59234454 A JP 59234454A JP 23445484 A JP23445484 A JP 23445484A JP S61114337 A JPS61114337 A JP S61114337A
Authority
JP
Japan
Prior art keywords
circuit
signal
floating point
adder
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
JP59234454A
Other languages
Japanese (ja)
Inventor
Kaneyuki Narita
成田 金行
Yasuo Sakayori
酒寄 康雄
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
NEC Engineering Ltd
Original Assignee
NEC Corp
NEC Engineering 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, NEC Engineering Ltd filed Critical NEC Corp
Priority to JP59234454A priority Critical patent/JPS61114337A/en
Publication of JPS61114337A publication Critical patent/JPS61114337A/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
    • G06F7/487Multiplying; Dividing
    • G06F7/4876Multiplying

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

PURPOSE:To simplify the circuit constitution at an exponent part by providing a switch circuit to an adder circuit and therefore omitting an adder circuit for addition of '-1'. CONSTITUTION:A floating point multiplier is provided with a multiplication circuit part 1, an adder circuit part 2 and a normalization processing part 3. The circuit 2 includes switch circuits 26 and 27. These circuits 26 and 27 supply input signals 103 and 104 of an exponent part and deliver them to an adder circuit 22. Then a signal 114 of '-1' is delivered together with a signal 111 of the result of addition obtained before normalization which equals to the output of the circuit 22 in case a decision signal 108 delivered from a shift signal output circuit 25 shows that a signal 107 showing the result of multiplica tion of the part 1 is not normalized.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、仮数部の乗算を行なう乗算回路部、指数部の
加算を行なう加算回路部および前記乗算回路部と加算回
路部の計算結果から仮数部の正規化処理を行なう正規化
処理部からなる浮動小数点乗算器(=関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention provides a multiplication circuit unit that multiplies mantissa parts, an addition circuit unit that adds exponent parts, and a method based on calculation results of the multiplication circuit unit and the addition circuit unit. A floating point multiplier consisting of a normalization processing section that performs normalization processing on the mantissa.

〔従来の技術〕[Conventional technology]

第2図はこの種の浮動小数点乗算器の従来例を示すブロ
ック図である・ 乗算回路部1は仮数部入力信号101および102を入
力し、仮数部の乗算を行なって、乗算結果を示す信号1
07を出力する。加算回路部2は加算回路21および2
2、オーバーフロー・アンダーフロー検出回路26、オ
ーバーフロー・アンダーフロー処理回路24、シフト信
号出力回路25i二より構成される。指数部入力信号1
06および104が加算回路21に入力し、指数部の加
算が行なわれる。加算回路21から出力された加算結果
の信号110は別の加算回路22(二人力される。
FIG. 2 is a block diagram showing a conventional example of this type of floating point multiplier. The multiplication circuit section 1 receives mantissa input signals 101 and 102, multiplies the mantissa parts, and generates a signal indicating the multiplication result. 1
Outputs 07. Adder circuit section 2 includes adder circuits 21 and 2.
2. It is composed of an overflow/underflow detection circuit 26, an overflow/underflow processing circuit 24, and a shift signal output circuit 25i. Exponent input signal 1
06 and 104 are input to the adder circuit 21, and the exponent parts are added. The addition result signal 110 output from the adder circuit 21 is added to another adder circuit 22 (by two people).

信号107を入力したシフト信号出力回路25は信号1
07が正規化されているかどうかの判定を行ない、判定
信号108を加算回路22および正規化処理部3のシフ
ト処理回路61(二出力する。
The shift signal output circuit 25 inputting the signal 107 outputs the signal 1
07 is normalized, and outputs the judgment signal 108 to the adder circuit 22 and the shift processing circuit 61 of the normalization processing section 3 (two outputs).

加算結果の信号110と、判定信号108をへカした加
算回路22は判定信号108 により、信号107が正
規化されている時には信号11o(二〇を加算し、また
信号107が正規化されていない時には信号f101:
、−1を加算し、正規化された加算信号111を、オー
バーフロー・アンダーフロー検出回路26およびオーバ
ーフロー・アンダーフロー処理回路24(二出力する。
The addition circuit 22 which has added the addition result signal 110 and the judgment signal 108 adds the signal 11o (20) according to the judgment signal 108 when the signal 107 is normalized, and adds the signal 11o (20) when the signal 107 is not normalized. Sometimes the signal f101:
, -1 and outputs the normalized addition signal 111 to the overflow/underflow detection circuit 26 and the overflow/underflow processing circuit 24 (two outputs).

加算信号111を入力したオーバーフロー・アンダーフ
ロー検出回路26は、加算信号111が、あらかじめ決
められた範囲を外れている、つまりオーバーフロー・ア
ンダーフローかどりかの判定を行ない、判定信号112
をオーバーフロー・アンダーフロー処理回路24および
62(=出力する。正規化処理部6はシフト処理回路3
1とオーバーフロー・アンダーフロー処理回路62かう
なる。乗算結果の信号107と、判定信号108を入力
したシフト処理回路31は判定信号108により乗算結
果の信号107の正規化、つまりシフト処理を行ない、
正規化された乗算結果の信号109をオーバーフロー・
アンダーフロー処理回路62(二出力する。
The overflow/underflow detection circuit 26 inputting the addition signal 111 determines whether the addition signal 111 is outside a predetermined range, that is, whether it is an overflow or underflow, and outputs the determination signal 112.
is output from the overflow/underflow processing circuits 24 and 62 (=output. The normalization processing section 6 is connected to the shift processing circuit 3
1 and the overflow/underflow processing circuit 62 becomes. The shift processing circuit 31 that receives the multiplication result signal 107 and the judgment signal 108 normalizes the multiplication result signal 107, that is, shifts the multiplication result signal 107 using the judgment signal 108.
The signal 109 of the normalized multiplication result is overflowed.
Underflow processing circuit 62 (two outputs).

オーバーフロー・アンダーフロー処理回路24および6
2は、判定信号1120より信号111がオーバーフロ
ーまたはアンダーフローしている時C二は、出力信号1
05および106からオーバーフロー・アンダーフa−
信号を出力し、逆Iニオーバーフローもアンダーフロー
もしてし)ない時(=は、出力信号105および106
から、それぞれ〜信号109および111を出力する。
Overflow/underflow processing circuits 24 and 6
2 is the output signal 1 when the signal 111 is overflowing or underflowing from the judgment signal 1120.
From 05 and 106 overflow underflow a-
When the signal is output and there is no overflow or underflow (= is the output signal 105 and 106)
output signals 109 and 111, respectively.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

めの加算器が必要で、ハードフェアーが大きくなるとい
う問題点があった。
The problem was that a second adder was required, which increased the hard fair.

したがって、本発明の目的は、正規化のための加算器を
除去することができ、従来(=比べ、ハードフェアー規
模の小さな浮動小数点乗算器を提供することI=ある。
Therefore, it is an object of the present invention to provide a floating point multiplier that can eliminate the adder for normalization and has a smaller hardware scale than the conventional one.

〔問題点を解決するための手段〕[Means for solving problems]

本発明(二よる浮動小数点乗算器は、それぞれ$1゜第
2の指数部入力信号を人力して加算回路に出力し、前記
乗算回路部における乗算結果が正規化されていない場合
にはさらにそれぞれ°−11の信号、前記加算回路の出
力である正規化前の加算結果の信号を前記加算回路に出
力する第1、第2の切換回路を加算回路部に備えて、 
−1を加算するための加算回路(第2図における加算回
路22)を不用にしたものである。
The floating point multiplier according to the present invention manually inputs the second exponent part input signal and outputs it to the adder circuit, and if the multiplication result in the multiplier circuit section is not normalized, the floating point multiplier according to the present invention The adder circuit section includes first and second switching circuits that output the signal of the addition result before normalization, which is the output of the adder circuit, to the adder circuit;
This eliminates the need for an adder circuit (adder circuit 22 in FIG. 2) for adding -1.

(実施例〕 本発明の実施例について図面を参照しながら説明する。(Example〕 Embodiments of the present invention will be described with reference to the drawings.

第111は本発明による浮動小数点乗算器の一実施例を
示すブロック図である。
No. 111 is a block diagram showing an embodiment of a floating point multiplier according to the present invention.

本実施例の浮動小数点乗算器が第2図の従来例と異なる
点は、それぞれ指数部入力信号103.104を入力し
て加算回路22に出力し、シフト信号出力回路25から
出力された判定信号108が乗′s回路部lにおける乗
算結果を示す信号107が正規化されていないことを示
している場合にはさらにそれぞれ −1″のat信号1
14、加算回路22の出力である正規化前の加算結果の
信号111を出力する切換回路26゜27を備えた点で
ある。′ 本実施例の動作は第2図の従来例と同じである。
The floating point multiplier of this embodiment differs from the conventional example shown in FIG. If 108 indicates that the signal 107 indicating the multiplication result in the multiplication circuit section l is not normalized, then the at signal 1 of -1'' is also applied.
14. Switching circuits 26 and 27 are provided to output the signal 111 of the addition result before normalization, which is the output of the addition circuit 22. ' The operation of this embodiment is the same as the conventional example shown in FIG.

〔発明の効果〕〔Effect of the invention〕

不用(二なり指数部の回路を簡略化することができる。 Unnecessary (the circuit of the 2-digit exponent part can be simplified).

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

第1図は本発明による浮動小数点乗算器の一実施例を示
すブロック図、第2図は浮動小数点乗算器の従来例を示
すブロック図である。 1:乗算回路部、   2:加算回路部、3:正規化処
理部、 22:加算回路、25;シフト信号出力回路、 26.27:切換回路、 103.104:指数部入力信号、 108:判定信号、   111:加算結果の信号、1
14:−1″の信号。
FIG. 1 is a block diagram showing an embodiment of a floating point multiplier according to the present invention, and FIG. 2 is a block diagram showing a conventional example of a floating point multiplier. 1: Multiplication circuit section, 2: Addition circuit section, 3: Normalization processing section, 22: Addition circuit, 25; Shift signal output circuit, 26.27: Switching circuit, 103.104: Exponent part input signal, 108: Judgment Signal, 111: Signal of addition result, 1
14: -1'' signal.

Claims (1)

【特許請求の範囲】 仮数部の乗算を行なう乗算回路部、指数部の加算を行な
う加算回路部および前記乗算回路部と加算回路部の計算
結果から仮数部の正規化処理を行なう正規化処理部から
なる浮動小数点乗算器において、 それぞれ第1、第2の指数部入力信号を入力して加算回
路に出力し、前記乗算回路部における乗算結果が正規化
されていない場合にはさらにそれぞれ“−1”の信号、
前記加算回路の出力である正規化前の加算結果の信号を
前記加算回路に出力する第1、第2の切換回路を前記加
算回路部に備えたことを特徴とする浮動小数点乗算器。
[Scope of Claims] A multiplication circuit unit that multiplies the mantissa part, an addition circuit unit that adds the exponent part, and a normalization processing unit that normalizes the mantissa part from the calculation results of the multiplication circuit unit and the addition circuit unit. In the floating point multiplier, the first and second exponent part input signals are respectively inputted and outputted to the adder circuit, and if the multiplication result in the multiplier circuit section is not normalized, each of the floating point multipliers receives "-1". ” signal,
A floating point multiplier, characterized in that the adder circuit section includes first and second switching circuits that output a signal of the addition result before normalization, which is an output of the adder circuit, to the adder circuit.
JP59234454A 1984-11-07 1984-11-07 Floating point multiplier Pending JPS61114337A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59234454A JPS61114337A (en) 1984-11-07 1984-11-07 Floating point multiplier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59234454A JPS61114337A (en) 1984-11-07 1984-11-07 Floating point multiplier

Publications (1)

Publication Number Publication Date
JPS61114337A true JPS61114337A (en) 1986-06-02

Family

ID=16971248

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59234454A Pending JPS61114337A (en) 1984-11-07 1984-11-07 Floating point multiplier

Country Status (1)

Country Link
JP (1) JPS61114337A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59154542A (en) * 1983-02-23 1984-09-03 Hitachi Ltd Multiplying device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59154542A (en) * 1983-02-23 1984-09-03 Hitachi Ltd Multiplying device

Similar Documents

Publication Publication Date Title
US5993051A (en) Combined leading one and leading zero anticipator
JPS61204736A (en) Multi-bit adder
KR900002169A (en) Floating point unit
US20050060359A1 (en) Arithmetic unit for addition or subtraction with preliminary saturation detection
JPH069028B2 (en) Arithmetic unit
GB1387015A (en) Digital filters
US7337202B2 (en) Shift-and-negate unit within a fused multiply-adder circuit
JPS59117637A (en) Floating point multiplier
JPS61114337A (en) Floating point multiplier
EP0520378A2 (en) Overflow detection system and its circuit for use in addition and subtraction
JPS62197868A (en) Linear approximation conversion circuit for pipeline construction
US7444366B2 (en) Faster shift value calculation using modified carry-lookahead adder
KR0170729B1 (en) Calculator of absolute value of difference using carry select adder
JPS60225251A (en) Floating-point multiplier
JP2734274B2 (en) Floating point adder / subtracter
JPS63100536A (en) Adding circuit
JP3122622B2 (en) Division device
JPH0285922A (en) Arithmetic circuit
USH1993H1 (en) Floating-point division and squareroot circuit with early determination of resultant exponent
JPS5960637A (en) Arithmetic device for floating decimal point
JPH05241784A (en) Device for floating point arithmetic and method therefor
JPH05100825A (en) Normalization floating point adder/subtracter
JPS60235241A (en) Floating point adding circuit
JPH05119969A (en) Product sum computing element
JPS6095631A (en) Operating system