JPS61289422A - Shift control system - Google Patents

Shift control system

Info

Publication number
JPS61289422A
JPS61289422A JP60132532A JP13253285A JPS61289422A JP S61289422 A JPS61289422 A JP S61289422A JP 60132532 A JP60132532 A JP 60132532A JP 13253285 A JP13253285 A JP 13253285A JP S61289422 A JPS61289422 A JP S61289422A
Authority
JP
Japan
Prior art keywords
shift
floating point
normalization
shift control
lsb
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
JP60132532A
Other languages
Japanese (ja)
Inventor
Youzou Nakayama
中山 陽象
Masafumi Kubo
雅史 久保
Yuichi Hachiman
八幡 勇一
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.)
Panafacom Ltd
Original Assignee
Panafacom 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 Panafacom Ltd filed Critical Panafacom Ltd
Priority to JP60132532A priority Critical patent/JPS61289422A/en
Publication of JPS61289422A publication Critical patent/JPS61289422A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To use shift data for the correcting operation of an exponential part as they are after shift control for normalization by adjusting the display format of the number of bits to be shifted for shift control of normalization or digit adjustment to the least significant bit (LSB) of the exponential part of floating point data to be operated. CONSTITUTION:The titled system is constituted so that the least significant bit (LSB) of a counting area 21 in a shift counting register 2 is adjusted to the LSB of an exponential part in each accuracy using accuracy information stored in a microinstruction shifting mode. The display format of the number of bits to be shifted for the shift control of normalization or digit adjustment is adjusted to the LSB of the exponential part in accordance with the accuracy of floating point data to be operated. After shift control for normalization, the shift data can be used for the correctory operation of the exponential part as they are. At the time of shift control for digit adjustment, difference data obtained by comparing the exponential parts can be written in the shift counting register as the specified number of digits to be shifted for digit adjustment.

Description

【発明の詳細な説明】 〔概要〕 マイクロプログラムによって制御される浮動小数点演算
装置において、正規化、或いは桁合わせの為のシフト制
御を行う為のシフト量の表示形式を、該演算対象の浮動
小数点データの精度によって、その指数部の最下位ビン
) (LSB)に合わせるようにしたものである。
[Detailed Description of the Invention] [Summary] In a floating point arithmetic unit controlled by a microprogram, the display format of the shift amount for performing shift control for normalization or digit alignment is changed to the floating point number of the operation target. Depending on the accuracy of the data, it is adjusted to the lowest bin (LSB) of the exponent part.

〔産業上の利用分野〕[Industrial application field]

本発明は、マイクロプログラムによって制御される浮動
小数点演算装置におけるシフト制御方式最近のマイクロ
プロセッサ技術の著しい発展に伴って、パソコンレベル
の小型コンピュータシステムにおいても、浮動小数点演
算が要求されるようになり、システムバスに浮動小数点
演算装置を接続し、中央処理装置(CPU)から、該シ
ステムバスを通して、上記浮動小数点演算装置をアクセ
スし、浮動小数点演算を行うようになってきた。
The present invention provides a shift control method in a floating point arithmetic unit controlled by a microprogram. With the recent remarkable development of microprocessor technology, floating point arithmetic is now required even in small computer systems at the personal computer level. A floating point arithmetic unit is connected to a system bus, and a central processing unit (CPU) accesses the floating point arithmetic unit through the system bus to perform floating point arithmetic operations.

上記浮動小数点演算において、例えば、仮数部。In the above floating point operation, for example, the mantissa part.

指数部、符号部からなる2つの浮動小数点データの間の
加減算を行う場合においては、桁合わせ。
Digit alignment when performing addition/subtraction between two floating point data consisting of an exponent part and a sign part.

仮数部の加算、正規化が行われる。Addition and normalization of the mantissa part are performed.

その為に、先ず、2つのオペランド(ソース。To do this, first, we need two operands (source).

ディスティネーション)の指数部が比較され、その差が
シフト量として、予めシフトカウントレジスタに置数さ
れる。
The exponent parts of destinations) are compared, and the difference is stored in advance in a shift count register as a shift amount.

