JP2608090B2 - High radix non-restoring divider - Google Patents

High radix non-restoring divider

Info

Publication number
JP2608090B2
JP2608090B2 JP63059605A JP5960588A JP2608090B2 JP 2608090 B2 JP2608090 B2 JP 2608090B2 JP 63059605 A JP63059605 A JP 63059605A JP 5960588 A JP5960588 A JP 5960588A JP 2608090 B2 JP2608090 B2 JP 2608090B2
Authority
JP
Japan
Prior art keywords
partial
divisor
circuit
quotient
register
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.)
Expired - Fee Related
Application number
JP63059605A
Other languages
Japanese (ja)
Other versions
JPH01233520A (en
Inventor
祐美 福村
彰二 中谷
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63059605A priority Critical patent/JP2608090B2/en
Publication of JPH01233520A publication Critical patent/JPH01233520A/en
Application granted granted Critical
Publication of JP2608090B2 publication Critical patent/JP2608090B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概要〕 計算機の除算命令(DIVIDE命令)を処理する除算装置
であって,部分商予測値に基づいて1サイクルでnビッ
トの商を得る高基数非回復型除算装置に関し, 除数,被除数の保持時間を少なくし,演算時間を短縮
すると共に,演算器の数も減少できるようにすることを
目的とし, 部分剰余レジスタと除数レジスタの前段に被除数の値
と除数の値とから最初の部分商予測値を出力する第2の
商予測回路と,該第2の商予測回路の出力および部分商
予測回路の出力の一方を選択する手段とを備えるように
構成する。
DETAILED DESCRIPTION OF THE INVENTION [Summary] A division device for processing a division instruction (DIVIDE instruction) of a computer, wherein a high radix non-restoring division device for obtaining an n-bit quotient in one cycle based on a partial quotient prediction value The purpose of this is to reduce the holding time of the divisor and the dividend, to shorten the operation time, and to reduce the number of arithmetic units. And a means for selecting one of the output of the second quotient prediction circuit and the output of the partial quotient prediction circuit.

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

本発明は,汎用スカラ計算機やベクトル計算機などに
おける除算命令(DIVIDE命令)を処理する除算装置であ
って,特に,部分商予測値に基づいて1サイクルでnビ
ットの商を得る高基数非回復型除算装置に関する。
The present invention relates to a division device for processing a division instruction (DIVIDE instruction) in a general-purpose scalar computer, a vector computer, and the like. The present invention relates to a dividing device.

〔従来の技術〕[Conventional technology]

第5図は従来の除算演算器の例,第6図は従来方式の
例,第7図は従来方式のタイムチャートを示す。
FIG. 5 shows an example of a conventional division operation unit, FIG. 6 shows an example of the conventional system, and FIG. 7 shows a time chart of the conventional system.

部分商予測値に基づいて,1サイクルでnビットの商を
得る高基数非回復型除算装置の演算器は,従来,第5図
に示すように構成されている。
The arithmetic unit of the high-radix non-restoring division device that obtains an n-bit quotient in one cycle based on the partial quotient predicted value is conventionally configured as shown in FIG.

入力データの除数Dは,除数レジスタ(DSR)にセッ
トされ,被除数Nは,部分剰余レジスタ(PR)にセット
される。倍数発生回路(MULT)は,除数レジスタ(DS
R)から入力された除数と,部分商予測回路(QP)から
の部分商予測値とにより,除数Dの±m倍(mは整数)
の値を作成する回路である。
The divisor D of the input data is set in a divisor register (DSR), and the dividend N is set in a partial remainder register (PR). The multiple generation circuit (MULT) uses the divisor register (DS
R) and the partial quotient predicted value from the partial quotient prediction circuit (QP), and ± m times the divisor D (m is an integer)
Is a circuit for creating the value of.

加算回路(ADDER)は,倍数発生回路(MULT)の出力
と,被除数との差を演算する。ここでは,高速化のた
め,上位ビット部分と下位ビット部分とを別に加算する
ようになっている。
The adder circuit (ADDER) calculates the difference between the output of the multiple generation circuit (MULT) and the dividend. Here, in order to increase the speed, the upper bit portion and the lower bit portion are separately added.

部分商予測回路(QP)は,加算回路出力と除数とを用
いて,デコードテーブルを参照することなどにより,次
のサイクルで使用する部分商予測値を求める回路であ
る。倍数発生回路(MULT)は,この部分予測値に基づい
て,次の部分商を求めるための乗算を行う。部分商発生
回路(QG)は,商の補正を行い正しい部分商を作成する
回路である。
The partial quotient prediction circuit (QP) is a circuit that obtains a partial quotient prediction value to be used in the next cycle by referring to a decoding table using the output of the addition circuit and the divisor. The multiple generation circuit (MULT) performs multiplication for obtaining the next partial quotient based on the partial prediction value. The partial quotient generation circuit (QG) is a circuit that corrects a quotient and creates a correct partial quotient.

この除算装置は,部分剰余レジスタ(PR)に設定され
たi番目の部分剰余をPi,倍数発生回路(MULT)が使用
するi番目の部分商予測値をdiとすると,加算回路(AD
DER)により, Pi+1=Pi−D×di を計算することにより、各サイクルでdiを求めるように
なっている。なお,加算回路(ADDER)の出力である部
分剰余が,負の数になることもあり,この場合,部分商
発生回路(QG)によって結果を補正する。
The division device, the i-th partial remainder which is set to the partial remainder register (PR) P i, the i-th partial quotient predictions multiple generating circuit (MULT) can be used when a d i, the adder circuit (AD
The DER), by calculating P i + 1 = P i -D × d i, and obtains the d i in each cycle. The partial remainder output from the adder (ADDER) may be a negative number. In this case, the result is corrected by the partial quotient generator (QG).

従来方式では,除数,被除数がセットされた後の最初
のサイクルでは,部分商予測値が不明であるため,これ
を0として演算し,1サイクル空回りさせ,それによっ
て,実質的に最初の部分商予測値を得るようになってい
る。
In the conventional method, in the first cycle after the divisor and the dividend are set, the partial quotient prediction value is unknown, so this is calculated as 0, and one cycle is run idle, thereby substantially the first partial quotient. A prediction value is obtained.

第6図は,第5図に示す除算演算器を複数個設けて,
連続的に入力されるベクトルデータをパイプライン動作
で処理する従来方式の例を示している。第6図におい
て,DIV0,DIV1,…,DIV5が,各々第5図に示す除算演算器
に相当する。
FIG. 6 shows a case where a plurality of division arithmetic units shown in FIG.
1 shows an example of a conventional method in which continuously input vector data is processed by a pipeline operation. In FIG. 6, DIV0, DIV1,..., DIV5 each correspond to the division operation unit shown in FIG.

従来の除算演算器では,除数Di,被除数Niのデータが
セットされたとき,部分商予測値は入力されないため,
最初の1τでは部分商は求められず,次のサイクルから
部分商が出力される。例えば,56ビットのデータで,1τ
に4ビットずつ商を求める場合,最初の部分予測値を求
めるのに1τと,除算に56ビット÷4ビット=14τの合
計15τの時間が必要となる。
In the conventional division operation unit, when the data of the divisor D i and the dividend N i are set, the partial quotient prediction value is not input.
In the first 1τ, a partial quotient is not obtained, and a partial quotient is output from the next cycle. For example, for 56-bit data, 1τ
When the quotient is obtained by 4 bits at a time, it takes 1τ to obtain the first partial prediction value, and a total of 15τ of 56 bits ÷ 4 bits = 14τ is required for the division.

第6図に示すような装置で,除数Di,被除数Niが1本
のパスで送られてくる場合,先に入力される除数Diは,
被除数Niが用意されるまでにさらに1τ長く保持される
必要があるので,第5図に示す除数レジスタ(DSR)に1
6τ保持されていなければならない。
In the device shown in FIG. 6, when the divisor D i and the dividend N i are sent in one pass, the divisor D i input first is
Since the dividend N i needs to be held for 1τ longer before it is prepared, the divisor register (DSR) shown in FIG.
6τ must be held.

第7図に示す従来方式のタイムチャートのように,除
数Di,被除数Niのペアが,3τに1度送られてくるとする
と,最初のD0,N0が第6図に示す除算演算器DIV0にセッ
トされた後,そのD0は除数レジスタ(DSR)に16τ保持
される。従って,除数および被除数の組を,各除算演算
器に入力させていった場合に,6番目のデータD5,N5がき
たときには,まだ除算演算器DIV0のレジスタが空きにな
っていない。そのため,第6図に示すように,最低6個
の除算演算器DIV0〜DIV5が必要であった。
As shown in the time chart of the conventional method shown in FIG. 7, if a pair of the divisor D i and the dividend N i is sent once in 3τ, the first D 0 and N 0 are divided by the division shown in FIG. after being set to a calculator DIV0, the D 0 is 16τ held in the divisor register (DSR). Thus, a set of divisor and dividend, if went by input to the division operation unit, when has come sixth data D 5, N 5 is still registers division calculator DIV0 not been empty. Therefore, as shown in FIG. 6, a minimum of six division arithmetic units DIV0 to DIV5 were required.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

以上のように従来方式によれば,最初の部分商予測値
を出力するために,除数および被除数をレジスタに1サ
イクル余分に保持しておく必要があり,また,例えば第
6図に示すように,除算を連続的にパイプライン動作で
処理していく場合に,除算演算器の個数が多く必要にな
るという問題があった。
As described above, according to the conventional method, in order to output the first partial quotient predicted value, the divisor and the dividend need to be held in the register by one extra cycle, and for example, as shown in FIG. When the division is continuously processed by the pipeline operation, there is a problem that a large number of division operation units are required.

本発明は上記問題点の解決を図り,除数,被除数の保
持時間を少なくし,演算時間を短縮すると共に,演算器
の数も減少できるようにすることを目的としている。
SUMMARY OF THE INVENTION It is an object of the present invention to solve the above-mentioned problems, to reduce the holding time of the divisor and the dividend, to shorten the operation time, and to reduce the number of operation units.

〔課題を解決するための手段〕[Means for solving the problem]

本発明では,例えば第1図に示すように,被除数Nが
セットされる部分剰余レジスタ10と,除数Dがセットさ
れる除数レジスタ11の前段に,第2の商予測回路20を設
ける。また,第2の商予測回路20の出力と部分商予測回
路14の出力のいずれかを選択する選択回路21を設ける。
これにより,被除数および除数が部分剰余レジスタ10お
よび除数レジスタ11上に用意されると同時に,第2の商
予測回路20によって,最初の部分商予測値が,部分商予
測レジスタ22に用意されるようにする。
In the present invention, for example, as shown in FIG. 1, a second quotient prediction circuit 20 is provided in a stage preceding the partial remainder register 10 in which the dividend N is set and the divisor register 11 in which the divisor D is set. In addition, a selection circuit 21 for selecting one of the output of the second quotient prediction circuit 20 and the output of the partial quotient prediction circuit 14 is provided.
Thereby, the dividend and the divisor are prepared in the partial remainder register 10 and the divisor register 11, and at the same time, the second partial quotient prediction circuit 20 prepares the first partial quotient predicted value in the partial quotient prediction register 22. To

〔作用〕[Action]

従来方式によれば,倍数発生回路12によって,除数レ
ジスタ11と部分商予測回路14との値から,除数の±m倍
(mは整数)の値を求める際に,最初の1サイクルは,
部分商予測値が“0"で演算されるのに対し,本発明によ
れば,最初の実質的な部分予測値を,第2の商予測回路
20によって,あらかじめ求めるので,最初の1サイクル
の待ち時間を省き,演算サイクルを短縮することができ
るようになる。次のサイクルからは,選択回路21によっ
て,部分商予測回路14による部分予測値が選択される。
According to the conventional method, when the multiple generation circuit 12 obtains a value of ± m times the divisor (m is an integer) from the values of the divisor register 11 and the partial quotient prediction circuit 14, the first cycle is
According to the present invention, the partial quotient prediction value is calculated by "0", while the first substantial partial prediction value is calculated by the second quotient prediction circuit.
Since the value is obtained in advance by using 20, the waiting time of the first cycle can be omitted, and the operation cycle can be shortened. From the next cycle, the partial prediction value by the partial quotient prediction circuit 14 is selected by the selection circuit 21.

〔実施例〕〔Example〕

第1図は本発明の構成例,第2図は本発明を使用した
装置の実施例,第3図は第2図に示す前処理部の処理説
明図,第4図は本発明の実施例によるタイムチャートを
示す。
FIG. 1 is a configuration example of the present invention, FIG. 2 is an embodiment of an apparatus using the present invention, FIG. 3 is an explanatory diagram of processing of a pre-processing unit shown in FIG. 2, and FIG. 4 is an embodiment of the present invention. 3 shows a time chart.

第1図において,10は部分剰余レジスタ(PR),11は除
数レジスタ(DSR),12は倍数発生回路(MULT),13は桁
上げ先見回路を持つ加算回路,14は部分商予測回路(Q
P),15は部分商発生回路(QG),20は第2の商予測回路
(QP2),21は選択回路,22は部分商予測レジスタ(QP
R),R1ないしR4は値を一時的に保持するためのレジスタ
である。
In FIG. 1, 10 is a partial remainder register (PR), 11 is a divisor register (DSR), 12 is a multiple generation circuit (MULT), 13 is an addition circuit having a carry look-ahead circuit, and 14 is a partial quotient prediction circuit (Q
P) and 15 are partial quotient generation circuits (QG), 20 is a second quotient prediction circuit (QP2), 21 is a selection circuit, and 22 is a partial quotient prediction register (QP
R) and R1 to R4 are registers for temporarily holding values.

これらの部分剰余レジスタ10,除数レジスタ11,倍数発
生回路12,加算回路13(上位部分の加算を行うアダー13A
と下位部分の加算を行うアダー13Bからなる),部分商
予測回路14,部分商発生回路15は、第5図に示した従来
例のものと同様である。
The partial remainder register 10, the divisor register 11, the multiple generation circuit 12, and the addition circuit 13 (adder 13A for adding the upper part)
, A partial quotient prediction circuit 14, and a partial quotient generation circuit 15 are the same as those of the conventional example shown in FIG.

除数Dと被除数Nが,順次入力されると,それぞれ除
数レジスタ11,部分剰余レジスタ10にセットされると共
に,第2の商予測回路20に供給され,第2の商予測回路
20によって,部分商予測値が求められる。なお,この第
2の商予測回路20は,部分商予測回路14と同様に構成さ
れると考えてよい。被除数Nが絶対値表現される場合,
つまり正数として表されている場合においては,部分商
予測回路14の符号ビットをなくして商予測を行うように
した回路と等価である。
When the divisor D and the dividend N are sequentially input, they are set in the divisor register 11 and the partial remainder register 10, respectively, and supplied to the second quotient prediction circuit 20, where the second quotient prediction circuit
By using 20, the partial quotient prediction value is obtained. It should be noted that the second quotient prediction circuit 20 may be considered to be configured similarly to the partial quotient prediction circuit 14. When the dividend N is expressed as an absolute value,
In other words, when expressed as a positive number, it is equivalent to a circuit in which the sign bit of the partial quotient prediction circuit 14 is eliminated and quotient prediction is performed.

演算開始時には,選択回路21は,START信号による選択
信号によって,第2の商予測回路20の出力を選択し,部
分商予測レジスタ22に,部分商予測値を出力する。従っ
て,最初の1サイクルでは,倍数発生回路12は,除数レ
ジスタ11の値と,第2の商予測回路20の出力である部分
予測値とを使用する。
At the start of the operation, the selection circuit 21 selects the output of the second quotient prediction circuit 20 according to the selection signal based on the START signal, and outputs the partial quotient prediction value to the partial quotient prediction register 22. Therefore, in the first cycle, the multiple generation circuit 12 uses the value of the divisor register 11 and the partial prediction value output from the second quotient prediction circuit 20.

以後の動作は,従来方式とほぼ同様であり,加算回路
13によって,部分剰余レジスタ10の値から倍数発生回路
12の出力を引くことにより,部分剰余を求める。その値
は,部分剰余レジスタ10に戻される。すなわち,部分剰
余レジスタ10には,演算の最初に被除数Nが設定された
後は,各演算サイクルごとに,新たな部分剰余が置数さ
れる。部分商予測回路14は,加算回路13の結果の上位a
ビットと,除数レジスタ11の上位bビットとから,倍数
発生回路12に対する制御信号となる部分商予測値を作成
する。
Subsequent operation is almost the same as the conventional method.
13 generates a multiple generation circuit from the value of the partial remainder register 10.
Find the partial remainder by subtracting the 12 outputs. The value is returned to the partial remainder register 10. That is, after the dividend N is set in the partial remainder register 10 at the beginning of the operation, a new partial remainder is set in each operation cycle. The partial quotient prediction circuit 14 calculates a
From the bits and the upper b bits of the divisor register 11, a partial quotient prediction value serving as a control signal for the multiple generation circuit 12 is created.

選択回路21は,2回目のサイクルからは,第2の商予測
回路20の出力ではなく,部分商予測回路14の出力を選択
するので,以後,部分商予測回路14の出力である部分商
予測値によって,演算サイクルが繰り返されることにな
る。部分商発生回路15は,加算回路13の出力である部分
剰余が負数になった場合に,商の補正を行う回路であ
る。
The selection circuit 21 selects the output of the partial quotient prediction circuit 14 instead of the output of the second quotient prediction circuit 20 from the second cycle. Depending on the value, the operation cycle will be repeated. The partial quotient generating circuit 15 is a circuit that corrects the quotient when the partial remainder output from the adding circuit 13 becomes a negative number.

第2図は,連続的に入力されるベクトルデータの除算
をパイプライン動作で処理する本発明を使用した装置の
例を示している。機能的には,第6図に示した従来方式
と同様な装置である。
FIG. 2 shows an example of an apparatus using the present invention for processing division of continuously input vector data by a pipeline operation. Functionally, it is a device similar to the conventional system shown in FIG.

第1図に示す第2の商予測回路20は,前処理部30内に
設けられる。従って,各除算演算器DIV0〜DIV4に共通に
使用される。
The second quotient prediction circuit 20 shown in FIG. 1 is provided in the preprocessing unit 30. Therefore, it is commonly used by each of the division operation units DIV0 to DIV4.

浮動小数点数値の除算を行う場合,前処理部30は,次
のような処理を行う。
When dividing a floating-point value, the preprocessing unit 30 performs the following processing.

除数Dについて,部分商予測値を求めるデコードテー
ブルを簡単にするために,除数Dの仮数部の最上位ビッ
トが“1"になるように,左にビット・シフトする。被除
数Nについては,除数Dと同じだけ左にシフトする。た
だし,商が1より大きくなるとき,すなわち,D<Nにな
るときには,左シフトの後,逆に右へ1digit(4bit)シ
フトし,指数部を+1する。
The divisor D is bit-shifted to the left so that the most significant bit of the mantissa of the divisor D becomes "1" in order to simplify the decoding table for obtaining the partial quotient prediction value. The dividend N is shifted to the left by the same amount as the divisor D. However, when the quotient becomes larger than 1, that is, when D <N, after the left shift, conversely, it is shifted right by 1 digit (4 bits), and the exponent part is incremented by +1.

例えば,演算データが,第3図(イ)に示すような除
数Dと被除数Nである場合,除数Dを左に2bitシフトす
る。これに合わせて被除数Nも左へ2bitシフトすると
き,“1"がシフトアウトされるので,逆に1digit右へシ
フトする。すなわち,合計2bit右シフトを行い,指数部
を+1する。その結果,除数D,被除数Nは,第3図
(ロ)に示すように調整される。
For example, when the operation data is a divisor D and a dividend N as shown in FIG. 3A, the divisor D is shifted left by 2 bits. In accordance with this, when the dividend N is shifted to the left by 2 bits, "1" is shifted out, and conversely, it is shifted to the right by 1 digit. That is, a total of 2 bits right shift is performed, and the exponent part is incremented by +1. As a result, the divisor D and the dividend N are adjusted as shown in FIG.

本実施例では,さらにこの調整された値により,第2
の商予測回路20を用いて,最初の部分商予測値を求め
る。この除数Dと被除数Nと部分商予測値とは,空いて
いる除算演算器DIV0〜DIV4の1つに送られる。各除算演
算器DIV0〜DIV4における演算動作は,第1図で説明した
動作と同様である。
In the present embodiment, the second value is further obtained by this adjusted value.
The first partial quotient prediction value is obtained using the quotient prediction circuit 20 of FIG. The divisor D, the dividend N, and the partial quotient prediction value are sent to one of the available division operation units DIV0 to DIV4. The operation in each of the division calculators DIV0 to DIV4 is the same as the operation described with reference to FIG.

第2図に示す装置の全体のタイムチャートは,第4図
に示すようになる。
The overall time chart of the apparatus shown in FIG. 2 is as shown in FIG.

最初に除数D0が除算演算器DIV0に入力され,次に被除
数N0および第2の商予測回路20の出力である部分商予測
値Q0が入力される。そして,有効な部分商予測値Q0によ
って,演算が開始される。次のデータD1,N1およびQ
1は,各々3τ遅れて,次の除算演算器DIV1に入力され
る。以下,同様に各除算演算器にデータが入力され,演
算が行われる。
First, the divisor D 0 is input to the division calculator DIV 0, and then the dividend N 0 and the partial quotient predicted value Q 0 output from the second quotient predicting circuit 20 are input. Then, the calculation is started by the effective partial quotient predicted value Q 0 . Next data D 1 , N 1 and Q
1 are input to the next division operation unit DIV1 with a delay of 3τ. Hereinafter, similarly, data is input to each division operation unit, and the operation is performed.

そして,最初の除数D0が除数レジスタ(DSR)にセッ
トされてから15τ目に,その除数レジスタ(DSR)が空
きになる。従って,6番目のデータD5,N5は,除算演算器D
IV0に入力させることができる。
The first divisor D 0 is the 15τ eyes after being set to the divisor register (DSR), the divisor register (DSR) is empty. Therefore, the sixth data D 5 and N 5
Can be input to IV0.

すなわち,このように3τに1度データが送られてく
る場合,従来方式によれば,除数を16τ保持する必要が
あるので,6個の除算演算器が必要となるのに対し,本実
施例のように,保持時間が15τであると,5個の除算演算
器で演算することができる。
That is, when data is sent once every 3τ in this manner, according to the conventional method, the divisor must be held at 16τ, so that six division arithmetic units are required. When the holding time is 15τ, the calculation can be performed by five division calculators.

なお,本発明は,浮動小数点演算および整数演算のど
ちらにも適用することができることは言うまでもない。
Needless to say, the present invention can be applied to both floating-point arithmetic and integer arithmetic.

〔発明の効果〕〔The invention's effect〕

以上説明したように,本発明によれば,除数および被
除数の保持時間を短くして,演算時間を短縮することが
できるようになる。特に,ベクトル計算機に用いるよう
な場合には,パイプライン動作に必要な演算器の数も削
減することができるようになる。
As described above, according to the present invention, the holding time of the divisor and the dividend can be shortened, and the calculation time can be shortened. In particular, when used in a vector computer, the number of arithmetic units required for the pipeline operation can be reduced.

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

第1図は本発明の構成例, 第2図は本発明を使用した装置の実施例, 第3図は第2図に示す前処理部の処理説明図, 第4図は本発明の実施例によるタイムチャート, 第5図は従来の除算演算器の例, 第6図は従来方式の例, 第7図は従来方式のタイムチャートを示す。 図中,10は部分剰余レジスタ,11は除数レジスタ,12は倍
数発生回路,13は加算回路,14は部分商予測回路,15は部
分商発生回路,20は第2の商予測回路,21は選択回路,22
は部分商予測レジスタ,R1〜R4はレジスタを表す。
FIG. 1 is a configuration example of the present invention, FIG. 2 is an embodiment of an apparatus using the present invention, FIG. 3 is an explanatory diagram of processing of a preprocessing unit shown in FIG. 2, and FIG. 4 is an embodiment of the present invention. FIG. 5 shows an example of a conventional division operation unit, FIG. 6 shows an example of a conventional system, and FIG. 7 shows a time chart of a conventional system. In the figure, 10 is a partial remainder register, 11 is a divisor register, 12 is a multiple generation circuit, 13 is an addition circuit, 14 is a partial quotient prediction circuit, 15 is a partial quotient generation circuit, 20 is a second quotient prediction circuit, and 21 is Selection circuit, 22
Represents a partial quotient prediction register, and R1 to R4 represent registers.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】1サイクルでnビットの商を得る高基数比
回復型除算装置であって,少なくとも部分剰余レジスタ
(10)と,除数レジスタ(11)と,部分商予測値に基づ
いて除数の倍数を発生する倍数発生回路(12)と,部分
剰余と倍数発生回路の出力との加減算を行う加算回路
(13)と,加算結果と除数とから部分商予測値を求める
部分商予測回路(14)とを備えた除算装置において, 前記部分剰余レジスタ(10)と前記除数レジスタ(11)
の前段に,被除数の値と除数の値とから最初の部分商予
測値を出力する第2の商予測回路(20)と, 最初の部分商を演算するサイクルで前記第2の商予測回
路(20)の出力を選択し,それ以降のサイクルで前記部
分商予測回路(14)の出力を選択する手段(21)とを備
えたことを特徴とする高基数非回復型除算装置。
1. A high radix ratio restoring type dividing device for obtaining an n-bit quotient in one cycle, comprising: at least a partial remainder register (10), a divisor register (11), and a divisor based on a partial quotient prediction value. A multiple generation circuit (12) for generating a multiple, an addition circuit (13) for performing addition and subtraction of the partial remainder and the output of the multiple generation circuit, and a partial quotient prediction circuit (14) for obtaining a partial quotient prediction value from the addition result and the divisor ), The partial remainder register (10) and the divisor register (11).
A second quotient prediction circuit (20) that outputs a first partial quotient prediction value from the value of the dividend and the value of the divisor, and a second quotient prediction circuit (20) that calculates the first partial quotient in a cycle for calculating the first partial quotient. Means (21) for selecting the output of (20) and selecting the output of the partial quotient prediction circuit (14) in the subsequent cycles.
JP63059605A 1988-03-14 1988-03-14 High radix non-restoring divider Expired - Fee Related JP2608090B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63059605A JP2608090B2 (en) 1988-03-14 1988-03-14 High radix non-restoring divider

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63059605A JP2608090B2 (en) 1988-03-14 1988-03-14 High radix non-restoring divider

