JP3394052B2 - Multi-precision calculation method and multi-precision calculation device - Google Patents

Multi-precision calculation method and multi-precision calculation device

Info

Publication number
JP3394052B2
JP3394052B2 JP05844092A JP5844092A JP3394052B2 JP 3394052 B2 JP3394052 B2 JP 3394052B2 JP 05844092 A JP05844092 A JP 05844092A JP 5844092 A JP5844092 A JP 5844092A JP 3394052 B2 JP3394052 B2 JP 3394052B2
Authority
JP
Japan
Prior art keywords
operand
arithmetic
result
calculation
storing
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
JP05844092A
Other languages
Japanese (ja)
Other versions
JPH05265707A (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 JP05844092A priority Critical patent/JP3394052B2/en
Priority to US08/013,798 priority patent/US5424969A/en
Publication of JPH05265707A publication Critical patent/JPH05265707A/en
Application granted granted Critical
Publication of JP3394052B2 publication Critical patent/JP3394052B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明はディジタル信号処理プロ
セッサ等の演算装置における多精度運算方法及び多精度
運算装置に係り、特に、高速且つ多精度の演算を可能と
する多精度運算方法及び多精度運算装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-precision calculation method and a multi-precision calculation device in a calculation device such as a digital signal processor, and more particularly to a multi-precision calculation method and a multi-precision calculation method that enable high-speed and multi-precision calculation. Regarding a computing device.

【0002】近年、ディジタル信号処理プロセッサ等の
演算装置においては、高速で且つ多精度の演算が要求さ
れている。例えば、16×16ビットの乗算器しか持た
ない演算装置においても、それ以上の精度が要求され、
与えられる演算速度の範囲内で多精度演算とするための
工夫が必要となる。
In recent years, arithmetic devices such as digital signal processors are required to operate at high speed and with high precision. For example, even in an arithmetic unit having only a 16 × 16 bit multiplier, higher precision is required,
It is necessary to devise a multi-precision calculation within a given calculation speed range.

【0003】[0003]

【従来の技術】例えば、16×16ビットの乗算器及び
32ビットの加算器を備える従来の演算装置において、
多精度演算、例えば16×24ビット乗算等の被乗数を
16ビット以上32ビット以下にして乗算を行なう場
合、メモリから被乗数を複数回に分けてロードし、乗算
を行なう必要があり、これをシリアルに行なうので処理
速度が倍増していた。
2. Description of the Related Art For example, in a conventional arithmetic unit including a 16 × 16 bit multiplier and a 32 bit adder,
When performing multi-precision arithmetic, for example, 16 × 24-bit multiplication or the like in which the multiplicand is set to 16 bits or more and 32 bits or less, it is necessary to load the multiplicand in multiple times from the memory and perform the multiplication. The processing speed was doubled because it was done.

【0004】また、乗算器のビット数を増やす方法も考
えられるが、ハードウェアコストが高くつく。
Although a method of increasing the number of bits of the multiplier can be considered, the hardware cost is high.

【0005】[0005]

【発明が解決しようとする課題】従って、従来の演算装
置においては、多精度演算を行なう場合、処理速度が低
下する、或いはハードウェアコストが高くつくという問
題があった。
Therefore, in the conventional arithmetic unit, when performing multi-precision arithmetic, there is a problem that the processing speed is lowered or the hardware cost is high.

【0006】本発明は、上記問題点を解決するもので、
ハードウェアを増加させることなく、高速で且つ多精度
の演算を可能とする多精度運算方法及び多精度運算装置
を提供することを目的とする。
The present invention solves the above problems.
It is an object of the present invention to provide a multi-precision arithmetic method and a multi-precision arithmetic device capable of performing high-speed and multi-precision arithmetic without increasing hardware.

【0007】[0007]

【課題を解決するための手段】上記課題を解決するため
に、請求項1に記載の発明は、第1の被演算数と、所定
ビットに所定値が設定されている第2の被演算数の上位
または下位との演算を行う第1の演算工程と、前記第1
の演算の結果に対して演算を行う第2の演算工程と、前
記第2の演算の結果と第3の被演算数との演算を行う第
3の演算工程と、を有し、前記第2の被演算数の上位ま
たは下位の何れか一方に基づく第3の演算と、前記第2
の被演算数の上位または下位の何れか他方に基づく第2
の演算とを並行して行って、該第3の演算の結果を第3
の被演算数として該第3の被演算数と該第2の演算の結
果とに対して後の第3の演算を行うことを特徴とする。
上記課題を解決するために、請求項2に記載の発明は、
請求項1に記載の発明において、前記第1の演算工程と
前記第2の演算工程と前記第3の演算工程のそれぞれ
が、乗算、シフトまたは加算の何れかであることを特徴
とする。上記課題を解決するために、請求項3に記載の
発明は、請求項1または請求項2において、前記所定値
は0であって、前記第2の被演算数の上位または下位が
ゼロ拡張されることを特徴とする。上記課題を解決する
ために、請求項4に記載の発明は、第1の被演算数と、
所定ビットに所定値が設定されている第2の被演算数の
上位または下位とを格納する入力レジスタと、前記第1
の被演算数の上位または下位と前記第2の被演算数の上
位または下位との演算を行う第1の演算手段と、前記第
1の演算手段による演算の結果に対して演算を行う第2
の演算手段と、前記第2の演算手段による演算の結果と
第3の被演算数との演算を行う第3の演算手段と、前記
第3の演算手段による演算の結果を格納する出力レジス
タと、を有することを特徴とする。上記課題を解決する
ために、請求項5に記載の発明は、請求項4に記載の発
明において、前記第1の被演算数の上位または下位と前
記第2の被演算数の上位または下位とを格納する第1の
記憶手段と、前記第3の被演算数を格納する第2の記億
手段と、前記第2の演算手段による演算の結果を格納す
る第3の記憶手段と、を有することを特徴とする。上記
課題を解決するために、請求項6に記載の発明は、請求
項4または請求項5に記載の発明において、前記所定値
は0であって、前記第2の被演算数の上位または下位が
ゼロ拡張されることを特徴とする。上記課題を解決する
ために、請求項7に記載の発明は、第1の被演算数と、
第2の被演算数の上位または下位と、を格納する入力レ
ジスタと、前記第1の被演算数の上位または下位と、前
記第2の被演算数の上位または下位と、の演算を行う第
1の演算手段と、前記第1の演算手段による演算の結果
に対して演算を行う第2の演算手段と、前記第2の演算
手段による演算の結果と第3の被演算数との演算を行う
第3の演算手段と、前記第3の演算手段による演算の結
果を格納する出力レジスタと、前記第3の被演算数を格
納する第2の記億手段と、前記第2の演算手段による演
算の結果を格納する第3の記憶手段とを備え、前記第3
の記憶手段への第2の演算手段による演算の結果の転送
および前記第2の記憶手段への前記出力レジスタのデー
タの転送と、前記入力レジスタへの前記第2の被演算数
の転送とが、同時に行われることを特徴とする。上記課
題を解決するために、請求項8に記載の発明は、第1の
被演算数と、第2の被演算数の上位または下位と、を格
納する入力レジスタと、前記第1の被演算数の上位また
は下位と、前記第2の被演算数の上位または下位と、の
演算を行う第1の演算手段と、前記第1の演算手段によ
る演算の結果に対して演算を行う第2の演算手段と、前
記第2の演算手段による演算の結果と第3の被演算数と
の演算を行う第3の演算手段と、前記第3の演算手段に
よる演算の結果を格納する出力レジスタと、前記第1の
被演算数と前記第2の被演算数の上位または下位とを格
納する第1の記憶手段と、前記第3の被演算数を格納す
る第2の記億手段と、前記第2の演算手段による演算の
結果を格納する第3の記憶手段とを備え、前記第3の演
算手段による演算およびその結果の出力レジスタへの転
送と、前記第1の記憶手段への前記入力レジスタのデー
タの転送および第2の演算手段による演算とが、同時に
行われることを特徴とする。上記課題を解決するため
に、請求項9に記載の発明は、第1の被演算数と、第2
の被演算数の上位または下位と、を格納する入力レジス
タと、前記第1の被演算数の上位または下位と、前記第
2の被演算数の上位または下位と、の演算を行う第1の
演算手段と、前記第1の演算手段による演算の結果に対
して演算を行う第2の演算手段と、前記第2の演算手段
による演算の結果と第3の被演算数との演算を行う第3
の演算手段と、前記第3の演算手段による演算の結果を
格納する出力レジスタと、前記第3の被演算数を格納す
る第2の記憶手段と、前記第2の演算手段による演算の
結果を格納する第3の記憶手段と、を備え、前記入力レ
ジスタへの前記第1の被演算数と第2の被演算数の転送
と、前記第3の記憶手段への前記第2の演算手段による
演算の結果の転送および前記第2の記憶手段への前記出
力レジスタのデータの転送とが、同時に行われることを
特徴とする。上記課題を解決するために、請求項10に
記載の発明は、請求項4から請求項9のいずれか一項に
記載の発明において、前記第2の被演算数の上位または
下位の何れか一方に基づく前記第3の演算手段による演
算と、前記第2の被演算数の上位または下位の何れか他
方に基づく前記第2の演算手段による演算とを並行して
行って、該第3の演算手段による演算の結果を第3の被
演算数として該第3の被演算数と該第2の演算手段によ
る演算の結果とに対して後の第3の演算手段による演算
を行うことを特徴とする。上記課題を解決するために、
請求項11に記載の発明は、請求項4から請求項10の
いずれか一項に記載の発明において、前記第1の演算手
段と前記第2の演算手段と前記第3の演算手段のそれぞ
れが、乗算、シフトまたは加算の何れかであることを特
徴とする。
In order to solve the above-mentioned problems, the invention according to claim 1 provides a first operand and a second operand in which a predetermined value is set in a predetermined bit. A first operation step for performing an operation with a higher or lower order of
A second operation step of performing an operation on a result of the operation of, and a third operation step of performing an operation of the result of the second operation and a third operand. A third operation based on either the higher or lower of the operands of
Second based on either the higher or lower of the operands of
Is performed in parallel and the result of the third operation is
And performing a third operation after against the result of the operation of the operand and the second third as operand of.
In order to solve the above problems, the invention described in claim 2 is
The invention according to claim 1 is characterized in that each of the first operation step, the second operation step, and the third operation step is one of multiplication, shift, or addition. In order to solve the above-mentioned problems, the invention according to claim 3 is the method according to claim 1 or 2, wherein the predetermined value is 0 and the upper or lower part of the second operand is zero-extended. It is characterized by In order to solve the above-mentioned problems, the invention according to claim 4 provides a first operand.
An input register for storing a higher or lower order of a second operand to which a predetermined value is set in a predetermined bit;
A first arithmetic means for performing an operation on the upper or lower order of the operand and the upper or lower side of the second operand, and a second operation means for operating on the result of the operation by the first operating means
And a third computing means for computing the result of the computation by the second computing means and the third operand, and an output register for storing the result of the computation by the third computing means. , Are included. In order to solve the above-mentioned problems, the invention according to claim 5 is the invention according to claim 4, wherein the first operand is higher or lower and the second operand is higher or lower. And a second storage means for storing the third operand, and a third storage means for storing the result of the calculation by the second calculation means. It is characterized by In order to solve the above-mentioned problems, the invention according to claim 6 is the invention according to claim 4 or claim 5, wherein the predetermined value is 0, and the second operand is higher or lower. Is zero-extended. In order to solve the above-mentioned problems, the invention according to claim 7 provides a first operand.
An input register for storing the upper or lower of the second operand, the upper or lower of the first operand, and the upper or lower of the second operand; One calculation means, a second calculation means for performing a calculation on a result of the calculation by the first calculation means, and a calculation of a calculation result by the second calculation means and a third operand. The third arithmetic means for performing, the output register for storing the result of the arithmetic operation by the third arithmetic means, the second storage means for storing the third operand, and the second arithmetic means. A third storage means for storing the result of the calculation,
Transfer of the result of the operation by the second operation means to the storage means, transfer of the data of the output register to the second storage means, and transfer of the second operand to the input register. , Are performed at the same time. In order to solve the above-mentioned problems, the invention according to claim 8 is such that an input register for storing a first operand and an upper or lower order of the second operand, and the first operand. A first operation means for performing an operation on the upper or lower number and a higher or lower order on the second operand, and a second operation means for performing an operation on the result of the operation by the first arithmetic means. Computing means, third computing means for computing the result of the computation by the second computing means and a third operand, and an output register for storing the result of the computation by the third computing means, First storage means for storing the first operand and upper or lower of the second operand, second storage means for storing the third operand, and And a third storage means for storing the result of the calculation by the second calculation means. And transfer operations and to the resulting output register, the operation and is the first transfer and the second computing means of data in the input register to the storage means, characterized by being performed simultaneously. In order to solve the above-mentioned problems, the invention according to claim 9 provides a first operand and a second operand.
An upper register or a lower register of the operand to be stored, an upper register or a lower register of the first operand, and a first register to perform a calculation of the upper register or the lower register of the second operand. Arithmetic means, second arithmetic means for performing an arithmetic operation on the result of the arithmetic operation by the first arithmetic means, and arithmetic operation for the arithmetic result by the second arithmetic means and the third operand. Three
The calculation means, the output register for storing the result of the calculation by the third calculation means, the second storage means for storing the third operand, and the result of the calculation by the second calculation means. A third storage unit for storing the first operand and the second operand to the input register, and the second arithmetic unit to the third storage unit. The transfer of the calculation result and the transfer of the data of the output register to the second storage means are performed simultaneously. In order to solve the above-mentioned problems, the invention according to claim 10 is the invention according to any one of claims 4 to 9, wherein either one of the upper and lower orders of the second operand is set. And the second arithmetic means based on either the higher or lower of the second operands are performed in parallel to perform the third arithmetic operation. The result of the calculation by the means is used as a third operand, and the subsequent third arithmetic means performs an operation on the third operand and the result of the operation by the second arithmetic means. To do. In order to solve the above problems,
The invention according to claim 11 is the invention according to any one of claims 4 to 10, wherein each of the first computing means, the second computing means, and the third computing means is , Multiplication, shift, or addition.

【0008】[0008]

【0009】[0009]

【作用】図2は本発明の作用説明図である。本発明の多
精度運算装置では、制御手段10により演算の進行制御
がなされるが、理解のし易さのために、例えば、第1の
演算を乗算、第2の演算を桁移動、並びに第3の演算を
加算として、積和演算 C=A1×B1+A2×B2 を行なう場合を例として、図1及び図2を参照して説明
する。
FIG. 2 is an explanatory view of the operation of the present invention. In the multi-precision operation device of the present invention, the control means 10 controls the progress of the calculation. For the sake of easy understanding, for example, the first calculation is multiplied, the second calculation is moved to a digit, and the second calculation is performed. 1 and 2 will be described as an example in which the sum-of-products operation C = A1 × B1 + A2 × B2 is performed with the calculation of 3 as addition.

【0010】先ず、ステップS1で、出力レジスタ3の
クリア等の初期化を行なう。次に、メモリ15から第1
の被演算数A1及び第2の被演算数B1の下位を、バス
18を介してそれぞれ入力レジスタ1の下位及び上位に
格納する。
First, in step S1, initialization such as clearing of the output register 3 is performed. Next, from the memory 15
The lower order numbers of the operand A1 and the second operand B1 are stored in the lower order and upper order of the input register 1 via the bus 18, respectively.

【0011】次に、ステップS11aで、入力レジスタ
1の内容をバス17を介して第1ラッチ11に転送し、
ステップS11bで、第1ラッチ11の上位と下位の2
数、即ち第1の被演算数A1と第2の被演算数B1の下
位に対して、第1の演算手段5により乗算を行なう。次
にステップS11cで、この乗算結果に対して第2の演
算手段7により所定の方向に所定の桁だけ桁移動する。
Next, in step S11a, the contents of the input register 1 are transferred to the first latch 11 via the bus 17,
In step S11b, the upper and lower two of the first latch 11
The first arithmetic means 5 multiplies the numbers, that is, the lower order of the first operand A1 and the second operand B1. Next, in step S11c, the second calculation means 7 shifts the multiplication result by a predetermined digit in a predetermined direction.

【0012】次に、ステップS11aで、桁移動の結果
を第3ラッチ13に、またバス17を介して出力レジス
タ3の内容を第2ラッチ12に、それぞれ転送すると共
に、同時にステップS12bで、第2の被演算数B1の
上位をメモリ15からバス18を介して入力レジスタ1
の上位に格納する。
Next, in step S11a, the result of the digit shift is transferred to the third latch 13, and the contents of the output register 3 are transferred to the second latch 12 via the bus 17, and at the same time, in step S12b, The upper part of the operand B1 of 2 is input from the memory 15 via the bus 18 to the input register 1
It is stored in the upper rank of.

【0013】次に、ステップS13aで、第3の演算手
段9により、第2ラッチ12及び第3ラッチ13に格納
された値、即ち乗算後桁移動した値と出力レジスタ3の
内容との加算を行ない、加算結果をバス18を介して出
力レジスタに格納する。また同時にステップS13b
で、入力レジスタ1の内容を第ラッチ11にバス17を
介して転送して、第1の演算手段5による乗算及び第2
の演算手段による桁移動を行なう。
Next, in step S13a, the value stored in the second latch 12 and the third latch 13, that is, the value shifted to the digit after multiplication and the content of the output register 3 are added by the third computing means 9. The result of addition is stored in the output register via the bus 18. At the same time, step S13b
Then, the contents of the input register 1 are transferred to the first latch 11 via the bus 17, and the multiplication and the second multiplication by the first calculation means 5 are performed.
The digit is moved by the calculation means of.

【0014】次に、ステップS14aで、メモリ15か
らバス18を介して、次の第1の被演算数A2及び第2
の被演算数B1の下位をそれぞれ入力レジスタ1の下位
及び上位に格納する。同時に、ステップS14bで、桁
移動の結果を第3ラッチ13に、またバス17を介して
出力レジスタ3の内容を第2ラッチ12に、それぞれ転
送する。
Then, in step S14a, the first first operand A2 and the second operand A2 are transferred from the memory 15 via the bus 18.
The lower order of the operand B1 is stored in the lower order and upper order of the input register 1, respectively. At the same time, in step S14b, the result of the digit shift is transferred to the third latch 13, and the content of the output register 3 is transferred to the second latch 12 via the bus 17.

【0015】更に、ステップS15で、第3の演算手段
9により、第2ラッチ12及び第3ラッチ13に格納さ
れた値、即ち乗算後桁移動した値と出力レジスタ3の内
容(A1×B1の上位の結果)との加算を行ない、加算
結果(A1×B1の結果)をバス18を介して出力レジ
スタ3に格納する。
Further, in step S15, the value stored in the second latch 12 and the third latch 13, that is, the value shifted by the digit after multiplication and the content of the output register 3 (A1 × B1 The result of the addition (the result of A1 × B1) is stored in the output register 3 via the bus 18.

【0016】次にステップS3に戻り、新たな第2の被
演算数Biが入力レジスタ1に格納されている場合に
は、ステップS11aからステップS15を繰り返し行
ない、そうでない場合には、終了する。この場合には、
第2の被演算数B2の下位が入力レジスタ1に格納され
ているので、ステップS11aからステップS15を行
ない、その結果、出力レジスタ3にはA1×B1+A2
×B2が格納される。
Next, returning to step S3, if a new second operand number Bi is stored in the input register 1, steps S11a to S15 are repeated, and if not, the process ends. In this case,
Since the lower order of the second operand B2 is stored in the input register 1, steps S11a to S15 are performed, and as a result, the output register 3 has A1 × B1 + A2.
× B2 is stored.

【0017】尚、第2の演算手段7による桁移動は、第
2の被演算数の上位または下位の桁合わせを行なう、及
びまたは丸め処理を行なうものであり、命令の仕様に従
って、桁移動の方向及び移動ビット数が定まる。
It should be noted that the digit shift by the second arithmetic means 7 is to perform digit alignment of the upper or lower digits of the second operand and / or rounding processing. The direction and the number of moving bits are determined.

【0018】以上のように、本発明では、出力レジスタ
3内の第3の被演算数Cと第1及び第2の演算結果との
間で第3の演算を行ない、その結果を第3の被演算数C
とする処理と、第1の被演算数Aと第2の被演算数Bの
下位または上位をメモリ15からロードして、これらに
対する第1及び第2の演算の処理とを並行して行なうの
で、多精度演算を行なう時の処理速度の増加を抑えるこ
とができ、従って、高速で且つ多精度の演算を可能とす
る多精度運算方法及び多精度運算装置を実現できる。
As described above, in the present invention, the third operation is performed between the third operand C in the output register 3 and the first and second operation results, and the result is the third operation. Operand C
And the lower or upper order of the first operand A and the second operand B are loaded from the memory 15 and the first and second operations for them are performed in parallel. Therefore, it is possible to suppress an increase in processing speed when performing multi-precision arithmetic, and thus it is possible to realize a multi-precision arithmetic method and a multi-precision arithmetic device that enable high-speed and multi-precision arithmetic.

【0019】[0019]

【実施例】次に、本発明に係る実施例を図面に基づいて
説明する。図3に本発明の一実施例に係る多精度運算装
置の構成図を示す。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 3 shows a block diagram of a multi-precision arithmetic unit according to an embodiment of the present invention.

【0020】同図において、本実施例の多精度運算装置
は、その主要部分として、第1の被演算数Aを保持する
16ビットレジスタR0と、第2の被演算数Bの上位ま
たは下位を保持する16ビットレジスタR1と、当該演
算装置の演算結果を保持する16ビットレジスタR2及
びR3と、第1及び第2の被演算数A及びB間の乗算を
行なう16×16ビット乗算器MLT(第1の演算手段
5)と、乗算器MLTの結果を所定の方向に所定ビット
桁移動するシフタMLTSFT(第2の演算手段7)
と、レジスタR2及びR3に保持されている値とシフタ
MLTSFTの出力との加算を行なう32ビット加算器
ALU(第3の演算手段9)と、マイクロプログラム制
御等により演算装置の各構成要素を制御して所定の演算
を行なわせる制御手段10(図示せず)から構成されて
いる。
In the figure, the multi-precision arithmetic unit of this embodiment has, as its main parts, a 16-bit register R0 for holding a first operand A and an upper or lower part of a second operand B. The 16-bit register R1 for holding, the 16-bit registers R2 and R3 for holding the operation result of the operation device, and the 16 × 16-bit multiplier MLT (for performing multiplication between the first and second operands A and B) The first arithmetic means 5) and the shifter MLTSFT (second arithmetic means 7) for moving the result of the multiplier MLT in a predetermined direction by a predetermined bit digit.
And a 32-bit adder ALU (third arithmetic means 9) for adding the values held in the registers R2 and R3 and the output of the shifter MLTSFT, and each component of the arithmetic device is controlled by microprogram control or the like. It is composed of a control means 10 (not shown) for performing a predetermined calculation.

【0021】また、データ転送に使用するバスとして、
第1、第2、及び第3のバスBUS1、BUS2、及び
BUS3を備え、図3では、上位(H)と下位(L)と
に分けて図示している。
As a bus used for data transfer,
The first, second, and third buses BUS1, BUS2, and BUS3 are provided, and in FIG. 3, the upper (H) and the lower (L) are shown separately.

【0022】乗算器MLTの入力側には16ビットラッ
チLTA及びLTBを備え、また、加算器ALUの入力
側には32ビットラッチLTA−S及びLTB−Sを備
えている。加算器ALUの入力側にある32ビットラッ
チLTA−P及びLTB−P、並びにマルチプレクサM
PXA及びMPXBは、以下で説明する機能以外の機能
を実現するためのものであり、その詳細は省略する。
The input side of the multiplier MLT is provided with 16-bit latches LTA and LTB, and the input side of the adder ALU is provided with 32-bit latches LTA-S and LTB-S. 32-bit latches LTA-P and LTB-P on the input side of the adder ALU, and a multiplexer M
The PXA and MPXB are for realizing functions other than the functions described below, and details thereof will be omitted.

【0023】また、外部の第1及び第2のメモリMA及
びMBとバスABUS及びBBUSを介して接続される
I/O部として、第1及び第2のメモリMA及びMBへ
のアクセスアドレスにより選択するマルチプレクサAX
R1及びAXR2と、バスBUS3HまたはBUS3L
の何れに出力するかによって、シフトまたはスルーする
バレルシフタBSFとを備えている。
Further, the I / O unit connected to the external first and second memories MA and MB via the buses ABUS and BBUS is selected by an access address to the first and second memories MA and MB. Multiplexer AX
R1 and AXR2 and bus BUS3H or BUS3L
A barrel shifter BSF that shifts or passes depending on which of the two is output.

【0024】以下の説明では、24ビットの被乗数Aと
16ビットの乗数Bとの積和演算 C=A1×B1+A2×B2+… ここで、Cは32ビットの演算結果である。を例に、動
作を説明する。
In the following description, a product-sum operation C = A1 × B1 + A2 × B2 + of a 24-bit multiplicand A and a 16-bit multiplier B, where C is a 32-bit operation result. The operation will be described with reference to FIG.

【0025】図4に、第1及び第2のメモリMA及びM
B内に格納されている24ビット被乗数A1,A2,…
及び16ビット乗数B1,B2,…のデータ形式を示
す。被乗数Aは、上位16ビットと下位8ビットに分け
られ、下位の残りのビットはゼロ拡張されている。
FIG. 4 shows the first and second memories MA and M.
The 24-bit multiplicands stored in B, A1, A2, ...
And 16-bit multipliers B1, B2, ... The multiplicand A is divided into upper 16 bits and lower 8 bits, and the remaining lower bits are zero-extended.

【0026】図5は、本実施例の動作を説明するフロー
チャートである。また図6は、積和演算の仕様を説明す
るものである。制御手段10は、マイクロプログラム制
御等によって、以下のように各構成要素を制御する。 (0)ステップS20a〜ステップS20c 先ずステップS20aで、演算結果を格納するレジスタ
R2及びR3のクリア等の初期化を行なう。次に、ステ
ップS20bで、第1及び第2のメモリMA及びMBか
ら乗数A1及び被乗数B1の下位を、それぞれレジスタ
R0及びR1に格納する。 (1)ステップS21 次に、レジスタR0及びR1の内容を、それぞれ第2バ
スの下位BUS2L及び第1バスの上位BUS1Hを介
して、ラッチLTA及びLTBに転送する。乗算器ML
Tでは、ラッチLTA及びLTBの2数、即ち乗数A1
と被乗数B1の下位に対して乗算(図6中:演算)を
行なう。次に、この乗算結果に対してシフタMLTSF
Tにより右方向に8ビットシフトする。 (2)ステップS22a及びステップS22b 次に、ステップS22aで、シフトの結果をラッチLT
B−Sに、また、第2バスBUS2H及びBUS2Lを
介してレジスタR2及びR3の内容をラッチLTA−S
に、それぞれ転送すると同時に、ステップS22bで、
被乗数B1の上位を第1及び第2のメモリMA及びMB
からレジスタR1に格納する。 (3)ステップS23a及びステップS23b 次に、ステップS23aで、加算器ALUにより、ラッ
チLTA−S及びLTB−Sに格納された値、即ち乗算
後シフトした値とレジスタR2及びR3の内容との加算
(図6中:演算)を行ない、加算結果を第3バスBU
S3H及びBUS3Lを介してレジスタR2及びR3に
格納する。また同時にステップS23bで、レジスタR
0及びR1の内容をそれぞれラッチLTA及びLTBに
転送して、乗算器MLTによる乗算(図6中:演算)
及びシフタMLTSFTによりスルーを行なう(シフト
しない)。 (4)ステップS24a及びステップS24b 次に、ステップS24aで、第1及び第2のメモリMA
及びMBから次の乗数A2及び被乗数B1の下位をそれ
ぞれレジスタR0及びR1に格納する。同時に、ステッ
プS24bで、シフタMLTSFT出力をラッチLTB
−Sに、また、第2バスBUS2H及びBUS2Lを介
してレジスタR2及びR3の内容をラッチLTA−S
に、それぞれ転送する。 (5)ステップS25 更に、ステップS25で、加算器ALUにより、ラッチ
LTA−S及びLTB−Sに格納された値、即ち乗算後
シフトした値とレジスタR2及びR3の内容(A1×B
1の上位の結果)との加算(図6中:演算)を行な
い、加算結果(A1×B1の結果)を第3バスBUS3
H及びBUS3Lを介してレジスタR2及びR3に格納
する。
FIG. 5 is a flow chart for explaining the operation of this embodiment. In addition, FIG. 6 illustrates the specifications of the product-sum calculation. The control means 10 controls each constituent element as follows by microprogram control or the like. (0) Step S20a to Step S20c First, in step S20a, initialization such as clearing of the registers R2 and R3 for storing the calculation result is performed. Next, in step S20b, the lower order of the multiplier A1 and the multiplicand B1 from the first and second memories MA and MB are stored in the registers R0 and R1, respectively. (1) Step S21 Next, the contents of the registers R0 and R1 are transferred to the latches LTA and LTB via the lower bus BUS2L of the second bus and the upper bus BUS1H of the first bus, respectively. Multiplier ML
In T, the number of latches LTA and LTB is two, that is, the multiplier A1
And the lower part of the multiplicand B1 is multiplied (in FIG. 6, calculation). Next, the shifter MLTSF is applied to this multiplication result.
8 bits are shifted to the right by T. (2) Step S22a and Step S22b Next, in step S22a, the shift result is latched LT
L-L-S latches the contents of registers R2 and R3 to BS and also via the second buses BUS2H and BUS2L.
, And at the same time when each is transferred in step S22b,
The higher order of the multiplicand B1 is the first and second memories MA and MB.
To the register R1. (3) Step S23a and Step S23b Next, at step S23a, the adder ALU adds the values stored in the latches LTA-S and LTB-S, that is, the value shifted after multiplication and the contents of the registers R2 and R3. (In FIG. 6: calculation) and the addition result is output to the third bus BU.
Store in registers R2 and R3 via S3H and BUS3L. At the same time, in step S23b, the register R
The contents of 0 and R1 are transferred to the latches LTA and LTB, respectively, and multiplied by the multiplier MLT (in FIG. 6, calculation).
And the shifter MLTSFT is used for through (no shift). (4) Step S24a and Step S24b Next, in step S24a, the first and second memories MA
And MB to store the lower order of the next multiplier A2 and multiplicand B1 in registers R0 and R1, respectively. At the same time, the shifter MLTSFT output is latched LTB in step S24b.
-S and latches the contents of registers R2 and R3 via the second buses BUS2H and BUS2L LTA-S
, Respectively. (5) Step S25 Further, in step S25, the value stored in the latches LTA-S and LTB-S, that is, the value shifted after multiplication and the contents of the registers R2 and R3 (A1 × B) are added by the adder ALU.
No. 1 higher result) (addition (calculation in FIG. 6)) and the addition result (A1 × B1 result) is added to the third bus BUS3.
Store in registers R2 and R3 via H and BUS3L.

【0027】次にステップS20bに戻り、ステップS
24aで新たな被乗数BiがレジスタR1に格納されて
いる場合には、上記(1)から(5)の処理を繰り返し
行ない、そうでない場合には、終了する。この場合に
は、第2の被演算数B2の下位が入力レジスタ1に格納
されているので、ステップS21からステップS25を
行ない、その結果、レジスタR2及びR3にはA1×B
1+A2×B2が格納される。
Next, returning to step S20b, step S
If the new multiplicand Bi is stored in the register R1 at 24a, the above processes (1) to (5) are repeated, and if not, the process ends. In this case, since the lower order of the second operand B2 is stored in the input register 1, steps S21 to S25 are performed, and as a result, A1 × B is stored in the registers R2 and R3.
1 + A2 × B2 is stored.

【0028】以上のように、本実施例では、レジスタR
2及びR3内の前の演算結果と乗算及びシフトの結果と
の間で加算を行ない、その結果をレジスタR2及びR3
に格納する処理と、乗数Aと被乗数Bの下位または上位
をメモリからロードして、これらに対する乗算及びシフ
トの処理とを並行して行なうので、多精度演算を行なう
時の処理速度の増加を抑えることができる。
As described above, in this embodiment, the register R
2 and R3 add between the previous operation result and the multiplication and shift results and add the result to registers R2 and R3
Since the processing for storing in the memory and the lower or upper order of the multiplier A and the multiplicand B are loaded from the memory and the multiplication and shift processing for these are performed in parallel, an increase in processing speed when performing multi-precision arithmetic is suppressed. be able to.