その後、シフト用のマイクロ命令が実行される際、予め
、シフタに設定されている、小さい方の指数部を持った
浮動小数点データの仮数部が、右シフトされる毎に、上
記シフトカウントレジスタに置数されているシフト量が
カウントダウンされ、該シフト量が全“0゛になって、
該シフトが完了した段階で、別のマイクロ命令によって
、上記指数部には該シフト量が加算される。
Thereafter, when the shift microinstruction is executed, the mantissa part of the floating point data with the smaller exponent part, which is set in the shifter in advance, is shifted to the right, and the mantissa part is stored in the shift count register. The set shift amount is counted down, and when the shift amount reaches all "0",
When the shift is completed, another microinstruction adds the shift amount to the exponent part.

上記桁合わせ動作において、指数部が一致すると、仮数
部が代数的に加算され、中間和を出力する。この中間和
の上位ビットに無効ビット (即ち、°0°ビット)が
ある場合には、正規化の為の左シフトを行う必要がある
In the above digit alignment operation, when the exponent parts match, the mantissa parts are added algebraically and an intermediate sum is output. If there is an invalid bit (ie, a 0° bit) in the upper bits of this intermediate sum, it is necessary to perform a left shift for normalization.

この場合、該左シフトを行う為のマイクロ命令が用意さ
れ、1ビツトシフトする毎に、シフトカウントレジスタ
をカウントアツプする事を、上記無効ビットがなくなる
迄続けられる。
In this case, a microinstruction for performing the left shift is prepared, and each time a 1-bit shift is performed, the shift count register is counted up until there are no more invalid bits.

その後、該指数部は、上記シフト量だけ減算される。Thereafter, the exponent part is subtracted by the shift amount.

このように、浮動小数点演算における桁合わせ。In this way, digit alignment in floating point arithmetic.

正規化の為のシフト制御には、桁合わせの時にはカウン
トダウンし、正規化の時にはカウントアツプするシフト
カウントレジスタが必要となる。
Shift control for normalization requires a shift count register that counts down during digit alignment and counts up during normalization.

然して、一般に、該浮動小数点データは、その精度、例
えば、単精度9倍精度等によって、そのデータ長、フォ
ーマットが異なり、結果としてシフト量も異なってくる
為、精度の異なる浮動小数点データについて、上記シフ
ト制御を行う為には、その精度に対応したシフトカウン
トレジスタを用意する必要がある。
However, in general, the data length and format of the floating point data differ depending on its precision, for example, single precision, 9 double precision, etc., and as a result, the shift amount also differs. In order to perform shift control, it is necessary to prepare a shift count register corresponding to the accuracy.

従来、この為のシフトカウントレジスタとしては、シフ
ト量の大きい倍精度(例えば、64ビツト)用に適用で
きるシフトカウントレジスタを設けておき、単精度の浮
動小数点データを演算する時にも、同じレジスタを用い
ることが行われていた。
Conventionally, as a shift count register for this purpose, a shift count register that can be applied to double precision with a large shift amount (for example, 64 bits) is provided, and the same register is used when calculating single precision floating point data. It was being used.

従って、1つの表示形式しか持たないシフトカウントレ
ジスタで、精度の異なる浮動小数点データについての、
上記桁合わせ、正規化処理の為のシフト動作を行おうと
すると、該シフトカウントレジスタのカウント領域を、
演算対象である浮動小数点データの指数部に合わせて加
工する必要があり、精度の異なる浮動小数点データを扱
う場合の効果的なシフト制御方式が待たれていた。
Therefore, for floating point data with different precision in a shift count register that has only one display format,
When attempting to perform the shift operation for the above digit alignment and normalization processing, the count area of the shift count register is
It is necessary to process the floating-point data according to the exponent part of the calculation target, and an effective shift control method for handling floating-point data with different precision has been awaited.

〔従来の技術〕[Conventional technology]

