JPS62119631A - High speed arithmetic unit - Google Patents

High speed arithmetic unit

Info

Publication number
JPS62119631A
JPS62119631A JP60258575A JP25857585A JPS62119631A JP S62119631 A JPS62119631 A JP S62119631A JP 60258575 A JP60258575 A JP 60258575A JP 25857585 A JP25857585 A JP 25857585A JP S62119631 A JPS62119631 A JP S62119631A
Authority
JP
Japan
Prior art keywords
section
data
internal register
sent
address
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
JP60258575A
Other languages
Japanese (ja)
Inventor
Nobuyuki Ohira
大平 伸行
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP60258575A priority Critical patent/JPS62119631A/en
Publication of JPS62119631A publication Critical patent/JPS62119631A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain high speed operation by using a data in two internal registers so as to execute a repetitive operation. CONSTITUTION:A data in an internal register A section 1 is read at an A address 8, the data passes through a latch section 3A and is sent to a data source selection section 4A. The data source selection section 4A selects a sent data, transfers it to an ALU section 5, a data in an internal register B section 2 is read by a B address 9, the data passes through a latch section 3B and is sent to a data source selection section 4B. The sent data is selected and sent to the ALU section 5, the sent data is used for operation, and the result of operation selects only the internal register B section 2 only at a changeover section 13 receiving a microinstruction 12 and a write enable 14 and the result is written only in the internal register B section 2.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、2つの内部レジスタ内のデータを用い、繰
り返し演算を高速で実行する高速演算装置に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a high-speed arithmetic device that uses data in two internal registers to perform repetitive arithmetic operations at high speed.

〔従来の技術〕[Conventional technology]

第2図は、例えば[ビボラー マイクロプロセッサー 
ロジック アンド インターフェース(Bipolar
 Microprocessor l、ogic an
d Interface) 、1、アンドランスト マ
イクロ デービセスインク(八dranced Mic
ro De−Vices、1nc)  1983年発行
Figure 2 shows, for example, [Vivolar microprocessor]
Logic and Interface (Bipolar
Microprocessor l, logic an
d Interface), 1, and Lanced Micro Davises Inc.
ro De-Vices, 1nc) Published in 1983.

5−5項に示された32ビットのマイクロプロセッサの
ブロック図である。
FIG. 5 is a block diagram of the 32-bit microprocessor shown in Section 5-5.