【0029】上記(1)から(5)までの処理を、1マ
シンサイクルで実行するとすれば、1回の積和当たり、
従来8マシンサイクル要していたものを、5マシンサイ
クルで実行することができ、5/8に高速化できる。
Assuming that the processes (1) to (5) are executed in one machine cycle,
What used to require 8 machine cycles in the past can be executed in 5 machine cycles, and the speed can be increased to 5/8.

【0030】また、本実施例では、被乗数を24ビット
としたが、これに限らず17ビットから32ビットの範
囲のものであってもよい。また、第1、第2、及び第3
の演算を、それぞれ乗算、シフト、及び加算としたが、
これに限定されない。
In the present embodiment, the multiplicand is set to 24 bits, but the multiplicand is not limited to 24 bits and may be in the range of 17 bits to 32 bits. Also, the first, second, and third
The operations of are respectively multiplication, shift, and addition,
It is not limited to this.

【0031】[0031]

【発明の効果】以上説明したように、本発明によれば、
出力レジスタ内の第3の被演算数と第1及び第2の演算
結果との間で第3の演算を行ない、その結果を第3の被
演算数とする処理と、第1の被演算数と第2の被演算数
の下位または上位をメモリからロードして、これらに対
する第1及び第2の演算の処理とを並行して行なうの
で、多精度演算を行なう時の処理速度の増加を抑えるこ
とができ、高速で且つ多精度の演算を可能とする多精度
運算方法及び多精度運算装置を提供することができる。
As described above, according to the present invention,
A process of performing a third operation between the third operand in the output register and the first and second operation results, and setting the result as the third operand, and the first operand And the lower or upper part of the second operand are loaded from the memory and the first and second operations for these are performed in parallel, so that an increase in processing speed when performing multi-precision operations is suppressed. Thus, it is possible to provide a multi-precision arithmetic method and a multi-precision arithmetic device that enable high-speed and multi-precision arithmetic.

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

【図1】本発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明の作用説明図である。FIG. 2 is an explanatory view of the operation of the present invention.

【図3】本発明の一実施例に係る多精度運算装置の構成
図である。
FIG. 3 is a configuration diagram of a multi-precision arithmetic unit according to an embodiment of the present invention.

【図4】実施例の積和演算における乗数及び被乗数のデ
ータ形式の説明図である。
FIG. 4 is an explanatory diagram of a data format of a multiplier and a multiplicand in the product-sum calculation according to the embodiment.

【図5】実施例の積和演算の処理の動作を説明するフロ
ーチャートである。
FIG. 5 is a flowchart illustrating an operation of a product-sum calculation process according to the embodiment.

【図6】実施例で処理する積和演算の仕様の説明図であ
る。
FIG. 6 is an explanatory diagram of specifications of sum-of-products calculation processed in the embodiment.

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

A,B,C…第1、第2、及び第3の被演算数 1…入力レジスタ R0,R1…16ビットレジスタ 3…出力レジスタ R2,R3…16ビットレジスタ 5…第1の演算手段 MLT…16×16ビット乗算器 7…第2の演算手段 MLTSFT…シフタ 9…第3の演算手段 ALU…32ビット加算器 10…制御手段 11,12,13…第1、第2、及び第3のラッチ LTA,LTB…16ビットラッチ LTA−S,LTB−S,LTA−P,LTB−P…3
2ビットラッチ BUS1,BUS2,BUS3…第1、第2、及び第3
のバス MPXA,MPXB…マルチプレクサ MA,MB…第1及び第2のメモリ ABUS,BBUS…バス AXR1,AXR2…マルチプレクサ BSF…バレルシフタ
A, B, C ... First, second, and third operands 1 ... Input register R0, R1 ... 16-bit register 3 ... Output register R2, R3 ... 16-bit register 5 ... First computing means MLT ... 16 × 16-bit multiplier 7 ... Second arithmetic means MLTSFT ... Shifter 9 ... Third arithmetic means ALU ... 32-bit adder 10 ... Control means 11, 12, 13 ... First, second and third latches LTA, LTB ... 16-bit latch LTA-S, LTB-S, LTA-P, LTB-P ... 3
2-bit latch BUS1, BUS2, BUS3 ... First, second, and third
MPXA, MPXB ... Multiplexers MA, MB ... First and second memories ABUS, BBUS ... Buses AXR1, AXR2 ... Multiplexer BSF ... Barrel shifter

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平3−78083(JP,A) 特開 昭64−84375(JP,A) 特開 昭57−59245(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 7/00 G06F 7/52 310 ─────────────────────────────────────────────────── ─── Continuation of front page (56) References JP-A-3-78083 (JP, A) JP-A 64-84375 (JP, A) JP-A 57-59245 (JP, A) (58) Field (Int.Cl. 7 , DB name) G06F 7/00 G06F 7/52 310

Claims (11)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 第1の被演算数と、所定ビットに所定値
が設定されている第2の被演算数の上位または下位との
演算を行う第1の演算工程と、 前記第1の演算の結果に対して演算を行う第2の演算工
程と、 前記第2の演算の結果と第3の被演算数との演算を行う
第3の演算工程と、を有し、 前記第2の被演算数の上位または下位の何れか一方に基
づく第3の演算と、前記第2の被演算数の上位または下
位の何れか他方に基づく第2の演算とを並行して行っ
て、該第3の演算の結果を第3の被演算数として該第3
の被演算数と該第2の演算の結果とに対して後の第3の
演算を行うことを特徴とする多精度運算方法。
1. A first operation step of performing an operation on a first operand and an upper or lower order of a second operand in which a predetermined value is set in a predetermined bit, and the first operation. A second operation step of performing an operation on the result of the second operation, and a third operation step of performing an operation of the result of the second operation and a third operand. A third operation based on either the higher or lower of the number of operations and a second operation based on the other of the higher or lower of the second operands are performed in parallel to produce the third The result of the calculation of
Multi-precision mathematical operation method and performing a third operation after against the result of the operation of the operand and the second.
【請求項2】 前記第1の演算工程と前記第2の演算工
程と前記第3の演算工程のそれぞれが、乗算、シフトま
たは加算の何れかであることを特徴とする請求項1に記
載の多精度運算方法。
2. The first arithmetic step, the second arithmetic step, and the third arithmetic step are each one of multiplication, shift, and addition. Multi-precision calculation method.
【請求項3】 前記所定値は0であって、前記第2の被
演算数の上位または下位がゼロ拡張されることを特徴と
する請求項1または請求項2に記載の多精度運算方法。
3. The multi-precision arithmetic method according to claim 1, wherein the predetermined value is 0, and the upper or lower part of the second operand is zero-extended.
【請求項4】 第1の被演算数と、所定ビットに所定値
が設定されている第2の被演算数の上位または下位とを
格納する入力レジスタと、 前記第1の被演算数の上位または下位と前記第2の被演
算数の上位または下位との演算を行う第1の演算手段
と、 前記第1の演算手段による演算の結果に対して演算を行
う第2の演算手段と、 前記第2の演算手段による演算の結果と第3の被演算数
との演算を行う第3の演算手段と、 前記第3の演算手段による演算の結果を格納する出力レ
ジスタと、 を有することを特徴とする多精度運算装置。
4. An input register for storing a first operand and an upper or lower part of a second operand whose predetermined bit is set to a predetermined value, and an upper register of the first operand. Or a first arithmetic means for performing an operation on a lower order and an upper order or a lower order of the second operand, and a second operating means for carrying out an operation on a result of the operation by the first calculating means, A third arithmetic means for performing an arithmetic operation by the second arithmetic means and a third operand, and an output register for storing an arithmetic result by the third arithmetic means. And a multi-precision operation device.
【請求項5】 前記第1の被演算数の上位または下位と
前記第2の被演算数の上位または下位とを格納する第1
の記憶手段と、 前記第3の被演算数を格納する第2の記億手段と、 前記第2の演算手段による演算の結果を格納する第3の
記憶手段と、 を有することを特徴とする請求項4に記載の多精度運算
装置。
5. A first storing the upper or lower of the first operand and the upper or lower of the second operand.
Storage means, second storage means for storing the third operand, and third storage means for storing the result of the calculation by the second calculation means. The multi-precision operation device according to claim 4.
【請求項6】 前記所定値は0であって、前記第2の被
演算数の上位または下位がゼロ拡張されることを特徴と
する請求項4または請求項5に記載の多精度運算装置。
6. The multi-precision arithmetic unit according to claim 4, wherein the predetermined value is 0, and the upper or lower part of the second operand is zero-extended.
【請求項7】 第1の被演算数と、第2の被演算数の上
位または下位と、を格納する入力レジスタと、 前記第1の被演算数の上位または下位と、前記第2の被
演算数の上位または下位と、の演算を行う第1の演算手
段と、 前記第1の演算手段による演算の結果に対して演算を行
う第2の演算手段と、 前記第2の演算手段による演算の結果と第3の被演算数
との演算を行う第3の演算手段と、 前記第3の演算手段による演算の結果を格納する出力レ
ジスタと、 前記第3の被演算数を格納する第2の記億手段と、 前記第2の演算手段による演算の結果を格納する第3の
記憶手段とを備え、 前記第3の記憶手段への第2の演算手段による演算の結
果の転送および前記第2の記憶手段への前記出力レジス
タのデータの転送と、前記入力レジスタへの前記第2の
被演算数の転送とが、同時に行われることを特徴とする
多精度運算装置。
7. An input register for storing a first operand and an upper or lower order of the second operand, an upper register or a lower order of the first operand, and the second operand. First arithmetic means for performing arithmetic operation of higher or lower number of arithmetic operations, second arithmetic means for performing arithmetic operation on the result of arithmetic operation by the first arithmetic means, and arithmetic operation by the second arithmetic means And an output register for storing a result of the operation by the third arithmetic means, and a second arithmetic means for storing the third operand. Storage means and third storage means for storing the result of the calculation by the second calculation means, and transfer of the result of the calculation by the second calculation means to the third storage means and the third storage means. 2 transfer of the data of the output register to the storage means and to the input register Multi-precision mathematical operation device and the second is the transfer of operands, characterized in that it is performed at the same time.
【請求項8】 第1の被演算数と、第2の被演算数の上
位または下位と、を格納する入力レジスタと、 前記第1の被演算数の上位または下位と、前記第2の被
演算数の上位または下位と、の演算を行う第1の演算手
段と、 前記第1の演算手段による演算の結果に対して演算を行
う第2の演算手段と、 前記第2の演算手段による演算の結果と第3の被演算数
との演算を行う第3の演算手段と、 前記第3の演算手段による演算の結果を格納する出力レ
ジスタと、 前記第1の被演算数と前記第2の被演算数の上位または
下位とを格納する第1の記憶手段と、 前記第3の被演算数を格納する第2の記億手段と、 前記第2の演算手段による演算の結果を格納する第3の
記憶手段とを備え、 前記第3の演算手段による演算およびその結果の出力レ
ジスタへの転送と、前記第1の記憶手段への前記入力レ
ジスタのデータの転送および第2の演算手段による演算
とが、同時に行われることを特徴とする多精度運算装
置。
8. An input register for storing a first operand and an upper or lower order of the second operand, an upper register or a lower order of the first operand, and the second operand. First arithmetic means for performing arithmetic operation of higher or lower number of arithmetic operations, second arithmetic means for performing arithmetic operation on the result of arithmetic operation by the first arithmetic means, and arithmetic operation by the second arithmetic means And a third arithmetic means for performing an arithmetic operation on the result of the above and a third operand, an output register for storing the result of the arithmetic operation by the third arithmetic means, the first operand and the second operand. A first storage means for storing the upper or lower order of the operand, a second storage means for storing the third operand, a first storage means for storing the result of the operation by the second arithmetic means And an output register of the result of the calculation by the third calculating means. And transfer to the calculation by the first transfer and the second computing means of data in the input register to the storage means, a multi-precision mathematical operation device characterized in that it is performed at the same time.
【請求項9】 第1の被演算数と、第2の被演算数の上
位または下位と、を格納する入力レジスタと、 前記第1の被演算数の上位または下位と、前記第2の被
演算数の上位または下位と、の演算を行う第1の演算手
段と、 前記第1の演算手段による演算の結果に対して演算を行
う第2の演算手段と、 前記第2の演算手段による演算の結果と第3の被演算数
との演算を行う第3の演算手段と、 前記第3の演算手段による演算の結果を格納する出力レ
ジスタと、 前記第3の被演算数を格納する第2の記憶手段と、 前記第2の演算手段による演算の結果を格納する第3の
記憶手段と、を備え、 前記入力レジスタへの前記第1の被演算数と第2の被演
算数の転送と、前記第3の記憶手段への前記第2の演算
手段による演算の結果の転送および前記第2の記憶手段
への前記出力レジスタのデータの転送とが、同時に行わ
れることを特徴とする多精度運算装置。
9. An input register for storing a first operand and an upper or lower order of the second operand, an upper register or a lower order of the first operand, and the second operand. First arithmetic means for performing arithmetic operation of higher or lower number of arithmetic operations, second arithmetic means for performing arithmetic operation on the result of arithmetic operation by the first arithmetic means, and arithmetic operation by the second arithmetic means And an output register for storing a result of the operation by the third arithmetic means, and a second arithmetic means for storing the third operand. Storage means and third storage means for storing the result of the calculation by the second calculation means, and transferring the first operand and the second operand to the input register. Transferring the result of the operation by the second operation means to the third storage means, and Multi-precision mathematical operation device 2 for the transfer of data in the output register to the storage means, characterized by being performed simultaneously.
【請求項10】 前記第2の被演算数の上位または下位
の何れか一方に基づく前記第3の演算手段による演算
と、前記第2の被演算数の上位または下位の何れか他方
に基づく前記第2の演算手段による演算とを並行して行
って、該第3の演算手段による演算の結果を第3の被演
算数として該第3の被演算数と該第2の演算手段による
演算の結果とに対して後の第3の演算手段による演算を
行うことを特徴とする請求項4から請求項9のいずれか
一項に記載の多精度運算装置。
10. The calculation by the third calculation means based on either the higher or lower of the second operand and the operation based on the other of the higher or lower of the second operand. The calculation by the second calculation means is performed in parallel, and the result of the calculation by the third calculation means is used as the third operand to calculate the third operand and the calculation by the second calculation means. The multi-precision arithmetic unit according to any one of claims 4 to 9, wherein an arithmetic operation is performed on the result and the subsequent third arithmetic means.
【請求項11】 前記第1の演算手段と前記第2の演算
手段と前記第3の演算手段のそれぞれが、乗算、シフト
または加算の何れかであることを特徴とする請求項4か
ら請求項10のいずれか一項に記載の多精度運算装置。
11. The method according to claim 4, wherein each of the first arithmetic means, the second arithmetic means and the third arithmetic means is one of multiplication, shift and addition. 10. The multi-precision operation device according to any one of 10.
JP05844092A 1992-02-05 1992-03-16 Multi-precision calculation method and multi-precision calculation device Expired - Fee Related JP3394052B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP05844092A JP3394052B2 (en) 1992-03-16 1992-03-16 Multi-precision calculation method and multi-precision calculation device
US08/013,798 US5424969A (en) 1992-02-05 1993-02-05 Product-sum operation unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05844092A JP3394052B2 (en) 1992-03-16 1992-03-16 Multi-precision calculation method and multi-precision calculation device

Publications (2)

Publication Number Publication Date
JPH05265707A JPH05265707A (en) 1993-10-15
JP3394052B2 true JP3394052B2 (en) 2003-04-07

Family

ID=13084459

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05844092A Expired - Fee Related JP3394052B2 (en) 1992-02-05 1992-03-16 Multi-precision calculation method and multi-precision calculation device

Country Status (1)

Country Link
JP (1) JP3394052B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7264851B2 (en) * 2020-06-25 2023-04-25 株式会社平和 game machine
JP7264852B2 (en) * 2020-06-25 2023-04-25 株式会社平和 game machine

Also Published As

Publication number Publication date
JPH05265707A (en) 1993-10-15

Similar Documents

Publication Publication Date Title
JP3869269B2 (en) Handling multiply accumulate operations in a single cycle
US4597053A (en) Two-pass multiplier/accumulator circuit
US5218564A (en) Layout efficient 32-bit shifter/register with 16-bit interface
US5583804A (en) Data processing using multiply-accumulate instructions
JPH02300983A (en) Fast arithmetic processing for central processing unit
JPS5947346B2 (en) processor
US6324638B1 (en) Processor having vector processing capability and method for executing a vector instruction in a processor
JP4349265B2 (en) Processor
US6295597B1 (en) Apparatus and method for improved vector processing to support extended-length integer arithmetic
US6009450A (en) Finite field inverse circuit
JPS5862746A (en) Divider
JP3476960B2 (en) Arithmetic logic operation device and control method
US5363322A (en) Data processor with an integer multiplication function on a fractional multiplier
US4228518A (en) Microprocessor having multiply/divide circuitry
JPH0477932B2 (en)
US3641331A (en) Apparatus for performing arithmetic operations on numbers using a multiple generating and storage technique
JP3394052B2 (en) Multi-precision calculation method and multi-precision calculation device
JP2597775B2 (en) Division method and division device
US3840727A (en) Binary multiplication by addition with non-verlapping multiplier recording
JPS6248873B2 (en)
US3500027A (en) Computer having sum of products instruction capability
JP3435744B2 (en) Multiplication circuit
US7590677B2 (en) Processor with summation instruction using overflow counter
JP3441847B2 (en) Processor with data memory
JP3336986B2 (en) Signal processor and multiply-accumulate unit with rounding function used therefor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030121

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080131

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090131

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100131

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees