JPH0561771A - Partial purge processing system for tlb - Google Patents

Partial purge processing system for tlb

Info

Publication number
JPH0561771A
JPH0561771A JP3223824A JP22382491A JPH0561771A JP H0561771 A JPH0561771 A JP H0561771A JP 3223824 A JP3223824 A JP 3223824A JP 22382491 A JP22382491 A JP 22382491A JP H0561771 A JPH0561771 A JP H0561771A
Authority
JP
Japan
Prior art keywords
partial
register
purge
req
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3223824A
Other languages
Japanese (ja)
Inventor
Hideki Osone
秀樹 大曽根
Hiroshi Asaumi
寛 朝海
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 JP3223824A priority Critical patent/JPH0561771A/en
Publication of JPH0561771A publication Critical patent/JPH0561771A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To efficiently use a TLB while avoiding full purge by suppressing the read of a new instruction when the number of addresses as the objects of partial purge is turned to the maximum number to be held. CONSTITUTION:This system is equipped with a register 1 to hold a signal showing the validity of the address as the object of the partial purge, partial purge control part 2 to issue a partial purge request SR-REQ, and judgement part 5 to issue an instruction read suppressing request INH-IU-REQ and when the signal showing the validity of the address as the object of the partial purge is set to the register 1, the partial purge control part 2 executes the partial purge by issuing the partial purge request SR-REQ. When the judgement part 5 judges that the signal showing the validity for the prescribed number (the maximum number) of addresses is set to the register 1, the instruction read suppressing request INH-IU-REQ is issued so as to suppress the read of the new instruction.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、TLBの部分パージを
行う部分パージ処理方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a partial purging system for partial purging of TLB.

【0002】[0002]

【従来の技術】情報処理装置がTLBを持つ場合、SS
K(Set Storage Key)やIPTE(Invalidate Page Tagl
e Entry)といった命令に対し、TLBを部分パージする
必要がある。複数のCPUが主記憶を共有する場合、部
分パージは全CPUで行う必要があるため、SSK、I
PTE命令をフェッチしたCPUは、MCUを経由して
全CPUに無効化要求BI−REQを送り、これを受け
取った各CPUは該当エントリを無効化する。
2. Description of the Related Art When an information processing device has a TLB, the SS
K (Set Storage Key) and IPTE (Invalidate Page Tagl)
For commands such as e Entry), it is necessary to partially purge the TLB. When multiple CPUs share main memory, partial purge must be performed by all CPUs, so SSK, I
The CPU fetching the PTE instruction sends the invalidation request BI-REQ to all the CPUs via the MCU, and each CPU receiving the invalidation request invalidates the corresponding entry.

【0003】ここで、SSKやIPTE命令が実アドレ
スで指定される命令であるのに対してTLBは論理アド
レスで索引するため、TLBの部分パージを行うため
に、TLBのエントリの全てを検索する必要がある。こ
のため、従来、部分パージの対象となるアドレスを保持
しておくレジスタとして例えばOI−PPAR0、OI
−PPAR1の2つのレジスタをSユニットに持ち、部
分パージ要求SR−REQを発行し、TLBを検索して
該当エントリを消去(部分パージ)するようにしてい
た。そして、部分パージの対象となるアドレスが2つ以
上になってしまった場合、全パージ要求PT−REQを
発行して全てのTLBのエントリを無効化するようにし
ていた(図4の制御の流れ参照)。
Here, while the SSK and IPTE commands are commands designated by real addresses, TLB is indexed by logical address, and therefore all TLB entries are searched in order to perform partial purging of TLB. There is a need. For this reason, conventionally, for example, OI-PPAR0 and OI have been used as registers for holding addresses to be partially purged.
The two units of -PPAR1 are held in the S unit, the partial purge request SR-REQ is issued, the TLB is searched, and the corresponding entry is erased (partial purge). Then, when there are two or more addresses that are the targets of the partial purge, the all purge request PT-REQ is issued to invalidate the entries of all TLBs (control flow of FIG. 4). reference).

【0004】図4は、従来技術の説明図を示す。 は、レジスタOI−PPAR0−VLDに、OI−P
PAR0に持つアドレスが有効であることを示す信号を
保持し、TLBの部分パージ要求SR−REQを発行す
る。
FIG. 4 is an explanatory view of the prior art. Register OI-PPAR0-VLD into OI-P
A signal indicating that the address held in PAR0 is valid is held, and a partial purge request SR-REQ of TLB is issued.

【0005】は、続いて、レジスタOI−PPAR1
−VLDに、OI−PPAR1に持つアドレスが有効で
あることを示す信号を保持し、TLBの部分パージ要求
SR−REQを発行する。
Is followed by register OI-PPAR1
A signal indicating that the address of OI-PPAR1 is valid is held in -VLD, and a partial purge request SR-REQ of TLB is issued.

