JPH11306020A - Execution control system for block store instruction in information processor - Google Patents

Execution control system for block store instruction in information processor

Info

Publication number
JPH11306020A
JPH11306020A JP10950098A JP10950098A JPH11306020A JP H11306020 A JPH11306020 A JP H11306020A JP 10950098 A JP10950098 A JP 10950098A JP 10950098 A JP10950098 A JP 10950098A JP H11306020 A JPH11306020 A JP H11306020A
Authority
JP
Japan
Prior art keywords
block store
store instruction
request
request signal
block
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.)
Withdrawn
Application number
JP10950098A
Other languages
Japanese (ja)
Inventor
Masahito Nakagawa
雅人 中川
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 JP10950098A priority Critical patent/JPH11306020A/en
Publication of JPH11306020A publication Critical patent/JPH11306020A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an information processor which has a series of block store instructions successively execute so that a waiting time of a CPU is made shortest and, at the same time, to make control of order of the instruction execution easier. SOLUTION: This device is equipped with a counter means 11 which is made increment when a request signal from a CPU 2 is the request signal based on a block store instruction and is made decrement when it is detected that execution of the block store instruction is completed and a request selector means 12 which controls input of the request signal in accordance with a count value of the counter means 11. Then, when the count value of the counter means 11 is not zero, only the request signal based on a block store instruction is preferentially selected and is made continuously execute.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、情報処理装置にお
けるブロックストア命令の実行制御方式に関する。例え
ば大形コンピュータ等の情報処理装置は、各々が緩衝記
憶装置を有する複数の中央処理装置と、各該中央処理装
置によって処理されるデータを格納する複数の主記憶装
置と、これら中央処理装置とのやりとりのもとで、上記
緩衝記憶装置および主記憶装置の双方に対する制御を行
う記憶制御装置とにより構成される。
The present invention relates to an execution control method of a block store instruction in an information processing device. For example, an information processing device such as a large computer includes a plurality of central processing units each having a buffer storage device, a plurality of main storage devices storing data processed by each of the central processing units, and a central processing unit. And a storage control device that controls both the buffer storage device and the main storage device under the exchange of data.

【0002】このような情報処理装置においては、各中
央処理装置より発行される各種の命令のもとに、各命令
に応じた処理が実行されるが、その各種の命令の1つに
ブロックストア命令がある。本発明はこのブロックスト
ア命令の実行制御方式について述べるものである。
In such an information processing apparatus, a process corresponding to each instruction is executed based on various instructions issued from each central processing unit. One of the various instructions is a block store. There are orders. The present invention describes an execution control method of the block store instruction.

【0003】[0003]

【従来の技術】情報処理装置は近年益々その処理能力の
増大が求められ、このため従来の直列方式の処理からパ
イプライン方式の処理へと移行している。このパイプラ
イン方式の情報処理装置においては、複数のパイプライ
ンによって1つの命令が並列的に実行され、処理のスル
ープットは飛躍的に増大する。この場合、命令が単に並
列的に実行されるだけでは十分でなく、ユーザがプログ
ラムに記述した命令の実行順序を保証するように情報処
理装置が動作しなければならない。このために、一般に
情報処理装置には、命令の実行順序を決定するための制
御手段が組み込まれている。
2. Description of the Related Art In recent years, an information processing apparatus has been required to increase its processing capability more and more. Therefore, the conventional serial processing has been shifted to a pipeline processing. In this pipeline type information processing apparatus, one instruction is executed in parallel by a plurality of pipelines, and the throughput of processing increases dramatically. In this case, it is not enough to simply execute the instructions in parallel, and the information processing apparatus must operate so as to guarantee the execution order of the instructions described in the program by the user. For this purpose, a control unit for determining the execution order of instructions is generally incorporated in an information processing apparatus.

【0004】この制御手段が対象とする種々の命令の中
でも特にストア系の命令の処理においては慎重に上記実
行順序の決定を行わなければならない。なぜなら、かか
るストア系の命令の処理においては、主記憶装置(MS
U)や各中央処理装置(CPU)内の緩衝記憶装置(C
ACHE)や主記憶保護キーを保持するキー記憶装置
(KSU)といった各種の記憶装置におけるデータの更
新処理が伴うからである。
Among the various instructions targeted by the control means, especially in the processing of store instructions, the execution order must be carefully determined. This is because, in the processing of such store-related instructions, the main storage device (MS
U) and the buffer storage device (C) in each central processing unit (CPU).
This is because data update processing in various storage devices such as an ACHE) and a key storage device (KSU) that holds a main storage protection key is involved.

【0005】このような更新処理を伴うストア系の命令
は、アクセス速度が一般に遅いとされる主記憶装置(M
SU)におけるデータの更新処理を伴うと共に、各中央
処理装置(CPU)が内蔵する緩衝記憶装置(CACH
E)の全てに存在する同一データの更新処理も伴うこと
から、当該更新処理にはかなりの時間がかかることにな
る。
[0005] Store-type instructions involving such an updating process can be accessed from a main storage device (M
SU) and a buffer memory (CACH) built in each central processing unit (CPU).
Since the update process of the same data existing in all of E) is involved, the update process takes a considerable time.

