JPS6058487B2 - data processing equipment - Google Patents

data processing equipment

Info

Publication number
JPS6058487B2
JPS6058487B2 JP52149131A JP14913177A JPS6058487B2 JP S6058487 B2 JPS6058487 B2 JP S6058487B2 JP 52149131 A JP52149131 A JP 52149131A JP 14913177 A JP14913177 A JP 14913177A JP S6058487 B2 JPS6058487 B2 JP S6058487B2
Authority
JP
Japan
Prior art keywords
register
data processing
processing device
group
operands
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
Application number
JP52149131A
Other languages
Japanese (ja)
Other versions
JPS5481045A (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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP52149131A priority Critical patent/JPS6058487B2/en
Publication of JPS5481045A publication Critical patent/JPS5481045A/en
Publication of JPS6058487B2 publication Critical patent/JPS6058487B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Description

【発明の詳細な説明】 本発明はレジスタ間の演算機能を有するデータ処理装
置、更に詳しく云えば、同時に読み出すことができない
レジスタ同志の演算を高速に実行することを可能とした
データ処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data processing device having an arithmetic function between registers, and more specifically, to a data processing device that can perform arithmetic operations between registers that cannot be read simultaneously at high speed. It is.

データ処理装置の汎用レジスタとして、いわゆるファ
イル・レジスタと呼ばれるIC素子を用いる場合がある
が、一般に、この種のICは全ビットを同時に読み出す
ことはできず、アドレスされ た何ビットかのみが同時
に読み出せるようになつている。
An IC element called a so-called file register is sometimes used as a general-purpose register in a data processing device, but in general, this type of IC cannot read all bits at the same time, but only some addressed bits can be read at the same time. I'm getting ready to release it.

第1図は、このようなICを汎用レジスタに用いたデー
タ処理装置において、レジスタ間の演算処理を行う場合
の従来の構成例を示したものである。第1図で1は命令
をセットするオペレーションレジスタ、1aはその第1
オペレーション・フィールド、lbは第2オペレーショ
ン・フィールドを示す。2は第1オペレーション・フィ
ールドと第2オペレーション・フィールドを選択するセ
レクタ、3は演算の行われるレジスタ群、4は第1オペ
ランドの内容を一時的に格納するレジスタ、5は演算器
である。
FIG. 1 shows an example of a conventional configuration for performing arithmetic processing between registers in a data processing device using such an IC as a general-purpose register. In Figure 1, 1 is an operation register for setting an instruction, and 1a is the first operation register.
The operation field lb indicates the second operation field. 2 is a selector that selects the first operation field and the second operation field; 3 is a register group in which operations are performed; 4 is a register that temporarily stores the contents of the first operand; and 5 is an arithmetic unit.

第1オペランドのレジスタR1と第2オペランドのレジ
スタR2の演算を行うとき、レジスタ群3から同時にR
1とR2を読み出すことはできないので、まずセレクタ
2により第1オペレーション、フィールド1aを選択し
てレジスタ群3に送り、レジスタ群3はこれをアドレス
として第1オペランドR1を読み出し、レジスタ4にセ
ットする。次のタイミングに゛はセレクタ2は第2オペ
レーション・フィールドlbを選択し、レジスタ3は演
算器5へ第2オペランドR2の内容を流す。このように
して、演算器5には第1オペランドと第2オペランドの
内容が入力され、オペレーションレジスタ1で指示され
た演算を行う。演算の結果は次のタイミングでレジスタ
群3のレジスタR1もしくはR2に格納される。この動
作のタイムチャートを第2図に示す。ところで、第1図
の欠点は第1オペランドと第2オペランドを別々に読み
出すので、演算が終了するまでに長い時間がかかること
である。
When performing an operation on register R1 of the first operand and register R2 of the second operand, R
1 and R2 cannot be read, so selector 2 selects the first operation, field 1a, and sends it to register group 3, which uses this as an address to read the first operand R1 and set it in register 4. . At the next timing, the selector 2 selects the second operation field lb, and the register 3 sends the contents of the second operand R2 to the arithmetic unit 5. In this way, the contents of the first and second operands are input to the arithmetic unit 5, and the arithmetic operation instructed by the operation register 1 is performed. The result of the operation is stored in register R1 or R2 of register group 3 at the next timing. A time chart of this operation is shown in FIG. By the way, a drawback of FIG. 1 is that since the first and second operands are read out separately, it takes a long time to complete the operation.

従つて、この演算処理時間を短くするため、レジスタ群
の各々のレジスタを完全独立化し、2個のセレクタを用
いて第1オペランド、第2オペランドを同時に選択し演
算する方式がある。第3図はそのブロック図で示したも
ので、6は完全独立化されたレジスタ群、7aおよび7
bが各々独立に第1オペレーションフィールド1a1第
2オペレーションフィールド1bで示されるレジスタR
l,R2をレジスタ群6から選択するセレクタである。
なお、8は演算結果の書込み用セレクタを示す。しかし
、一般に完全独立化されたレジスタ群はファイル化され
たレジスタ群に比してコストが高く、多数のレジスタを
用いるデータ処理装置は適さない。又、第1図のレジス
汐群3を二つに分割し、この分割した各レジスタ群に第
1オペランドと第2オペランドを分散させて管理するこ
とにより、2つのオペランドの直接演算が可能であるが
、オペランドの分散させる管理はプログラマにとつてか
なりの負担であり、かつ、一般のプログラムでは、完全
に分散させることは不可能である。
Therefore, in order to shorten this operation processing time, there is a method in which each register in the register group is made completely independent, and two selectors are used to simultaneously select and operate the first and second operands. Figure 3 shows its block diagram, where 6 is a completely independent register group, 7a and 7
b are independently indicated by a first operation field 1a1 and a second operation field 1b.
This is a selector that selects l and R2 from the register group 6.
Note that 8 indicates a selector for writing the calculation result. However, a completely independent register group is generally more costly than a filed register group, and is not suitable for a data processing device that uses a large number of registers. Furthermore, by dividing the register group 3 in Figure 1 into two and distributing and managing the first and second operands in each of the divided register groups, direct operation of the two operands is possible. However, managing the distribution of operands is a considerable burden on programmers, and complete distribution is impossible in general programs.

本発明の目的とするところは、上記の如き従来技術の問
題点を除去するものてあり、演算処理時間が短く、かつ
低コストのデータ処理装置を提供することにある。しか
して、本発明の特徴は、ファイル化されたこ同一レジス
タを二重に設け、各々1番目および2番目のオペレーシ
ョン●フィールドで選択されるようにした、2つのオペ
ランドを同時に読み出せるようにしたことである。
SUMMARY OF THE INVENTION An object of the present invention is to eliminate the problems of the prior art as described above, and to provide a data processing device with short calculation processing time and low cost. Therefore, a feature of the present invention is that the same register is provided twice in the file format, and two operands can be read simultaneously by selecting them in the first and second operation fields. It is.

第4図は本発明の一実施例のブロック図であ3る。図に
おいて、3aおよび3bはファイルレジスタICを用い
た第1、第2レジスタ群であり、これらのレジスタ群は
各々独立して選択され、その内容が読み出されるもので
ある。オペレーションレジスタ1、セレクタ2、演算器
5は第1図と4同じである。さて、レジスタ群3aおよ
び3bは二重化されたものであり、3a,3bの同一番
地には同一の内容が書き込まれている。
FIG. 4 is a block diagram of an embodiment of the present invention. In the figure, 3a and 3b are first and second register groups using a file register IC, and these register groups are each independently selected and their contents are read out. The operation register 1, selector 2, and arithmetic unit 5 are the same as those in FIG. Now, the register groups 3a and 3b are duplicated, and the same contents are written in the same locations of 3a and 3b.

従つて、オペレーションレジスタ1のフィールド1a,
1bで指示される第1オペランドのレジスタR1と第2
オペランドのレジスタR2の演算を行うときは、第1オ
ペレーション●フィールド1aの情報をセレクタ2を通
して第1レジスタ群3aへ送り、第1レジスタ群3aは
これをアドレスとして第1オペランドR1を読み出し演
算器5へ送る。同様に、第2オペレーション●フィール
ド1bの情報は直接第2レジスタ群3bへ送り、第2レ
ジスタ群3bはこ″れをアドレスとして第2オペランド
R2を読み出し演算器5へ送る。この動作は並行して同
時に行なわれる。演算器5はオペレーションレジスタ1
で指示された演算を行い、演算の結果は次のタイミング
で第1、第2レジスタ群3aおよび3bの両方の同一番
地のレジスタに格納されるが、本実施例においては第2
オペランドのレジスタR2へ格納するとしているため、
第1レジスタ群3aのアドレス情報は格納の際、セレク
タ2によつて第2オペレーション・フィールド1bの情
報に切替えられる。この動作のタイムチャートを第5図
に示す。なお、第4図では第1、第2レジスタ群3aお
よび3bはファイル・レジスタ■Cを用いたものとした
が、これは他の方式のレジスタ群であつてもよく、また
演算の結果の格納は第1オペランドのレジスタR1へ格
納するため、セレクタ2を第2レジスタ群3b側に設け
てもよい。
Therefore, field 1a of operation register 1,
The register R1 of the first operand indicated by 1b and the second
When performing an operation on the operand register R2, the information in the first operation field 1a is sent to the first register group 3a through the selector 2, and the first register group 3a uses this as an address to read out the first operand R1 and send it to the arithmetic unit 5. send to Similarly, the information in the second operation field 1b is sent directly to the second register group 3b, and the second register group 3b uses this as an address to read out the second operand R2 and send it to the arithmetic unit 5. This operation is performed in parallel. The arithmetic unit 5 is operated by the operation register 1.
The operation instructed by is performed, and the result of the operation is stored in the register at the same location in both the first and second register groups 3a and 3b at the next timing.
Since it is assumed to be stored in the operand register R2,
When storing the address information in the first register group 3a, the selector 2 switches the address information to the information in the second operation field 1b. A time chart of this operation is shown in FIG. In addition, in FIG. 4, the first and second register groups 3a and 3b use file registers C, but they may be register groups of other types, or they may be used to store the results of operations. is stored in the register R1 of the first operand, the selector 2 may be provided on the second register group 3b side.

以上述べた構成てあるから本発明にあつては、次の如き
効果を得ることができる。
With the configuration described above, the present invention can achieve the following effects.

(1)第1オペランドと第2オペランドの読み出しが同
時に行えるため、完全独立化されたレジスタ群を用いる
方式と同等の短い演算処理時間を実現出来る。
(1) Since the first operand and the second operand can be read simultaneously, it is possible to realize a short arithmetic processing time equivalent to a method using completely independent register groups.

(2) 一般に、ファイル化されたレジスタ群は2倍を
もつてしても、完全独立化されたレジスタ群よりコスト
を低くすることが容易であり、完全独立化されたレジス
タ群を用いる方式よりコストを低くすることが出来る。
(2) In general, even if a group of registered registers is twice as large, it is easier to lower the cost than a group of registers that are completely independent, and it is cheaper than a system that uses a group of registers that are completely independent. Cost can be lowered.

(3)以上(1)、(2)により、演算処理時間短く、
かつ、コストの低いデータ処理装置を実現出来る。(4
)オペランドを分散させて管理することなく、まつたく
任意の2つのオペランド間で直接演算が可能であり、、
プロ,グラマはオペランド分散管理から完全に解放され
る。
(3) Due to (1) and (2) above, the calculation processing time is shortened.
Moreover, a low-cost data processing device can be realized. (4
) It is possible to perform direct operations between any two operands without distributing and managing the operands.
Programmers and grammarians are completely freed from operand distributed management.

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

第1図は従来方式における1つのファイル化されたレジ
スタ群を有するデータ処理装置の本発明に係る部分のブ
咄ンク図、第2図は第1図の動作を説明するためのタイ
ムチャート、第3図は従来方式における完全独立化され
たレジスタ群を有するデータ処理装置の本発明に係る部
分のブロック図、第4図は本発明の一実施例を示すブロ
ック図、第5図は第4図の動作を説明するためのタイム
チャートである。 1・・・・・・オペレーションレジスタ、1a・・・・
・・第1オペレーション・フィールド、1b・・・・・
・第2オペレーション●フィールド、2・・・・・・セ
レクタ、3a・・・・第1レジスタ群、3b・・・・・
・第2レジスタ群、5・・・・・・演算器。
FIG. 1 is a bookmark diagram of the part according to the present invention of a conventional data processing device having one filed register group, FIG. 2 is a time chart for explaining the operation of FIG. 1, and FIG. FIG. 3 is a block diagram of a portion of a conventional data processing device having completely independent register groups according to the present invention, FIG. 4 is a block diagram showing an embodiment of the present invention, and FIG. FIG. 2 is a time chart for explaining the operation of FIG. 1...Operation register, 1a...
...First operation field, 1b...
・Second operation ●Field, 2... Selector, 3a... First register group, 3b...
・Second register group, 5... Arithmetic unit.

Claims (1)

【特許請求の範囲】 1 命令語の第1番目のオペレーション・フィールドで
指定されるレジスタと第2番目のオペレーション・フィ
ールドで指定されるレジスタとの間で演算を行う機能を
有するデータ処理装置において、同一構成のレジスタ群
を二重に設け、該二重化されたレジスタ群の両方に同一
オペランドを二重に格納しておき、オペランドの読み出
しの際、それぞれ独立に第1番目および第2番目のオペ
レーション・フィールドで指定されるようにし、レジス
タ間の演算を行うとき各フィールドで指定されたレジス
タの内容を前記二重のレジスタ群から同時に読み出すこ
とを特徴とするデータ処理装置。 2 前記各レジスタ群はファイルレジスタICで構成さ
れていることを特徴とする特許請求の範囲第1項記載の
データ処理装置。
[Scope of Claims] 1. A data processing device having a function of performing an operation between a register specified by a first operation field of an instruction word and a register specified by a second operation field, Duplicate register groups with the same configuration are provided, and the same operands are stored twice in both of the duplicated register groups, and when reading the operands, the first and second operations are performed independently. A data processing device characterized in that the contents of the registers specified by each field are simultaneously read from the double register group when performing an operation between the registers. 2. The data processing device according to claim 1, wherein each register group is composed of a file register IC.
JP52149131A 1977-12-12 1977-12-12 data processing equipment Expired JPS6058487B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP52149131A JPS6058487B2 (en) 1977-12-12 1977-12-12 data processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP52149131A JPS6058487B2 (en) 1977-12-12 1977-12-12 data processing equipment

Publications (2)

Publication Number Publication Date
JPS5481045A JPS5481045A (en) 1979-06-28
JPS6058487B2 true JPS6058487B2 (en) 1985-12-20

Family

ID=15468404

Family Applications (1)

Application Number Title Priority Date Filing Date
JP52149131A Expired JPS6058487B2 (en) 1977-12-12 1977-12-12 data processing equipment

Country Status (1)

Country Link
JP (1) JPS6058487B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5599647A (en) * 1979-01-24 1980-07-29 Nec Corp Data processor
JPS58114235A (en) * 1981-12-28 1983-07-07 Fujitsu Ltd Two-dimensional data converting and operating circuit
JPS6017538A (en) * 1983-07-11 1985-01-29 Hitachi Ltd Instruction processing device
JPS61292741A (en) * 1985-06-20 1986-12-23 Nec Corp General-purpose register
JPS62109122A (en) * 1985-11-08 1987-05-20 Nec Corp Information processor
JP2657947B2 (en) * 1986-08-08 1997-09-30 株式会社日立製作所 Data processing device
JPH02301829A (en) * 1989-05-17 1990-12-13 Mitsubishi Electric Corp Information processor

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS50139640A (en) * 1974-04-24 1975-11-08

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS50139640A (en) * 1974-04-24 1975-11-08

Also Published As

Publication number Publication date
JPS5481045A (en) 1979-06-28

Similar Documents

Publication Publication Date Title
US3576544A (en) Storage protection system
JPS59501684A (en) Accelerated instruction mapping outside the source and destination instruction streams for near real-time insertion into the destination instruction stream
US3778776A (en) Electronic computer comprising a plurality of general purpose registers and having a dynamic relocation capability
US3470540A (en) Multiprocessing computer system with special instruction sequencing
US4136383A (en) Microprogrammed, multipurpose processor having controllable execution speed
US5657484A (en) Method for carrying out a boolean operation between any two bits of any two registers
JPH0465426B2 (en)
JPS6058487B2 (en) data processing equipment
US3737871A (en) Stack register renamer
US3487375A (en) Multi-program data processor
JPS623332A (en) Information processor having instruction containing direct value field
US4811213A (en) Vector processor with vector registers
SU742942A1 (en) Information handling device
JP3132566B2 (en) Instruction precedence controller
JP2657947B2 (en) Data processing device
KR960016401B1 (en) Page selecting circuit of register pages using register page pointer
JPS60134937A (en) Address extension device
JP2576589B2 (en) Virtual storage access control method
JPH0623977B2 (en) Vector processor
JPH03141444A (en) Data processor
SU732872A1 (en) Address former
JPH0337722A (en) Information processor
JPH02240734A (en) Information processor
JPS60144874A (en) Vector data processor
JPH02190968A (en) Vector processor