第3図は小型コンピュータシステムに設けられている浮
動小数点演算装置におけるシフト制御の主要部を模式的
に示した図で、マイクロ命令1のシフトモード11.シ
フト量12が指示するシフト内容によって、予めシフタ
3に設定されている浮動小数点データの仮数部がシフト
され、シフトカウントレジスタ2がカウントアツプ(+
1)、又はカウントダウン(−1)される。
FIG. 3 is a diagram schematically showing the main part of shift control in a floating point arithmetic unit provided in a small computer system, and shows shift mode 11 of microinstruction 1. Depending on the shift content indicated by the shift amount 12, the mantissa part of the floating point data set in advance in the shifter 3 is shifted, and the shift count register 2 counts up (+
1), or countdown (-1).

この時、該マイクロ命令1のシフトモード11の内容に
よって、前述の桁合わせ”の為のシフトか/“正規化”
の為のシフトかの区別と、演算対象データの精度等が認
識され、例えばシフトカウントレジスタ2のカウント領
域(シフト量)21の値、又はシフタ3の内容によって
、アップ/ダウンカウントの量が指示される。
At this time, depending on the contents of shift mode 11 of microinstruction 1, whether the shift is for ``digit alignment'' or ``normalization'' is determined.
The distinction between whether the shift is for be done.

尚、上記マイクロ命令1のシフト量12で指示されるシ
フト量は、例えば論理シフトの場合等に使用される。
Note that the shift amount specified by the shift amount 12 of the microinstruction 1 is used, for example, in the case of a logical shift.

第4図は、上記シフト動作の一例を模式的に示した図で
、(a)は正規化時のシフト動作を示し、(b)は、正
規化以外の、例えば桁合わせ時のシフト動作を示してい
る。
FIG. 4 is a diagram schematically showing an example of the above shift operation, where (a) shows the shift operation during normalization, and (b) shows the shift operation other than normalization, for example, during digit alignment. It shows.

(a)正規化時のシフト動作: マイクロ命令lのシフトモード11の内容が、正規化時
のシフト動作を指示し、浮動小数点データの精度か倍精
度を指示しているものとすると、この時、シフト量12
の内容は全°0゛であるので、シフトカウントレジスタ
2のカウント領域21は全゛0”がセットされる。
(a) Shift operation during normalization: Assuming that the contents of shift mode 11 of microinstruction l instructs a shift operation during normalization and specifies floating-point data precision or double precision, then , shift amount 12
Since the contents of are all 0's, the count area 21 of the shift count register 2 is set to all 0's.

この状態で、シフタ3に設定されている、前述の中間結
果データの上位の無効ビットが、左シフトされる毎に、
+1カウンタが動作して、正規化シフト量がカウントア
ツプされ、該無効ビットが無くなった時点で、当該シフ
ト動作が終了する。
In this state, every time the upper invalid bit of the aforementioned intermediate result data set in shifter 3 is shifted to the left,
The +1 counter operates to count up the normalized shift amount, and when the invalid bit disappears, the shift operation ends.

この時、上記シフトカウントレジスタ2のカウント領域
21にカウントアツプされた値が、正規化シフト量で、
この値を、該正規化された浮動小数点データの指数部の
値から減算することにより、正規化時の指数部を得るこ
とができる。
At this time, the value counted up in the count area 21 of the shift count register 2 is the normalized shift amount,
By subtracting this value from the value of the exponent part of the normalized floating-point data, the exponent part at the time of normalization can be obtained.

(b)桁合わせ時のシフト動作: マイクロ命令1のシフトモード11の内容が、桁合わせ
のシフト動作と、浮動小数点データの精度か倍精度を指
示しており、且つシフト量12の内容の無効を指示して
いるものとすると、この時、シフト量12の内容は無視
され、予めシフトカウントレジスタ2のカウント領域2
1に設定されている指定シフト量が、当該桁合わせシフ
トに使用される。
(b) Shift operation during digit alignment: The contents of shift mode 11 of microinstruction 1 specify a shift operation for digit alignment and precision or double precision of floating point data, and the contents of shift amount 12 are invalid. At this time, the contents of the shift amount 12 are ignored and the count area 2 of the shift count register 2 is specified in advance.
The specified shift amount set to 1 is used for the digit alignment shift.

この状態で、シフタ3に設定されている、前述の該桁合
わせ対象の浮動小数点データの仮数部が右シフトされ毎
に、−1カウンタが動作して、該シフトカウントレジス
タ2のカウント領域21の指定シフト量が全゛0°にな
った時、当該シフト動作が終了する。
In this state, each time the mantissa part of the floating point data to be aligned is shifted to the right, the -1 counter operates and the count area 21 of the shift count register 2 is shifted to the right. When the designated shift amount reaches 0°, the shift operation ends.

上記(a) 、 (b)の動作の内、シフトカウントレ
ジスタ2でのカウント領域21は、浮動小数点データの
事青度が単精度であっても同じであった。
In the operations (a) and (b) above, the count area 21 in the shift count register 2 is the same even if the floating point data is single precision.

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

従って、従来方式においては、シフトカウントレジスタ
20カウント領域21の内容によって、該浮動小数点デ
ータの指数部と演算する場合には、該カウント領域21
が単一の表示形式である(即ち、上記の例では倍精度の
浮動小数点演算に適合するようになっている)為、例え
ば、該浮動小数点データが単精度の時、該単精度の浮動
小数点データの指数部に合わせる為には、上記シフトカ
ウントレジスタ2のカウント領域21の内容を加工、例
えば左シフトする必要があった。
Therefore, in the conventional method, when calculating with the exponent part of the floating point data, depending on the contents of the count area 21 of the shift count register 20, the count area 21
has a single display format (i.e., in the above example, it is compatible with double-precision floating-point operations), so for example, when the floating-point data is single-precision, the single-precision floating-point In order to match the exponent part of the data, the contents of the count area 21 of the shift count register 2 had to be processed, for example, shifted to the left.

本発明は上記従来の欠点に鑑み、シフトカウントレジス
タに、浮動小数点データの精度により、カウント量の表
示形式、例えば、上記カウント領域21の最下位ビン)
 (LSB)を変更する機能を持たせる方法を提供する
ことを目的とするものである。
In view of the above-mentioned drawbacks of the conventional art, the present invention provides a shift count register with a count amount display format based on the precision of floating point data (for example, the lowest bin of the count area 21).
The purpose of this invention is to provide a method for providing a function to change (LSB).

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

第1図は本発明のシフトカウントレジスタの表示形式の
原理ブロック図である。
FIG. 1 is a principle block diagram of the display format of the shift count register of the present invention.

本図において、(a)は単精度の場合を示し、(b)は
倍精度の場合を示している。
In this figure, (a) shows the case of single precision, and (b) shows the case of double precision.

このように、本発明においては、例えば、マイクロ命令
1のシフトモード11に内蔵されている精度情報を用い
て、シフトカウントレジスタ2のカウント?fJf域2
1の最下位ビット(LSD)を、それぞれの精度の指数
部の最下位ビット (LSB)に合わせるように構成す
る。
In this way, in the present invention, for example, the accuracy information built in the shift mode 11 of the microinstruction 1 is used to calculate the count value of the shift count register 2. fJf area 2
The least significant bit (LSD) of 1 is configured to match the least significant bit (LSB) of the exponent part of each precision.

〔作用〕[Effect]

即ち、本発明によれば、マイクロプログラムによって制
御される浮動小数点演算装置において、正規化、或いは
桁合わせの為のシフト制御を行う為のシフト量の表示形
式を、該演算対象の浮動小数点データの精度によって、
その指数部の最下位ビット(LSB)に合わせるように
したものであるので、正規化の為のシフト制御後は、該
シフトデータをその侭、指数部の補正演算に使用でき、
桁合わせの為のシフト制御の時には、指数部の比較をし
て得られた差分のデータをその優、桁合わせの為の指定
シフト量として、シフトカウントレジスタに書き込むこ
とができる効果がある。
That is, according to the present invention, in a floating point arithmetic unit controlled by a microprogram, the display format of the shift amount for performing shift control for normalization or digit alignment is changed to the display format of the floating point data to be operated on. Depending on the accuracy,
Since it is designed to match the least significant bit (LSB) of the exponent part, after the shift control for normalization, the shift data can be used for the correction calculation of the exponent part.
When performing shift control for digit alignment, the difference data obtained by comparing the exponent parts can be written into the shift count register as the specified shift amount for digit alignment.