【0006】ストア系の命令の中でもとりわけブロック
ストア命令の場合には、上記更新処理に相当の時間を要
する。ブロックストア命令は通常連続した一連のストア
命令の群からなるからである。図5は本発明が適用され
る一般的な情報処理装置の一例を示す基本ブロック図で
ある。本図において、1は情報処理装置、例えば大形コ
ンピュータである。この情報処理装置1は、装置全体を
統括制御する中央処理装置(CPU)2を有し、該CP
Uは複数(#0,#1…#n)存在する。また、情報処
理装置1は、各CPU2によって処理されるデータを格
納する主記憶装置(MSU)3を有し、該MSU3は複
数(#0,#1…#m)存在する。各CPU2は緩衝記
憶装置(CAC:CACHE)4を内蔵し、各CACH
E4はMSU3内の一部のデータと同一のデータを保持
する。
[0006] Among the store-related instructions, especially in the case of a block store instruction, the above-described update processing requires a considerable amount of time. This is because a block store instruction usually consists of a group of consecutive store instructions. FIG. 5 is a basic block diagram showing an example of a general information processing apparatus to which the present invention is applied. In FIG. 1, reference numeral 1 denotes an information processing device, for example, a large computer. The information processing apparatus 1 has a central processing unit (CPU) 2 that controls the entire apparatus.
There are a plurality of U (# 0, # 1... #N). Further, the information processing apparatus 1 has a main storage device (MSU) 3 for storing data processed by each CPU 2, and the MSUs 3 are plural (# 0, # 1,... #M). Each CPU 2 has a built-in buffer storage device (CAC: CACHE) 4 and each CACH
E4 holds the same data as some data in MSU3.

【0007】少なくともこれらCPU2,MSU3およ
びCACHE4を制御するのは記憶制御装置(MCU)
5であり、本発明は主としてこのMCU5について述べ
る。なおMCU5は既述したキー記憶装置(KSU)6
や入出力装置(I/O)7にも接続する。図5を参照し
ながら本発明の主題であるブロックストア命令について
説明する。このブロックストア命令には、主記憶装置
(MSU)3を初期化するときに実行される命令であ
り、一度に大量のデータが処理される。いずれかの中央
処理装置(CPU)2からブロックストア命令が発行さ
れると、下記の,およびが実行される。
[0007] At least these CPU2, MSU3 and CACHE4 are controlled by a storage control unit (MCU).
5, the present invention mainly describes this MCU5. The MCU 5 is a key storage device (KSU) 6 as described above.
And an input / output device (I / O) 7. The block store instruction which is the subject of the present invention will be described with reference to FIG. The block store instruction is an instruction executed when the main storage (MSU) 3 is initialized, and a large amount of data is processed at one time. When a block store instruction is issued from any of the central processing units (CPU) 2, the following and are executed.

【0008】 緩衝記憶装置(CACHE)4に対し
て無効化処理を行う。すなわちCACHE4に保持して
いるブロックデータを無効化する。 主記憶装置(MSU)3における指定の固定長メモ
リブロックの全アドレスに対しデータ“0”を書き込
む。上記で無効化されるデータは、この固定長メモリ
ブロックのデータと同一のデータである。
An invalidation process is performed on the buffer storage device (CACHE) 4. That is, the block data held in CACHE4 is invalidated. Data “0” is written to all addresses of the specified fixed-length memory block in the main storage device (MSU) 3. The data that is invalidated above is the same data as the data of the fixed-length memory block.

【0009】 キー記憶装置(KSU)6のキーを更
新する。このキーの情報は、主記憶装置(MSU)3の
セキュリティー管理に有用な情報であり、あるメモリブ
ロックが参照されたか否か、その変更が行われたか否
か、等を示す情報である。このキーの情報はMSU3に
対する書込みがあるときには必ず更新される。なお、ブ
ロックストア命令は複数のCPU2のうちの1つから発
行されたときは、これに連動して残りのCPU2から同
様に発行される。そして、最初にブロックストア命令を
発行したCPU2内のCACHE4に対する無効化が行
われ、続いて残るCPU2についてそれぞれに内蔵され
るCACHE4に対し順次無効化が行われる。
The key of the key storage device (KSU) 6 is updated. The key information is information useful for security management of the main storage device (MSU) 3, and is information indicating whether a certain memory block has been referred to, whether the memory block has been changed, and the like. The information of this key is updated whenever there is a write to MSU3. When the block store instruction is issued from one of the plurality of CPUs 2, the block store instruction is similarly issued from the remaining CPUs 2 in conjunction with the instruction. Then, invalidation is first performed on the CACHE 4 in the CPU 2 that has issued the block store instruction, and subsequently, the remaining CPUs 2 are sequentially invalidated with respect to the CACHE 4 incorporated therein.

【0010】図6は従来のシリアライズ制御方式による
ブロックストア命令の実行手順を表すタイムチャートで
ある。本図において、左上に示す“CPUn (0−
3)”の欄は、n=0〜3の4つのCPU(図5の2)
から一連のブロックストア命令が発行される様子を示
し、第2欄の“MCU”は、CPUからの各ブロックス
トア命令を受けてMCU5が内部処理(各CPUからブ
ロックストア命令以外の命令を受け取るので、これらの
中からブロックストア命令のみを選択する等の処理)を
行う様子を示している。この内部処理の後に既述の無効
化指令が出される。“CPU0(cache)”は、1
つのブロックストア命令に従いMCU5が、CPU2の
#0のCACHE4に対して無効化を行っている様子を
示す。このことはその他の“CPU1(cach
e)”、“CPU2(cache)”等についても同様
であり、“CPU3(cache)”は、上記の1つの
ブロックストア命令に従ってMCU5が、CPU2の#
3のCACHE4に対して無効化を行っている様子を示
す。このブロックストア命令に続いて発行される次のブ
ロックストア命令についても同様である。
FIG. 6 is a time chart showing an execution procedure of a block store instruction according to a conventional serialization control method. In the figure, “CPU n (0−
3) "indicates four CPUs with n = 0 to 3 (2 in FIG. 5).
Shows that a series of block store instructions are issued from the CPU. The "MCU" in the second column indicates that the MCU 5 receives each block store instruction from the CPU and performs internal processing (because an instruction other than the block store instruction is received from each CPU). , A process such as selecting only a block store instruction from among them). After this internal processing, the above-described invalidation command is issued. “CPU0 (cache)” is 1
This shows that the MCU 5 invalidates the CACHE 4 of # 0 of the CPU 2 according to one block store instruction. This means that other "CPU1 (cach
e) "," CPU2 (cache) ", and the like. The" CPU3 (cache) "
3 shows a state in which invalidation is performed on CACHE4 of No.3. The same applies to the next block store instruction issued subsequent to this block store instruction.

【0011】MCU5は第1のブロックストア命令に対
応した第1の無効化を全てのCACHE4に対して行う
が、各CPU2もこのときそれぞれに固有の何らかの処
理を実行しており、1回の無効化が終了するまでの時間
は各CPU2について同一ではない。本図の例では、C
PU2の#1(CPU1)内のCACHE4(CPU1
(cache))に対する無効化が最も遅く終了してい
る。MCU5はこの最も遅い無効化の終了を待って、第
2のブロックストア命令に対応した第2の無効化を実行
する。本図の例では、CPU2の#2(CPU2)内の
CACHE4(CPU2(cache))が最も遅く終
了し、この終了を待ってMCU5は第3の無効化を開始
する。なお、これら無効化が完了すると即座に、既述し
たMSU5への“0”の書込み、さらにKSU6の更新
が実行されるが図には表していない。
The MCU 5 performs the first invalidation corresponding to the first block store instruction for all the CACHEs 4. At this time, the CPUs 2 also execute some processing unique to each of the CACHEs 4. The time until the conversion is completed is not the same for each CPU 2. In the example of this figure, C
CACHE4 (CPU1) in PU1 # 1 (CPU1)
The invalidation for (cache)) ends the latest. The MCU 5 waits for the end of the latest invalidation, and executes the second invalidation corresponding to the second block store instruction. In the example of this figure, CACHE4 (CPU2 (cache)) in # 2 (CPU2) of CPU2 ends latest, and after this end, MCU5 starts the third invalidation. As soon as the invalidation is completed, writing of “0” to the MSU 5 and updating of the KSU 6 are executed as described above, but are not shown in the figure.

【0012】[0012]

【発明が解決しようとする課題】図6から明らかなよう
に、従来のブロックストア命令に対する実行順序の制御
は、全てのCPU2に対する無効化処理の終了後に、次
のブロックストア命令を実行する。すなわち、MCU5
は、処理の実行順序を保証するために、次に続く命令は
前回の命令に基づく処理が完了するまで待たされる。こ
れがシリアライズ制御である。
As is apparent from FIG. 6, in the conventional control of the execution order for block store instructions, the next block store instruction is executed after the invalidation processing for all CPUs 2 is completed. That is, MCU5
In order to guarantee the execution order of the processing, the next following instruction waits until the processing based on the previous instruction is completed. This is serialization control.

【0013】このため各CPUを長時間待たせる結果と
なり(図6の“CPU WAIT”参照)、情報処理装
置1全体の稼働率が低下するという問題が生ずる。この
問題は、ブロックストア命令のように一連のストア命令
が連続して実行される場合に特に顕著となる。このた
め、初めに述べたパイプライン方式の処理を導入したこ
とによる効果は失われてしまう。
As a result, each CPU is made to wait for a long time (see "CPU WAIT" in FIG. 6), and there is a problem that the operating rate of the entire information processing apparatus 1 is reduced. This problem is particularly remarkable when a series of store instructions such as a block store instruction are executed successively. For this reason, the effect of introducing the processing of the pipeline system described earlier is lost.