【0006】は、続いて、3つ目の部分パージのとき
に、レジスタCHG−TO−PTLBに3つ目以降の部
分パージ要求が来たことを示す信号を保持し、TLBの
全パージ要求PT−REQを発行する。
Then, at the time of the third partial purge, the register CHG-TO-PTLB holds a signal indicating that the third and subsequent partial purge requests have come, and the TLB total purge request PT. -Issue REQ.

【0007】以上のの全パージ要求PT−REQの発
行に対応して、TLBの全エントリを無効化する。この
ように、従来は、部分パージ対象のアドレスを2つまで
保持できるが、3つ以上となったときは全パージを行う
ようにしていた。
In response to the above issuance of all purge requests PT-REQ, all TLB entries are invalidated. As described above, conventionally, up to two addresses to be partially purged can be held, but when the number becomes three or more, the entire purge is performed.

【0008】[0008]

【発明が解決しようとする課題】従って、部分パージの
対象となるアドレスが2つ以上保持され、3つ目の無効
化要求がくると、全パージ要求PT−REQを発行して
TLBの全エントリを無効化していたため、再度論理ア
ドレスと実アドレスの対を登録するまで高速に論理アド
レスを実アドレスに変換し得なくなってしまうという問
題があった。
Therefore, when two or more addresses to be partially purged are held and a third invalidation request comes, an all purge request PT-REQ is issued and all TLB entries are issued. However, there is a problem that the logical address cannot be converted into the real address at high speed until the pair of the logical address and the real address is registered again.

【0009】本発明は、TLBの部分パージの対象とな
るアドレスが保持できる最大個数などとなったときに新
たな命令の読込みを抑止し、全パージを回避してTLB
を効率的に使用を行うことを目的としている。
The present invention suppresses the reading of a new instruction when the number of addresses to be partially purged of the TLB reaches the maximum number that can be held, and avoids the entire purge to avoid the TLB.
Is intended to be used efficiently.

【0010】[0010]

【課題を解決するための手段】図1を参照して課題を解
決するための手段を説明する。図1において、レジスタ
1は、TLBの無効化要求BI−REQに対応して、部
分パージの対象となるアドレスが有効であることを示す
信号を所定個数保持するレジスタである。
[Means for Solving the Problems] Means for solving the problems will be described with reference to FIG. In FIG. 1, a register 1 is a register that holds a predetermined number of signals indicating that an address targeted for partial purge is valid, corresponding to a TLB invalidation request BI-REQ.

【0011】部分パージ制御部2は、レジスタ1に部分
パージの対象となるアドレスが有効であることを示す信
号が保持されたとき、部分パージ要求SR−REQを発
行し、TLBの部分パージを行うものである。
The partial purge controller 2 issues a partial purge request SR-REQ to carry out a partial purge of TLB when a signal indicating that the address to be the partial purge target is valid is held in the register 1. It is a thing.

【0012】判定部5は、レジスタ1に保持できる部分
パージの対象となるアドレスが有効であることを示す信
号の個数が所定値(例えば最大値)になったか否かを判
別し、所定値になったときに命令読出抑止要求INH−
IU−REQを発行し、新たな命令の読出の受け付を抑
止するものである。
The judgment unit 5 judges whether or not the number of signals indicating that the address to be partially purged which can be held in the register 1 is valid has reached a predetermined value (for example, maximum value), and the value is set to the predetermined value. INH-
The IU-REQ is issued and reception of reading of a new instruction is suppressed.

【0013】[0013]

【作用】本発明は、図1に示すように、TLBの無効化
要求BI−REQに対応して、部分パージの対象のアド
レスが有効であることを示す信号がレジスタ1に設定さ
れたときに部分パージ制御部2が部分パージ要求SR−
REQを発行してTLBの部分パージを行うと共に、判
定部5がレジスタ1に所定値(例えば最大個数)の部分
パージの対象のアドレスが有効であることを示す信号が
設定されたと判定したときに、命令読出抑止要求INH
−IU−REQを発行して新たな命令の読出を抑止する
ようにしている。
According to the present invention, as shown in FIG. 1, when a signal indicating that the target address of the partial purge is valid is set in the register 1 in response to the TLB invalidation request BI-REQ. The partial purge control unit 2 requests the partial purge SR-
When the REQ is issued to perform the partial purging of the TLB, and the determination unit 5 determines that the signal indicating that the target address of the partial purge having the predetermined value (for example, the maximum number) is valid is set in the register 1. , Instruction read suppression request INH
-IU-REQ is issued to prevent reading of a new instruction.