〔実施例〕〔Example〕

以下本発明の実施例を図面によって詳述する。 Embodiments of the present invention will be described in detail below with reference to the drawings.

第2図は本発明の一実施例を模式的に示した図であって
、第3図、第4図と同じ符号は同じ対象物を示しており
、浮動小数点データの精度によって、シフトカウントレ
ジスタ2のカウント領域21の最下位ビンI−(LSB
)を変更する機構が本発明を実施するのに必要な機能で
ある。
FIG. 2 is a diagram schematically showing an embodiment of the present invention, in which the same symbols as in FIGS. 3 and 4 indicate the same objects, and depending on the precision of floating point data, the shift count register The lowest bin I-(LSB
) is a necessary function to implement the present invention.

第2図において、(a)は単精度の場合を示し、(b)
は倍精度の場合を示している。
In Figure 2, (a) shows the case of single precision, and (b)
indicates the case of double precision.

+l)  桁合わせの為のシフト動作の場合:先ず、図
示されていないマイクロ命令を実行することにより、2
つのオペランド(ソース、ディスティネーション)の指
数部4が比較され、その差がシフト量として、上記シフ
トカウントレジスタ2のカウント領域(シフト量)21
に置数される。
+l) In the case of a shift operation for digit alignment: First, by executing a microinstruction (not shown), 2
The exponent parts 4 of the two operands (source, destination) are compared, and the difference is used as the shift amount in the count area (shift amount) 21 of the shift count register 2.
The number is placed in .

この時、浮動小数点データの精度((a) 、 (b)
で示す)によって、指数部4の最下位とッl−(LSB
)位置が異なるが、本発明においては、該演算結果をそ
の侭、シフトカウントレジスタ2に置数する。
At this time, the precision of floating point data ((a), (b)
), the lowest order of the exponent part 4 (LSB
) Although the location is different, in the present invention, the result of the operation is placed in the shift count register 2.

その結果、該カウント領域(シフト量)21は、図示の
ごとく、当該浮動小数点データの指数部4の最下位ビッ
ト (LSB)と一致する。
As a result, the count area (shift amount) 21 matches the least significant bit (LSB) of the exponent part 4 of the floating point data, as shown.

その後、前述のシフト用のマイクロ命令lが実行される
が、該シフト命令1のシフトモード11において、シフ
ト量12の内容を無効とする指示をしておくことにより
、該シフト量12の内容が、上記シフトカウントレジス
タ2のカウント領域(シフト量)21に設定されること
はない。
After that, the aforementioned shift microinstruction 1 is executed, but by instructing to invalidate the contents of the shift amount 12 in the shift mode 11 of the shift instruction 1, the contents of the shift amount 12 can be changed. , is never set in the count area (shift amount) 21 of the shift count register 2.

このようなシフト命令1が実行される際、予め、シフタ
3に設定されている、小さい方の指数部を持った浮動小
数点データの仮数部が、右シフトされる毎に、上記シフ
トカウントレジスタ2に置数されているシフト量21が
カウントダウン(−1)され、該シフト量21の値が全
“O゛になる迄、該シフト動作が続けられる。
When such a shift instruction 1 is executed, each time the mantissa part of the floating point data having the smaller exponent part, which is set in advance in the shifter 3, is shifted to the right, the shift count register 2 The shift amount 21 set in is counted down (-1), and the shift operation is continued until the value of the shift amount 21 becomes all "O".

このシフト動作の時、該シフトカウントレジスタ2のカ
ウント領域(シフト量)21は、マイクロ命令lのシフ
トモード11に設定されている精度情報によって(a)
 、 (b)で示した如くに選択される。
During this shift operation, the count area (shift amount) 21 of the shift count register 2 is set to (a) according to the accuracy information set in the shift mode 11 of the microinstruction l.
, are selected as shown in (b).

