JPH06290023A - Floating point arithmetic unit - Google Patents

Floating point arithmetic unit

Info

Publication number
JPH06290023A
JPH06290023A JP5075632A JP7563293A JPH06290023A JP H06290023 A JPH06290023 A JP H06290023A JP 5075632 A JP5075632 A JP 5075632A JP 7563293 A JP7563293 A JP 7563293A JP H06290023 A JPH06290023 A JP H06290023A
Authority
JP
Japan
Prior art keywords
exponent
multiplication
underflow
normalized
circuit
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
JP5075632A
Other languages
Japanese (ja)
Inventor
Makoto Takiguchi
誠 瀧口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Hitachi Computer Engineering Co Ltd
Original Assignee
Hitachi Ltd
Hitachi Computer Engineering 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 Hitachi Ltd, Hitachi Computer Engineering Co Ltd filed Critical Hitachi Ltd
Priority to JP5075632A priority Critical patent/JPH06290023A/en
Publication of JPH06290023A publication Critical patent/JPH06290023A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To solve a trouble of performance drop to be generated when an interruption report is delayed by quickly detecting the operation exceptions of an exponent overflow and an exponent underflow by a floating point multiplying instruction and informing an interruption. CONSTITUTION:An operation exception detecting part 200 consists of a post- multiplication normalized quantity detecting circuit 201, a post-multiplication exponent calculating circuit 202, an exponent underflow detecting circuit 203, an exponent overflow detecting circuit 204, an AND gate 205, etc., and constituted so that the normalized quantity of the multiplied result of a multiplicand and a multiplier is found out by the circuit 201, the exponent of the multiplied result is fount out by the circuit 202 and an exponent overflow and an exponent underflow are quickly detected respectively by the circuits 203, 204 based on the exponent of the multiplied result.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、浮動小数点演算装置に
関し、特に指数オーバーフロー、指数アンダーフローの
演算例外を高速に検出する検出技術に適用して有効な技
術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a floating point arithmetic unit and, more particularly, to a technique effectively applied to a detection technique for detecting exponential overflow and exponent underflow operation exceptions at high speed.

【0002】[0002]

【従来の技術】たとえば、科学技術計算の分野では、主
たるデータ表現形式に浮動小数点データ形式が用いられ
る。
2. Description of the Related Art For example, in the field of scientific and technological calculation, a floating point data format is used as a main data representation format.

【0003】そこで、たとえばHITAC Mシリーズ
の情報処理装置における浮動小数点データのデータ形式
を示すと図4のようになり、浮動小数点データは、1ビ
ットの符号部S、指数部7ビットおよび仮数部からな
る。
Therefore, the data format of floating point data in a HITAC M series information processing apparatus is shown in FIG. 4, and the floating point data is composed of a 1-bit sign part S, an exponent part 7 bits and a mantissa part. Become.

【0004】そして、符号部1ビットは仮数に対する符
号であり、指数部7ビットはexcess64表現にお
いて16進数によって表された仮数部を16の累乗倍す
る数を示す。
The 1-bit sign part is a code for the mantissa, and the 7-bit exponent part is a number obtained by multiplying the mantissa part represented by a hexadecimal number in the access64 representation by a power of 16.

【0005】次に、指数の表示可能範囲を図5に示す
と、指数は+63から−64まで表示可能であり、+6
4以上は指数オーバーフロー、−65以下は指数アンダ
ーフローである。
Next, when the displayable range of the index is shown in FIG. 5, the index can be displayed from +63 to -64, and +6.
An index overflow of 4 or more and an index underflow of -65 or less.

【0006】また、仮数部は、図4に示すように最上位
桁の左に小数点のある16進数であり浮動小数点数のデ
ータ形式には、たとえば仮数部が6桁3バイトの短精度
形式、仮数部が14桁7バイトの長精度形式、仮数部が
28桁14バイトの拡張精度形式の3形式がある。
Further, the mantissa part is a hexadecimal number having a decimal point to the left of the most significant digit as shown in FIG. 4, and the data format of the floating point number is, for example, a short precision format in which the mantissa part is 6 digits and 3 bytes. There are three formats: a long precision format with a mantissa of 14 digits and 7 bytes, and an extended precision format with a mantissa of 28 digits and 14 bytes.

【0007】また、浮動小数点データには仮数部の最上
位桁が0でない正規化データ(以下、正規化量が0桁と
記す)と仮数部の最上位桁が0である非正規化データ
(以下、正規化量が左1桁と記す)があり、浮動小数点
乗算命令ではデータの精度を保つため正規化した演算結
果を求める。
In the floating-point data, the normalized data whose mantissa has the most significant digit not 0 (hereinafter, the normalized amount is referred to as 0 digit) and the unnormalized data whose mantissa has the most significant digit 0 ( Hereinafter, the normalization amount is described as one digit on the left), and in the floating-point multiplication instruction, the normalized operation result is obtained in order to maintain the accuracy of the data.

【0008】次に、従来技術における浮動小数点データ
の乗算のアルゴリズムを説明する。
Next, the algorithm of multiplication of floating point data in the prior art will be described.

【0009】(1)被乗数、乗数の2つのオペランドを
正規化する。
(1) Two operands of a multiplicand and a multiplier are normalized.

【0010】(2)正規化した2つのオペランドの仮数
を乗算して中間結果の仮数を求め、さらに正規化した2
つのオペランドの指数を加算した値から64を引いた中
間結果の指数を求める。
(2) The mantissa of the intermediate result is obtained by multiplying the mantissas of the two normalized operands, and further normalized 2
The exponent of the intermediate result is obtained by subtracting 64 from the value obtained by adding the exponents of the two operands.

【0011】(3)中間結果を正規化し仮数を必要な長
さに切り捨て乗算結果を求める。その際、中間結果の仮
数は正規化データの場合と非正規化データの場合があ
り、その正規化量は0桁もしくは左1桁であり、この中
間結果の仮数より乗算結果の正規化量を求める。
(3) The intermediate result is normalized and the mantissa is truncated to the required length to obtain the multiplication result. At that time, the mantissa of the intermediate result may be normalized data or non-normalized data, and the normalization amount is 0 digit or 1 digit on the left. The normalization amount of the multiplication result is calculated from the mantissa of the intermediate result. Ask.

【0012】(4)乗算結果の指数の値が指数オーバー
フロー、または指数アンダーフローか否か調べ、指数ア
ンダーフローであり指数アンダーフロー割込マスクが0
の場合には乗算結果を0にし、また指数アンダーフロー
であり指数アンダーフロー割込マスクが1の場合または
指数オーバーフローの場合には演算例外割込を報告す
る。
(4) It is checked whether the exponent value of the multiplication result is an exponent overflow or an exponent underflow, and it is an exponent underflow, and the exponent underflow interrupt mask is 0.
In the case of, the multiplication result is set to 0, and when the exponent underflow occurs and the exponent underflow interrupt mask is 1 or in the case of exponent overflow, the operation exception interrupt is reported.

【0013】(5) 指数オーバーフロー、指数アンダ
ーフローの演算例外割込が報告されると次命令以降の命
令は実行を中止して割込処理を行う。
(5) When an operation exception interrupt of exponential overflow or exponent underflow is reported, the execution of the next and subsequent instructions is suspended and the interrupt processing is performed.

【0014】[0014]

【発明が解決しようとする課題】ところが、前記のよう
な従来技術においては、乗算結果が求まった後、乗算結
果の指数の値より指数オーバーフロー、指数アンダーフ
ローの演算例外を求めているので、乗算結果が求まって
からでないと指数オーバーフロー、指数アンダーフロー
の演算例外が求まらないため演算例外割込報告が遅くな
るという欠点がある。
However, in the prior art as described above, after the multiplication result is obtained, the operation exceptions of exponent overflow and exponent underflow are obtained from the exponent value of the multiplication result. Unless the result is obtained, the operation exception interrupt reporting is delayed because the operation exceptions for exponent overflow and underflow cannot be found.

【0015】また、演算例外割込報告が遅くなると、次
以降の命令の実行については以下の対応をとらなければ
ならない。
When the operation exception interrupt report is delayed, the following measures must be taken for the execution of the next and subsequent instructions.

【0016】第1の方法として、演算例外割込が確定す
るまで次以降の命令実行を待つ。
As a first method, execution of the next and subsequent instructions is waited until the operation exception interrupt is determined.

【0017】さらに、第2の方法として、演算例外割込
が確定しなくても次以降の命令の実行を行い、次以降の
命令実行中に乗算命令の演算例外割込が報告された場合
は実行中の命令の実行を中止し、余分に実行した命令が
更新したデータを回復する。この場合には、そのデータ
を退避するためのレジスタ、回復するための手順が必要
となる。
Further, as a second method, if the next and subsequent instructions are executed even if the operation exception interrupt is not confirmed, and the operation exception interrupt of the multiplication instruction is reported during the execution of the next and subsequent instructions, The execution of the instruction being executed is stopped, and the data updated by the extra executed instruction is recovered. In this case, a register for saving the data and a procedure for recovering the data are required.

【0018】第1の方法においては、割込が確定するま
で次以降の命令を実行できないため性能が低下するとい
う問題がある。
In the first method, there is a problem that the performance is lowered because the next and subsequent instructions cannot be executed until the interrupt is fixed.

【0019】また、第2の方法においても、データを待
避するためのレジスタなどのハードウエアが増加するほ
か、回復処理に時間を要するため性能が低下するという
問題がある。
Further, the second method also has a problem that the hardware such as a register for saving data increases and that the recovery process requires a long time so that the performance deteriorates.

【0020】そこで、本発明の目的は、浮動小数点乗算
命令の指数オーバーフロー、指数アンダーフローの演算
例外を早期に検出し、演算例外割込を行うことにより、
演算性能を向上させる浮動小数点演算装置を提供するこ
とにある。
Therefore, an object of the present invention is to detect an arithmetic exception of an exponent overflow and an exponent underflow of a floating point multiplication instruction at an early stage and perform an arithmetic exception interrupt,
It is to provide a floating point arithmetic unit that improves arithmetic performance.

【0021】本発明の前記ならびにその他の目的と新規
な特徴は、本明細書の記述および添付図面から明らかに
なるであろう。
The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

【0022】[0022]

【課題を解決するための手段】本願において開示される
発明のうち、代表的なものの概要を簡単に説明すれば、
下記のとおりである。
Among the inventions disclosed in the present application, a brief description will be given to the outline of typical ones.
It is as follows.

【0023】すなわち、本発明の浮動小数点演算装置
は、浮動小数点データの乗算を行う浮動小数点演算装置
であって、正規化した被乗数、乗数の仮数をデコードし
て乗算後の正規化量を検出する乗算後正規化量検出回路
と、検出した乗算後の正規化量と正規化した被乗数、乗
数の指数を加算して求めた中間結果の指数とにより乗算
後の指数を求める乗算後指数算出回路と、乗算後の指数
より指数オーバーフローおよび指数アンダーフローの演
算例外を検出する指数オーバーフロー検出回路および指
数アンダーフロー検出回路とからなる演算例外検出手段
を備えるものである。
That is, the floating-point arithmetic unit of the present invention is a floating-point arithmetic unit that multiplies floating-point data and decodes the normalized multiplicand and mantissa of the multiplier to detect the normalized amount after multiplication. A post-multiplication normalization amount detection circuit, and a post-multiplication exponent calculation circuit for obtaining the post-multiplication exponent by the detected post-multiplication normalization amount and the exponent of the intermediate result obtained by adding the exponent of the multiplicand and the multiplier An exponent overflow detection circuit for detecting exponent overflow and exponent underflow operation exceptions from the exponent after multiplication and an exponent underflow detection circuit are provided.

【0024】[0024]

【作用】前記した浮動小数点演算装置によれば、乗算後
正規化量検出回路により図3に示すような正規化した被
乗数、乗数の仮数の最上位桁だけをデコードし、乗算後
の正規化量を求めることができる。しかし、この場合に
は全てのケースの正規化量は求められない。
According to the floating point arithmetic unit described above, the post-multiplication normalization amount detection circuit decodes only the most significant digit of the normalized multiplicand and mantissa of the multiplier as shown in FIG. Can be asked. However, in this case, the normalized amount in all cases cannot be obtained.