【0014】従って、TLBの部分パージの対象となる
アドレスが保持できる最大個数などとなったときに新た
な命令の読込みを抑止することにより、全パージを回避
してTLBを効率的に使用し、アドレス変換を高速に行
うことが可能となる。
Therefore, by suppressing the reading of a new instruction when the maximum number of addresses that can be held by the target of partial purging of TLB is reached, all purging is avoided and TLB is used efficiently. It is possible to perform address conversion at high speed.

【0015】[0015]

【実施例】次に、図1から図3を用いて本発明の1実施
例の構成および動作を順次詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the construction and operation of one embodiment of the present invention will be described in detail with reference to FIGS.

【0016】図1は、本発明の1実施例構成図である。
図1の(イ)は、構成図を示す。図1の(イ)におい
て、レジスタ1は、TLBの無効化要求+BI-REQに対応
して、パイプラインレジスタOI-PBTR、OI-JBTRを介し
て、部分パージの対象となるアドレス(実アドレス)が有
効であることを示す信号を所定個数(ここでは2個)保
持するレジスタOI-PRAR0-VLD、OI-PPAR1-VLDである。
尚、アドレスは、図示外のパイプラインレジスタOI-PBA
R、OI-JBARを介してレジスタOI-PPAR0、OI-PPAR1に保持
する。
FIG. 1 is a block diagram of an embodiment of the present invention.
FIG. 1A shows a configuration diagram. In (a) of FIG. 1, the register 1 corresponds to the TLB invalidation request + BI-REQ, and through the pipeline registers OI-PBTR and OI-JBTR, the target address (real address) ) Are registers OI-PRAR0-VLD and OI-PPAR1-VLD which hold a predetermined number (two in this case) of signals indicating that they are valid.
The address is a pipeline register OI-PBA not shown.
It is held in registers OI-PPAR0 and OI-PPAR1 via R and OI-JBAR.

【0017】部分パージ制御部2は、レジスタ1である
レジスタOI-PRAR0-VLD、OI-PPAR1-VLDに部分パージの対
象のアドレス(実アドレス)が有効であることを示す信
号が設定されたときに、このアドレスのTLBの部分パ
ージを行うための部分パージ要求+SR-REQを発行するも
のである。この部分パージ要求+SR-REQの発行に対応し
て、図2のS−UNIT内のTLBの該当するエントリ
を検索して見つけて無効化を行う。
When the partial purge control unit 2 sets a signal indicating that the target address (real address) of the partial purge is valid in the registers OI-PRAR0-VLD and OI-PPAR1-VLD which are the register 1 Then, a partial purge request + SR-REQ for performing a partial purge of the TLB of this address is issued. In response to the issuance of this partial purge request + SR-REQ, the corresponding entry of the TLB in the S-UNIT of FIG. 2 is searched and found to invalidate it.

【0018】レジスタ3であるレジスタCHG-TO-PTLB
は、レジスタOI-PRAR0-VLD、OI-PPAR1-VLDに2つの部分
パージの対象となるアドレスが有効であることを示す信
号を保持し、これ以上の部分パージ対象のアドレスが有
効であることを示す信号が通知されたときにTLBの全
パージを行うための情報を設定するレジスタである。
Register CHG-TO-PTLB which is register 3
Holds a signal in the registers OI-PRAR0-VLD and OI-PPAR1-VLD indicating that the two addresses subject to partial purge are valid, and confirms that more partial purge targets are valid. It is a register for setting information for performing the full purging of the TLB when the signal shown is notified.

【0019】全パージ制御部4は、レジスタ3であるレ
ジスタCHG-TO-PTLBに全パージの情報が設定されたとき
に、TLBの全パージを行うための全パージ要求+PT-RE
Qを発行するものである。この全パージ要求+PT-REQの発
行に対応して、図2のS−UNIT内のTLBの全エン
トリの無効化を行う。
The all purge control unit 4 requests all purge of the TLB + PT-RE when all the purge information is set in the register CHG-TO-PTLB which is the register 3.
Issuing Q. In response to the issuance of all purge request + PT-REQ, all entries of the TLB in S-UNIT in FIG. 2 are invalidated.

【0020】図1の(ロ)は、命令読出抑止要求の判定
説明図を示す。図1の(ロ)において、判定部5は、こ
こでは、レジスタ1であるレジスタOI-PRAR0-VLD、OI-P
PAR1-VLDの2つに部分パージの対象となるアドレスが有
効であることを示す信号が保持されたか判定し、YES
と判明したときに命令読出抑止要求+INH-IU-REQを発行
し、図2のS−UNITがI−UNITからの新たな命
令の読出の受け付けを抑止する。これにより、新たな命
令の読出を抑止し、この間に、部分パージの対象となる
アドレスについてTLBの該当エントリの部分パージを
行い、レジスタOI-PRAR0-VLD、OI-PPAR1-VLDの該当する
ものをクリアする。そして、命令読出抑止要求+INH-IU-
REQを解除し、命令の読出をS−UNITが受け付け、
処理を続行する。
FIG. 1B shows an explanatory diagram for determining the instruction read inhibition request. In FIG. 1B, the determination unit 5 is the register 1 which is the register OI-PRAR0-VLD, OI-P.
It is determined whether or not a signal indicating that the target address of the partial purge is valid is held in two of PAR1-VLD, and YES
When it is found that the instruction read inhibition request + INH-IU-REQ is issued, the S-UNIT in FIG. 2 inhibits the acceptance of the reading of a new instruction from the I-UNIT. As a result, the reading of a new instruction is suppressed, and during this time, the partial purging of the corresponding entry of the TLB is performed for the address targeted for the partial purging, and the corresponding one of the registers OI-PRAR0-VLD and OI-PPAR1-VLD is deleted. clear. And instruction read suppression request + INH-IU-
Release REQ, S-UNIT accepts the reading of the instruction,
continue processing.

【0021】判定部5−1は、レジスタ1、レジスタ3
に部分パージの対象のアドレスが有効であることを示す
信号を設定するか否かを判定するものである。判定部5
−2は、レジスタ1であるレジスタOI-PPAR0-VLDに部分
パージの対象のアドレス(実アドレス)が有効であること
を示す信号が設定されていないかを判定し、設定されて
いなかったときに+SET-OI-PPAR0-VLDによって、部分パ
ージの対象のアドレスが有効であることを示す信号をレ
ジスタOI-PPAR0-VLDに設定するものである。
The judging section 5-1 includes a register 1 and a register 3
It is to determine whether or not to set a signal indicating that the address of the partial purge target is valid. Judgment unit 5
-2 judges whether the signal indicating that the target address (real address) of the partial purge is valid is set in register OI-PPAR0-VLD which is register 1, and when it is not set, By + SET-OI-PPAR0-VLD, a signal indicating that the target address of the partial purge is valid is set in the register OI-PPAR0-VLD.

【0022】判定部5−3は、同様に、レジスタ1であ
るレジスタOI-PPAR0-VLDに部分パージの対象のアドレス
が有効であることを示す信号が設定され(+OI-PPAR0-VL
D)、かつレジスタOI-PPAR1-VLDに部分パージの対象のア
ドレスが有効であることを示す信号が設定されていない
(-OI-PPAR1-VLD)かを判定し、YESのときに+SET-OI-P
PAR1-VLDによって、部分パージの対象のアドレスが有効
であることを示す信号をレジスタOI-PPAR1-VLDに設定す
るものである。
Similarly, the determination unit 5-3 sets a signal indicating that the address of the partial purge target is valid in the register OI-PPAR0-VLD which is the register 1 (+ OI-PPAR0-VLD).
D), and the signal indicating that the target address of the partial purge is valid is not set in the register OI-PPAR1-VLD.
(-OI-PPAR1-VLD), and if YES, + SET-OI-P
PAR1-VLD sets a signal indicating that the target address of the partial purge is valid in the register OI-PPAR1-VLD.

【0023】判定部5−4は、同様に、レジスタ1であ
るレジスタOI-PPAR0-VLDに部分パージの対象のアドレス
が有効であることを示す信号が設定され(+OI-PPAR0-VL
D)、かつレジスタOI-PPAR1-VLDに部分パージの対象のア
ドレスが有効であることを示す信号が設定され(+OI-PPA
R1-VLD)ているかを判定し、YESのときに+SET-CHG-TO
-PTLBによって、全パージの情報をレジスタCHG-TO-PTLB
に設定するものである。
Similarly, in the judging section 5-4, a signal indicating that the address of the partial purge target is valid is set in the register OI-PPAR0-VLD which is the register 1 (+ OI-PPAR0-VLD).
D) and a signal indicating that the target address of the partial purge is valid is set in the register OI-PPAR1-VLD (+ OI-PPA
(R1-VLD), and if YES, + SET-CHG-TO
-Register CHG-TO-PTLB with information on all purges via PTLB
To be set to.

【0024】図2は、本発明の全体構成図を示す。図2
において、CPU0、CPU1は、中央処理装置であっ
て、S−UNIT(Storage UNIT)、I−UNIT(Instr
uction UNIT)、E−UNIT(Execution UNIT)から構成
されている。I−UNITは、S−UNITにIU-REQを
送りこむことで命令の読み込みを要求し、S−UNIT
のCHE(キャッシュメモリ)から受け取った命令の実
行を制御する。S−UNITは、BI-REQ(無効化要求)、
MI-REQ(ムーブイン要求、MSU(主記憶)からデー
タ、命令などをCHEに読み込む要求)、TR-REQ(動的
アドレス変換要求)、SR-REQ(部分パージすべきTLB
の探索要求)、PT-REQ(TLBの全パージ要求)、IU-R
EQ(CHEから命令をI−UNITに読み込む要求)を
実行する。
FIG. 2 shows the overall configuration of the present invention. Figure 2
In the above, CPU0 and CPU1 are central processing units, and are S-UNIT (Storage UNIT) and I-UNIT (Instr
Auction UNIT) and E-UNIT (Execution UNIT). I-UNIT requests reading of instructions by sending IU-REQ to S-UNIT, and S-UNIT
Control execution of instructions received from the CHE (cache memory). S-UNIT is BI-REQ (invalidation request),
MI-REQ (move-in request, request to read data, command, etc. from MU (main memory) to CHE), TR-REQ (dynamic address translation request), SR-REQ (TLB to be partially purged)
Search request), PT-REQ (TLB purge request), IU-R
Execute EQ (request to read command from CHE to I-UNIT).

【0025】ここで、SSK、IPTEが実アドレスで指定さ
れる命令であるのに対してTLBが論理アドレスで索引
する。このため、TLBの部分パージのために全TLB
を検索する必要があり、部分パージの対象となるアドレ
ス(実アドレス)が有効であることを示す信号を保持す
るレジスタOI-PPAR0-VLD、OI-PPAR1-VLDの2つのレジス
タ1をS−UNIT内に設け、これらレジスタOI-PPAR0
-VLD、OI-PPAR1-VLDが図1の(ロ)の既述した判定部5
−1、5−2、5−3によってパイプラインを伝わって
きたアドレス(部分パージの対象の実アドレス)が有効
であることを示す信号をセットする。このセットした
後、部分パージ制御部2であるPPTLB CONTROLが部分パ
ージ要求+SR-REQを発行し、部分パージすべきTLBの
エントリの探索を要求して無効化する。
Here, while SSK and IPTE are instructions designated by real addresses, TLB is indexed by logical addresses. For this reason, it is necessary to partially purge the TLB and
, And the two registers 1 of OI-PPAR0-VLD and OI-PPAR1-VLD that hold the signal indicating that the address (real address) that is the target of partial purge is valid are S-UNIT Provided inside these registers, these registers OI-PPAR0
-VLD and OI-PPAR1-VLD are the above-mentioned decision unit 5 in FIG.
A signal indicating that the address (actual address of the partial purge target) transmitted through the pipeline by -1, 5-2, 5-3 is valid is set. After this setting, the PPTLB CONTROL which is the partial purge control unit 2 issues a partial purge request + SR-REQ to request the search of the entry of the TLB to be partially purged and invalidate it.

【0026】そして、レジスタOI-PPAR0-VLD、OI-PPAR1
-VLDの2つにBI要求(無効化要求)のあった実アドレスが
有効であることを示す信号が残っていた場合に更に次の
部分パージ要求がパイプラインを伝わってきた場合、TL
Bを全パージする必要があり、これが図1の(ロ)の判
定部5−4によって検出されたとき、+SET-CHG-TO-PTLB
によってレジスタ3であるレジスタCHG-TO-PTLBにセッ
トされたとき、全パージ制御部4であるPTLB CONTROLが
全パージ要求+PT-REQを発行し、TLBの全パージの要
求を行い、TLBの全エントリを無効化する。
The registers OI-PPAR0-VLD, OI-PPAR1
-If a signal indicating that the real address for which a BI request (invalidation request) has been issued to two VLDs remains valid, and if the next partial purge request is transmitted to the pipeline, TL
It is necessary to completely purge B, and when this is detected by the determination unit 5-4 in (b) of FIG. 1, + SET-CHG-TO-PTLB
When it is set in the register CHG-TO-PTLB which is the register 3 by the PTLB controller, the PTLB CONTROL which is the all purge control unit 4 issues the all purge request + PT-REQ to request all the purges of the TLBs and all the TLBs. Invalidate the entry.

【0027】次に、図3を用いて図1および図2の構成
の動作を詳細に説明する。図3において、S1は、命令
読み込みを行う。これは、I−UNITが命令の読込要
求IU-REQをS−UNITに発行したことに対応して、S
−UNITがCHE(キャッシュメモリ)から命令を読
み出してI−UNITに渡す。
Next, the operation of the configuration shown in FIGS. 1 and 2 will be described in detail with reference to FIG. In FIG. 3, S1 reads an instruction. This corresponds to the I-UNIT issuing the instruction read request IU-REQ to the S-UNIT, and S
-UNIT reads the instruction from CHE (cache memory) and passes it to I-UNIT.

【0028】S2は、S1で渡された命令として、TL
Bエントリの消去命令である例えばSSKあるいはIPTEを
実行する。これに対応して、図2ののルートでSSKやI
PTEをMCUに通知する。
S2 is TL as the instruction passed in S1.
For example, SSK or IPTE which is a B entry erasing command is executed. Corresponding to this, SSK and I
Notify PTE to MCU.

【0029】S3は、S2に対応して、図2ののルー
トでMCUが全てのCPUのS−UNITにBI実行を
要求する(無効化要求BI-REQを要求する)。この無効化
要求BI-REQを受け取ったS−UNITは、図1の(ロ)
の判定部によって既にレジスタ1を構成するレジスタOI
-PPAR0-VLD、OI-PPAR1-VLDの2つのうち、部分パージの
対象のアドレス(実アドレス)が有効であることを示す
信号が“2つ目まで”のときにS4に進み、“2つ目に
なった”ときにS5に進み、“3つ目から”のときにS
7に進む。
In step S3, corresponding to step S2, the MCU requests the S-UNITs of all CPUs to execute BI through the route of FIG. 2 (requests the invalidation request BI-REQ). The S-UNIT receiving this invalidation request BI-REQ is (B) in FIG.
Register OI that already configures register 1 by the determination unit of
-If the signal indicating that the target address (real address) of the partial purge is valid of "PPAR0-VLD" and "OI-PPAR1-VLD" is "up to the second", proceed to S4 and select "2 When it is "visible," go to S5, and when "from the third", S
Proceed to 7.

【0030】S4は、S−UNIT内のレジスタOI-PPA
R0-VLD、OI-PPAR1-VLDの2つのうち、部分パージの対象
のアドレス(実アドレス)が有効であることを示す信号
が“2つ目まで”設定、即ちアドレスが有効であること
を示す信号が1つあるいは2つ設定されたので、図1の
(イ)の部分パージ制御部2が部分パージ要求+SR-REQ
を発行してTLBの部分パージを行う(該当エントリの
無効化を行う)。そして、該当するレジスタOI-PPAR0-V
LD、OI-PPAR1-VLDに設定されたアドレスが有効であるこ
とを示す信号をクリア(無効化)する。
S4 is a register OI-PPA in S-UNIT.
Of the two R0-VLD and OI-PPAR1-VLD, the signal indicating that the target address (real address) of the partial purge is valid is set to "up to the second", that is, the address is valid. Since one or two signals have been set, the partial purge control unit 2 of FIG.
Is issued to partially purge the TLB (invalidate the corresponding entry). And the corresponding register OI-PPAR0-V
Clears (disables) the signal that indicates that the address set in LD and OI-PPAR1-VLD is valid.

【0031】S5は、S−UNIT内のレジスタOI-PPA
R0-VLD、OI-PPAR1-VLDの2つのうち、部分パージの対象
のアドレス(実アドレス)が有効であることを示す信号
が“2つ目になった”ので、図1の(ロ)の判定部5が
命令抑止要求+INH-IU-REQを発行し、I−UNITから
の新たな命令読込要求の受付を抑止する。これにより、
新たなBI-REQが発生しなく、TLBの全パージが生じな
いようにする。この命令抑止要求+INH-IU-REQを発行し
て新たな命令読込を抑止している間に、S4によってT
LBの部分パージが実行された場合、S6で命令抑止要
求+INH-IU-REQを解除し、S1に進む。
S5 is a register OI-PPA in S-UNIT.
Of the two R0-VLD and OI-PPAR1-VLD, the signal indicating that the target address (real address) of the partial purge is valid "became the second", so that The determination unit 5 issues an instruction suppression request + INH-IU-REQ and suppresses acceptance of a new instruction read request from the I-UNIT. This allows
Make sure that no new BI-REQ is generated and the TLB is not completely purged. While issuing this command suppression request + INH-IU-REQ and suppressing the reading of new commands,
When the partial purge of the LB is executed, the instruction suppression request + INH-IU-REQ is released in S6, and the process proceeds to S1.

【0032】S7は、S−UNIT内のレジスタOI-PPA
R0-VLD、OI-PPAR1-VLDの2つに部分パージの対象のアド
レス(実アドレス)が有効であることを示す信号が既に
設定されており、“3つ目から”図1の(ロ)の判定部
5−4が+SET-CHG-TO-PTLBによって、図1の(イ)のレ
ジスタCHG-TO-PTLBにセットしたとき、全パージ制御部
4が全パージ要求+PT-REQを発行して、TLBの全エン
トリの無効化を行う(全パージを行う)。
S7 is a register OI-PPA in S-UNIT.
A signal indicating that the target address (real address) of the partial purge is valid has already been set in two of R0-VLD and OI-PPAR1-VLD, and "from the third" of Fig. 1 (b). When the determination unit 5-4 of 4 sets the register CHG-TO-PTLB of (a) of FIG. 1 by + SET-CHG-TO-PTLB, the all purge control unit 4 issues the all purge request + PT-REQ. Then, all entries in the TLB are invalidated (all purges are performed).