(2)正規化シフト動作の場合: この場合には、前述の左シフトを行う為のマイクロ命令
1が用意され、該シフト命令1を実行することにより、
該シフト命令lのシフト量12の値、全°0゛がシフト
カウントレジスタ2のカウント領域(シフト量)21に
置数された後、1ビツトシフトする毎に、シフトカウン
トレジスタ2の上記カウント領域(シフト量) 21を
カウントアツプ(+1)する事を、無効ビットがなくな
る迄続ける。
(2) In the case of normalized shift operation: In this case, the microinstruction 1 for performing the left shift described above is prepared, and by executing the shift instruction 1,
After the value of the shift amount 12 of the shift instruction 1, all 0, is placed in the count area (shift amount) 21 of the shift count register 2, the count area ( Shift amount) Continue counting up (+1) 21 until there are no invalid bits.

このシフト動作の時、該シフトカウントレジスタ2のカ
ウント領域(シフト量> 21は、該マイクロ命令1の
シフトモード11に設定されている精度情報によって(
a) 、 (b)の如くに選択される。
During this shift operation, the count area (shift amount > 21) of the shift count register 2 is determined by the precision information set in the shift mode 11 of the microinstruction 1 (
A) and (b) are selected.

即ち、単精度9倍精度の時々に合わせて、当該浮動小数
点データの指数部4の最下位ビット(LSB)に合わせ
て、該カラン) 81域21の最下位ビットが選択され
るように機能する。
In other words, it functions so that the least significant bit of the 21 area of the 81 area is selected in accordance with the least significant bit (LSB) of the exponent part 4 of the floating point data, depending on the single precision and 9 double precision. .

従って、その後において、該指数部4が、上記シフト量
21だけ減算される指数補正演算の際には、特別なシフ
ト処理を行うことなく、該カウント領域(シフト量)2
1の値と、当該浮動小数点データの指数部4とを、その
侭加算するだけで、該指数補正演算を行うことができる
Therefore, in the subsequent exponent correction calculation in which the exponent part 4 is subtracted by the shift amount 21, the count area (shift amount) 2
The exponent correction calculation can be performed by simply adding the value of 1 and the exponent part 4 of the floating point data.

このように、本発明においては、シフトカウントレジス
タ2のカウント領域(シフト量)21を、浮動小数点デ
ータの精度に対応して、その指数部4の表現形式に一致
させるようにし、指数補正演算等の際に特別なシフト処
理を行う必要がないようにした所に特徴がある。
As described above, in the present invention, the count area (shift amount) 21 of the shift count register 2 is made to match the expression format of the exponent part 4 in accordance with the precision of the floating point data, and exponent correction calculations, etc. The feature is that there is no need to perform special shift processing when

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

以上、詳細に説明したように、本発明のシフト制御方式
は、マイクロプログラムによって制御される浮動小数点
演算装置において、正規化、或いは桁合わせの為のシフ
ト制御を行う為のシフト量の表示形式を、該演算対象の
浮動小数点データの指数部の最下位ビット(LSB)に
合わせるようにしたものであるので、正規化の為のシフ
ト制御後は、該シフトデータをその侭、指数部の補正演
算に使用でき、桁合わせの為のシフト制御の時には、指
数部の比較をして得られた差分のデータをその侭、桁合
わせの為の指定シフト量として、シフトカウントレジス
タに書き込むことができる効果がある。
As explained above in detail, the shift control method of the present invention provides a display format for the shift amount for performing shift control for normalization or digit alignment in a floating point arithmetic unit controlled by a microprogram. , is set to match the least significant bit (LSB) of the exponent part of the floating point data to be calculated, so after the shift control for normalization, the shift data is used for the correction calculation of the exponent part. When performing shift control for digit alignment, the difference data obtained by comparing the exponent parts can be written to the shift count register as the specified shift amount for digit alignment. There is.

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