【0025】また、下位桁の値により乗算後の正規化量
が0桁になる場合や左1桁になる場合のケースもあり、
さらにそのケースもデコードする桁数を増やすことによ
り、より正しい正規化量を求めることができる。
There are also cases where the normalized amount after multiplication becomes 0 digit or 1 digit to the left depending on the value of the lower digit.
Further in that case, a more correct normalization amount can be obtained by increasing the number of digits to be decoded.

【0026】すなわち、全ての桁をデコードすることに
より全ての正規化量が求まることは言うまでもない。
That is, it goes without saying that all the normalized amounts can be obtained by decoding all the digits.

【0027】しかし、図3に示すような被乗数、乗数の
仮数の最上位桁だけをデコードする場合では、被乗数、
乗数の仮数の最上位桁の値が1からFまで均一に発生す
ると199/225の確率により正規化量が求められ
る。
However, in the case of decoding only the most significant digit of the multiplicand and the mantissa of the multiplier as shown in FIG. 3, the multiplicand,
When the value of the most significant digit of the mantissa of the multiplier uniformly occurs from 1 to F, the normalized amount can be obtained from the probability of 199/225.

【0028】また、下位桁の値により正規化量を求めら
れない確率は26/225であり、この場合には、従来
の方法である仮数の乗算結果から正規化量を求めるとし
てもほとんどの場合において、乗算後正規化量検出回路
により正規化量を求めることができる。
The probability that the normalization amount cannot be obtained from the value of the lower digit is 26/225. In this case, even if the normalization amount is obtained from the multiplication result of the mantissa, which is a conventional method, in most cases. In, the normalized amount can be obtained by the normalized amount detecting circuit after multiplication.

【0029】従って、乗算後正規化量検出回路を用いて
被乗数、乗数の仮数を直接デコードすることにより、仮
数を乗算するよりも早く乗算後の正規化量を求めること
ができる。
Therefore, by directly decoding the mantissas of the multiplicand and the multiplier using the post-multiplication normalization amount detection circuit, the post-multiplication normalization amount can be obtained faster than the multiplication of the mantissa.

【0030】また、乗算後の正規化量が求まれば、乗算
後指数算出回路によりその求まった正規化量を用いて中
間結果の指数の値を±0、もしくは−1して乗算結果の
指数の値が求まる。
Further, when the normalized amount after multiplication is obtained, the value of the exponent of the intermediate result is ± 0 or -1 by using the obtained normalized amount by the exponentiation calculation circuit after multiplication, and the exponent of the multiplication result is obtained. The value of is obtained.

【0031】さらに、乗算結果の指数の値が求まれば、
指数オーバーフロー、指数アンダーフローの演算例外
は、乗算結果の指数の値が64以上か、−65以下かを
検出する指数オーバフロー検出回路、指数アンダーフロ
ー検出回路により求まり、指数オーバーフローの場合は
そのまま、指数アンダーフローの場合は、指数アンダー
フロー割込マスクと論理積をとることにより演算例外を
検出できる。
Further, if the value of the exponent of the multiplication result is obtained,
The exponent overflow and exponent underflow operation exceptions are found by the exponent overflow detection circuit and exponent underflow detection circuit that detect whether the exponent value of the multiplication result is 64 or more or -65 or less. In the case of underflow, the arithmetic exception can be detected by taking the logical product with the exponent underflow interrupt mask.

【0032】これにより、正規化した被乗数、乗数の仮
数を直接デコードして乗算後の正規化量を求める乗算後
正規化量検出回路と、中間結果の指数と求めた乗算後の
正規化量とにより乗算結果の指数を求める乗算後指数算
出回路と、その指数より指数オーバフローおよび指数ア
ンダーフローを検出する指数オーバフロー検出回路、お
よび指数アンダーフロー検出回路とからなる演算例外検
出手段により、浮動小数点データの乗算のほとんどのケ
ースにおいて演算結果を待つことなく指数オーバーフロ
ー、指数アンダーフローの演算例外割込を早期に検出す
ることができる。
Thus, the post-multiplication normalization amount detection circuit for directly decoding the normalized multiplicand and mantissa of the multiplier to obtain the post-multiplication normalization amount, the exponent of the intermediate result, and the obtained post-multiplication normalization amount. The exponent calculation circuit for calculating the exponent of the multiplication result by the exponent, the exponent overflow detection circuit for detecting exponent overflow and exponent underflow from the exponent, and the operation exception detection means including the exponent underflow detection circuit, In most cases of multiplication, exponent overflow and exponent underflow operation exception interrupts can be detected early without waiting for the operation result.

【0033】[0033]

【実施例】図1は本実施例における演算例外検出部の構
成を示す概略説明図、図2は本発明の一実施例である浮
動小数点演算装置の構成を示す概略説明図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a schematic explanatory diagram showing the configuration of an arithmetic exception detecting unit in this embodiment, and FIG. 2 is a schematic explanatory diagram showing the configuration of a floating point arithmetic unit according to an embodiment of the present invention.

【0034】まず、本実施例の浮動小数点演算装置の構
成を図2を用いて説明する。
First, the configuration of the floating point arithmetic unit of this embodiment will be described with reference to FIG.

【0035】本実施例の浮動小数点演算装置100は、
浮動小数点データの乗算を行う浮動小数点演算装置とさ
れ、たとえば被乗数レジスタ101と、乗数レジスタ1
02と、正規化回路103,104と、正規化被乗数レ
ジスタ105と、正規化乗数レジスタ106と、加算回
路107と、乗算回路108と、演算例外検出部(演算
例外検出手段)200と、中間結果レジスタ109と、
正規化回路110と、指数オーバーフロー検出回路11
1と、指数アンダーフロー検出回路112と、アンドゲ
ート113,114と、乗算結果抑止回路115と、乗
算結果レジスタ116と、演算制御回路117とにより
構成されている。
The floating point arithmetic unit 100 of this embodiment is
A floating point arithmetic unit for multiplying floating point data, for example, a multiplicand register 101 and a multiplier register 1
02, normalization circuits 103 and 104, normalized multiplicand register 105, normalized multiplier register 106, addition circuit 107, multiplication circuit 108, operation exception detection unit (operation exception detection means) 200, and intermediate result Register 109,
Normalization circuit 110 and exponent overflow detection circuit 11
1, an exponent underflow detection circuit 112, AND gates 113 and 114, a multiplication result inhibiting circuit 115, a multiplication result register 116, and an arithmetic control circuit 117.

