JPH0812641B2 - TLB entry control method - Google Patents

TLB entry control method

Info

Publication number
JPH0812641B2
JPH0812641B2 JP63267264A JP26726488A JPH0812641B2 JP H0812641 B2 JPH0812641 B2 JP H0812641B2 JP 63267264 A JP63267264 A JP 63267264A JP 26726488 A JP26726488 A JP 26726488A JP H0812641 B2 JPH0812641 B2 JP H0812641B2
Authority
JP
Japan
Prior art keywords
tlb
pair
address
entry
conversion
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 - Fee Related
Application number
JP63267264A
Other languages
Japanese (ja)
Other versions
JPH02114346A (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 JP63267264A priority Critical patent/JPH0812641B2/en
Publication of JPH02114346A publication Critical patent/JPH02114346A/en
Publication of JPH0812641B2 publication Critical patent/JPH0812641B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】 〔概要〕 複数のウェイ(WAY)によって構成されるTLBの制御に
関し、 仮想アドレスと実アドレスが等しい場合の変換対の登
録を合理的に行うことの可能な制御方式を提供すること
を目的とし、 仮想アドレスを絶体アドレスに変換する第1の変換対
と、実アドレスを絶体アドレスに変換する第2の変換対
とを保持する手段と、上記第1の変換対を用いる状態で
あるか、第2の変換対を用いる状態であるか、あるい
は、第1の変換対と第2の変換対とを共に用いることが
可能であるかを示す情報を保持する手段と、第1の変換
対と第2の変換対とを共に用いることが可能である変換
対を登録するとき、上記一方の変換対に他方の変換対が
包含されることを抑止する手段とを設けることにより構
成する。
DETAILED DESCRIPTION [Overview] Regarding control of a TLB composed of a plurality of ways (WAYs), a control method capable of rationally registering a translation pair when a virtual address and a real address are the same is described. Means for retaining a first translation pair for translating a virtual address into an absolute address and a second translation pair for translating a real address into an absolute address, and the first translation pair And a means for holding information indicating whether the second transform pair is used, or whether the first transform pair and the second transform pair can be used together. , A means for preventing the inclusion of the other conversion pair in the one conversion pair when registering the conversion pair in which the first conversion pair and the second conversion pair can be used together Configured by

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

本発明は、情報処理装置のCPU内にアドレス交換の高
速化を図るため設けられた変換索引緩衝機構(以下TLB
と言う)に関し、特に仮想アドレスから絶体アドレスへ
の変換と、実アドレスから絶体アドレスへの変換の2ウ
ェイ(WAY)の構成を採るTLBにおいて、仮想アドレスと
実アドレスが等しい場合の変換対の登録を合理的に行う
ことの可能なTLB制御方式に係る。
The present invention is a translation index buffering mechanism (hereinafter referred to as TLB) provided in the CPU of an information processing device to speed up address exchange
In particular, in a TLB that adopts a two-way (WAY) configuration of translation from virtual address to absolute address and translation from real address to absolute address, translation pair when virtual address and real address are equal It relates to a TLB control method that can reasonably perform registration of.

〔従来の技術〕[Conventional technology]

第2図は情報処理装置の構成の例を示す図であって、
51は中央処理装置(以下CPUとも言う)、52は主記憶制
御装置(以下MCUとも言う)、53は主記憶(以下MSUとも
言う)、を表している。
FIG. 2 is a diagram showing an example of the configuration of the information processing device,
Reference numeral 51 represents a central processing unit (hereinafter also referred to as CPU), 52 represents a main memory control unit (hereinafter also referred to as MCU), and 53 represents main memory (hereinafter also referred to as MSU).

同図に示すようにCPU51は、命令の実行制御を行うI
ユニット54(以下IUとも言う)と、演算を行うEユニッ
ト55(以下EUとも言う)と、データの読み出し/書き込
みを行うSユニット56(以下SUとも言う)の3ユニット
より構成される。さらにSユニット56は、主記憶装置の
一部の写しを保持するキャッシュ・メモリ57と、仮想記
憶機構として、動的アドレス変換部(DAT)と変換索引
緩衝機構58(TLB)を具備する。
As shown in the figure, the CPU 51 controls the execution of instructions.
A unit 54 (hereinafter also referred to as IU), an E unit 55 (hereinafter also referred to as EU) that performs calculation, and an S unit 56 (hereinafter also referred to as SU) that reads / writes data are composed of three units. Further, the S unit 56 comprises a cache memory 57 for holding a copy of a part of the main memory, and a dynamic address translator (DAT) and a translation index buffer 58 (TLB) as a virtual memory mechanism.

IU54からの主記憶アクセス要求は、IU−REQ信号によ
りなされる。IU−REQ信号がオンのときのIU−REQ−ADRS
/IU−REQ−IDに応じて、SU56は主記憶の読み込み/書き
込み制御を行う。IU−REQ−IDが読み込み指示であった
場合には、それが命令フェッチであればIU54に、オペラ
ンドフェッチであればEU55に、それぞれCACHE−DATAの
信号でIWR59,あるいはOWR60に読み込みデータをストア
する。またIU−REQ−IDが書き込み指示であった場合に
は、EUよりSTORE−DATAの信号を受け取り、ストア処理
を実行する。
The main memory access request from the IU 54 is made by the IU-REQ signal. IU-REQ-ADRS when IU-REQ signal is on
In accordance with / IU-REQ-ID, SU56 controls main memory read / write. If the IU-REQ-ID is a read instruction, the read data is stored in IU54 if it is an instruction fetch, in EU55 if it is an operand fetch, and in IWR59 or OWR60 by the CACHE-DATA signal. . If the IU-REQ-ID is a write instruction, a STORE-DATA signal is received from the EU and a store process is executed.

読み込み制御で、REQ−ADRSのデータがキャッシュ57
に存在しなかった場合、SU57はMCU52に対して主記憶フ
ェッチ要求を行う。SU56からの該主記憶フェッチ要求
は、MS−REQ信号によりなされる。MS−REQ信号がオンの
ときのMS−REQ−ADRS/MS−REQ−IDに従ってMCU52は主記
憶フェッチを開始し、MSU53にアクセスして結果をMS−D
ATAの信号でSU56に送る。SU56はこのMS−DATAを受け取
り、キャッシュに格納すると共に、IU54あるいはEU55に
結果を報告する。
Data of REQ-ADRS is cached by read control 57
If not present, the SU 57 issues a main memory fetch request to the MCU 52. The main memory fetch request from SU56 is made by the MS-REQ signal. The MCU 52 starts main memory fetch according to MS-REQ-ADRS / MS-REQ-ID when the MS-REQ signal is on, accesses MSU53 and outputs the result to MS-D.
Send it to SU56 by ATA signal. SU56 receives this MS-DATA, stores it in the cache, and reports the result to IU54 or EU55.

書き込み制御の場合、SU56はキャッシュ57にストアを
行うと共に、MCU52に対して主記憶ストアを要求を行
う。MCU52はMS−REQ/MS−REQ−ADRS/MS−REQ−ID/MS−D
ATAに従って主記憶ストアを行うべくMSU53にアクセスし
てストアを実行する。
In the case of write control, the SU 56 stores in the cache 57 and requests the MCU 52 for main memory store. MCU52 is MS-REQ / MS-REQ-ADRS / MS-REQ-ID / MS-D
Access MSU53 to execute main store according to ATA.

第3図は前記Sユニットの構成の例を示す図である。 FIG. 3 is a diagram showing an example of the configuration of the S unit.

Sユニット(SU)は4サイクルよりなるパイプライン
を具備し、それぞれPサイクル、Tサイクル、Bサイク
ル、Rサイクルと呼ぶ。
The S unit (SU) has a pipeline of 4 cycles and is called a P cycle, a T cycle, a B cycle and an R cycle, respectively.

Pサイクルでは、IUよりのリクエスト(IU−REQ/IU−
REQ−ADRS/IU−REQ−ID)を受け取り、IU−REQ−ADRSを
TLAR61(Tcycle−Logical−Address−Register)に格納
する。
In P cycle, request from IU (IU-REQ / IU-
REQ-ADRS / IU-REQ-ID) and receive IU-REQ-ADRS
Store in TLAR61 (Tcycle-Logical-Address-Register).

Tサイクルでは、TLAR61の一部でTLB62を索引すると
共に、TLAR61の別の一部でキャッシュ63のディレクトリ
部(CACHE−DIR)を索引する。キャッシュ63のディレク
トリ部には、データ・アレイ部の各ブロックの有効性を
示すバリッド・ビットと絶対アドレスが格納されてい
る。また、キャッシュは複数のWAYより構成されてお
り、Tサイクルでキャッシュの各WAYより索引されたデ
ィレクトリ情報は、TLB62より読み出された絶対アドレ
スと並列でマッチが取られ、結果がMWNR64(Match−Way
−Number−Register)に格納される。この際に、全ての
WAYでマッチが得られなかった場合には、キャッシュ・
ミスとなり、後続のRサイクルより主記憶フェッチ動作
が開始される。また、TLB62がミス・ヒットした場合に
は、TMHR65(TLB−MissHit−Register)がセットされ
る。
In the T cycle, the TLB 62 is indexed by a part of the TLAR 61, and the directory part (CACHE-DIR) of the cache 63 is indexed by another part of the TLAR 61. The directory portion of the cache 63 stores valid bits and absolute addresses indicating the validity of each block of the data array portion. The cache is composed of multiple ways, and the directory information indexed from each way of the cache in the T cycle is matched in parallel with the absolute address read from the TLB62, and the result is MWNR64 (Match- Way
-Number-Register). At this time, all
If you don't get a match on WAY,
A miss occurs and the main memory fetch operation is started from the subsequent R cycle. When TLB62 misses, TMHR65 (TLB-MissHit-Register) is set.

Bサイクルでは、MWNR64に示されるキャッシュのデー
タ・アレイ部(CACHE−DAR)に対して読み込み/書き込
み処理が行われ、読み込みであれば、結果をIWR66ある
いはOWR67に格納する。また、TLBミス・ヒットの場合に
はここでDAT68が起動される。
In cycle B, read / write processing is performed on the data array section (CACHE-DAR) of the cache indicated by MWNR64, and if read, the result is stored in IWR66 or OWR67. In the case of a TLB miss hit, DAT68 is activated here.

Rサイクルでは、MCUアクセスを行う。 In the R cycle, MCU access is performed.

第4図はTLBの内部構成の例を示す図である。TLBは、
プライマリイ(PRIMARY)72,およびオルタネート(ALTE
RNATE)73の2つのWAYにより構成されており、以下の各
エントリ情報は双方のWAYに同様に格納されている。
FIG. 4 is a diagram showing an example of the internal configuration of the TLB. TLB is
PRIMARY 72, and Alternate (ALTE
RNATE) 73 two ways, and the following entry information is stored in both ways similarly.

TLB71にはSTATUS74a,74bLOG−ADRS75a,75bSYS−ADRS7
6a,76bSPACE−ID77a,77bDOMAIN−ID78a,78bの各5つの
情報が格納される。
TLB71 has STATUS74a, 74bLOG-ADRS75a, 75bSYS-ADRS7
6a, 76b SPACE-ID77a, 77b DOMAIN-ID 78a, 78b each five pieces of information is stored.

STATUS74a,74bは、そのエントリの有効性を示すValid
ビットと、LOG−ADRS75a,75b(論理アドレス)が仮想ア
ドレスであるか実アドレスであるかを示すVビットとR
ビット、さらにコモン・セグメントを示すCSビットなど
により構成される。VビットとRビットとの関係を第1
表に示す。なお、V=R=0とV=R=1のケースは禁
止条件となっている。
STATUS74a and 74b are Valid indicating the validity of the entry.
Bit, V bit and R indicating whether LOG-ADRS75a, 75b (logical address) is a virtual address or a real address
It is composed of bits and CS bits that indicate common segments. First, the relationship between the V bit and the R bit
Shown in the table. The cases of V = R = 0 and V = R = 1 are prohibited conditions.

SYS−ADRS76a,76b(絶対アドレス)は、DATの変換結
果を格納したもので、システムアドレスである。
SYS-ADRS76a, 76b (absolute address) stores the conversion result of DAT and is a system address.

SPACE−ID77a,77bは、マルチ・バーチャルにおける空
間の識別情報が格納される。STAUSのCSビットがオンで
ある場合には、このエントリは無視される。
SPACE-IDs 77a and 77b store identification information of spaces in multi-virtual. This entry is ignored if the CS bit in STAUS is on.

DOMAIN−ID78a,78bは、VM(仮想マシン)モードにお
けるVMの識別情報が格納される。
The DOMAIN-IDs 78a and 78b store VM identification information in the VM (virtual machine) mode.

以上の各情報は、TサイクルのTLB索引と同時にチェ
ックされ、全てがマッチした場合のみTLBヒットとな
る。それ以外の場合にはTLBミス・ヒットとなり、DATが
起動される。DATは所定の変換テーブルを参照して変換
を行い、結果をTLBに送る。なお、ここでDATはプレフィ
ックス変換などの実アドレス→絶対アドレス変換も合わ
せ実行する。
Each of the above information is checked at the same time as the TLB index of the T cycle, and only when all match, it becomes a TLB hit. In other cases, TLB miss hit occurs and DAT is started. The DAT performs conversion by referring to a predetermined conversion table and sends the result to the TLB. Note that the DAT also executes real address → absolute address conversion such as prefix conversion.

TLB71はDATの結果(SYS−ADRS)を受け取ると、プラ
イマリイ72あるいはオルタネート73のどちらかの空きエ
ントリに結果を格納する。もしもどちらのWAYにも空き
がなければ、HOT&COLDのアルゴリズムによって置き換
えWAYの候補(TLB−H&C−REPL)を選びだす。実際に
は、このHOT&COLDのアルゴリズムの為に、TLBの参照履
歴として最も最近にアクセスされたWAY番号(0/1)をエ
ントリ毎に登録するREPLACE−ARRAYを具備しており、DA
T結果のTLB登録時には、このエントリ情報がTLB−H&
C−REPLとして読み出される。
When the TLB 71 receives the DAT result (SYS-ADRS), it stores the result in the empty entry in either the primary 72 or the alternate 73. If there is no vacancy in either WAY, a replacement WAY candidate (TLB-H & C-REPL) is selected by the HOT & COLD algorithm. Actually, because of this HOT & COLD algorithm, it is equipped with REPLACE-ARRAY that registers the most recently accessed WAY number (0/1) for each entry as the reference history of TLB.
When the T result TLB is registered, this entry information is TLB-H &
It is read as C-REPL.

コモン・セグメントのエントリを登録する場合、2つ
のウェイ(WAY)でTLB同時マッチングが起きると、ハー
ドウェア障害と見做されてマシンチェックとなってしま
うため、それを防止するために、登録するWAYと反対のW
AYのエントリ情報が、コモン・セグメントのエントリ登
録情報に包含されないように注意しなければならず、そ
のためには、TLB−H&C−REPLの信号だけでは不十分
である。
When registering an entry of a common segment, if TLB simultaneous matching occurs in two ways (WAY), it will be considered as a hardware failure and it will be a machine check, so in order to prevent it, the way to register Opposite W
Care must be taken that the AY entry information is not included in the common segment entry registration information, for which the TLB-H & C-REPL signal alone is not sufficient.

そのため、実際には第5図に示すような論理ゲート81
〜88から成る回路を用いて、登録するWAYと反対のWAYの
エントリ情報が、コモン・セグメントのエントリ登録情
報に包含されないようにしている。
Therefore, in reality, the logic gate 81 as shown in FIG.
By using the circuit consisting of ~ 88, the entry information of the WAY opposite to the WAY to be registered is not included in the entry registration information of the common segment.

すなわち、同図においてPRI−COM−MCHおよびALT−CO
M−MCHの各信号は、PRIMARYあるいはALTERNATEのSPACE
−IDを除くエントリ情報が、コモン・セグメントのエン
トリ登録情報にマッチングしたことを示す信号であり、
COMMON−SEGMの信号は、DATの結果がコモン・セグメン
トであることを示す信号であり、TLB−PRI−WRT−1/TLB
−ALT−WRT−1の各信号は、それぞれのWAYの最終的な
置き換え指示をする為の信号である。また、TLB−ALT−
INV−1の信号には、ALTERNATEの有効ビットをオフにす
ることを指示する信号である。
That is, in the figure, PRI-COM-MCH and ALT-CO
Each signal of M-MCH is the SPACE of PRIMARY or ALTERNATE.
-A signal indicating that the entry information excluding the ID matches the entry registration information of the common segment,
The COMMON-SEGM signal is a signal that indicates that the result of DAT is a common segment, and is TLB-PRI-WRT-1 / TLB.
Each signal of -ALT-WRT-1 is a signal for instructing the final replacement of each WAY. Also, TLB-ALT-
The INV-1 signal is a signal instructing to turn off the valid bit of ALTERNATE.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

上述したような、従来の方式においては、第1表に示
したV/Rビットの関係としてV=R=1(仮想アドレス
=実アドレス)の場合は登録が禁止されている。しか
し、実際のシステムでは、システム固有エリアなどに仮
想アドレスと実アドレスが等しい場合が多く、またアク
セス頻度も高い場合が多い。この様な場合、従来ではLO
G−ADRS=仮想アドレス/LOG−ADRS=実アドレスに応じ
て必ず2つのエントリが使用されており、TLBの使用効
率の上で不十分なものとなっていた。そのため、V=R
=1の場合を同一のエントリに登録する事を可能とする
ことが望まれていた。しかしながら、若し、従来方式で
V=R=1のエントリを許した場合には、次のような不
都合が生じる。例えば、本従来方式においてV=R=1
のエントリをTLBに登録する場合に、上述のアルゴリズ
ムに従ってTLB−PRI−WRT−1がオンとなり、V=R=
1のエントリがプライマリイ側に登録された場合を考え
ると、このとき、オルタネート側のVビットがオフかつ
Rビットがオン(実アドレス→絶対アドレス変換のみ
可)である場合に、このオルタネート側のTLB登録情報
が、プライマリイ側に包含される場合(Vビットを除く
他の登録情報が等しい)が生じうる。この場合には、先
のコモン・セグメントの場合と同様ダブル・マッチが生
じてしまい、マシンチェックとなってしまう。これは、
プライマリイとオルタネートが逆の場合でも同様であ
る。この様に、従来方式においてV=R=1のエントリ
を許そうとすると、TLBでダブル・マッチの場合が生じ
てしまうという問題点があった。
In the conventional system as described above, registration is prohibited when V = R = 1 (virtual address = real address) as the V / R bit relationship shown in Table 1. However, in an actual system, the virtual address and the real address are often the same in the system-specific area, and the access frequency is often high. In such cases, LO
G-ADRS = virtual address / LOG-ADRS = two entries are always used depending on the real address, which is insufficient in terms of TLB usage efficiency. Therefore, V = R
It was desired that the case of = 1 can be registered in the same entry. However, if the conventional method permits the entry of V = R = 1, the following inconvenience occurs. For example, in this conventional method, V = R = 1
When registering the entry in the TLB, the TLB-PRI-WRT-1 is turned on according to the above algorithm, and V = R =
Considering the case where the entry of 1 is registered on the primary side, at this time, if the V bit on the alternate side is off and the R bit is on (only real address → absolute address conversion is possible), The TLB registration information may be included on the primary side (other registration information except V bit is the same). In this case, as in the case of the previous common segment, a double match occurs, resulting in a machine check. this is,
The same applies when the primary and alternate are reversed. As described above, in the conventional method, when the entry of V = R = 1 is permitted, there is a problem that a double match occurs in the TLB.

本発明は、このような従来の問題点に鑑み、仮想アド
レスと実アドレスが等しいとき、V=R=1のエントリ
を設けることが可能でダブル・マッチを生ずることのな
いTLBのエントリ制御方式を提供することを目的として
いる。
In view of such a conventional problem, the present invention provides a TLB entry control method that can provide an entry of V = R = 1 when a virtual address and a real address are equal and does not cause a double match. It is intended to be provided.

〔課題を解決するための手段〕[Means for solving the problem]

本発明によれば、上述の目的は、前記特許請求の範囲
に記載した手段により達成される。すなわち、本発明
は、仮想アドレスを用いて情報処理装置を使用する場合
のアドレス変換の高速化を図るため設けられた変換索引
緩衝機構であるTLBにおいて、仮想アドレスを絶体アド
レスに変換する第1の変換対と、実アドレスを絶体アド
レスに変換する第2の変換対とを保持する手段と、上記
第1の変換対を用いる状態であるか、第2の交換対を用
いる状態であるか、あるいは、第1の交換対と第2の交
換対とを共に用いることが可能であるかを示す情報を保
持する手段と、第1の変換対と第2の変換対とを共に用
いることが可能である変換対を登録するとき、上記一方
の変換対に他方の変換対が包含されることを抑止する手
段とを設けたTLBエントリ制御方式である。
According to the invention, the above mentioned objects are achieved by the means recited in the claims. That is, according to the present invention, in a TLB that is a translation lookaside buffer mechanism provided for speeding up address translation when an information processing device is used by using a virtual address, a first address that translates a virtual address into an absolute address is provided. And a means for holding a second translation pair for translating a real address into an absolute address, and whether the first translation pair is used or the second exchange pair is used. Alternatively, a means for holding information indicating whether the first exchange pair and the second exchange pair can be used together and the first conversion pair and the second conversion pair can be used together. This is a TLB entry control system provided with means for suppressing inclusion of the other conversion pair in the one conversion pair when registering possible conversion pairs.

〔作用〕[Action]

上述したように、従来の方式においては、前述のよう
にTLBが複数のWAYによって構成される場合に、実アドレ
スから絶体アドレスへの変換は(R=1)とし仮想アド
レスから絶体アドレスへの変換は(V=1)として行う
とき、仮想アドレスと実アドレスが等しいとき、すなわ
ち、V=R=1のエントリを登録しようとした場合に、
該登録エントリにより包含される別のエントリを残して
しまう場合があるという欠点を有していたが、本発明の
方式によれば、V=R=1のエントリを登録する場合
に、上記手段によって、該登録エントリにより包含され
る別のエントリを生じさせないようにしているので、コ
モン・セグメントの登録を行う場合においても不都合を
生ずることがない。
As described above, in the conventional method, when the TLB is composed of a plurality of ways as described above, the conversion from the real address to the absolute address is (R = 1) and the virtual address to the absolute address is set. Is performed as (V = 1), when the virtual address and the real address are equal, that is, when an entry of V = R = 1 is to be registered,
Although it has a drawback that another entry included by the registered entry may remain, according to the method of the present invention, when the entry of V = R = 1 is registered, the above means is used. Since another entry included by the registered entry is not generated, no inconvenience occurs even when the common segment is registered.

〔実施例〕〔Example〕

第1図は本発明の一実施例を示す図であって、1〜18
はそれぞれ論理ゲートを示している。
FIG. 1 is a diagram showing an embodiment of the present invention.
Each indicate a logic gate.

同図において、論理ゲート1〜8からなる回路は、既
に第5図によって示した従来の登録するWAYと反対のWAY
のエントリ情報がコモン・セグメントのエントリ登録情
報に包含されないようにするための回路と同様である。
In the figure, the circuit consisting of logic gates 1 to 8 is the WAY opposite to the conventional way to register already shown in FIG.
This is the same as the circuit for preventing the entry information of 1) from being included in the entry registration information of the common segment.

すなわち、第5図において、英字符Aで示す信号は第
5図における+TLB−PRI−WRT−1であり、英字符Bで
示す信号は+TLB−ALT−WRT−1であって、また、英字
符Cで示す信号は、+TLB−ALT−INV−1に相当する。
That is, in FIG. 5, the signal indicated by the letter A is + TLB-PRI-WRT-1 in FIG. 5, the signal indicated by the letter B is + TLB-ALT-WRT-1, and The signal indicated by C corresponds to + TLB-ALT-INV-1.

一方、論理ゲート9〜18から成る回路は、本発明を実
現するために設けられたものである。
On the other hand, the circuit including the logic gates 9 to 18 is provided for realizing the present invention.

同図において、PRI−REAL−MCH/ALT−REAL−MCHの各
信号は、登録しようとするエントリのVビットを除く他
のTLB登録情報が、PRIMARY/ALTERNATEそれぞれのTLB登
録情報とマッチしたことを示す信号であり、TLB−V=
R−ENTRYの信号は、登録しようとするエントリがV=
R=1のエントリであることを示す信号である。前記、
英字符A,B,Cで示した各信号は、従来方式に於けるTLB置
き換え結果論理の信号であったが、TLB−PRI−WRT−2/T
LB−ALT−WRT−2/TLB−ALT−INV−2の各信号は、本発
明方式に於けるTLB置き換え結果論理の信号である。
In the figure, each signal of PRI-REAL-MCH / ALT-REAL-MCH indicates that other TLB registration information except the V bit of the entry to be registered matches the TLB registration information of each PRIMARY / ALTERNATE. TLB-V =
The R-ENTRY signal indicates that the entry to be registered is V =
This is a signal indicating that the entry is R = 1. The
The signals indicated by the letters A, B, and C were signals of the TLB replacement result logic in the conventional method, but TLB-PRI-WRT-2 / T
Each signal of LB-ALT-WRT-2 / TLB-ALT-INV-2 is a signal of TLB replacement result logic in the method of the present invention.

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

以上説明したように、本発明の方式によれば、複数の
ウェイ(WAY)により構成されるTLBにおいて、V=R=
1のエントリをダブル・マッチを起さずに登録すること
が可能であるから、TLBの処理効率を向上させ得ると共
に、TLBに、より多くのエントリを登録することが可能
となるため、処理速度の高速化を図る事が可能となる利
点がある。
As described above, according to the method of the present invention, in a TLB including a plurality of ways (WAY), V = R =
Since it is possible to register one entry without causing a double match, it is possible to improve the processing efficiency of the TLB, and it is possible to register a larger number of entries in the TLB, which results in processing speed. There is an advantage that it is possible to speed up.

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

第1図は本発明の一実施例を示す図、第2図は情報処理
装置の構成の例を示す図、第3図はSユニットの構成の
例を示す図、第4図はTLBの内部構成の例を示す図、第
5図は従来の登録するウェイと反対のウェイのエントリ
情報がコモン・セグメントのエントリ登録情報に包含さ
れないようにするための回路である。 1〜18……論理ゲート
FIG. 1 is a diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing an example of the configuration of an information processing device, FIG. 3 is a diagram showing an example of the configuration of an S unit, and FIG. 4 is the inside of a TLB. FIG. 5 shows an example of the configuration, and FIG. 5 is a circuit for preventing entry information of a way opposite to the conventional way to be registered from being included in the entry registration information of the common segment. 1-18 …… Logic gate

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】仮想アドレスを用いて情報処理装置を使用
する場合のアドレス交換の高速化を図るため設けられた
変換索引緩衝機構であるTLBにおいて、 仮想アドレスを絶体アドレスに変換する第1の変換対
と、実アドレスを絶体アドレスに変換する第2の変換対
とを保持する手段と、 上記第1の変換対を用いる状態であるか、第2の交換対
を用いる状態であるか、あるいは、第1の変換対と第2
の変換対とを共に用いることが可能であるかを示す情報
を保持する手段と、 第1の変換対と第2の変換対とを共に用いることが可能
である変換対を登録するとき、上記一方の変換対内に他
方の変換対が包含されることを抑止する手段とを設けた
ことを特徴とする、TLBエントリ制御方式。
1. A TLB, which is a translation lookaside buffer mechanism provided for accelerating address exchange when an information processing device is used by using a virtual address, converts a virtual address into an absolute address. Means for holding a translation pair and a second translation pair for translating a real address into an absolute address, and a state of using the first translation pair or a state of using the second exchange pair, Alternatively, the first transform pair and the second
When registering a means for holding information indicating whether it is possible to use both the conversion pair and the conversion pair capable of using both the first conversion pair and the second conversion pair, A TLB entry control method, characterized in that a means for suppressing inclusion of the other conversion pair in one conversion pair is provided.
JP63267264A 1988-10-25 1988-10-25 TLB entry control method Expired - Fee Related JPH0812641B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63267264A JPH0812641B2 (en) 1988-10-25 1988-10-25 TLB entry control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63267264A JPH0812641B2 (en) 1988-10-25 1988-10-25 TLB entry control method