【0014】したがって本発明は上記問題点に鑑み、情
報処理装置の稼働率を低下させることのない、ブロック
ストア命令の実行制御方式を提案することを目的とする
ものである。
SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a block store instruction execution control method which does not reduce the operation rate of an information processing apparatus.

【0015】[0015]

【課題を解決するための手段】図1は本発明に係るブロ
ックストア命令実行制御方式の基本構成を示す図であ
る。この情報処理装置1は、中央処理装置(CPU)2
から出力される各種のリクエスト信号RQを入力して各
リクエスト信号RQに応じたパイプライン処理を制御す
る記憶制御装置(MCU)5を含む。そのパイプライン
処理を制御する手段は、図中、パイプライン処理制御手
段13として示される。
FIG. 1 is a diagram showing a basic configuration of a block store instruction execution control system according to the present invention. The information processing apparatus 1 includes a central processing unit (CPU) 2
And a storage control unit (MCU) 5 which receives various request signals RQ output from and controls pipeline processing according to each request signal RQ. The means for controlling the pipeline processing is shown as pipeline processing control means 13 in the figure.

【0016】本発明の特徴はまず、カウンタ手段11を
備えることにあり、そしてこのカウンタ手段11による
監視のもとで動作するリクエストセレクタ手段12を有
することにある。これらは記憶制御装置(MCU)5内
に設けられる。カウンタ手段11は、リクエスト信号R
Qがブロックストア命令に基づくリクエスト信号である
ときにインクリメントされ、当該ブロックストア命令の
実行が完了したことを検出したときにデクレメントされ
る。
The feature of the present invention resides in that the present invention comprises a counter means 11 and a request selector means 12 which operates under the supervision of the counter means 11. These are provided in a storage control unit (MCU) 5. The counter means 11 outputs the request signal R
It is incremented when Q is a request signal based on a block store instruction, and decremented when it is detected that the execution of the block store instruction has been completed.

【0017】リクエストセレクタ手段12は、カウンタ
手段11のカウント値に応じてリクエスト信号RQの入
力を制御する。リクエストセレクタ手段11は、カウン
タ手段11のカウント値が零でないときは、ブロックス
トア命令に基づくリクエスト信号のみを優先的に選択し
て該ブロックストア命令に基づく処理を連続的に実行さ
せる。
The request selector 12 controls the input of the request signal RQ according to the count value of the counter 11. When the count value of the counter means 11 is not zero, the request selector means 11 preferentially selects only the request signal based on the block store instruction and continuously executes the processing based on the block store instruction.

【0018】図中、CMP(complete)は、上
述した、ブロックストア命令の実行が完了したことを検
出したことを示す実行完了信号である。なお、その他の
構成要素、MSU3,CACHE(CAC)4およびK
SU6については前述のとおりである。図2は本発明に
係るブロックストア命令実行制御方式による制御手順を
表すタイムチャートである。本図の見方は前述した図6
と同様である。ただし図2においてはさらにカウンタ手
段(COUNTER)11のカウント値が、0,1,2
…のように示されている。
In the figure, CMP (complete) is an execution completion signal indicating that the completion of execution of the block store instruction is detected. The other components, MSU3, CACHE (CAC) 4, and K
SU6 is as described above. FIG. 2 is a time chart showing a control procedure according to the block store instruction execution control method according to the present invention. How to read this diagram
Is the same as However, in FIG. 2, the count value of the counter means (COUNTER) 11 is 0, 1, 2, or 3.
It is shown as ...

【0019】いずれかのCPU2より、図中の、a,
b,c,dのごとく連続したブロックストア命令が発行
され、これが連続したリクエスト信号RQとしてMCU
5に出力される。これらを順次受け取ったMCU5は、
リクエストセレクト手段12によって所定の選択を行
い、各CPU2にオーダを出力する。このオーダa′
は、ブロックストア命令の場合、まずCACHE4に対
する無効化である。
In the figure, a,
A continuous block store instruction is issued as shown in b, c, d, and this is sent as a continuous request signal RQ to the MCU.
5 is output. MCU5 which receives these sequentially,
A predetermined selection is made by the request selecting means 12 and an order is output to each CPU 2. This order a '
Is an invalidation for CACHE4 in the case of a block store instruction.

【0020】上記のリクエスト信号がブロックストア命
令aに基づくリクエスト信号であると、カウンタ手段1
1はカウンタ値はインクリメント(+1)される(図2
の“COUNTER”の欄の“1”)。無効化オーダ
a′に基づいて各CPU内のCACHE4に対する無効
化が実行される。この無効化が最も早く完了したのはC
PU2の#2におけるCACHE4(CPU2(cac
he))であり、次のオーダb′までの間に若干の時間
的空間Sが生じている。一方、その無効化が最も遅く完
了したのは、CPU2の#1におけるCACHE4(C
PU1(cache))である。
If the request signal is a request signal based on a block store instruction a, the counter means 1
In the case of 1, the counter value is incremented (+1) (FIG. 2
"1" in the column of "COUNTER"). The invalidation for CACHE4 in each CPU is executed based on the invalidation order a '. The earliest completion of this invalidation was C
CACHE4 in CPU # 2 of PU2 (CPU2 (cac
he)), and a slight temporal space S occurs before the next order b '. On the other hand, the invalidation was completed latest at the CACHE4 (C
PU1 (cache)).