第1図は本発明のシフトカウントレジスタの表示形式の
原理ブロック図。 第2図は本発明の一実施例を模式的に示した図。 第3図は浮動小数点演算装置におけるシフト制御の主要
部を模式的に示した図。 第4図は従来のシフト動作の一例を模式的に示した図。 である。 図面において、 1はマイクロ命令、11はシフトモード。 12はシフト量。 2はシフトカウントレジスタ。 21はカウント領域(シフト量)。 3はシフタ。 4は浮動小数点データの指数部。 をそれぞれ示す。 A(1月のシフト刀ツンFレジλ)の蓉ント形へ′琲理
フ”Dy7EJ茅  1   虐 )1 2  目
FIG. 1 is a principle block diagram of the display format of the shift count register of the present invention. FIG. 2 is a diagram schematically showing an embodiment of the present invention. FIG. 3 is a diagram schematically showing the main parts of shift control in a floating-point arithmetic unit. FIG. 4 is a diagram schematically showing an example of a conventional shift operation. It is. In the drawing, 1 is a microinstruction and 11 is a shift mode. 12 is the shift amount. 2 is a shift count register. 21 is a count area (shift amount). 3 is shifter. 4 is the exponent part of floating point data. are shown respectively. A (January's shift sword Tsun F register λ) to the straight form 'Lilyfu' Dy7EJ 茅 1 brutal) 1 2 eyes

Claims (1)

【特許請求の範囲】 マイクロプログラムによって制御される浮動小数点演算
装置において、 浮動小数点オペランドのシフト制御を行う為のシフト量
の表示形式(21)を、該浮動小数点データの精度によ
って、その指数部の最下位ビット(LSB)に合わせる
手段を設けたことを特徴とするシフト制御方式。
[Claims] In a floating point arithmetic unit controlled by a microprogram, the display format (21) of the shift amount for controlling the shift of the floating point operand is determined by the precision of the floating point data. A shift control method characterized by providing means for adjusting to the least significant bit (LSB).
JP60132532A 1985-06-18 1985-06-18 Shift control system Pending JPS61289422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60132532A JPS61289422A (en) 1985-06-18 1985-06-18 Shift control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60132532A JPS61289422A (en) 1985-06-18 1985-06-18 Shift control system

Publications (1)

Publication Number Publication Date
JPS61289422A true JPS61289422A (en) 1986-12-19

Family

ID=15083479

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60132532A Pending JPS61289422A (en) 1985-06-18 1985-06-18 Shift control system

Country Status (1)

Country Link
JP (1) JPS61289422A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5968058A (en) * 1982-10-13 1984-04-17 Hitachi Ltd Floating point multiplier

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5968058A (en) * 1982-10-13 1984-04-17 Hitachi Ltd Floating point multiplier

Similar Documents

Publication Publication Date Title
US11347511B2 (en) Floating-point scaling operation
GB2267589A (en) Performing integer and floating point division using a single SRT divider
JP2004213622A (en) Data processing device and method converting number between fixed point display and floating point display
US5943249A (en) Method and apparatus to perform pipelined denormalization of floating-point results
JP3178746B2 (en) Format converter for floating point numbers
US4247891A (en) Leading zero count formation
US5337265A (en) Apparatus for executing add/sub operations between IEEE standard floating-point numbers
JPH0343645B2 (en)
JPH01302425A (en) Floating decimal point adder/subtracter circuit
JPS61289422A (en) Shift control system
JP2695178B2 (en) Arithmetic circuit
JPH0283728A (en) Floating point multiplier
US20020178202A1 (en) Floating point multiplier for delimited operands
JPS62128331A (en) Information processor
JP4428778B2 (en) Arithmetic device, arithmetic method, and computing device
JPH01282633A (en) Non-normalized number processing system
US5805487A (en) Method and system for fast determination of sticky and guard bits
JP3124286B2 (en) Floating point arithmetic unit
JP2621494B2 (en) Floating point addition / subtraction unit
JPH0383126A (en) Floating-point multiplier
GB2104694A (en) Decimal arithmetic unit
JPH0330170B2 (en)
JPH03217938A (en) Floating deciaml rounding normalizing device
JPH04205559A (en) Vector arithmetic unit
JPH0413734B2 (en)