Publications (2)

Publication Number Publication Date
JPH01233520A JPH01233520A (en) 1989-09-19
JP2608090B2 true JP2608090B2 (en) 1997-05-07

Family

ID=13118052

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63059605A Expired - Fee Related JP2608090B2 (en) 1988-03-14 1988-03-14 High radix non-restoring divider

Country Status (1)

Country Link
JP (1) JP2608090B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100505134B1 (en) * 2003-06-10 2005-08-02 한국과학기술원 Division unit of 3d computer graphics systems

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58142441A (en) * 1982-02-18 1983-08-24 Toshiba Corp High radix division system

Also Published As

Publication number Publication date
JPH01233520A (en) 1989-09-19

Similar Documents

Publication Publication Date Title
US5500812A (en) Multiplication circuit having rounding function
Pineiro et al. Algorithm and architecture for logarithm, exponential, and powering computation
JP2622896B2 (en) Division device
EP0158530B1 (en) Nonrestoring divider
US4156922A (en) Digital system for computation of the values of composite arithmetic expressions
JP2002108606A (en) Sticky bit generating circuit and multiplier
EP0464493B1 (en) High-radix divider
US5426600A (en) Double precision division circuit and method for digital signal processor
US5132925A (en) Radix-16 divider using overlapped quotient bit selection and concurrent quotient rounding and correction
US6549926B1 (en) SRT divider having several bits of each partial remainder one-hot encoded to minimize the logic levels needed to estimate quotient bits
US5023827A (en) Radix-16 divider using overlapped quotient bit selection and concurrent quotient rounding and correction
JPH0447849B2 (en)
JPH0368416B2 (en)
US6182100B1 (en) Method and system for performing a logarithmic estimation within a data processing system
US5260889A (en) Computation of sticky-bit in parallel with partial products in a floating point multiplier unit
Takagi et al. A hardware algorithm for integer division
US5408426A (en) Arithmetic unit capable of performing concurrent operations for high speed operation
JPH0477932B2 (en)
US5734599A (en) Performing a population count using multiplication
EP0436905B1 (en) High performance adder using carry predictions
US5721697A (en) Performing tree additions via multiplication
JPH1195982A (en) Circuit, method and system for arithmetic processing
JPH07234778A (en) Arithmetic circuit
US4866655A (en) Arithmetic processor and divider using redundant signed digit
JP2608090B2 (en) High radix non-restoring divider

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees