JPS6297037A - Check processing system for address overlap - Google Patents

Check processing system for address overlap

Info

Publication number
JPS6297037A
JPS6297037A JP60236566A JP23656685A JPS6297037A JP S6297037 A JPS6297037 A JP S6297037A JP 60236566 A JP60236566 A JP 60236566A JP 23656685 A JP23656685 A JP 23656685A JP S6297037 A JPS6297037 A JP S6297037A
Authority
JP
Japan
Prior art keywords
address
overlap
register
operand
address generator
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.)
Granted
Application number
JP60236566A
Other languages
Japanese (ja)
Other versions
JPH0823820B2 (en
Inventor
Masahito Ono
大野 優人
Katsumi Onishi
大西 克巳
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 JP60236566A priority Critical patent/JPH0823820B2/en
Publication of JPS6297037A publication Critical patent/JPS6297037A/en
Publication of JPH0823820B2 publication Critical patent/JPH0823820B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To calculate an overlapping amount at an earlier period by using a bypass route which supplies the information to an address generator by bypassing also for an overlap checker. CONSTITUTION:The information to be set to a general-pourpose register group 11 is supplied also to a bypass route 12 in case a change is produced by a pipeline advance instruction and then to an address generator 1. The information is also supplied to an overlap checker 3 through the output stages of selectors 8 and 9. As a result, the same information is supplied also to the checker 3 when the 2nd operand address is calculated by the generator 1. Thus it is possible to calculate at an earlier period the amount overlapped with the 1st operand address, i.e., the contents of a register 2.

Description

【発明の詳細な説明】 〔概要〕 アドレス・ジェネレータとオーバラップ・チェッカとを
有し、第2オペランド・アドレスと第1オペランド・ア
ドレスとのオーハラツブの有無をチェックしつつ処理を
進めるデータ処理装置において、第2オペランド・アド
レスを計算するに当たってアドレス・ジェネレータに供
給されるバイパス・ルートからの情報を考慮した結果の
情報を。
[Detailed Description of the Invention] [Summary] In a data processing device that has an address generator and an overlap checker, and performs processing while checking whether there is an overlap between a second operand address and a first operand address. , information resulting from taking into account information from the bypass route provided to the address generator in calculating the second operand address.

上記オーバランプ・チェッカに供給するようにし。Supply it to the overlamp checker above.

パイプライン先行命令によってベース・レジスタの内容
が変更を受ける場合などにおける処理の遅れを解消する
ようにしたことが開示されている。
It is disclosed that processing delays caused when the contents of a base register are changed by a pipeline preceding instruction are eliminated.

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

本発明は、アドレス・オーバラップ・チェック処理方式
、特に例えば第2オペランドの内容を読出して処理し第
1オペランドの位置に格納する如き処理を行うに当たっ
て、オーバラップ・チェッカによってチェックを行う機
能を有するデータ処理装置において、オーバラップ・チ
ェッカに供給する入力を早期に整え得るようにしたアド
レス・オーバラップ・チェック処理方式に関する。
The present invention has an address overlap check processing method, in particular, a function of performing a check using an overlap checker when performing processing such as reading and processing the contents of the second operand and storing it in the position of the first operand. The present invention relates to an address overlap check processing method that allows inputs to be supplied to an overlap checker to be prepared at an early stage in a data processing device.

〔従来の技術〕[Conventional technology]

パイプライン処理を行うデータ処理装置において、第1
オペランドと第2オペランドとを主記憶装置から読出し
、演算して、その結果を主記憶装置上の第1オペランド
の位置に書込む命令や、第2オペランドを主記憶装置か
ら読出し、主記憶装置上の第1オペランドの位置に書込
む命令などが実行されることがある。
In a data processing device that performs pipeline processing, the first
An instruction that reads an operand and a second operand from main storage, performs an operation, and writes the result to the first operand location on main storage, or an instruction that reads an operand from main storage and writes the result to main storage. An instruction to write to the location of the first operand, etc., may be executed.

このような命令を実行する場合、ソフトウェア・インタ
フ壬−ス条件としては、一般にアドレスの単位である所
の1バイトの演算を逐次実行して最終的にその命令の処
理レングスの結果が得られることが前提とされている。
When executing such an instruction, the software interface condition is that operations of 1 byte, which is generally the unit of address, are executed sequentially and the result of the processing length of the instruction is finally obtained. is assumed.

しかし、ハードウェア的には、その装置の最大処理単位
である所の1ワードまたは2ワードまたは4ワードとい
ったバス幅で処理し、処理回数を軽減して高速化をはか
るようにしている。
However, in terms of hardware, processing is performed with a bus width of 1 word, 2 words, or 4 words, which is the maximum processing unit of the device, to reduce the number of processing times and increase speed.

即ち、ハードウェア的には上記の如く高速化をはかり、
上記の如き命令を実行する場合に、第2オペランド・ア
ドレスと第1オペランド・アドレスとがオーバラップを
生じないようなバイト長を。
In other words, in terms of hardware, we aim to increase the speed as described above,
The byte length is such that the second operand address and the first operand address do not overlap when executing the above instruction.

ハードウェア上での処理単位にするようにしている。こ
のために、オーバラップ量を計算する3入力のオーバラ
ップ・チェック加算器(オーバラップ・チェッカ)をア
ドレス・ジェネレータと並列に置く構成が考慮されてい
る。
We are trying to make it a processing unit on the hardware. For this purpose, a configuration is being considered in which a three-input overlap check adder (overlap checker) for calculating the amount of overlap is placed in parallel with the address generator.

第3図は当該従来の構成を示し、第4図は処理中断が生
じる場合のタイムチャートを示す。
FIG. 3 shows the conventional configuration, and FIG. 4 shows a time chart when processing is interrupted.

図中の符号1はアドレス・ジェネレータ、2はアドレス
保持用レジスタ、3はオーバラップ・チェッカ、4はイ
ンデックス・レジスタ、5はベース・レジスタ、6はデ
ィスプレースメント・レジスタ、7ないし9は夫々セレ
クタ、IOは命令レジスタ、11は汎用レジスタ群、1
2はバイパス・ルートを表している。
In the figure, 1 is an address generator, 2 is an address holding register, 3 is an overlap checker, 4 is an index register, 5 is a base register, 6 is a displacement register, 7 to 9 are selectors, IO is an instruction register, 11 is a general-purpose register group, 1
2 represents a bypass route.

従来の場合、第1フローにおいて第1オペランド・アド
レスをアドレス・ジェネレータ1によって計算してレジ
スタ2にセットし、第2フローにおいて、第2オペラン
ド・アドレスをアドレス・ジェネレータ1によって計算
させると共に、第2オペランド・アドレスを生成する生
成要素であるベース・レジスタ5の内容とディスプレー
スメント・レジスタ6の内容とをオーバラップ・チェ。
In the conventional case, the first operand address is calculated by address generator 1 and set in register 2 in the first flow, and the second operand address is calculated by address generator 1 and set in register 2 in the second flow. An overlap check is performed on the contents of the base register 5, which is a generation element that generates an operand address, and the contents of the displacement register 6.

力3に入力し、レジスタ2の内容と照合する処理を行う
ようにしている。
The data is input to register 3 and checked against the contents of register 2.

なお、ベース・レジスタ5には、命令レジスタ10にセ
ットされている命令のベース・レジスタ指定部Blで示
される汎用レジスタの内容が供給され、ディスプレース
メント・レジスタ6には当該命令のディスプレースメン
トDIが供給される。
Note that the base register 5 is supplied with the contents of the general-purpose register indicated by the base register specification part Bl of the instruction set in the instruction register 10, and the displacement register 6 is supplied with the displacement DI of the instruction. Supplied.

そして、上記命令のベース・レジスタ指定部で示される
汎用レジスタが、パイプライン先行命令によって変更を
受ける場合を考慮して、そのような場合にも第2オペラ
ンド・アドレスを早期に決定できるようにするために、
バイパス・ルート12がもうけられ、セレクタ7.8を
介してバイパス・ルートの内容がアドレス・ジェネレー
タ1に供給されるようにされていた。即ち、パイプライ
ン先行命令によって変更を受けた結果の情報を。
Then, in consideration of the case where the general-purpose register indicated by the base register specification part of the above instruction is changed by the pipeline preceding instruction, the second operand address can be determined early even in such a case. for,
A bypass route 12 was created and the contents of the bypass route were supplied to the address generator 1 via the selector 7.8. That is, information as a result of changes made by the pipeline preceding instruction.

バイパス・ルート12を介して、アドレス・ジェネレー
タ1に、早期に供給するようにしている。
The address generator 1 is supplied early via the bypass route 12.

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

従来上記の構成が考慮されているが8上記バイパス・ル
ート12からの情報は、第3図図示の場合には、アドレ
ス・ジェネレータ1に供給されるのみであって、オーバ
ラップ・チェッカ3には供給されていない。このために
、第4図図示のタイムチャートに示す如く、上記の如く
パイプライン先行命令によって変更を受けた場合には、
当該変更の結果が汎用レジスタ群11に書込まれ9次い
でベース・レジスタ5に反映されるまで、オーバラップ
・チェッカ3によるチェックを行うことができない。即
ち、それまで、第2オペランド・アドレスを決定しオー
バラップ量を判定するために中断が生じる(第4図に示
す第2フローにおけるフェーズAの連続している部分が
中断に相当している)。
Although the above configuration has been considered in the past, the information from the bypass route 12 is only supplied to the address generator 1 in the case shown in FIG. Not supplied. For this reason, as shown in the time chart shown in FIG. 4, when a change is made by the pipeline preceding instruction as described above,
The overlap checker 3 cannot perform a check until the result of the change is written to the general-purpose register group 11 and then reflected in the base register 5. That is, until then, an interruption occurs in order to determine the second operand address and determine the amount of overlap (the continuous portion of phase A in the second flow shown in FIG. 4 corresponds to the interruption). .

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

本発明はこの点を解決しており、第1図は本発明の原理
構成図(本発明の一実施例構成でもある)を示している
。図中の符号は第3図に対応しており、■はアドレス・
ジェネレータ、2はアドレス保持用レジスタ、3はオー
バラップ・チェッカ。
The present invention solves this problem, and FIG. 1 shows a basic configuration diagram of the present invention (also an embodiment configuration of the present invention). The symbols in the figure correspond to those in Figure 3, and ■ indicates the address.
Generator, 2 is an address holding register, and 3 is an overlap checker.

4はインデックス・レジスタ、5はベース・レジスタ、
6はディスプレースメント・レジスタ、7ないし9はセ
レクタ、10は命令レジスタ、11は汎用レジスタ群、
12はバイパス・ルートを表している。
4 is the index register, 5 is the base register,
6 is a displacement register, 7 to 9 are selectors, 10 is an instruction register, 11 is a group of general-purpose registers,
12 represents a bypass route.

本発明の場合には、セレクタ8.9の出力段側からオー
バラップ・チェッカ3に入力されるように構成されてい
る。このために、汎用レジスタ群11にセットされる情
報が、バイパス・ルート12を介して第2オペランド・
アドレスの計算のためにアドレス・ジェネレータ1に供
給される際に。
In the case of the present invention, the signal is input to the overlap checker 3 from the output stage side of the selector 8.9. For this reason, the information set in the general-purpose register group 11 is transferred to the second operand via the bypass route 12.
When supplied to address generator 1 for address calculation.

セレクタ8の出力段からオーバラップ・チェッカ3にも
供給される。
It is also supplied to the overlap checker 3 from the output stage of the selector 8.

〔作用〕[Effect]

上述の如くパイプライン先行命令によって変更を受けた
場合に、汎用レジスタ群11にセットされるべき情報が
、バイパス・ルート12にも供給されて、アドレス・ジ
ェネレータ1に供給されるが、併せてオーバラップ・チ
ェッカ3にも供給される。
When changed by the pipeline preceding instruction as described above, the information to be set in the general-purpose register group 11 is also supplied to the bypass route 12 and supplied to the address generator 1. It is also supplied to lap checker 3.

この結果、アドレス・ジェネレータ1に入力されて第2
オペランド・アドレスが計算されると同じ情報がオーバ
ラップ・チェッカ3にも入力され。
As a result, the second
When the operand address is calculated, the same information is also input to the overlap checker 3.

第1オペランド・アドレス(レジスタ2の内容)とのオ
ーバラップ量を早期に計算することができる。
The amount of overlap with the first operand address (contents of register 2) can be calculated early.

〔実施例〕〔Example〕

本発明の実施例構成は第1図図示の原理構成図と実質的
に同じであるので、説明の重複をさけるが、第2図に示
す一実施例タイムチャートを参照しつつ説明をつづける
Since the configuration of the embodiment of the present invention is substantially the same as the principle configuration diagram shown in FIG. 1, the explanation will be continued without duplication, but with reference to the time chart of the embodiment shown in FIG.

第1フローにおいて第1オペランド・アドレスがレジス
タ2にセットされたとし、パイプライン先行命令によっ
て上述の変更を受けた場合、その変更結果が第2図図示
のタイミングにおいて、第2オペランド・アドレス計算
に反映すべ(、バイパス・ルート12を介してアドレス
・ジェネレータ1に供給され得るが、この同じタイミン
グにおいてオーバラップ・チェッカ3によるチェックを
行うことが可能となる。
Assuming that the first operand address is set in register 2 in the first flow, and the above change is made by the pipeline preceding instruction, the change result is applied to the second operand address calculation at the timing shown in Figure 2. The address generator 1 can be supplied to the address generator 1 via the bypass route 12, but the overlap checker 3 can perform a check at the same timing.

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

以上説明した如く9本発明によれば、アドレス・ジェネ
レータにバイパスして情報を供給するバイパス・ルート
をオーバラップ・チェッカのためにも共用するだけで、
所期の目的を達成することができる。このために制御態
様もきわめて簡単化される。
As explained above, according to the present invention, by simply sharing the bypass route that bypasses and supplies information to the address generator for the overlap checker,
It is possible to achieve the intended purpose. This also greatly simplifies the control mode.

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

第1図は本発明の原理構成図、第2図は本発明の一実施
例タイムチャート第3図は本発明の前提とされた構成例
、第4図は第3図図示構成の場合のタイムチャートを示
す。 図中、1はアドレス・ジェネレータ、3はオーハラツブ
・チェッカ、4はインデックス・レジスタ、5はベース
・レジスタ、6はディスプレースメント・レジスタを表
す。
Fig. 1 is a diagram of the principle configuration of the present invention, Fig. 2 is a time chart of an embodiment of the present invention, Fig. 3 is an example of a configuration based on the premise of the present invention, and Fig. 4 is a time chart for the configuration shown in Fig. 3. Show chart. In the figure, 1 is an address generator, 3 is an overlay checker, 4 is an index register, 5 is a base register, and 6 is a displacement register.

Claims (1)

【特許請求の範囲】 オペランド・アドレスを計算するアドレス・ジェネレー
タ(1)を有すると共に、計算された結果の第2オペラ
ンド・アドレスと先に計算された結果の第1オペランド
・アドレスとのオーバラップ量を計算するオーバラップ
・チェッカ(3)を有し少なくとも第2オペランドを読
出して処理した結果を第1オペランド位置に書込む命令
を実行する機能を有するデータ処理装置において、 上記アドレス・ジェネレータ(1)の入力として、イン
デックス・レジスタ(4)の内容、ベース・レジスタ(
5)の内容とバイパス・ルート(12)からの内容とを
選択した結果、およびディスプレースメント・レジスタ
(6)の内容の3者が供給されるよう構成すると共に、 上記オーバラップ・チェッカ(3)の入力として、先に
行ったアドレス・ジェネレータ(1)の出力、当該アド
レス・ジェネレータ(1)に当該時点に入力される上記
選択した結果、および当該アドレス・ジェネレータ(1
)に当該時点に入力されるディスプレースメント・レジ
スタ(6)の内容の3者が供給されるよう構成される ことを特徴とするアドレス・オーバラップ・チェック処
理方式。
[Scope of Claims] An address generator (1) that calculates an operand address, and an amount of overlap between the second operand address of the calculated result and the first operand address of the previously calculated result. In the data processing device, the address generator (1) has an overlap checker (3) that calculates the address generator (1), and has a function of executing an instruction to read at least the second operand and write the processed result to the first operand location. As inputs, the contents of the index register (4), the base register (
5), the result of selecting the content from the bypass route (12), and the content of the displacement register (6), and the overlap checker (3). As inputs, the output of the previous address generator (1), the selected result inputted to the address generator (1) at the relevant time, and the address generator (1)
1.) An address overlap check processing method characterized in that the address overlap check processing method is configured such that three contents of the displacement register (6) input at the relevant time are supplied to the address overlap check processing method.
JP60236566A 1985-10-23 1985-10-23 Address overlap check processor Expired - Fee Related JPH0823820B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60236566A JPH0823820B2 (en) 1985-10-23 1985-10-23 Address overlap check processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60236566A JPH0823820B2 (en) 1985-10-23 1985-10-23 Address overlap check processor

Publications (2)

Publication Number Publication Date
JPS6297037A true JPS6297037A (en) 1987-05-06
JPH0823820B2 JPH0823820B2 (en) 1996-03-06

Family

ID=17002531

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60236566A Expired - Fee Related JPH0823820B2 (en) 1985-10-23 1985-10-23 Address overlap check processor

Country Status (1)

Country Link
JP (1) JPH0823820B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0695874A (en) * 1992-07-28 1994-04-08 Internatl Business Mach Corp <Ibm> Digital computer system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59218567A (en) * 1983-05-27 1984-12-08 Fujitsu Ltd Address overlap checking system
JPS59231652A (en) * 1983-06-13 1984-12-26 Hitachi Ltd Detection system for memory access overlap
JPS60178539A (en) * 1984-02-24 1985-09-12 Fujitsu Ltd By-pass control system of information processor
JPS60204036A (en) * 1984-03-28 1985-10-15 Hitachi Ltd Data processing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59218567A (en) * 1983-05-27 1984-12-08 Fujitsu Ltd Address overlap checking system
JPS59231652A (en) * 1983-06-13 1984-12-26 Hitachi Ltd Detection system for memory access overlap
JPS60178539A (en) * 1984-02-24 1985-09-12 Fujitsu Ltd By-pass control system of information processor
JPS60204036A (en) * 1984-03-28 1985-10-15 Hitachi Ltd Data processing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0695874A (en) * 1992-07-28 1994-04-08 Internatl Business Mach Corp <Ibm> Digital computer system

Also Published As

Publication number Publication date
JPH0823820B2 (en) 1996-03-06

Similar Documents

Publication Publication Date Title
EP0340453B1 (en) Instruction handling sequence control system
JPS59154564A (en) Programmable controller
JPS6081641A (en) Tracing device of register
JPS6297037A (en) Check processing system for address overlap
EP0314342B1 (en) Parallel pipelined computer processor
JPS59123937A (en) By-pass control system of arithmetic device
JPS60178539A (en) By-pass control system of information processor
JP3168657B2 (en) Branch instruction control circuit
JPH0238966B2 (en)
JP2920968B2 (en) Instruction processing order control method
JPS6373335A (en) Information processor
JPS61109145A (en) Calculation system for memory address
JP3124361B2 (en) Memory data loading device
JPH0258128A (en) Data processor
JPH0234058B2 (en)
JPS61267135A (en) Data processor
JPH0228724A (en) System for controlling branching instruction
JPH0820947B2 (en) Data processing device
JPH1166046A (en) Vector processor
JPS58222366A (en) Parallel operating device
JPS61100836A (en) System for processing comparison and instruction of moving instruction logic
JPS61194566A (en) Vector data reference control system
JPH02158847A (en) Microprocessor
JPH02100137A (en) Instruction execution control system
JPH0419575B2 (en)

Legal Events

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