【0036】被乗数レジスタ101は、被乗数を格納す
るレジスタであり、乗数レジスタ102は、乗数を格納
するレジスタである。そして、正規化回路103,10
4はそのレジスタの値を正規化する。
The multiplicand register 101 is a register for storing a multiplicand, and the multiplier register 102 is a register for storing a multiplier. Then, the normalization circuits 103 and 10
4 normalizes the value of that register.

【0037】正規化被乗数レジスタ105、正規化乗数
レジスタ106は正規化した被乗数、乗数を格納し、ま
た加算回路107は、正規化被乗数レジスタ105、正
規化乗数レジスタ106の指数を加算して64を引き中
間結果の指数を求める。
The normalized multiplicand register 105 and the normalized multiplier register 106 store the normalized multiplicand and multiplier, and the adder circuit 107 adds the exponents of the normalized multiplicand register 105 and the normalized multiplier register 106 to obtain 64. Find the index of the intermediate result.

【0038】乗算回路108は、正規化被乗数レジスタ
105、正規化乗数レジスタ106の仮数を乗算して中
間結果の仮数を求める。
The multiplication circuit 108 multiplies the mantissas of the normalized multiplicand register 105 and the normalized multiplier register 106 to obtain the mantissa of the intermediate result.

【0039】演算例外検出部200は、正規化被乗数レ
ジスタ105、正規化乗数レジスタ106の仮数、加算
回路107の加算結果および指数アンダーフロー割込マ
スク151とにより正規化量検出不可能信号211、指
数アンダーフロー早期割込報告信号212および指数オ
ーバーフロー早期割込報告信号213を出力する。
The operation exception detection unit 200 uses the normalized multiplicand register 105, the mantissa of the normalized multiplier register 106, the addition result of the adder circuit 107, and the exponent underflow interrupt mask 151 to detect the normalized amount undetectable signal 211 and the exponent. The underflow early interrupt report signal 212 and the exponent overflow early interrupt report signal 213 are output.

【0040】中間結果レジスタ109は、加算回路10
7、乗算回路108の中間結果を格納し、正規化回路1
10は、その中間結果レジスタ109の値を正規化す
る。
The intermediate result register 109 is used by the adder circuit 10.
7. The intermediate result of the multiplication circuit 108 is stored in the normalization circuit 1
10 normalizes the value of the intermediate result register 109.

【0041】指数オーバーフロー検出回路111は、正
規化回路110により正規化した指数から指数オーバー
フローを検出し、同様に指数アンダーフロー検出回路1
12は、指数アンダーフローを検出する。
The exponent overflow detection circuit 111 detects exponent overflow from the exponent normalized by the normalization circuit 110, and similarly, exponent underflow detection circuit 1
12 detects exponential underflow.

【0042】アンドゲート113,114は、指数アン
ダーフロー割込マスク151と、指数アンダーフロー検
出回路112により検出した指数アンダーフローとを論
理積をとり、指数アンダーフロー割込報告信号152、
乗算結果を0にする抑止信号154を求める。
The AND gates 113 and 114 take the logical product of the exponent underflow interrupt mask 151 and the exponent underflow detected by the exponent underflow detection circuit 112, and the exponent underflow interrupt report signal 152,
The inhibition signal 154 that sets the multiplication result to 0 is obtained.

【0043】さらに、指数アンダーフローの場合におい
て、指数アンダーフロー割込マスク151が0のとき
は、乗算結果を0にする抑止信号154を1にし、また
指数アンダーフロー割込マスク151が1のときは、指
数アンダーフロー割込報告信号152を1にする。
Further, in the case of exponent underflow, when the exponent underflow interrupt mask 151 is 0, the inhibition signal 154 for setting the multiplication result to 0 is set to 1, and when the exponent underflow interrupt mask 151 is 1. Sets the index underflow interrupt report signal 152 to 1.

【0044】乗算結果抑止回路115は、抑止信号15
4が1の場合には正規化回路110から出力された乗算
結果を0にし、そして乗算結果レジスタ116は、乗算
結果抑止回路115の出力値を保持する。
The multiplication result suppression circuit 115 outputs the suppression signal 15
When 4 is 1, the multiplication result output from the normalization circuit 110 is set to 0, and the multiplication result register 116 holds the output value of the multiplication result suppression circuit 115.

【0045】演算制御回路117は、指数アンダーフロ
ー早期割込報告信号212、指数オーバフロー早期割込
報告信号213、正規化量検出不可能信号211、指数
アンダーフロー割込報告信号152および指数オーバフ
ロー割込報告信号153を受け取り、演算の制御を行
う。
The arithmetic control circuit 117 has an exponent underflow early interrupt report signal 212, an exponent overflow early interrupt report signal 213, a normalization amount undetectable signal 211, an exponent underflow interrupt report signal 152 and an exponent overflow interrupt. The report signal 153 is received and the calculation is controlled.

【0046】指数オーバーフロー検出回路111では、
正規化した指数の値が64以上のとき指数オーバーフロ
ーを検出し、また指数アンダーフロー検出回路112で
は、正規化した指数の値が65以下のとき指数アンダー
フローを検出する。
In the exponent overflow detection circuit 111,
The exponent overflow is detected when the value of the normalized exponent is 64 or more, and the exponent underflow detection circuit 112 detects the exponent underflow when the value of the normalized exponent is 65 or less.

【0047】指数アンダーフロー早期割込報告信号21
2、指数オーバフロー早期割込報告信号213は、演算
例外検出部200によって検出され、また通常の指数ア
ンダーフロー割込報告信号152、指数オーバーフロー
割込報告信号153は、アンドゲート113、指数オー
バーフロー検出回路111によって検出される。
Index underflow early interrupt report signal 21
2. The exponent overflow early interruption report signal 213 is detected by the operation exception detection unit 200, and the usual exponent underflow interruption report signal 152 and exponent overflow interruption report signal 153 are AND gate 113 and exponent overflow detection circuit. Detected by 111.

【0048】次に、図1を用いて演算例外検出部200
の構成を説明する。
Next, the operation exception detection unit 200 will be described with reference to FIG.
The configuration of will be described.

【0049】本実施例の演算例外検出部200は、乗算
後正規化量検出回路201と、乗算後指数算出回路20
2と、指数アンダーフロー検出回路203と、指数オー
バフロー検出回路204と、アンドゲート205とから
なり、乗算後の浮動小数点データの指数アンダーフロー
および指数オーバーフローの早期検出を行う。
The operation exception detection unit 200 of this embodiment includes a post-multiplication normalization amount detection circuit 201 and a post-multiplication exponent calculation circuit 20.
2, exponent underflow detection circuit 203, exponent overflow detection circuit 204, and AND gate 205, and performs early detection of exponent underflow and exponent overflow of floating-point data after multiplication.

【0050】乗算後正規化量検出回路201は、正規化
被乗数レジスタ105、正規化乗数レジスタ106の仮
数より乗算後の正規化量210、正規化量検出不可能信
号211を求める。
The post-multiplication normalization amount detection circuit 201 obtains the post-multiplication normalization amount 210 and the normalization amount undetectable signal 211 from the mantissas of the normalization multiplicand register 105 and the normalization multiplier register 106.

【0051】乗算後指数算出回路202は、中間結果の
指数を求める加算回路107の中間結果の指数と、乗算
後の正規化量210により乗算後の指数を求める。
The post-multiplication exponent calculation circuit 202 obtains the post-multiplication exponent from the interim result exponent of the adder circuit 107 for obtaining the interim result exponent and the post-multiplication normalization amount 210.

【0052】指数アンダーフロー検出回路203は、乗
算後指数算出回路202によって求めた乗算後の指数か
ら指数アンダーフローを検出する。また、指数オーバー
フロー検出回路204は、乗算後指数算出回路202に
よって求めた乗算後の指数から指数オーバーフローを検
出し、指数オーバフロー早期割込報告信号213を出力
する。
The exponent underflow detection circuit 203 detects the exponent underflow from the exponent after the multiplication obtained by the post-multiplication exponent calculation circuit 202. Further, the exponent overflow detection circuit 204 detects an exponent overflow from the post-multiplication exponent obtained by the post-multiplication exponent calculation circuit 202, and outputs an exponent overflow early interrupt report signal 213.

【0053】アンドゲート205は、指数アンダーフロ
ー割込マスク151と、指数アンダーフロー検出回路2
03によって検出された指数アンダーフローとの論理積
をとり、指数アンダーフロー早期割込報告信号212を
出力する。
The AND gate 205 includes an exponent underflow interrupt mask 151 and an exponent underflow detection circuit 2.
The logical product of the exponent underflow detected by 03 is output, and the exponent underflow early interrupt report signal 212 is output.

【0054】次に、図3を用いて乗算後正規化量の検出
について説明する。
Next, the detection of the normalized amount after multiplication will be described with reference to FIG.

【0055】なお、作用において説明したように、たと
えば図3の乗算後の正規化量210は、正規化した被乗
数、乗数の最上位桁のみをデコードした場合の値である
ため、全てのケースにおいて乗算後の正規化量を求める
ことはできない。しかし、ほとんどのケースにおいて、
正規化量を検出できることは言うまでもない。
As explained in the operation, for example, the normalized amount 210 after multiplication in FIG. 3 is a value when only the most significant digit of the normalized multiplicand and multiplier is decoded, and therefore in all cases. The normalized amount after multiplication cannot be obtained. But in most cases,
It goes without saying that the normalized amount can be detected.

【0056】まず、被乗数の仮数最上位桁の値301が
1、乗数の仮数最上位桁の値302が1〜7の部分は、
乗算後の正規化量210は左1桁である。
First, the part where the mantissa most significant digit value 301 of the multiplicand is 1 and the mantissa most significant digit value 302 of the multiplier is 1 to 7 is as follows:
The normalized amount 210 after multiplication is the left one digit.

【0057】これは、被乗数の仮数が0.10・・・0か
ら0.1F・・・Fの範囲と乗数の仮数が0.10・・・0
から0.7F・・・Fの範囲を乗算すると中間結果が0.0
X・・・Xとなり、必ず乗算後の正規化量210が左1
桁になることを示している。
This is because the mantissa of the multiplicand is in the range of 0.10 ... 0 to 0.1F ... F and the mantissa of the multiplier is 0.10 ... 0.
To 0.7F ... The intermediate result is 0.0
X ... X, and the normalized amount 210 after multiplication is always left 1
It shows that it becomes a digit.

【0058】また、被乗数の仮数最上位桁の値301が
1、乗数の仮数最上位桁の値302が8〜Fの部分は、
乗算後の正規化量が0桁または左1桁であり、正規化量
を検出することはできないので正規化量検出不可能信号
211は1となる。
Further, the part where the value 301 of the most significant digit of the multiplicand is 1 and the value 302 of the most significant digit of the mantissa of the multiplier is 8 to F is
Since the normalized amount after multiplication is 0 digit or 1 digit on the left and the normalized amount cannot be detected, the normalized amount undetectable signal 211 is 1.

【0059】これは、被乗数の仮数が0.10・・・0か
ら0.1F・・・Fの範囲と乗数の仮数が0.80・・・0
から0.FF・・・Fの範囲を乗算すると中間結果が0.0
X・・・Xまたは0.1X・・・Xとなり、乗算後の正規
化量210が0桁または左1桁になることを示してい
る。
This is because the mantissa of the multiplicand is in the range of 0.10 ... 0 to 0.1F ... F and the mantissa of the multiplier is 0.80 ... 0.
To 0.FF ... F multiplication results in an intermediate result of 0.0
X ... X or 0.1X ... X, which indicates that the normalized amount 210 after multiplication has 0 digits or 1 digit on the left.

【0060】また、被乗数の仮数最上位桁の値301が
2以降についても同様にして正規化量が求まる。
Further, the normalization amount is similarly obtained when the mantissa most significant digit value 301 of the multiplicand is 2 or later.