【0021】本発明においては、先のオーダa′に続く
次のオーダb′(無効化)がMCU5より出力されたと
きは、上述したCPU2の#1におけるCACHE4に
対する無効化が未了であっても、このオーダb′による
処理を連続して行ってしまう。これによりブロックスト
ア命令の処理時間が短縮される。ただし、そのためにカ
ウンタ手段11による監視が必要となる。上記のオーダ
b′が出力される時点では、カウンタ手段11のカウン
ト値は1から2にインクリメントされる。このカウンタ
値が3,4と増大して行ったとすると、最早ブロックス
トア命令の実行は不可能となる。なぜなら、CACHE
4の無効化が完了した数よりもオーダの数が過多になっ
てしまうからである。
In the present invention, when the next order b '(invalidation) following the previous order a' is output from the MCU 5, the above-mentioned invalidation of the CPU 2 for CACHE 4 in # 1 has not been completed. Also, the processing according to the order b 'is performed continuously. Thereby, the processing time of the block store instruction is reduced. However, for that purpose, monitoring by the counter means 11 is necessary. When the order b 'is output, the count value of the counter means 11 is incremented from 1 to 2. If the counter value is increased to 3 or 4, execution of the block store instruction is no longer possible. Because CACHE
This is because the number of orders will be greater than the number of completed invalidations of No. 4.

【0022】そこでカウンタ手段11のカウンタ値は、
1つのオーダに対する無効化処理が全CPUについて完
了したときは即座に−1し、カウンタ値をできるだけ0
に近い数に保つようにする。カウンタ値が小さければ小
さい程、次々とリクエスト信号を受け取る余裕ができる
からである。図2を再び参照すると、カウンタ手段11
のカウント値(COUNTER)は、リクエスト信号
a,b…に基づくオーダa′,b′…が出力される時点
で、0→1→2→とインクリメントする一方で、全CP
UのCACHE4に対する1回の無効化が完了する毎に
2→1のようにデクレメントする。本図中、第1回の無
効化でCPU1(cache)が最後に無効化を終了す
ると、カウンタ値は2→1のように減少し、また第2回
の無効化でCPU2(cache)が最後に無効化を終
了するとカウンタ値は2→1のように減少する。
Therefore, the counter value of the counter means 11 is:
When the invalidation processing for one order is completed for all CPUs, the value is immediately decremented by one, and the counter value is reduced to as small as possible
Try to keep the number close to. This is because the smaller the counter value is, the more room there is for receiving request signals one after another. Referring again to FIG.
Count value (COUNTER) is incremented from 0 → 1 → 2 → while the order a ′, b ′... Based on the request signals a, b.
Each time U invalidates one CACHE4, it is decremented as 2 → 1. In the figure, when the CPU 1 (cache) ends the invalidation at the end of the first invalidation, the counter value decreases as 2 → 1, and the CPU 2 (cache) ends at the end of the second invalidation. When the invalidation is completed, the counter value decreases as 2 → 1.

【0023】上記のようにリクエストセレクタ手段12
は、カウンタ手段11による監視のもとに、一連のブロ
ックストア命令を連続的に(すきまなく)実行すること
を可能にしている。この結果、CPUの待ち時間は図2
において“CPU WAIT”として示すごとく、図6
(従来)に示す“CPU WAIT”よりも大幅に短縮
される。かくして情報処理装置1全体の稼働率が向上す
る。
As described above, the request selector means 12
Allows a series of block store instructions to be executed continuously (without gaps) under monitoring by the counter means 11. As a result, the waiting time of the CPU is shown in FIG.
As shown in FIG. 6 as “CPU WAIT”,
It is significantly shorter than "CPU WAIT" shown in (conventional). Thus, the operation rate of the entire information processing apparatus 1 is improved.

【0024】カウンタ手段11によるリクエストセレク
タ手段12の監視の態様は、さらに以下の2つがある。 (i)カウンタ手段11のカウント値が零であるとき、
リクエストセレクタ手段は、所定の優先順位に従って、
中央処理装置2から出力される各種のリクエスト信号を
選択する(従来どおり)。
There are the following two modes of monitoring the request selector means 12 by the counter means 11. (I) When the count value of the counter means 11 is zero,
The request selector means, according to a predetermined priority,
Various request signals output from the central processing unit 2 are selected (as before).

【0025】(ii)カウンタ手段11のカウント値が、
予め定めた上限値に達したとき、リクエストセレクタ手
段12は、ブロックストア命令に基づくリクエスト信号
の選択を中止する。つまりブロックストア命令は実行し
ない。ブロックストア命令の入力数の方が、ブロックス
トア命令の実行完了数よりも過多になってしまうからで
ある。
(Ii) When the count value of the counter means 11 is
When the predetermined upper limit is reached, the request selector 12 stops selecting the request signal based on the block store instruction. That is, the block store instruction is not executed. This is because the number of inputs of the block store instruction is more than the number of execution completions of the block store instruction.

【0026】上述のように本発明によれば、カウンタ手
段11という単純なデバイスを導入するだけでよく、コ
スト的にもハードウェア的にも負担は軽い、という利点
がある。この利点は次に述べる不利と対比させると一層
顕著である。一般に、稼働率の向上のためにパイプライ
ンを用いた並列実行という手法があるが、一連のブロッ
クストア命令を連続して実行する複数の処理が全て完了
したことを知ることは非常に手間がかかる。例えば、各
CPUからの完了通知信号に当該命令のIDを示す信号
を付け加えて、このIDにより処理中の命令の中で処理
が終了した命令を知る方法や各CPUに処理の状況を問
い合わせる方法等があるが、CPU間の信号線の増加や
プロトコルの複雑化およびCPU間アクセスの増加を招
くという不利がある。
As described above, according to the present invention, it is only necessary to introduce a simple device called the counter means 11, and there is an advantage that the burden is reduced both in cost and hardware. This advantage is even more pronounced in contrast to the following disadvantages. In general, there is a technique called parallel execution using a pipeline to improve the operation rate, but it is very troublesome to know that all the processes for continuously executing a series of block store instructions have been completed. . For example, a signal indicating the ID of the command is added to the completion notification signal from each CPU, and a method of knowing the command that has been processed among the commands being processed by this ID, a method of inquiring each CPU about the processing status, etc. However, there is a disadvantage that the number of signal lines between CPUs increases, the protocol becomes complicated, and the access between CPUs increases.

【0027】[0027]

【発明の実施の形態】図3は本発明に係る情報処理装置
の構成例を示す図である。なお既に説明した構成要素と
同様のものには同一の参照番号または記号を付して示
す。本図中、MCU5は、カウンタ手段11とリクエス
トセレクタ手段12とパイプライン処理制御手段13と
を含んでなる。またCPU2は、本図中右側と上側の2
ヶ所に示すが両者は全く同一である。単にリクエストの
発行機能(上側)とオーダの実行機能(右側)とに分け
て示したものである。
FIG. 3 is a diagram showing a configuration example of an information processing apparatus according to the present invention. The same components as those already described are denoted by the same reference numerals or symbols. In the figure, the MCU 5 includes a counter unit 11, a request selector unit 12, and a pipeline processing control unit 13. In addition, the CPU 2 has two
Although shown in two places, both are exactly the same. This is simply divided into a request issuing function (upper side) and an order execution function (right side).

【0028】また図中、CNT=0,0<CNT<Nお
よびCNT≧Nは、カウンタ手段11の監視条件を表し
たものであり、CNTは前述したカウント値である。本
発明のブロックストア命令制御方式は、特に0<CNT
<Nという条件下で有効に機能するものである。ブロッ
クストア命令が入力されたか否か、正確にはブロックス
トア命令が、種々のリクエスト信号の中の1つとリクエ
ストセレクタ手段12によって選択されて該手段12よ
り出力されたか否かは、カウンタ手段11にとって重要
な情報である。
In the figure, CNT = 0, 0 <CNT <N and CNT ≧ N represent monitoring conditions of the counter means 11, and CNT is the above-mentioned count value. The block store instruction control method of the present invention is particularly applicable to 0 <CNT
It functions effectively under the condition of <N. Whether or not a block store instruction has been input, more precisely, whether or not the block store instruction has been selected from one of various request signals by the request selector means 12 and output from the means 12, is determined by the counter means 11. This is important information.

【0029】そこで図3の構成例では、カウンタ手段1
1の中にカウンタと共に判定部15を設ける。この判定
部15は、リクエストセレクタ手段12からブロックス
トア命令に基づくリクエスト信号RQが出力されたか否
かを判定する。この判定部15は、リクエスト信号が指
定する命令するコードをデコードするデコーダからな
る。
Therefore, in the configuration example of FIG.
The determination unit 15 is provided in 1 together with the counter. The determination unit 15 determines whether the request signal RQ based on the block store instruction has been output from the request selector 12. The determination unit 15 includes a decoder that decodes a code specified by the request signal.