【0033】以上によって、図1の(イ)のレジスタ1
を構成する2つのレジスタOI-PPAR0-VLD、OI-PPAR1-VLD
に部分パージ対象のアドレスが有効であることを示す信
号がここでは2つ設定されたときに、S5で新たな命令
の読込みを抑止するため、全パージが発生しないように
し、この間に部分パージを行った後に新たな命令の読込
みを再開することにより、TLBの全パージの発生を抑
止し、当該TLBを効率的に使用することが可能とな
る。
From the above, the register 1 of FIG.
Registers that make up OI-PPAR0-VLD, OI-PPAR1-VLD
When two signals indicating that the address of the partial purge target is valid are set here, in order to prevent the reading of a new instruction in S5, the entire purge is prevented from occurring and the partial purge is performed in the meantime. By restarting the reading of a new instruction after the execution, it is possible to prevent the TLB from being completely purged and to efficiently use the TLB.

【0034】尚、以上説明した実施例の図1の(イ)、
(ロ)では、部分パージの対象となるアドレスが有効で
あることを示す信号を2つレジスタ1に設定することが
できるとして説明したが、これを3つ、更に多数のアド
レスが有効であることを示す信号を設定できるとして
も、同様に、最大個数のアドレスが有効であることを示
す信号が設定(あるいは既に無効化要求BI-REQされてパ
イプライン中に存在する部分パージの対象のアドレスが
有効であることを示す信号を予想した分を考慮して(最
大個数−所定個数)のアドレスが有効であることを示す
信号が設定)されたときに、新たな命令の読込みを抑止
するようにしてもよい。
Incidentally, FIG. 1A of the embodiment described above,
In (b), it was explained that two signals indicating that the target address of the partial purge is valid can be set in the register 1. However, three signals, that is, a larger number of addresses are valid. Even if it is possible to set the signal indicating that the maximum number of addresses is valid, the signal indicating that the maximum number of addresses is valid is set (or the invalidation request BI-REQ has already been issued and the target address of partial purge existing in the pipeline When a signal indicating that a valid address signal is set (a signal indicating that the maximum number-predetermined number) is valid is set, the reading of a new instruction is suppressed. May be.

【0035】[0035]

【発明の効果】以上説明したように、本発明によれば、
TLBの部分パージの対象となるアドレスが保持できる
所定値(例えば最大個数)となったときに新たな命令の読
込みを抑止する構成を採用しているため、TLBの全パ
ージを回避して当該TLBを効率的に使用し、アドレス
変換を高速に行うことができる。
As described above, according to the present invention,
Since a configuration is adopted in which the reading of a new instruction is suppressed when the address to be the target of the partial purging of the TLB reaches a predetermined value (for example, the maximum number) that can be held, the entire purging of the TLB is avoided and the relevant TLB is avoided. Can be used efficiently and address translation can be performed at high speed.

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

【図1】本発明の1実施例構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】本発明の全体構成図である。FIG. 2 is an overall configuration diagram of the present invention.

【図3】本発明の動作説明図である。FIG. 3 is an operation explanatory diagram of the present invention.

【図4】従来技術の説明図である。FIG. 4 is an explanatory diagram of a conventional technique.

【符号の説明】 1:部分パージの対象となるアドレスが有効であること
を示す信号を設定するレジスタ 2:部分パージ制御部 3:レジスタ 4:全パージ制御部 5、5−1ないし5−4:判定部
[Description of Reference Signs] 1: Register for setting a signal indicating that an address to be partially purged is valid 2: Partial purge control unit 3: Register 4: All purge control unit 5, 5-1 to 5-4 : Judgment part

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 TLBの部分パージを行う部分パージ処
理方式において、 TLBの無効化要求BI−REQに対応して、部分パー
ジの対象となるアドレスが有効であることを示す信号を
所定個数保持するレジスタ(1)と、 このレジスタ(1)に部分パージの対象となるアドレス
が有効であることを示す信号が保持されたとき、部分パ
ージ要求SR−REQを発行する部分パージ制御部
(2)と、 上記レジスタ(1)に保持できる部分パージの対象とな
るアドレスが有効であることを示す信号の個数が所定値
(例えば最大値)になったか否かを判別し、所定値にな
ったときに命令読出抑止要求INH−IU−REQを発
行する判定部(5)とを備え、 上記レジスタ(1)に部分パージの対象のアドレスが有
効であることを示す信号が設定されたときに上記部分パ
ージ制御部(2)が部分パージ要求SR−REQを発行
してTLBの部分パージを行うと共に、上記判定部
(5)が上記レジスタ(1)に所定値(例えば最大個
数)の部分パージの対象のアドレスが有効であることを
示す信号が設定されたと判定したときに、命令読出抑止
要求INH−IU−REQを発行して新たな命令の読出
を抑止するように構成したことを特徴とするTLBの部
分パージ処理方式。
1. A partial purge processing method for partial purging of a TLB, which holds a predetermined number of signals indicating that an address targeted for partial purging is valid in response to a TLB invalidation request BI-REQ. A register (1) and a partial purge control unit (2) that issues a partial purge request SR-REQ when a signal indicating that the address to be partially purged is valid is held in the register (1). , It is determined whether or not the number of signals indicating that the target address of the partial purge that can be held in the register (1) is valid has reached a predetermined value (for example, the maximum value), and when the predetermined value is reached, The instruction read suppression request INH-IU-REQ is issued, and a signal indicating that the target address of the partial purge is valid is set in the register (1). When the partial purge control unit (2) issues a partial purge request SR-REQ to perform the partial purge of the TLB, the determination unit (5) sets the register (1) to a predetermined value (for example, the maximum number). Is configured to issue a command read inhibition request INH-IU-REQ to inhibit the reading of a new instruction when it is determined that the signal indicating that the target address of the partial purge is set is valid. Partial purging method of TLB, characterized by:
JP3223824A 1991-09-04 1991-09-04 Partial purge processing system for tlb Pending JPH0561771A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3223824A JPH0561771A (en) 1991-09-04 1991-09-04 Partial purge processing system for tlb

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3223824A JPH0561771A (en) 1991-09-04 1991-09-04 Partial purge processing system for tlb

Publications (1)

Publication Number Publication Date
JPH0561771A true JPH0561771A (en) 1993-03-12

Family

ID=16804298

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3223824A Pending JPH0561771A (en) 1991-09-04 1991-09-04 Partial purge processing system for tlb

Country Status (1)

Country Link
JP (1) JPH0561771A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56156980A (en) * 1980-05-01 1981-12-03 Nec Corp Data processor
JPS60178551A (en) * 1984-02-25 1985-09-12 Fujitsu Ltd Address conversion buffer control system
JPS6398049A (en) * 1986-10-14 1988-04-28 Fujitsu Ltd Bus control system in buffer nullifying processing
JPS6478342A (en) * 1987-09-19 1989-03-23 Pfu Ltd Invalidation processing system for cache memory

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56156980A (en) * 1980-05-01 1981-12-03 Nec Corp Data processor
JPS60178551A (en) * 1984-02-25 1985-09-12 Fujitsu Ltd Address conversion buffer control system
JPS6398049A (en) * 1986-10-14 1988-04-28 Fujitsu Ltd Bus control system in buffer nullifying processing
JPS6478342A (en) * 1987-09-19 1989-03-23 Pfu Ltd Invalidation processing system for cache memory

Similar Documents

Publication Publication Date Title
US5490261A (en) Interlock for controlling processor ownership of pipelined data for a store in cache
US4463420A (en) Multiprocessor cache replacement under task control
US4626988A (en) Instruction fetch look-aside buffer with loop mode control
US5146603A (en) Copy-back cache system having a plurality of context tags and setting all the context tags to a predetermined value for flushing operation thereof
US20090216949A1 (en) Method and system for a multi-level virtual/real cache system with synonym resolution
US9652385B1 (en) Apparatus and method for handling atomic update operations
JPH11506852A (en) Reduction of cache snooping overhead in a multi-level cache system having a large number of bus masters and a shared level 2 cache
US5426754A (en) Cross-interrogate method and means for combined scaler and vector processing system
US5590310A (en) Method and structure for data integrity in a multiple level cache system
JP3862959B2 (en) Microprocessor load / store instruction control circuit and load / store instruction control method
US5367657A (en) Method and apparatus for efficient read prefetching of instruction code data in computer memory subsystems
US5479629A (en) Method and apparatus for translation request buffer and requestor table for minimizing the number of accesses to the same address
JPH10501914A (en) Shared cache memory device
JPH0561771A (en) Partial purge processing system for tlb
US6401172B1 (en) Recycle mechanism for a processing agent
US6385703B1 (en) Speculative request pointer advance for fast back-to-back reads
JP3171639B2 (en) Data processing device
JP2982197B2 (en) Bus monitor circuit for cache
JP3757768B2 (en) Issuing control system for scalar memory access instruction during vector memory access
JPH1185613A (en) Cache memory
JP3088293B2 (en) Cache memory storage consistency control device and storage consistency control method
JPH02259945A (en) Storing processing system
JP2000259495A (en) Cache memory control method and multiprocessor system
JPH113288A (en) Cache memory device and fault control method for cache memory
JP2001202286A (en) Flash control circuit for cache memory and its control method

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19970708