Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH06103476B2 - Serialize instruction controller - Google Patents
[go: Go Back, main page]

JPH06103476B2 - Serialize instruction controller - Google Patents

Serialize instruction controller

Info

Publication number
JPH06103476B2
JPH06103476B2 JP61133532A JP13353286A JPH06103476B2 JP H06103476 B2 JPH06103476 B2 JP H06103476B2 JP 61133532 A JP61133532 A JP 61133532A JP 13353286 A JP13353286 A JP 13353286A JP H06103476 B2 JPH06103476 B2 JP H06103476B2
Authority
JP
Japan
Prior art keywords
serialization
central processing
instruction
rqtr
cpu
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 - Lifetime
Application number
JP61133532A
Other languages
Japanese (ja)
Other versions
JPS62288949A (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 JP61133532A priority Critical patent/JPH06103476B2/en
Publication of JPS62288949A publication Critical patent/JPS62288949A/en
Publication of JPH06103476B2 publication Critical patent/JPH06103476B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】 〔概要〕 少なくとも、主記憶装置(MSU)と、キャッシュメモリ
を備えた複数個の中央処理装置(CPU)と、システム制
御装置(MCU)にバッファ無効化アドレスを一時的に保
持するタグメモリ(TAG2)を有するマルチプロセッサシ
ステムにおいて、シリアライズ処理の起動,及び他の中
央処理装置への伝播時に、該シリアライズ要求フラグ信
号に、該シリアライズ要求元を示す識別子(RQTR ID)
を付加する手段を設けることにより、先行するシリアラ
イズ要求を処理中に、他の処理装置からの後続するシリ
アライズ処理を継続して起動するようにしたものであ
る。
DETAILED DESCRIPTION [Outline] At least a buffer invalidation address is temporarily stored in a main memory unit (MSU), a plurality of central processing units (CPU) equipped with cache memories, and a system control unit (MCU). In a multi-processor system having a tag memory (TAG2) held in, the serialization request flag signal indicates the serialization request source identifier (RQTR ID) when the serialization process is activated and propagated to another central processing unit.
By providing a means for adding the following, the subsequent serialization process from another processing device is continuously activated while the preceding serialization request is being processed.

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

本発明は、少なくとも、主記憶装置(MSU)と、キャッ
シュメモリを備えた複数個の中央処理装置(CPU)と、
システム制御装置(MCU)にバッファ無効化アドレスを
一時的に保持するタグメモリ(TAG2)を有するマルチプ
ロセッサシステムにおけるシリアライズ命令制御装置に
関する。
The present invention includes at least a main memory unit (MSU), a plurality of central processing units (CPU) including cache memories,
The present invention relates to a serialization instruction control device in a multiprocessor system having a tag memory (TAG2) that temporarily holds a buffer invalidation address in a system control unit (MCU).

従来から、キャッシュメモリを備えたマルチプロセッサ
システムにおいては、各中央処理装置(CPU)が持って
いるキャッシュメモリの内容と、主記憶装置(MSU)と
の内容との一致性を図る為に、シリアライズ命令を備え
ている。
Conventionally, in a multiprocessor system equipped with a cache memory, serialization is performed to match the contents of the cache memory of each central processing unit (CPU) with the contents of the main memory (MSU). It has a command.

該シリアライズ命令は、各中央処理装置(CPU)におけ
るストアアクセスの逐次化を行う命令であって、プリシ
リアライズと,ポストシリアライズの2つのタイプがあ
る。
The serialize instruction is an instruction for serializing store access in each central processing unit (CPU), and has two types of pre-serialize and post-serialize.

プリシリアライズ命令は、該命令発行以前の該中央処理
装置(CPU)のストアアクセスを、ポストシリアライズ
命令は、該命令発行と同時に起動されるストアアクセス
を含めた該命令発行以前の該中央処理装置(CPU)のス
トアアクセスを中断させて、システム内の他の中央処理
装置(CPU)におけるキャッシュメモリの無効化処理を
終了させる機能を有する。
The pre-serialize instruction is a store access of the central processing unit (CPU) before the instruction issuance, and the post-serialize instruction is a central processing unit before the instruction issuance including a store access activated at the same time as the instruction issuance ( The CPU has a function of interrupting store access and ending the invalidation processing of the cache memory in another central processing unit (CPU) in the system.

一方、中央処理装置(CPU)は、処理の高速化を目的と
して、タグ(TAG1)部と,データ部とから構成されるキ
ャッシュメモリを内蔵し、該中央処理装置(CPU)以外
の処理装置が、主記憶装置(MSU)の内容を書き替えた
際に、書き替えられる以前の古いデータが、該キャッシ
ュメモリ上に存在するか否かを調べ、存在していれば該
キャッシュメモリ上の当該部分を無効化することを行
う。
On the other hand, the central processing unit (CPU) has a built-in cache memory composed of a tag (TAG1) unit and a data unit for the purpose of speeding up the processing, and processing units other than the central processing unit (CPU) When the contents of the main memory (MSU) are rewritten, it is checked whether old data before being rewritten exists in the cache memory, and if it exists, the relevant part in the cache memory is checked. To invalidate.

これをバッファインバリデイーション(BI)処理と呼
び、そのアドレスをBIアドレスと呼ぶが、通常該BIアド
レスはBIスタックメモリに、一時的に保持され、即座に
処理されるわけではない。
This is called a buffer invalidation (BI) process, and its address is called a BI address. Normally, the BI address is temporarily held in the BI stack memory and is not immediately processed.

上記シリアライズ命令は、このBIアドレスをシステム内
の他の全ての処理装置に伝播させ、これを受け取った処
理装置に対して、一時的に他の処理を中断させ、代わり
に、該BIスタック内に、未処理でいるBIアドレスのBI処
理を行わせ、該処理装置のキャッシュメモリの内容を、
主記憶装置(MSU)の内容と一致させるように機能す
る。
The serialize instruction propagates this BI address to all other processing units in the system, causes the processing unit that received it to temporarily suspend other processing, and instead places it in the BI stack. , The BI process of the unprocessed BI address is performed, and the contents of the cache memory of the processing device are
It works to match the contents of the main storage unit (MSU).

該シリアライズ命令を発行した中央処理装置(CPU)に
おいては、システム内の他の全ての処理装置に、該命令
が伝わったことが確認されてから、後続の処理(ストア
アクセス)が再開される。
In the central processing unit (CPU) that has issued the serialization instruction, subsequent processing (store access) is restarted after it is confirmed that the instruction has been transmitted to all the other processing apparatuses in the system.

このようなシリアライズ制御方式においては、上記のよ
うに、シリアライズ命令の発行シリアライズ処理(BI
処理)要求の他の処理装置への伝播後続のストアアク
セスの再開と云った処理になる為、マルチプロセッサシ
ステムでは、複数個の中央処理装置(CPU)からのシリ
アライズ要求に対して、オーバラップ処理を許容した効
率の良いシリアライズ命令制御装置が必要とされる。
In such a serialization control method, as described above, the serialization instruction issuance serialization processing (BI
(Processing) Propagation of requests to other processing units Since this is the process of restarting subsequent store access, in a multiprocessor system, overlap processing is performed for serialization requests from multiple central processing units (CPUs). There is a need for an efficient serialization instruction control device that allows the.

〔従来の技術と発明が解決しようとする問題点〕[Problems to be solved by conventional technology and invention]

第3図は、従来のマルチプロセッサシステムの構成例を
示した図であり、第4図は改良されたマルチプロセッサ
システムの構成例を示した図である。
FIG. 3 is a diagram showing a configuration example of a conventional multiprocessor system, and FIG. 4 is a diagram showing a configuration example of an improved multiprocessor system.

先ず、第3図のマルチプロセッサシステムにおいては、
それぞれの中央処理装置(以下、CPUと云う)3自身
が、主記憶装置(以下、MSUと云う)1に対するアドレ
スを意識し、アクセスしたいMSU1に接続されているシス
テム制御装置(以下、MCUと云う)2に対して、当該ア
クセスを発行する方式をとっている。
First, in the multiprocessor system shown in FIG.
Each central processing unit (hereinafter, referred to as CPU) 3 itself is aware of an address for a main storage unit (hereinafter, referred to as MSU) 1 and is connected to an MSU1 to be accessed, which is a system control unit (hereinafter referred to as MCU). ) 2, the access is issued.

この方式では、あるCPU3が発行したストアアクセスのア
ドレスは、該ストアアクセスを受信したMCU0,又はMCU1
(2)より、他の全てのCPU3に通知される。各CPU3は、
このストアアドレスを自内に設けられているBIスタック
(図示せず)に保持し、順次BI処理を実行する。
In this method, the address of the store access issued by a certain CPU3 is the MCU0 or MCU1 that received the store access.
From (2), all other CPUs 3 are notified. Each CPU3
This store address is held in a BI stack (not shown) provided in itself, and BI processing is sequentially executed.

このような構成のマルチプロセッサシステムにおいて
は、 MCU0,又はMCU1(2)と、システム内の全てのCPUとの
間のインターフェース線が増加する問題があった。特
に、処理すべきデータ長が長い場合には、増加するハー
ドウェア量が無視し得なくなると云う問題があった。
In the multiprocessor system having such a configuration, there is a problem that the number of interface lines between the MCU0 or MCU1 (2) and all CPUs in the system increases. In particular, when the length of data to be processed is long, there is a problem that the increasing amount of hardware cannot be ignored.

又、1つのCPU3(例えば、CPU0)に対して、複数個の
CPU3(例えば、CPU1,2,3…)からのBIアドレスが送られ
てくることがあり、CPU0(3)におけるBI処理が輻輳す
ることがあり、各CPU3での処理能力を低下させる問題が
あった。
Also, for one CPU3 (for example, CPU0),
BI address may be sent from CPU3 (for example, CPU1,2,3 ...), BI processing in CPU0 (3) may be congested, and there is a problem that processing capacity in each CPU3 is reduced. It was

そこで、これらの問題を改善するマルチプロセッサシス
テムとして、第4図に示したシステムが考えられた。
Therefore, the system shown in FIG. 4 was considered as a multiprocessor system for improving these problems.

該改良されたマルチプロセッサシステムにおいては、MS
Uアクセス要求を受理したMCU0,又はMCU1(2)がMCU間
インターフェースを通じて、該当MSU0,1,2,…(1)に
アクセス要求を発行する。
In the improved multiprocessor system, the MS
The MCU0 or MCU1 (2) that has received the U access request issues an access request to the corresponding MSU0, 1, 2, ... (1) through the inter-MCU interface.

この為、各MCU0,1(2)はアクセス元CPU3に対応して、
TAG2と呼ばれるアドレスを一時的に記憶する装置(タグ
メモリ)を持ち、それぞれのCPU3からのフェッチアドレ
スを記憶しておき、他のCPU3からのストアアクセスがあ
ると、該アクセスアドレスと比較して、一致を検出する
と、該一致アドレスを、前述のBIアドレスとして、自己
が担当しているCPU3に伝播させる。
Therefore, each MCU0,1 (2) corresponds to the access source CPU3,
It has a device (tag memory) that temporarily stores an address called TAG2, stores the fetch address from each CPU3, and if there is a store access from another CPU3, it compares it with the access address, When a match is detected, the match address is propagated to the CPU 3 in charge of itself as the BI address described above.

各CPU3は、このBIアドレスを自己のBIスタックに保持し
て、順次BI処理を実行し、キャッシュメモリ内の該当エ
ントリの無効化を行う。
Each CPU 3 holds this BI address in its own BI stack, sequentially executes BI processing, and invalidates the corresponding entry in the cache memory.

通常、該TAG2は、処理の高速化の為に、他段のレジスタ
や,アドレスを一時的に保持するキユーを持っている
が、本発明には直接関係していないので、ここではその
詳細は省略する。
Normally, the TAG2 has a register for temporarily holding other stages of registers and an address for speeding up the processing, but since it is not directly related to the present invention, its details will not be described here. Omit it.

この改良されたマルチプロセッサシステムにおいては、
1つのストアアドレスが、BIアドレスとしてシステム全
体に伝わる(つまり、TAG2を通じて、各CPU3のBIスタッ
クに登録される)迄には、ある程度の時間を必要とす
る。
In this improved multiprocessor system,
It takes some time for one store address to be transmitted to the entire system as a BI address (that is, registered in the BI stack of each CPU 3 through TAG2).

従って、各CPU3が、シリアライズ命令を発行すると、上
記のように、1つのシリアライズ命令の終了に時間がか
かることから、互いにオーバラップ無しで、該シリアラ
イズ命令を処理することは、システム全体の性能を低下
させる問題があった。
Therefore, when each CPU 3 issues a serialize instruction, it takes time to finish one serialize instruction as described above. Therefore, processing the serialize instructions without overlapping each other reduces the performance of the entire system. There was a problem of lowering.

一方、各CPU3からのシリアライズ命令を、互いにオーバ
ラップして処理すると、前述のTAG2において、複数個の
ストアアクセスのアドレスが一時的に保持されるので、
各シリアライズ命令の終了が保証されないと云う問題が
あった。具体的には、各CPUの発行したシリアライズ命
令と,上記BIアドレスとの対応がとれなくなると云う問
題があった。
On the other hand, when serializing instructions from each CPU 3 are processed so as to overlap each other, in TAG2 described above, a plurality of store access addresses are temporarily held.
There is a problem that the end of each serialize instruction is not guaranteed. Specifically, there was a problem that the serialization instruction issued by each CPU could not correspond to the BI address.

本発明は上記従来の欠点に鑑み、シリアライズ命令の起
動,伝播時に、該シリアライズ命令の発行先を示す識別
子(RQTR ID)を付加して、各中央処理装置(CPU)から
のシリアライズ要求のオーバラップ処理を可能にし、あ
る処理装置の先行するシリアライズ要求の処理中であっ
ても、他の処理装置からの後続するシリアライズ要求を
継続して起動,処理することによって、処理速度の低下
を防ぐ方法を提供することを目的とするものである。
In view of the above-mentioned conventional drawbacks, the present invention adds an identifier (RQTR ID) indicating the issue destination of the serialization instruction at the time of starting and propagating the serialization instruction to overlap the serialization request from each central processing unit (CPU). A method that enables processing and prevents a decrease in processing speed by continuously activating and processing a subsequent serialization request from another processing device even while a preceding serialization request of a processing device is being processed. It is intended to be provided.

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

第1図は本発明のシリアライズ命令制御装置の原理ブロ
ック図である。
FIG. 1 is a block diagram of the principle of the serialize instruction control device of the present invention.

本発明においては、少なくとも、複数個の主記憶装置
と,キャッシュメモリを備えた複数個の中央処理装置
(CPU0,1,2,…)3と,システム制御装置(MCU0,1)2
からなり、上記システム制御装置2内にバッファ無効化
アドレスを一時的に保持するタグメモリ(TAG2)21を有
するマルチプロセッサシステムにおいて、 上記複数個の中央処理装置(CPU0,1,2,…)3からのシ
リアライズ要求を処理するのに、該シリアライズの起
動,伝播時に、他の中央処理装置3への該シリアライズ
要求フラグ信号に対して、該シリアライズの要求元を示
す識別子(RQTR ID)を付加し、各TAG2から、その担当
する中央処理装置3に、SERIALIZE OUT信号によってシ
リアライズ要求フラグを送出した時点において、各中央
処理装置(CPU0,1,2,3,…)3対応に設けられているシ
リアライズ制御回路22に、そのシリアライズ要求フラグ
信号,及び識別子(RQTR ID)を帰還する手段を設け、
該手段によって、ある中央処理装置3からのシリアライ
ズ処理中であっても、他の中央処理装置3からの後続す
るシリアライズ要求を継続して起動すると共に、各中央
処理装置(CPU0,1,2,…)3が発行したシリアライズ要
求の伝播終了を、それぞれのシリアライズ制御回路22で
認識して、新たなシリアライズ要求を受け付けるように
構成する。
In the present invention, at least a plurality of main storage devices, a plurality of central processing units (CPU0,1,2, ...) 3 having cache memories, and a system control unit (MCU0,1) 2
In the multiprocessor system having the tag memory (TAG2) 21 for temporarily holding the buffer invalidation address in the system controller 2, the plurality of central processing units (CPU0, 1, 2, ...) 3 In order to process the serialization request from the device, an identifier (RQTR ID) indicating the requester of the serialization is added to the serialization request flag signal to another central processing unit 3 at the time of activation and propagation of the serialization. , When each TAG2 sends a serialization request flag by the SERIALIZE OUT signal to its own central processing unit 3, the serialization provided for each central processing unit (CPU0,1,2,3, ...) 3 The control circuit 22 is provided with means for feeding back the serialization request flag signal and the identifier (RQTR ID),
By this means, even during the serialization process from a certain central processing unit 3, subsequent serialization requests from other central processing units 3 are continuously activated, and each central processing unit (CPU0, 1, 2, ..) 3 recognizes the end of propagation of the serialization request issued by each of the serialization control circuits 22, and receives a new serialization request.

〔作用〕[Action]

即ち、本発明によれば、少なくとも、主記憶装置(MS
U)と、キャッシュメモリを備えた複数個の中央処理装
置(CPU)と、システム制御装置(MCU)にバッファ無効
化アドレスを一時的に保持するタグメモリ(TAG2)を有
するマルチプロセッサシステムにおいて、シリアライズ
処理の起動,及び他の処理装置への伝播時に、該シリア
ライズ要求フラグ信号に、該シリアライズ要求元を示す
識別子(RQTR ID)を付加する手段を設けることによ
り、先行するシリアライズ要求を処理中に、他の処理装
置からの後続するシリアライズ処理を継続して起動する
ようにしたものであるので、各処理装置間でオーバラッ
プしたシリアライズ処理が可能となり、シリアライズ命
令を高速に処理することができる効果がある。
That is, according to the present invention, at least the main memory (MS
U), multiple central processing units (CPU) with cache memory, and tag memory (TAG2) for temporarily holding buffer invalidation address in system control unit (MCU). By providing a means for adding an identifier (RQTR ID) indicating the serialization request source to the serialization request flag signal at the time of starting the processing and propagating to another processing device, during the processing of the preceding serialization request, Since the subsequent serialization process from another processing device is continuously activated, the overlapping serialization process can be performed between the processing devices, and the serialization instruction can be processed at high speed. is there.

〔実施例〕〔Example〕

以下本発明の実施例を図面によって詳述する。第2図は
本発明のシリアライズ制御回路の一実施例を示した図で
あり、第1図のパイプラインで構成されているTAG2に投
入される識別子(RQTR ID),及び第2図における識別
子(RQTR ID)の帰還回路が本発明を実施するのに必要
な手段である。尚、全図を通して同じ符号は同じ対象物
を示している。
Embodiments of the present invention will be described in detail below with reference to the drawings. FIG. 2 is a diagram showing one embodiment of the serialization control circuit of the present invention. The identifier (RQTR ID) input to TAG2 configured by the pipeline of FIG. 1 and the identifier ( The RQTR ID) feedback circuit is a necessary means for implementing the present invention. The same reference numerals indicate the same objects throughout the drawings.

以下、第4図の改良されたマルチプロセッサシステムの
構成を参照しながら、第1図,第2図によって、本発明
のシリアライズ命令制御装置を説明する。
The serialization instruction control device of the present invention will be described below with reference to FIGS. 1 and 2 while referring to the configuration of the improved multiprocessor system of FIG.

第4図で示したシステムにおいて、各MCU0,1(2)内に
は、シリアライズ命令の発行元装置対応に、第1図,第
2図のシリアライズ制御回路22が存在する。
In the system shown in FIG. 4, the serialization control circuit 22 of FIGS. 1 and 2 exists in each MCU0, 1 (2) corresponding to the issuer device of the serialization instruction.

ここで、▲▼等は、それぞ
れのMCU0、又はMCU1(2)にCPU0,1,2,…(3)が接続
されていないときに付勢され、対応するラッチハ〜ホを
強制的にリセットして、該ラッチに対するアクセスを抑
止するように機能する。
Here, ▲ ▼ is activated when the CPU0,1,2, ... (3) is not connected to the respective MCU0 or MCU1 (2), and forcibly resets the corresponding latches. Function to inhibit access to the latch.

先ず、例えば、CPU0(3)からのシリアライズ要求信号
が、CPU0(3)に対応するシリアライズ制御回路22で受
け付けられると、イ,及びロ〜ホのラッチがセットさ
れ、イのラッチ(CPU0-SERIALIZE)から優先順位回路23
を介して、ローカルパイプライン24に、該シリアライズ
要求が起動されたことを示すシリアライズ要求フラグ
と、例えば、該シリアライズ要求フラグ信号をエンコー
ドして生成したシリアライズ要求の発行元を示す識別子
(RQTR ID)が投入される。
First, for example, when the serialization request signal from the CPU0 (3) is accepted by the serialization control circuit 22 corresponding to the CPU0 (3), the latches a, b, and h are set, and the latch a (CPU0-SERIALIZE ) To priority circuit 23
To the local pipeline 24 via the serialization request flag indicating that the serialization request is activated, and, for example, an identifier (RQTR ID) indicating the issuer of the serialization request generated by encoding the serialization request flag signal. Is thrown in.

勿論、上記識別子(RQTR ID)は、CPU0(3)がシリア
ライズ命令を発行する時点で、上記シリアライズ要求信
号の中に、最初から含ませるように構成しても良いこと
は云う迄もないことである。此の場合には、上記エンコ
ード機構は不要となる。
Needless to say, the identifier (RQTR ID) may be included in the serialization request signal from the beginning when the CPU0 (3) issues the serialization instruction. is there. In this case, the encoding mechanism is unnecessary.

ロのラッチ(INH-STORE-BY-SERIA)は、該シリアライズ
要求元のCPU0(3)からのストアアクセスの起動を、該
シリアライズ期間中、上記優先順位回路23において抑止
するもので、該命令の終了迄、CPU0(3)のストアアク
セスは起動されない。
The latch (INH-STORE-BY-SERIA) inhibits the activation of store access from the serialization request source CPU0 (3) in the priority circuit 23 during the serialization period. Until the end, CPU0 (3) store access is not started.

リモートパイプライン25には、他系のMCU2からのインタ
ーフェース信号が投入されており、他系のMCU2に接続さ
れているCPU3が、上記シリアライズ命令を発行した事
を、このリモートパイプライン25内を伝播するシリアラ
イズ要求フラグ信号, と識別子(RQTR ID)とから知
ることができる。
The interface signal from the MCU2 of the other system is input to the remote pipeline 25, and the fact that the CPU3 connected to the MCU2 of the other system has issued the serialization instruction propagates in the remote pipeline 25. It can be known from the serialization request flag signal and the identifier (RQTR ID).

各CPU0,1,2,…(3)に対応して設けられているTAG2 21
は、上記ローカル,リモートの両パイプライン24,25か
ら必要な制御信号,アドレス等を取り込み、各CPU3にBI
処理要求をBIアドレスとして伝播させる。
TAG2 21 provided corresponding to each CPU 0, 1, 2, ... (3)
Takes in the necessary control signals, addresses, etc. from both the local and remote pipelines 24 and 25, and BI
Propagate the processing request as BI address.

該TAG2 21に伝わったシリアライズ要求フラグ信号と,
識別子(RQTR ID)は、該TAG2 21内の図示していないキ
ユー等に投入され、TAG2 21の制御により、シリアライ
ズ信号(SERIALIZE-OUT)信号が、対応するCPU0,1,2,…
(3)に送出されるとき、同時に、第2図に詳細が示さ
れているシリアライズ制御回路22に、その識別子(RQTR
ID)と共に帰還される。
A serialization request flag signal transmitted to the TAG222,
The identifier (RQTR ID) is input to a queue or the like (not shown) in the TAG2 21, and under the control of the TAG2 21, the serialization signal (SERIALIZE-OUT) signal corresponds to the CPU 0, 1, 2, ...
When sent to (3), at the same time, the serialization control circuit 22 whose details are shown in FIG.
Returned with ID).

該識別子(RQTR ID)は、例えば、前述のようにしてコ
ード化されているので、当該シリアライズ制御回路22に
おいてデコードされ、ハ〜ホの内、対応するラッチをリ
セットするように動作する。
Since the identifier (RQTR ID) is coded as described above, for example, it is decoded in the serialization control circuit 22 and operates to reset the corresponding latch of ha-e.

例えば、CPU0(3)からのシリアライズ命令が、CPU0 T
AG2(21)以外の、例えば、CPU1 TAG2(21)に投入さ
れ、CPU1 TAG2(21)から、上記シリアライズ信号(CPU
1-TAG2-SERIALIZE-OUT)信号と,識別子(RQTR ID)(C
PU1-TAG2-RQTR-ID-CPU0)が、CPU0(3)に対応するシ
リアライズ制御回路22に戻ってきた場合には、図示の
‘P1'の条件により、ハのラッチがリセットされる。
For example, the serialization instruction from CPU0 (3)
It is input to CPU1 TAG2 (21) other than AG2 (21), and from the CPU1 TAG2 (21), the serialization signal (CPU
1-TAG2-SERIALIZE-OUT) signal and identifier (RQTR ID) (C
When PU1-TAG2-RQTR-ID-CPU0) returns to the serialization control circuit 22 corresponding to CPU0 (3), the latch of C is reset under the condition of'P1 'shown in the figure.

このようにして、ハ〜ホ迄の全てのラッチがリセットさ
れると、次にロのラッチがリセットされ、当該シリアラ
イズ命令が終了したことになる。
In this way, when all the latches from ha to e are reset, the latches of b are reset next, which means that the serialize instruction is completed.

あるTAG2(21)が送出する上記シリアライズ信号(SERI
ALIZE-OUT)信号と,識別子(RQTR ID)は、システム内
の全てにシリアライズ制御回路22に帰還されるが、本発
明により付加された識別子(RQTR ID)は、シリアライ
ズ命令の発行元を示すコード情報であるので、該識別子
(RQTR ID)が示すアクセス元のCPU3に対応するシリア
ライズ制御回路22に存在する対応ラッチのみがリセット
されることになる。
The serialized signal (SERI
The ALIZE-OUT) signal and the identifier (RQTR ID) are fed back to the serialization control circuit 22 throughout the system, but the identifier (RQTR ID) added by the present invention is a code indicating the issuer of the serialization instruction. Since this is information, only the corresponding latch existing in the serialization control circuit 22 corresponding to the access source CPU 3 indicated by the identifier (RQTR ID) is reset.

このようにして、先行するシリアライズ命令が処理中で
あっても、後続するシリアライズ命令を起動して、オー
バラップさせることができ、シリアライズ命令を高速に
処理することができる。
In this way, even if the preceding serialize instruction is being processed, the subsequent serialize instruction can be activated and overlapped, and the serialize instruction can be processed at high speed.

このように、本発明は、マルチプロセッサシステムにお
いて、MCU内に、各CPUに対応して、シリアライズ制御回
路,及びTAG2を設け、あるCPUからのシリアライズ要求
を、該CPUに対応したシリアライズ制御回路が受け付け
ると、自己に対応したTAG2以外の全てのTAG2を介して、
他のCPUに伝播させ、それぞれのCPUでのBI処理を行わせ
ると共に、上記他のTAG2からのシリアライズ信号(SERI
ALIZE-OUT)と,識別子(RQTR ID)を帰還させて、該全
ての他のTAG2からの帰還信号を受信した時点で、当該シ
リアライズ処理の終了と認識し、次のシリアライズ命令
を受け付けるようにして、複数個のCPUにおけるシリア
ライズ処理をオーバラップさせるようにした所に特徴が
ある。
Thus, in the present invention, in a multiprocessor system, a serialization control circuit and a TAG2 are provided in the MCU in correspondence with each CPU, and a serialization request from a certain CPU is handled by the serialization control circuit corresponding to the CPU. When accepted, via all TAG2 other than TAG2 corresponding to self,
It is propagated to other CPUs, BI processing is performed in each CPU, and the serialized signal (SERI
ALIZE-OUT) and the identifier (RQTR ID) are fed back, and when the feedback signals from all the other TAG2 are received, it is recognized that the serialization processing has ended, and the next serialization command is accepted. , The feature is that the serialization process in multiple CPUs is made to overlap.

〔発明の効果〕〔The invention's effect〕

以上、詳細に説明したように、本発明のシリアライズ命
令制御装置は、少なくとも、主記憶装置(MSU)と、キ
ャッシュメモリを備えた複数個の中央処理装置(CPU)
と、システム制御装置(MCU)にバッファ無効化アドレ
スを一時的に保持するタグメモリ(TAG2)を有するマル
チプロセッサシステムにおいて、シリアライズ処理の起
動,及び他の処理装置への伝播時に、該シリアライズ要
求フラグ信号に、該シリアライズ要求元を示す識別子
(RQTR ID)を付加する手段を設けることにより、先行
するシリアライズ要求を処理中に、他の処理装置からの
後続するシリアライズ処理を継続して起動するようにし
たものであるので、各処理装置間でオーバラップしたシ
リアライズ処理が可能となり、シリアライズ命令を高速
に処理することができる効果がある。
As described above in detail, the serialization instruction control device of the present invention includes at least a main memory unit (MSU) and a plurality of central processing units (CPU) including cache memories.
Also, in a multiprocessor system having a tag memory (TAG2) that temporarily holds a buffer invalidation address in the system control unit (MCU), the serialization request flag is activated when the serialization process is activated and is propagated to another processing unit. By providing a means for adding an identifier (RQTR ID) indicating the source of the serialization request to the signal, during the processing of the preceding serialization request, the subsequent serialization processing from another processing device is continuously activated. Therefore, the serialization processing that overlaps between the processing devices can be performed, and the serialization instruction can be processed at high speed.

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

第1図は本発明のシリアライズ命令制御装置の原理ブロ
ック図, 第2図は本発明のシリアライズ制御回路の一実施例を示
した図, 第3図は従来のマルチプロセッサシステムの構成例を示
した図, 第4図は改良されたマルチプロセッサシステムの構成例
を示した図, である。 図面において、 1は主記憶装置(MSU0,1,2,…), 2はシステム制御装置(MCU0,1), 3は中央処理装置(CPU0,1,2,…)等, 21はタグメモリ(TAG2), 22はシリアライズ制御回路, 23は優先順位回路, 24はローカルパイプライン, 25はリモートパイプライン, イ〜ホはラッチ, P1〜はラッチ ハ〜に対するリセット条件, をそれぞれ示す。
FIG. 1 is a block diagram of the principle of the serialize instruction control device of the present invention, FIG. 2 is a diagram showing an embodiment of the serialize control circuit of the present invention, and FIG. 3 is a configuration example of a conventional multiprocessor system. Figures 4 and 5 are diagrams showing an example of the configuration of the improved multiprocessor system. In the drawing, 1 is a main memory unit (MSU0,1,2, ...), 2 is a system control unit (MCU0,1), 3 is a central processing unit (CPU0,1,2, ...), 21 is a tag memory ( TAG2), 22 is a serialization control circuit, 23 is a priority circuit, 24 is a local pipeline, 25 is a remote pipeline, I to E are latches, P1 to P1 are reset conditions to latch, respectively.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】少なくとも、複数個の主記憶装置(1)
と,キャッシュメモリを備えた複数個の中央処理装置
(3)と,主記憶アクセス制御を行うシステム制御装置
(2)からなり、上記システム制御装置(2)内にバッ
ファ無効化アドレスを一時的に保持するタグメモリ(TA
G2)を有するマルチプロセッサシステムにおいて、 上記複数個の中央処理装置(3)からのシリアライズ要
求フラグ信号を処理するのに、シリアライズ処理の起
動、及び他の中央処理装置(3)へのシリアライズ命令
を伝播する際、上記シリアライズ要求フラグ信号に対し
て、該シリアライズ処理の要求元を示す識別子(RQTR I
D)を付加する手段を設け、 該付加手段によって付加された該識別子(RQTR ID)に
より、或る中央処理装置(3)からのシリアライズ命令
の伝播先を認識することによって、他の中央処理装置
(3)からの後続するシリアライズ命令を継続して処理
することを特徴とするシリアライズ命令制御装置。
1. At least a plurality of main storage devices (1)
And a plurality of central processing units (3) having a cache memory, and a system control unit (2) for main memory access control. A buffer invalidation address is temporarily set in the system control unit (2). Tag memory to hold (TA
In a multiprocessor system having G2), in order to process the serialization request flag signals from the plurality of central processing units (3), activation of serialization processing and serialization instructions to other central processing units (3) are performed. At the time of propagation, an identifier (RQTR I
D) is added, and the identifier (RQTR ID) added by the adding means is used to recognize the propagation destination of the serialization instruction from a certain central processing unit (3), and another central processing unit A serialization instruction control device which continuously processes the subsequent serialization instruction from (3).
JP61133532A 1986-06-09 1986-06-09 Serialize instruction controller Expired - Lifetime JPH06103476B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61133532A JPH06103476B2 (en) 1986-06-09 1986-06-09 Serialize instruction controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61133532A JPH06103476B2 (en) 1986-06-09 1986-06-09 Serialize instruction controller

Publications (2)

Publication Number Publication Date
JPS62288949A JPS62288949A (en) 1987-12-15
JPH06103476B2 true JPH06103476B2 (en) 1994-12-14

Family

ID=15107002

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61133532A Expired - Lifetime JPH06103476B2 (en) 1986-06-09 1986-06-09 Serialize instruction controller

Country Status (1)

Country Link
JP (1) JPH06103476B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE68924306T2 (en) * 1988-06-27 1996-05-09 Digital Equipment Corp Multi-processor computer arrays with shared memory and private caches.
JPH0512117A (en) * 1991-07-04 1993-01-22 Toshiba Corp Cache matching method
JP4631948B2 (en) 2008-08-13 2011-02-16 日本電気株式会社 Information processing apparatus and order guarantee method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5454944A (en) * 1977-10-09 1979-05-01 Nissan Motor Co Ltd Outer panel joining and fixture therefore
JPS6012670B2 (en) * 1977-11-02 1985-04-02 富士通株式会社 Buffer invalidation method in multi-CPU system
JPS5733479A (en) * 1980-07-31 1982-02-23 Fujitsu Ltd Buffer invalidation control system
JPS6162150A (en) * 1984-09-03 1986-03-31 Mitsubishi Electric Corp Data processor
JPS6162510A (en) * 1984-09-04 1986-03-31 Dainippon Ink & Chem Inc Preparation of non-film-forming resin emulsion, and its pulverization method

Also Published As

Publication number Publication date
JPS62288949A (en) 1987-12-15

Similar Documents

Publication Publication Date Title
CA1322058C (en) Multi-processor computer systems having shared memory and private cache memories
US5652859A (en) Method and apparatus for handling snoops in multiprocessor caches having internal buffer queues
TWI250411B (en) Method, apparatus and system for memory access
JP2881309B2 (en) Integrated circuit, computer system, and method for updating cache block status in a cache in an integrated circuit
US5551005A (en) Apparatus and method of handling race conditions in mesi-based multiprocessor system with private caches
US5737757A (en) Cache tag system for use with multiple processors including the most recently requested processor identification
US6625698B2 (en) Method and apparatus for controlling memory storage locks based on cache line ownership
US5018063A (en) Method for reducing cross-interrogate delays in a multiprocessor system
US4891749A (en) Multiprocessor storage serialization apparatus
US6374332B1 (en) Cache control system for performing multiple outstanding ownership requests
US5765208A (en) Method of speculatively executing store instructions prior to performing snoop operations
JPH03201130A (en) Data processing system
US5263144A (en) Method and apparatus for sharing data between processors in a computer system
JPH0559455B2 (en)
KR940704039A (en) Semaphore bypass
US4385351A (en) Multiprocessor system with apparatus for propagating cache buffer invalidation signals around a circular loop
US5293602A (en) Multiprocessor computer system with dedicated synchronizing cache
US6973541B1 (en) System and method for initializing memory within a data processing system
KR900007135B1 (en) Buffer storage control system having a priority circuit
US6266767B1 (en) Apparatus and method for facilitating out-of-order execution of load instructions
JPH06103476B2 (en) Serialize instruction controller
JP2000132531A (en) Multiprocessor
WO1999032976A1 (en) Risc processor with concurrent snooping and instruction execution
JPH0511337B2 (en)
JPH0353657B2 (en)