【0061】以上のようにして、乗算後正規化量検出回
路201は、正規化した被乗数、乗数をデコードして乗
算後の正規化量210または正規化量検出不可能信号2
11を求めることができる。
As described above, the post-multiplication normalization amount detection circuit 201 decodes the normalized multiplicand and multiplier to normalize the post-multiplication amount 210 or the normalization amount undetectable signal 2.
11 can be obtained.

【0062】次に、本実施例の作用を説明する。Next, the operation of this embodiment will be described.

【0063】まず、浮動小数点演算装置100は、被乗
数レジスタ101と乗数レジスタ102に被乗数と乗数
をセットする。
First, the floating-point arithmetic unit 100 sets the multiplicand and the multiplier in the multiplicand register 101 and the multiplier register 102.

【0064】次に、被乗数レジスタ101、乗数レジス
タ102にセットした被乗数、乗数を正規化回路10
3,104は、正規化して正規化被乗数レジスタ10
5、正規化乗数レジスタ106にセットする。
Next, the multiplicand and multiplier set in the multiplicand register 101 and the multiplier register 102 are normalized by the normalization circuit 10.
Reference numerals 3 and 104 denote the normalized multiplicand register 10 that is normalized.
5. Set in the normalization multiplier register 106.

【0065】さらに、正規化被乗数レジスタ105、正
規化乗数レジスタ106にセットしたデータは、加算回
路107、乗算回路108に供給して中間結果を求め、
中間結果レジスタ109にセットするとともに、演算例
外検出部200に供給する。
Further, the data set in the normalized multiplicand register 105 and the normalized multiplier register 106 are supplied to an adding circuit 107 and a multiplying circuit 108 to obtain an intermediate result,
It is set in the intermediate result register 109 and supplied to the operation exception detection unit 200.

【0066】そして、演算例外検出部200は、加算回
路107の出力である中間結果の指数142および指数
アンダーフロー割込マスク151を入力する。
Then, the arithmetic exception detecting section 200 inputs the exponent 142 and the exponent underflow interrupt mask 151 of the intermediate result which are the outputs of the adder circuit 107.

【0067】さらに、演算例外検出部200内では、正
規化した被乗数の仮数140、正規化した乗数の仮数1
41を乗算後正規化量検出回路201に入力し、乗算後
の正規化量210、正規化量検出不可能信号211を求
める。
Further, in the operation exception detection unit 200, the mantissa 140 of the normalized multiplicand and the mantissa 1 of the normalized multiplier are set.
41 is input to the post-multiplication normalization amount detection circuit 201, and the post-multiplication normalization amount 210 and the normalization amount undetectable signal 211 are obtained.

【0068】そして、乗算後指数算出回路202は、求
めた乗算後の正規化量210と中間結果の指数142と
により乗算後の指数を求める。
Then, the post-multiplication exponent calculation circuit 202 obtains the post-multiplication exponent from the obtained post-multiplication normalization amount 210 and the intermediate result exponent 142.

【0069】さらに、この乗算後の指数により、指数ア
ンダーフロー検出回路203、指数オーバーフロー検出
回路204において指数アンダーフロー、指数オーバー
フローが求まる。
Further, the exponent underflow and the exponent overflow are found in the exponent underflow detection circuit 203 and the exponent overflow detection circuit 204 by the exponent after the multiplication.

【0070】そして、求めた指数アンダーフローと、指
数アンダーフロー割込マスク151とによってアンドゲ
ート205において論理積がとられ、指数アンダーフロ
ー早期割込報告信号212が求まる。
The AND gate 205 ANDs the exponent underflow thus obtained and the exponent underflow interrupt mask 151 to obtain the exponent underflow early interrupt report signal 212.

【0071】さらに、指数オーバフロー検出回路204
と、アンドゲート205とは、求めた指数オーバーフロ
ー割込、指数アンダーフロー割込を、指数オーバーフロ
ー早期割込報告信号213、指数アンダーフロー早期割
込報告信号212として演算制御回路117に報告す
る。
Further, the exponent overflow detection circuit 204
The AND gate 205 reports the calculated exponent overflow interrupt and exponent underflow interrupt to the arithmetic control circuit 117 as an exponent overflow early interrupt report signal 213 and an exponent underflow early interrupt report signal 212.

【0072】以上により、乗算後正規化量検出回路20
1、乗算後指数算出回路202、指数アンダーフロー検
出回路203、および指数オーバーフロー検出回路20
4などからなる演算例外検出部200により、早期に演
算例外割込処理を行うことができる。
As described above, the post-multiplication normalized amount detection circuit 20
1, post-multiplication exponent calculation circuit 202, exponent underflow detection circuit 203, and exponent overflow detection circuit 20
The operation exception detection unit 200 composed of 4 or the like can early execute the operation exception interrupt processing.

【0073】次に、従来の方法により演算例外割込報告
を行う場合を説明する。
Next, a case where an operation exception interrupt report is made by the conventional method will be described.

【0074】なお、中間結果レジスタ109に中間結果
をセットするところまでは上記方法と同様である。
The method is the same as the above method until the intermediate result is set in the intermediate result register 109.

【0075】中間結果レジスタ109にセットした中間
結果を正規化回路110は正規化して、その後指数オー
バーフロー検出回路111、指数アンダーフロー検出回
路112は、指数オーバーフロー、指数アンダーフロー
を求める。
The normalization circuit 110 normalizes the intermediate result set in the intermediate result register 109, and then the exponent overflow detection circuit 111 and the exponent underflow detection circuit 112 obtain exponent overflow and exponent underflow.

【0076】さらに、指数アンダーフロー検出回路11
2において求めた指数アンダーフローと、指数アンダー
フロー割込マスク151とにより、アンドゲート11
3,114は、それらの論理積をとり、乗算結果を0に
する抑止信号154または指数アンダーフロー割込報告
信号152を求める。
Further, the exponent underflow detection circuit 11
The AND gate 11 is obtained by the exponent underflow obtained in 2 and the exponent underflow interrupt mask 151.
Reference numeral 3114 calculates the logical product of them and obtains the inhibition signal 154 or the exponent underflow interrupt report signal 152 that makes the multiplication result 0.

【0077】そして、乗算結果抑止回路115は、正規
化回路110により出力された乗算結果を、アンドゲー
ト114によって求めた抑止信号154が1の場合には
抑止し、乗算結果レジスタ116に0を格納する。
Then, the multiplication result inhibiting circuit 115 inhibits the multiplication result output from the normalizing circuit 110 when the inhibition signal 154 obtained by the AND gate 114 is 1, and stores 0 in the multiplication result register 116. To do.

【0078】さらに、指数オーバーフロー検出回路11
1、アンドゲート113は、求めた指数オーバーフロー
割込、指数アンダーフロー割込を指数オーバフロー割込
報告信号153、指数アンダーフロー割込報告信号15
2として演算制御回路117に報告する。
Further, the exponent overflow detection circuit 11
1. The AND gate 113 outputs the calculated exponent overflow interrupt and exponent underflow interrupt to the exponent overflow interrupt report signal 153 and the exponent underflow interrupt report signal 15
2 is reported to the arithmetic control circuit 117.

【0079】次に、演算制御回路117は、正規化量検
出不可能信号211が0であり早期検出が可能な場合
は、指数アンダーフロー早期割込報告信号212、指数
オーバーフロー早期割込報告信号213により演算例外
報告を受け取る。
Next, when the normalization amount undetectable signal 211 is 0 and early detection is possible, the arithmetic control circuit 117 exponent underflow early interrupt report signal 212 and exponent overflow early interrupt report signal 213. Receive the operation exception report by.

【0080】また、正規化量検出不可能信号211が1
であり早期検出が不可能な場合には、指数アンダーフロ
ー割込報告信号152、指数オーバーフロー割込報告信
号153により演算例外割込報告を受け取る。
Further, the normalization amount undetectable signal 211 is 1
When the early detection is impossible, the operation exception interrupt report is received by the exponent underflow interrupt report signal 152 and the exponent overflow interrupt report signal 153.

【0081】そして、正規化量検出不可能信号211が
1であり早期検出が不可能な場合には、指数アンダーフ
ロー割込報告信号152、指数オーバーフロー割込報告
信号153が確定するまで次移行の命令実行を待たせ
る。
When the normalization amount undetectable signal 211 is 1 and early detection is not possible, the next transition is made until the exponent underflow interrupt report signal 152 and the exponent overflow interrupt report signal 153 are determined. Holds the execution of instructions.

【0082】以上により、乗算後の正規化量が検出でき
ない場合についても、従来と同様な方法により演算例外
の検出を行うことができる。
As described above, even when the normalized amount after multiplication cannot be detected, the operation exception can be detected by the same method as the conventional method.

【0083】従って、本実施例の浮動小数点演算装置1
00によれば、乗算後正規化量検出回路201、乗算後
指数算出回路202、指数アンダーフロー検出回路20
3および指数オーバーフロー検出回路204よりなる演
算例外検出部200により、浮動小数点乗算命令の演算
例外を早期に検出し、演算例外割込報告を行い、浮動小
数点乗算命令における処理性能の向上を図ることができ
る。
Therefore, the floating point arithmetic unit 1 of this embodiment
According to 00, the post-multiplication normalization amount detection circuit 201, the post-multiplication exponent calculation circuit 202, and the exponent underflow detection circuit 20.
The operation exception detection unit 200 including the 3 and the exponent overflow detection circuit 204 can detect an operation exception of a floating-point multiplication instruction at an early stage, report an operation exception interrupt, and improve the processing performance of the floating-point multiplication instruction. it can.

【0084】以上、本発明者によってなされた発明を実
施例に基づき具体的に説明したが、本発明は前記実施例
に限定されるのではなく、その要旨を逸脱しない範囲に
おいて種々変更可能であることは言うまでもない。
Although the invention made by the present inventor has been concretely described above based on the embodiments, the present invention is not limited to the embodiments but can be variously modified without departing from the scope of the invention. Needless to say.

【0085】[0085]

【発明の効果】本願において開示される発明のうち、代
表的なものよって得られる効果を簡単に説明すれば、下
記のとおりである。
The effects obtained by the typical ones of the inventions disclosed in the present application will be briefly described as follows.

【0086】すなわち、本発明によれば、浮動小数点デ
ータの演算において、演算例外検出手段により、正規化
量が検出可能かどうかを判断し、ほとんどの場合には正
規化量を検出し、早期に指数オーバーフロー、指数アン
ダーフローが検出でき、それ以外の場合には従来と同様
な方法によって指数オーバーフロー、指数アンダーフロ
ーが検出できる。
That is, according to the present invention, in the operation of floating-point data, the operation exception detecting means determines whether or not the normalization amount can be detected, and in most cases, the normalization amount is detected and the normalization amount is detected early. Exponent overflow and exponent underflow can be detected. In other cases, exponent overflow and exponent underflow can be detected by the same method as the conventional method.

【0087】この結果、浮動小数点乗算命令の指数オー
バーフロー、指数アンダーフローの演算例外を早期に検
出し、割込を報告することができ、割込報告が遅くなる
と発生する性能低下の問題を解決し、性能の向上を図る
ことができる。
As a result, it is possible to detect the exponent overflow and exponent underflow operation exceptions of the floating-point multiplication instruction at an early stage and report the interrupt, and solve the problem of performance degradation that occurs when the interrupt report is delayed. Therefore, the performance can be improved.

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

【図1】本実施例における演算例外検出部の構成を示す
概略説明図である。
FIG. 1 is a schematic explanatory diagram showing a configuration of an arithmetic exception detection unit in this embodiment.

【図2】本発明の一実施例である浮動小数点演算装置の
構成を示す概略説明図である。
FIG. 2 is a schematic explanatory diagram showing a configuration of a floating point arithmetic unit according to an embodiment of the present invention.

【図3】本実施例における演算例外検出回路の乗算後の
正規化量を示す概略説明図である。
FIG. 3 is a schematic explanatory diagram showing a normalized amount after multiplication of the operation exception detection circuit in the present embodiment.

【図4】浮動小数点データのデータ形式を示す概略説明
図である。
FIG. 4 is a schematic explanatory diagram showing a data format of floating point data.

【図5】浮動小数点データの指数の表示可能範囲を示す
概略説明図である。
FIG. 5 is a schematic explanatory diagram showing a displayable range of exponents of floating-point data.

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