【0030】カウンタ手段11はそのデコーダの出力に
よりカウント値をインクリメントする一方、ブロックス
トア命令の実行が完了したことを示す実行完了信号CM
Pによってデクレメントする。この実行完了信号CMP
を生成する手段についてはその一例を図4に示す。図4
はより具体的な情報処理装置の構成例を示す図である。
本図においてMCU5が図の左側と中央下側の2ヶ所に
分けて示してあるが、双方同一のものである。機能別に
示しただけである。後者のMCU5(図の中央下側)に
は、上述した実行完了信号CMPの生成手段(16)が
示されている。これは、ブロックストア命令の実行が完
了(図中の“無効化終了”)したことを検出する検出部
16である。
The counter means 11 increments the count value by the output of the decoder, while the execution completion signal CM indicating that the execution of the block store instruction has been completed.
Decrement by P. This execution completion signal CMP
FIG. 4 shows an example of the means for generating. FIG.
FIG. 3 is a diagram illustrating a more specific configuration example of an information processing apparatus.
In this figure, the MCU 5 is divided into two parts on the left side of the figure and on the lower side of the center, but both are the same. It is only shown by function. The latter MCU 5 (lower center in the figure) shows the means (16) for generating the above-mentioned execution completion signal CMP. The detection unit 16 detects that the execution of the block store instruction has been completed (“invalidation end” in the drawing).

【0031】さらに具体的には、この検出部16を、記
憶制御装置(MCU)5内に既存の物理アドレス/論理
アドレス変換テーブルによって実現し、この物理アドレ
ス/論理アドレス変換テーブル内のアドレスが、ブロッ
クストア命令の実行によって全て無効化されたとき、当
該ブロックストア命令の実行が完了したことを検出し実
行完了信号CMPとして出力する。
More specifically, the detection unit 16 is realized by an existing physical address / logical address conversion table in the storage control unit (MCU) 5, and the address in the physical address / logical address conversion table is When all the blocks are invalidated by the execution of the block store instruction, it detects that the execution of the block store instruction has been completed and outputs it as an execution completion signal CMP.

【0032】図4においても、図3と同様同一の一群の
CPU2が、リクエスト機能側(リクエスト発行部17
を含む)と、CACHE4を含みオーダを受ける側とに
分けて示している。複数のCPU2からそれぞれ出力さ
れたリクエスト信号は、各CPU2に対応したポートP
に一旦保持され、リクエストセレクタ手段12による選
択を受ける。MCU5(図4の左側)のその他の構成は
図3と同じである。
In FIG. 4, the same group of CPUs 2 as in FIG.
) And the order receiving side including CACHE4. The request signal output from each of the plurality of CPUs 2 corresponds to a port P corresponding to each CPU 2.
And is selected by the request selector 12. Other configurations of the MCU 5 (left side in FIG. 4) are the same as those in FIG.

【0033】[0033]

【発明の効果】以上説明したように本発明によれば、一
連の連続するブロックストア命令の処理時間が短縮され
る。その分、CPU2の待ち時間(CPU WAIT)
も短くなり情報処理装置全体の稼働率の向上が図れる。
このために新規に追加したハードウェアはカウンタ(1
1)のみであり、経済的でもある。
As described above, according to the present invention, the processing time of a series of successive block store instructions is reduced. The waiting time of CPU2 (CPU WAIT)
And the operating rate of the entire information processing apparatus can be improved.
For this purpose, the newly added hardware is a counter (1
Only 1), it is also economical.

【0034】さらにそのカウンタ(11)のカウント値
を目安にするだけで、命令実行順序制御が簡単に行え、
また過度の命令の発行も容易に抑制できるという効果も
ある。
Further, the instruction execution order can be easily controlled only by using the count value of the counter (11) as a guide.
Also, there is an effect that issuance of an excessive instruction can be easily suppressed.

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

【図1】本発明に係るブロックストア命令実行制御方式
の基本構成を示す図である。
FIG. 1 is a diagram showing a basic configuration of a block store instruction execution control system according to the present invention.

【図2】本発明に係るブロックストア命令実行制御方式
による制御手順を表すタイムチャートである。
FIG. 2 is a time chart showing a control procedure according to a block store instruction execution control method according to the present invention.

【図3】本発明に係る情報処理装置の構成例を示す図で
ある。
FIG. 3 is a diagram illustrating a configuration example of an information processing apparatus according to the present invention.

【図4】より具体的な情報処理装置の構成例を示す図で
ある。
FIG. 4 is a diagram illustrating a more specific configuration example of an information processing apparatus.

【図5】本発明が適用される一般的な情報処理装置の一
例を示す基本ブロック図である。
FIG. 5 is a basic block diagram illustrating an example of a general information processing apparatus to which the present invention is applied.

【図6】従来のシリアライズ制御方式によるブロックス
トア命令の実行手順を表すタイムチャートである。
FIG. 6 is a time chart showing an execution procedure of a block store instruction according to a conventional serialization control method.

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