Publications (2)

Publication Number Publication Date
JPH02114346A JPH02114346A (en) 1990-04-26
JPH0812641B2 true JPH0812641B2 (en) 1996-02-07

Family

ID=17442429

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63267264A Expired - Fee Related JPH0812641B2 (en) 1988-10-25 1988-10-25 TLB entry control method

Country Status (1)

Country Link
JP (1) JPH0812641B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5282274A (en) * 1990-05-24 1994-01-25 International Business Machines Corporation Translation of multiple virtual pages upon a TLB miss
JPH0546480A (en) * 1991-08-16 1993-02-26 Fujitsu Ltd Memory access system

Also Published As

Publication number Publication date
JPH02114346A (en) 1990-04-26

Similar Documents

Publication Publication Date Title
JP2618175B2 (en) History table of virtual address translation prediction for cache access
US7360054B2 (en) Method and apparatus for direct conveyance of physical addresses from user level code to peripheral devices in virtual memory systems
KR920005280B1 (en) High speed cache system
CA1232970A (en) Data processing system provided with a memory access controller
US5475827A (en) Dynamic look-aside table for multiple size pages
JP5373173B2 (en) Address translation method and apparatus
US4763250A (en) Paged memory management unit having variable number of translation table levels
US5555395A (en) System for memory table cache reloads in a reduced number of cycles using a memory controller to set status bits in the main memory table
US11775445B2 (en) Translation support for a virtual cache
US10810134B2 (en) Sharing virtual and real translations in a virtual cache
JP2818415B2 (en) Buffer storage device
US6253285B1 (en) Method and apparatus for minimizing dcache index match aliasing using hashing in synonym/subset processing
US6338128B1 (en) System and method for invalidating an entry in a translation unit
US5341485A (en) Multiple virtual address translation per computer cycle
EP0220451A2 (en) A cache coherence mechanism based on locking
GB2307319A (en) Dual-directory virtual cache
JPH0812641B2 (en) TLB entry control method
JPH01108651A (en) Work station
JPS6079446A (en) Processor for multiple virtual storage data
JPS63240653A (en) Translation between memory management unit and virtual-real address
JPH0383150A (en) Control system for cache device with address converting mechanism
JPS5922315B2 (en) Buffer memory control method
JPH0546475A (en) Buffer storage control system
JPH03110648A (en) Data processing system
JPS63240651A (en) Cache memory

Legal Events

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