図において、1は32ビットデータを記憶している(第
1の)内部レジスタA部、2は32ビットデータを記憶
している(第2の)内部レジスタ8部、3A、3Bは前
記内部レジスタA部1及び8部2から読み出したデータ
をラッチするランチ部、4A、4Bは外部入力データと
ランチ部3A、3Bの出力データの選択を行なうデータ
ソース選択部、5は演算を実行するALTJ(’l術論
理ユニソ1)部、6は演算結果をシフトするシフタ一部
、7は演算結果出力データライン、8はAアドレス、9
はBアドレス、10は前記内部レジスタA部1゜8部2
にアドレス指定を行なうアドレス生成部、11はクロッ
クである。
In the figure, 1 is the (first) internal register A section that stores 32-bit data, 2 is the (second) internal register 8 section that stores 32-bit data, and 3A and 3B are the internal registers. 4A and 4B are data source selection units that select external input data and output data of the launch units 3A and 3B; 5 is an ALTJ ( 'l logic unit 1) part, 6 is a shifter part that shifts the calculation result, 7 is the calculation result output data line, 8 is the A address, 9
is the B address, 10 is the internal register A section 1゜8 section 2
11 is a clock.

次に動作について説明する。Next, the operation will be explained.

まず、A、Bアドレスのう5からAアドレス8を設定す
ると内部レジスタA部1内のデータが読み出される。読
み出されたデータは、ランチ部3Aを通ってデータソー
ス選択部4Aに送られる。データソース選択部4Aでは
送られてきたデータを選択しA L U部5に送出する
。次にBアドレス9を設定すると内部レジスタ8部2内
のデータを読み出す。続いて読み出されたデータは、ラ
ンチ部3Bを通りデータソース選択部4Bへ送られる。
First, when A address 8 is set from A address 5 to B address 8, data in internal register A section 1 is read out. The read data is sent to the data source selection section 4A through the launch section 3A. The data source selection section 4A selects the sent data and sends it to the ALU section 5. Next, when the B address 9 is set, the data in the internal register 8 section 2 is read out. Subsequently, the read data passes through the launch section 3B and is sent to the data source selection section 4B.

データソース選択部4Bは送られてきたデータを選択し
ALU部5に送出する。
The data source selection section 4B selects the sent data and sends it to the ALU section 5.

次にALU部5は、送られてきた前記2つのデータを演
算する。演算された結果は、シフタ一部6を通りアドレ
ス生成部9で生成されたBアドレス8で内部レジスタA
部1と、内部レジスタ8部2内のレジスタに、書き込ま
れる。
Next, the ALU unit 5 calculates the two data sent. The calculated result passes through the shifter part 6 and is stored in the internal register A at the B address 8 generated by the address generator 9.
section 1 and internal register 8 is written to a register in section 2.

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

従来の演算装置は、以上のように構成されているので第
1及び第2の2つの内部レジスタA、  8部内のデー
タを用いて演算を実行し、その結果をBアドレスで2つ
の内部レジスタA、B部に書き込んでしまう為に、繰り
返し演算を実行した場合に、lサインクル内で一方の内
部レジスタA部指定のAアドレスをBアドレスへ切換え
なければならず、その為71゛レス切換に要する遅延時
間が必要で、繰り返し演算を高速で実行できない等の問
題点があった。
Since the conventional arithmetic unit is configured as described above, it executes arithmetic operations using the data in the first and second two internal registers A and 8, and stores the results in the two internal registers A at address B. , because the data is written to part B, when a repeated operation is executed, the A address specified in part A of one internal register must be switched to the B address within one cycle, and therefore it takes 71゛ to switch. This method requires delay time and has problems such as the inability to perform repetitive operations at high speed.

この発明は上記のような問題点を解消する為になされた
もので、2つの内部レジスタA部、B部から読み出した
データを演算実行すると共にその演算結果をBアドレス
で一方の内部レジスタA部に書き込みをしないようにす
るとともに、他方の内部レジスタ8部にだけ書き込みを
することができる高速演算装置を得ることを目的とする
This invention was made to solve the above-mentioned problems. It executes an operation on the data read from two internal registers A section and B section, and stores the operation result in one internal register A section at the B address. It is an object of the present invention to provide a high-speed arithmetic device that can write only to the other 8 parts of internal registers while preventing writing to the internal registers.

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

この発明に係る高速演算装置は第1及び第2の2つの内
部レジスタA、B部内のデータを用いて繰り返し演算を
高速に実行するようにしたもので、第1及び第2の2つ
の内部レジスタA、B部内のデータを用いて演算を実行
し、その演算結果をBアドレス指定で内部レジスタ8部
にだけ書き込んでしまうとともに、繰り返し演算を実行
した場合には、内部レジスタA部のデータを用いる為に
1サイクル内でのAアドレス確定のための遅延時間を必
要としないようにしたものである。
A high-speed arithmetic device according to the present invention is configured to execute repetitive arithmetic operations at high speed using data in two internal registers A and B, and the first and second two internal registers are An operation is executed using the data in sections A and B, and the operation result is written only to section 8 of the internal register by specifying the B address, and when the operation is executed repeatedly, the data in section A of the internal register is used. Therefore, a delay time for determining the A address within one cycle is not required.

〔作用〕[Effect]

この発明における高速演算装置は、マイクロインスI・
ラクションで書き込みアドレスの切換動作が実行され、
内部レジスタA部と内部レジスタ8部から読み出したデ
ータを演算し、演算結果をBアドレス指定で内部レジス
タ8部にだけ書き込むようにする。
The high-speed arithmetic device in this invention is a microinstrument I.
The write address switching operation is executed by the
The data read from the internal register A part and the internal register 8 part are operated, and the result of the calculation is written only to the internal register 8 part by specifying the B address.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。図中
第2図と同一の部分は同一の符号をもって図示した第1
図において、12はマイクロインストラクション、13
はBアドレス9の指定で内部レジスタA部1と内部レジ
スタ8部2に書き込みを行なうものを内部レジスタ8部
2にのみ書き込むようにする為の切換部、14はライト
イネーブルである。
An embodiment of the present invention will be described below with reference to the drawings. In the figure, the same parts as in Figure 2 are designated by the same reference numerals.
In the figure, 12 is a microinstruction, 13
Reference numeral 14 indicates a write enable for writing to only the internal register 8 section 2 what is to be written to the internal register A section 1 and the internal register 8 section 2 in accordance with the designation of the B address 9.

次に動作について説明する。Next, the operation will be explained.

まず、Aアドレス8で内部レジスタA部l内のデータを
読み出す。読み出されたデータはランチ部3Aを通り、
データソース選択部4Aへ送られる。
First, data in internal register A part 1 is read at A address 8. The read data passes through the launch section 3A,
The data is sent to the data source selection section 4A.

データソース選択部4Aは送られてきたデータを選択し
てALU部5へ転送する。次にBアドレス9で内部レジ
スタ8部2内のデータを読み出す。
The data source selection section 4A selects the sent data and transfers it to the ALU section 5. Next, the data in the internal register 8 section 2 is read out at the B address 9.

すると読み出されたデータはランチ部3Bを通り、デー
タソース選択部4Bへ送出される。データソース選択部
4Bは、送られてきたデータを選択してALU部5へ送
る。ALU部5は互いに送られてきたデータを用いて演
算を行なう。演算の結果はマイクロインストラクション
12とライトイネーブル14とが入力された切換部13
において内部レジスタ8部2だけを選定することにより
、内部レジスタ8部2にだけ書き込まれる。
Then, the read data passes through the launch section 3B and is sent to the data source selection section 4B. The data source selection section 4B selects the sent data and sends it to the ALU section 5. The ALU units 5 perform calculations using the data sent to each other. The result of the calculation is sent to the switching unit 13 into which the microinstruction 12 and write enable 14 are input.
By selecting only the internal register 8 section 2 in , the data is written only to the internal register 8 section 2.

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

以上のようにこの発明によれば、マイクロインストラク
ションで演算の結果を2つある内部レジスタA、B部の
片方の内部レジスタBにだけに書き込むことのできる切
換部を付加して演算装置を構成したので、内部レジスタ
A部、内部しジスタB部のデータを使って繰り返し演算
を実行した場合に、片方の内部レジスタA部の1サイク
ル内でアドレス確定のための遅延時間を無(することが
でき、繰り返し演算が高速に実行できる効果がある。
As described above, according to the present invention, an arithmetic device is configured by adding a switching section that can write the result of an operation using a microinstruction into only one of the two internal registers A and B, internal register B. Therefore, when performing repeated operations using data in internal register A and internal register B, there is no delay time for determining the address within one cycle of one internal register A. , which has the effect of allowing repeated operations to be executed at high speed.

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

第1図はこの発明の一実施例による高速演算装置のプ1
コック図、第2図は従来の演算装置を示すブロック図で
ある。図において、■は内部レジスタA部、2は内部レ
ジスタ8部、3A、3Bはランチ部、4A、4Bはデー
タソース選択部、5はALU(算術演算ユニット)部、
10はアドレス生成部、12はマイクロインストラクシ
ョン、13は切換部である。 手続補正書(自発) 謁
FIG. 1 shows a program 1 of a high-speed arithmetic device according to an embodiment of the present invention.
FIG. 2 is a block diagram showing a conventional arithmetic device. In the figure, ■ is the internal register A section, 2 is the internal register 8 section, 3A and 3B are the launch section, 4A and 4B are the data source selection section, 5 is the ALU (arithmetic operation unit) section,
10 is an address generation section, 12 is a microinstruction, and 13 is a switching section. Procedural amendment (voluntary) Audience

Claims (1)

【特許請求の範囲】[Claims] 第1及び第2の内部レジスタ部内に格納されたデータを
用い算術論理ユニット部によって連続演算を実行する演
算装置において、前記第1及び第2の内部レジスタA、
B部の片方を指定するアドレス生成部に対し1ビットの
マイクロインストラクションを用いて前記算術演算ユニ
ット部での演算結果を内部レジスタB部にのみ書込み可
能とした切換部を設け、前記内部レジスタA部と該内部
レジスタB部のデータとを用いて繰り返し演算処理を行
なうようにしたことを特徴とする高速演算装置。
In an arithmetic device that executes continuous operations by an arithmetic logic unit using data stored in first and second internal register sections, the first and second internal registers A;
A switching unit is provided for an address generation unit that specifies one of the internal registers B, and a switching unit is provided that allows the arithmetic operation result in the arithmetic operation unit unit to be written only to the internal register B unit using a 1-bit microinstruction, and the internal register A unit A high-speed arithmetic device characterized in that arithmetic processing is repeatedly performed using the data in the internal register B section.
JP60258575A 1985-11-20 1985-11-20 High speed arithmetic unit Pending JPS62119631A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60258575A JPS62119631A (en) 1985-11-20 1985-11-20 High speed arithmetic unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60258575A JPS62119631A (en) 1985-11-20 1985-11-20 High speed arithmetic unit

Publications (1)

Publication Number Publication Date
JPS62119631A true JPS62119631A (en) 1987-05-30

Family

ID=17322152

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60258575A Pending JPS62119631A (en) 1985-11-20 1985-11-20 High speed arithmetic unit

Country Status (1)

Country Link
JP (1) JPS62119631A (en)

Similar Documents

Publication Publication Date Title
JPH04245324A (en) Arithmetic unit
JPH0312742A (en) Central processing unit
JPS62119631A (en) High speed arithmetic unit
JP2567134B2 (en) Bit field logical operation processing device and monolithic microprocessor having the same
JPH0640337B2 (en) Pipeline arithmetic unit
JPH01273132A (en) Microprocessor
JP2885197B2 (en) Arithmetic processing device and arithmetic processing method
JPS6186839A (en) Arithmetic processor
JP2982129B2 (en) Micro program controller
JPS59160239A (en) Information processing device
JPH0266625A (en) Data processor
JPH04116726A (en) Information processor
JP2503966B2 (en) Information processing device
JPH04152432A (en) Pipeline
JPH0353322A (en) Information processor
JPH0281134A (en) Address generating device
JPH0452760A (en) Vector processor
JPS6015969B2 (en) Microinstruction address generation method
JPH02284225A (en) Arithmetic processor
JPH09101891A (en) Information processor and exception processing sequencer
JPS60247742A (en) Pipeline arithmetic controller
JPS61289431A (en) Multi-direction branching system for data flow computer
JPS6234239A (en) Logic constant setting system
JPH0221333A (en) Address generating device
JPS63208124A (en) Microprogram controller