1…情報処理装置 2…中央処理装置(CPU) 3…主記憶装置(MSU) 4…緩衝記憶装置(CACHE) 5…記憶制御装置(MCU) 6…キー記憶装置(KSU) 7…入出力装置(I/O) 11…カウンタ手段 12…リクエストセレクタ手段 13…パイプライン処理制御手段 15…判定部 16…検出部 DESCRIPTION OF SYMBOLS 1 ... Information processing apparatus 2 ... Central processing unit (CPU) 3 ... Main storage unit (MSU) 4 ... Buffer storage unit (CACHE) 5 ... Storage control unit (MCU) 6 ... Key storage unit (KSU) 7 ... Input / output unit (I / O) 11 ... Counter means 12 ... Request selector means 13 ... Pipeline processing control means 15 ... Determining unit 16 ... Detecting unit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 中央処理装置(CPU)から出力される
各種のリクエスト信号を入力して各該リクエスト信号に
応じたパイプライン処理を制御する記憶制御装置(MC
U)を含む情報処理装置において、 前記記憶制御装置は、 前記リクエスト信号がブロックストア命令に基づくリク
エスト信号であるときにインクリメントされ、当該ブロ
ックストア命令の実行が完了したことを検出したときに
デクレメントされるカウンタ手段と、 前記カウンタ手段のカウント値に応じて前記リクエスト
信号の入力を制御するリクエストセレクタ手段とを備
え、 前記リクエストセレクタ手段は、前記カウンタ手段のカ
ウント値が零でないときは、前記ブロックストア命令に
基づくリクエスト信号のみを優先的に選択して該ブロッ
クストア命令に基づく処理を連続的に実行させることを
特徴とする、情報処理装置におけるブロックストア命令
の実行制御方式。
1. A storage controller (MC) that receives various request signals output from a central processing unit (CPU) and controls pipeline processing corresponding to each request signal.
U), the storage control device is incremented when the request signal is a request signal based on a block store instruction, and decremented when detecting that execution of the block store instruction is completed. And a request selector for controlling the input of the request signal in accordance with the count value of the counter means. The request selector means, when the count value of the counter means is not zero, the block An execution control method for a block store instruction in an information processing device, wherein priority is given to selecting only a request signal based on a store instruction and processing based on the block store instruction is continuously executed.
【請求項2】 前記カウンタ手段のカウント値が零であ
るとき、 前記リクエストセレクタ手段は、所定の優先順位に従っ
て、前記中央処理装置から出力される各種のリクエスト
信号を選択する請求項1に記載のブロックストア命令の
実行制御方式。
2. The request selector according to claim 1, wherein when the count value of said counter is zero, said request selector selects various request signals output from said central processing unit according to a predetermined priority. Execution control method for block store instructions.
【請求項3】 前記カウンタ手段のカウント値が、予め
定めた上限値に達したとき、 前記リクエストセレクタ手段は、前記ブロックストア命
令に基づくリクエスト信号の選択を中止する請求項1に
記載のブロックストア命令の実行制御方式。
3. The block store according to claim 1, wherein when the count value of said counter means reaches a predetermined upper limit, said request selector means stops selecting a request signal based on said block store instruction. Instruction execution control method.
JP10950098A 1998-04-20 1998-04-20 Execution control system for block store instruction in information processor Withdrawn JPH11306020A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10950098A JPH11306020A (en) 1998-04-20 1998-04-20 Execution control system for block store instruction in information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10950098A JPH11306020A (en) 1998-04-20 1998-04-20 Execution control system for block store instruction in information processor

Publications (1)

Publication Number Publication Date
JPH11306020A true JPH11306020A (en) 1999-11-05

Family

ID=14511846

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10950098A Withdrawn JPH11306020A (en) 1998-04-20 1998-04-20 Execution control system for block store instruction in information processor

Country Status (1)

Country Link
JP (1) JPH11306020A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7490219B2 (en) 2005-03-16 2009-02-10 Fujitsu Limited Counter counts valid requests based on a judgment in a system having a plurality of pipeline processors

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7490219B2 (en) 2005-03-16 2009-02-10 Fujitsu Limited Counter counts valid requests based on a judgment in a system having a plurality of pipeline processors

Similar Documents

Publication Publication Date Title
US5293500A (en) Parallel processing method and apparatus
US4586133A (en) Multilevel controller for a cache memory interface in a multiprocessing system
EP1399823B1 (en) Using an l2 directory to facilitate speculative loads in a multiprocessor system
EP0557884A1 (en) A data processor having a cache memory
JPH03108042A (en) Multiple virtual space address system and computer system
US5263144A (en) Method and apparatus for sharing data between processors in a computer system
JP3304444B2 (en) Vector processing equipment
US6704833B2 (en) Atomic transfer of a block of data
JPH11306020A (en) Execution control system for block store instruction in information processor
JP3481425B2 (en) Cache device
US6266777B1 (en) Information processing apparatus to control bus latency
JPH08314803A (en) Disk cache controller
JPH04291642A (en) Cache control system
JPS59217284A (en) System controllr of data processor
JPH10247182A (en) Multiprocessor system
JPH0535507A (en) Central processing unit
JPH0319049A (en) Access control method and information processor
JPH05334233A (en) Data transferring device
JPS6010367A (en) Data processor
JPH02259945A (en) Storing processing system
JPH11143777A (en) Cache memory device
JPH05210590A (en) Device and method for write cash memory
JP2002182901A (en) Coprocessor data access controller, its method and its instruction format
JP2000330866A (en) Method and system for controlling memory
JPH02307123A (en) Computer

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050705