100 浮動小数点演算装置 101 被乗数レジスタ 102 乗数レジスタ 103,104,110 正規化回路 105 正規化被乗数レジスタ 106 正規化乗数レジスタ 107 加算回路 108 乗算回路 111,204 指数オーバーフロー検出回路 112,203 指数アンダーフロー検出回路 113,114,205 アンドゲート 109 中間結果レジスタ 115 乗算結果抑止回路 116 乗算結果レジスタ 117 演算制御回路 140 正規化した被乗数の仮数 141 正規化した乗数の仮数 142 中間結果の指数 151 指数アンダーフロー割込マスク 152 指数アンダーフロー割込報告信号 153 指数オーバーフロー割込報告信号 154 抑止信号 200 演算例外検出部(演算例外検出手段) 201 乗算後正規化量検出回路 202 乗算後指数算出回路 210 乗算後の正規化量 211 正規化量検出不可能信号 212 指数アンダーフロー早期割込報告信号 213 指数オーバーフロー早期割込報告信号 301 被乗数の仮数最上位桁の値 302 乗数の仮数最上位桁の値 100 Floating point arithmetic unit 101 Multiplicand register 102 Multiplier register 103, 104, 110 Normalization circuit 105 Normalized multiplicand register 106 Normalization multiplier register 107 Adder circuit 108 Multiplier circuit 111, 204 Exponent overflow detection circuit 112, 203 Exponent underflow detection circuit 113, 114, 205 AND gate 109 Intermediate result register 115 Multiplication result inhibiting circuit 116 Multiplication result register 117 Operation control circuit 140 Normalized multiplicand mantissa 141 Normalized multiplier mantissa 142 Intermediate exponent 151 Exponent underflow interrupt mask 152 Exponent Underflow Interrupt Report Signal 153 Exponent Overflow Interrupt Report Signal 154 Suppression Signal 200 Operation Exception Detection Unit (Operation Exception Detection Means) 201 Normalized Amount Detection Circuit 2 2 Exponentiation calculation circuit after multiplication 210 Normalized amount after multiplication 211 Normalized amount undetectable signal 212 Exponent underflow early interrupt report signal 213 Exponential overflow early interrupt report signal 301 Mantissa of mandatory Most significant digit value 302 Multiplier Mantissa most significant digit value

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 浮動小数点データの乗算を行う浮動小数
点演算装置であって、正規化した被乗数、乗数の仮数を
デコードして乗算後の正規化量を検出する乗算後正規化
量検出回路と、該検出した乗算後の正規化量と該正規化
した被乗数、乗数の指数を加算して求めた中間結果の指
数とにより乗算後の指数を求める乗算後指数算出回路
と、該乗算後の指数より指数オーバーフローおよび指数
アンダーフローの演算例外を検出する指数オーバーフロ
ー検出回路および指数アンダーフロー検出回路とからな
る演算例外検出手段を備えることを特徴とする浮動小数
点演算装置。
1. A floating-point arithmetic unit for multiplying floating-point data, comprising a post-multiplication normalized amount detection circuit for decoding a normalized multiplicand and a mantissa of a multiplier to detect a normalized amount after multiplication. A post-multiplication exponent calculation circuit that obtains a post-multiplication exponent based on the detected normalization amount after multiplication and the exponent of an intermediate result obtained by adding the normalized multiplicand and exponent of the multiplier, and from the post-multiplication exponent A floating-point arithmetic unit comprising arithmetic operation exception detection means including an exponent overflow detection circuit and an exponent underflow detection circuit for detecting arithmetic exceptions of exponent overflow and exponent underflow.
JP5075632A 1993-04-01 1993-04-01 Floating point arithmetic unit Pending JPH06290023A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5075632A JPH06290023A (en) 1993-04-01 1993-04-01 Floating point arithmetic unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5075632A JPH06290023A (en) 1993-04-01 1993-04-01 Floating point arithmetic unit

Publications (1)

Publication Number Publication Date
JPH06290023A true JPH06290023A (en) 1994-10-18

Family

ID=13581827

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5075632A Pending JPH06290023A (en) 1993-04-01 1993-04-01 Floating point arithmetic unit

Country Status (1)

Country Link
JP (1) JPH06290023A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5838601A (en) * 1996-02-14 1998-11-17 Fujitsu Limited Arithmetic processing method and arithmetic processing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5838601A (en) * 1996-02-14 1998-11-17 Fujitsu Limited Arithmetic processing method and arithmetic processing device

Similar Documents

Publication Publication Date Title
KR100302686B1 (en) Method and apparatus for performing high-precision multiply-add calculations using independent multiply and add instructions
US6631392B1 (en) Method and apparatus for predicting floating-point exceptions
EP0359809B1 (en) Apparatus and method for floating point normalization prediction
US5136536A (en) Floating-point ALU with parallel paths
CN109901813B (en) Floating point operation device and method
US6216222B1 (en) Handling exceptions in a pipelined data processing apparatus
US5943249A (en) Method and apparatus to perform pipelined denormalization of floating-point results
US5341320A (en) Method for rapidly processing floating-point operations which involve exceptions
JPH09212337A (en) Floating-point arithmetic processor
US20070038693A1 (en) Method and Processor for Performing a Floating-Point Instruction Within a Processor
US6061707A (en) Method and apparatus for generating an end-around carry in a floating-point pipeline within a computer system
US5764549A (en) Fast floating point result alignment apparatus
US11366638B1 (en) Floating point multiply-add, accumulate unit with combined alignment circuits
JPH06290023A (en) Floating point arithmetic unit
US5838601A (en) Arithmetic processing method and arithmetic processing device
JP2517064B2 (en) Denormalized number processing method
US5805487A (en) Method and system for fast determination of sticky and guard bits
US11983509B2 (en) Floating-point accumulator
JP3229057B2 (en) Exception handling device
JPH0370029A (en) Floating point arithmetic unit
US5801978A (en) Overflow detection for integer-multiply instruction
JP3522387B2 (en) Pipeline arithmetic unit
JPH02115926A (en) Floating point normalizing and rounding device
JPH03217938A (en) Floating deciaml rounding normalizing device
JPS61282928A (en) Floating-point arithmetic unit