JPH02234246A - Controlling system for cache coincidence process - Google Patents
Controlling system for cache coincidence processInfo
- Publication number
- JPH02234246A JPH02234246A JP1055625A JP5562589A JPH02234246A JP H02234246 A JPH02234246 A JP H02234246A JP 1055625 A JP1055625 A JP 1055625A JP 5562589 A JP5562589 A JP 5562589A JP H02234246 A JPH02234246 A JP H02234246A
- Authority
- JP
- Japan
- Prior art keywords
- cache
- address
- operand
- matching processing
- matching
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 7
- 230000010365 information processing Effects 0.000 claims description 4
- 238000004886 process control Methods 0.000 abstract description 3
- 230000004044 response Effects 0.000 abstract description 3
- 238000003491 array Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 4
- 238000007796 conventional method Methods 0.000 description 1
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
Abstract
Description
【発明の詳細な説明】
技術分野
本発明はキャッジュ一致処理制御システムに関し、特に
主記憶装置の記+TAIrrt報の一部の写しを格納す
るキャッシュ記憶装置を有する情報処理装置において、
主記憶装置内のデータとキャッシュ記憶装置内のデータ
との一致性を保つためのキャッシュ一致処理制御システ
ムに関する.
乱米弦逝
従来のこの様なキャッシュ一致処理制御システムのブロ
ック図を第2図に示す.命令取出し用キャッシュ部1は
命令データを保持しており、同期をとるためのバッファ
レジスタ11と、データの所在を示すアドレスアレイ1
2と、命令を保持ずるデータアレイ13とを含んでいる
.また、一致処理に必要なアドレスアレイ12のコピー
を保持する別のアドレスアレイ32と、同期をとるため
のバッファレジスタ31aと、このバッファレジスタ3
1aのアドレスとこのアドレスによりアドレスアレイ3
2から続出されたアドレスとを比較する比較回路34と
、この比較結果を格納するバッファレジスタ36とを含
んでいる.
オペランド取出し用キャッシュ部2はオペランドデータ
を保持しており、同期をとるためのバツアアレジスタ2
1と、データの所在を示すアドレスアレイ22と、オペ
ランドを保持するデータアレイ23とを含んでいる.t
た、一致処理に必要なアドレスアレイ22のコピーを保
持する別のアドレスアレイ33と、同期をとるためのバ
ッファレジスタ3lbと、このバッファレジスタ3lb
のアドレスとこのアドレスによりアドレスアレイ33か
ら読出されたアドレスとを比較する比較回路35と、こ
の比較結果を格納するバッファレジスタ37とを含んで
いる.
一致処理要求アドレスのバッファ部6は、同期をとるた
めのバッファレジスタ61と、先行する一致処理要求が
あった場合にその要求が処理されるまでに一時的にそれ
を保持しておくための一致処理バッファ62とを有する
.
一致処理要求制御回F#17は一致処理要求アドレスバ
ッファ部6を制御すると共に、命令キャッシュ制御回路
8及びオペランドキャッシュ制御回路9を制御する.
かかる横成において、リクエストがリクエストアドレス
の池に制御信号を件って送られてくると、先ず一致処理
用のバッファ62に一時蓄積された先行する一致処理リ
クエストが存在しなければ、命令取出し用キャッシュ部
1及び命令キャッシュ制御回路8と、更にはオペランド
取出し用キャッシュ部2及びオペランドキャッシュ制御
回路つとに、当該リクエストが送出される.これにより
命令キャッシュ部及びオペランドキャッシュ部の各々に
おいて個別に一致処理が行われるようになっている.
この様な従来の一致処理制御システムでは、致処理要求
に応答して命令キャッシュ及びオペランドキャッシュの
2つに分離されたキャッシュ部1,2にリクエストが送
出され、各々の制御回路8.9とアドレスのコピーのキ
ャッシュとにより一致処理が行われる楕成であるので、
制御論理が全く同一の2つの回路を必要とし、ハードウ
ェア址の増加となってコストアップの要因となっている
.
北ユレとl煎
本発明の目的は.ハードウエア址の増加を抑止してコス
トアップの低減を図ったキャッシュ一致処理制御システ
ムを提供することである.先肌豊亙羞
本発明によれば、主記憶装置と、この主記憶装置の記憶
内容の一部の写しを格納する命令キャッシュ及びオペラ
ンドキャッシュと、これ等主記憶装置と命令キャッシュ
及びオペランドキャッシュとの間の情報の一致性を保つ
ための一致処理制御手段とを有する情報処理装置におけ
るキャッシュ一致処理制御システムであって、前記命令
キャッシュ及びオペランドキャッシュの両アドレスを一
括して保持するアドレスアレイを設け、一致処理要求に
応答して、前記アドレスアレイに要求されているアドレ
スが格納されているか否かを検出して、格納されていれ
ば一致処理を行う一致処理制御手段を、前記命令キャッ
シュ及び前記オペランドキャッシュに共通に設けたこと
を特徴とするキャッシュ一致処理制御システムが得られ
る.K隻週
次に本発明の実施例について図面を参照して説明する.
第1図は本発明の一実施例のブロック図である。Detailed Description of the Invention Technical Field The present invention relates to a cache matching processing control system, and particularly to an information processing apparatus having a cache storage device for storing a copy of a part of main storage record + TAIrrt information.
This paper relates to a cache consistency processing control system for maintaining consistency between data in main storage and data in cache storage. A block diagram of such a conventional cache matching processing control system is shown in Figure 2. The instruction fetching cache unit 1 holds instruction data, and includes a buffer register 11 for synchronization and an address array 1 indicating the location of the data.
2 and a data array 13 for holding instructions. Also, another address array 32 that holds a copy of the address array 12 necessary for matching processing, a buffer register 31a for synchronization, and this buffer register 3
Address array 3 with address 1a and this address
2, and a buffer register 36 for storing the comparison results. The operand retrieval cache unit 2 holds operand data, and the buffer register 2 for synchronization.
1, an address array 22 that indicates the location of data, and a data array 23 that holds operands. t
In addition, another address array 33 that holds a copy of the address array 22 necessary for matching processing, a buffer register 3lb for synchronization, and this buffer register 3lb
This includes a comparison circuit 35 that compares the address read from the address array 33 with this address, and a buffer register 37 that stores the comparison result. The match processing request address buffer unit 6 includes a buffer register 61 for synchronization, and a match register 61 for temporarily holding the matching processing request until that request is processed when there is a preceding match processing request. It has a processing buffer 62. The match processing request control circuit F#17 controls the match processing request address buffer section 6, as well as the instruction cache control circuit 8 and operand cache control circuit 9. In such a process, when a request is sent to the request address pool with a control signal, first, if there is no preceding matching processing request temporarily stored in the matching processing buffer 62, the request address is sent to the request address pool for instruction retrieval. The request is sent to the cache unit 1 and the instruction cache control circuit 8, and further to the operand retrieval cache unit 2 and the operand cache control circuit. As a result, matching processing is performed individually in each of the instruction cache section and operand cache section. In such a conventional match processing control system, in response to a match processing request, a request is sent to two separate cache units 1 and 2, an instruction cache and an operand cache, and each control circuit 8.9 and address Since it is an ellipse in which matching is performed by caching copies of
This requires two circuits with exactly the same control logic, which increases the amount of hardware used and causes an increase in costs. The purpose of this invention is: The purpose of this invention is to provide a cache matching processing control system that suppresses increases in hardware costs and reduces costs. According to the present invention, a main memory device, an instruction cache and an operand cache that store a copy of a part of the memory contents of the main memory device, and a main memory device, an instruction cache, and an operand cache that store a copy of a part of the memory contents of the main memory device. A cache matching processing control system for an information processing device, comprising a matching processing control means for maintaining consistency of information between the instruction cache and the operand cache, the system comprising an address array that collectively holds addresses of both the instruction cache and the operand cache. , a matching processing control means for detecting whether or not the requested address is stored in the address array in response to the matching processing request, and performing matching processing if the address is stored in the instruction cache and the matching processing request; A cache matching processing control system is obtained, which is characterized by providing a common feature for operand caches. Next, embodiments of the present invention will be explained with reference to the drawings. FIG. 1 is a block diagram of one embodiment of the present invention.
1は命令取出し用キャッシュ部であり命令を保持してい
る.11は同期をとるためのバッファレジスタ、12は
データの所在を示すアドレスアレイであり、13は命令
を保持しているデータアレイである。2はオペランド取
出し用キャッシュ部でありオペランドを保持している,
21は同期をとるためのバッファレジスタ、22はオペ
ランドの所在を示すアドレスアレイであり、23はオペ
ランドを保持するデータアレイである.
3は一致処理のチェックを行う一致処理制御部である。1 is a cache section for fetching instructions and holds instructions. 11 is a buffer register for synchronization, 12 is an address array that indicates the location of data, and 13 is a data array that holds instructions. 2 is a cache section for fetching operands, which holds operands.
21 is a buffer register for synchronization, 22 is an address array that indicates the location of the operand, and 23 is a data array that holds the operand. Reference numeral 3 denotes a matching processing control unit that checks matching processing.
31は同期をとるためのバッファレジスタ、32は命令
キャッシュのアドレスアレイ12のコピーであり、33
はオペランドキャッシュのアドレスアレイ22のコピー
である234及び35はそれぞれ一致処理を要求された
アドレスがキャッシュ内に存在するかをチェックする比
較回路である.36及び37は同期をとるためのバッフ
ァレジスタである,
4は一致処理のチェックを行うための制御をする制御回
路である.5は一致要求が送られてきたときにその要求
の一致処理チェック部への送出を制御するための制御回
路である.6は一致処理要求アドレスのバッファ部であ
る.61は同期をとるためのバッファレジスタ、62は
先行する一致処理要求があった場合その要求が処理され
るまで一時的に保持しておくためのバンファである.次
に各部の動作について説明する.まず一致処理要求アド
レスが送られてくると、バッファレジスタ61を介して
一致処理バッファ62に書込まれる.同時に一致処理制
御信号が制御回路2に送られて先行する一致処理要求に
より一致処理制御部3で処理が行われている場合には、
そのまま一致処理アドレスを一致処理バッファ62に蓄
えておいて、次の一致要求を受付け状態にしておく.先
行する処理が行われていなければ、そのアドレスを一致
処理制御部3に送出する.この一連の動作の制御は制御
回路(■)5で行っている.次に命令キャッシュのアド
レスアレイ12のコビー32またはオペランドキャッシ
ュのアドレスアレイ22のコピー33に該当するアドレ
スがあるか否かがそれぞれ比較回t?434.35によ
りチェックされ、その結果がレジスタ36.37へ送ら
れる.該当アドレスが存在しない場合には、次の一致処
理要求を受付け、該当するアドレスか存在する場合はレ
ジスタ36.37から一致処理信号を送り、アドレスア
レイのコピー32.33の該当アドレスの有効ビットを
無効にする.これら一連の制御は制御回路(■)4で行
う.命令キャッシュ部1またはオペランドキャッシュ部
2に一致処理信号が送られると、レジスタ1lまたは2
1に送られたアドレスにより、該当アドレスの有効ビッ
トが然効にされ、一致処理の一行程が終了することにな
る.
里曹レと夾來
以上述べた如く、本発明によれば、命令キャッシュ部及
びオペランドキャッシュ部の両アドレスアレイのコピー
を一括して格納するアドレスアレイ部を設け、この一括
したアドレスアレイ部に共通に一致処理制御部を設ける
ことにより、一致処理制御の二重負荷を半減して、ハー
ドウェア!の削減を可能とするという効果がある.31 is a buffer register for synchronization, 32 is a copy of the instruction cache address array 12, and 33
is a copy of the address array 22 of the operand cache, and 234 and 35 are comparison circuits that check whether the address requested for matching processing exists in the cache. Reference numerals 36 and 37 are buffer registers for synchronization, and 4 is a control circuit that performs control for checking matching processing. 5 is a control circuit for controlling sending of a matching request to the matching processing check section when the matching request is sent. 6 is a buffer section for the match processing request address. Reference numeral 61 is a buffer register for synchronization, and reference numeral 62 is a buffer for temporarily holding data until the preceding matching processing request is processed. Next, we will explain the operation of each part. First, when a matching processing request address is sent, it is written to the matching processing buffer 62 via the buffer register 61. At the same time, if a matching processing control signal is sent to the control circuit 2 and processing is being performed by the matching processing control unit 3 due to a preceding matching processing request,
The match processing address is stored in the match processing buffer 62 and the next match request is accepted. If the preceding process has not been performed, the address is sent to the matching process control unit 3. This series of operations is controlled by the control circuit (■) 5. Next, it is determined whether there is a corresponding address in the copy 32 of the address array 12 of the instruction cache or the copy 33 of the address array 22 of the operand cache at the comparison time t? 434.35 and the result is sent to register 36.37. If the corresponding address does not exist, the next match processing request is accepted, and if the corresponding address does exist, a match processing signal is sent from the register 36.37, and the valid bit of the corresponding address in the copy 32.33 of the address array is set. To disable. A series of these controls is performed by control circuit (■) 4. When a match processing signal is sent to the instruction cache unit 1 or the operand cache unit 2, the register 1l or 2
By the address sent to 1, the valid bit of the corresponding address becomes valid, and one step of the matching process ends. As described above, according to the present invention, there is provided an address array section that collectively stores copies of both the address arrays of the instruction cache section and the operand cache section, and the address array section that is common to this collective address array section is provided. By providing a matching processing control section in the hardware, the double load of matching processing control can be halved. This has the effect of making it possible to reduce
第1図は本発明の実施例のシステムブロック図、第2図
は従来技術を示すシステムブロック図である.
主要部分の符号の説明
1・・・・・・命令取出し用キャッシュ2・・・・・・
オペランド取出し用キャッシュ3・・・・・・一致処理
制御部
4.5・・・・・・制御回路
出願人 日本電気株式会社(外1名)FIG. 1 is a system block diagram of an embodiment of the present invention, and FIG. 2 is a system block diagram showing a conventional technique. Explanation of codes of main parts 1...Instruction retrieval cache 2...
Operand retrieval cache 3... Coincidence processing control unit 4.5... Control circuit Applicant: NEC Corporation (1 other person)
Claims (1)
の写しを格納する命令キャッシュ及びオペランドキャッ
シュと、これ等主記憶装置と命令キャッシュ及びオペラ
ンドキャッシュとの間の情報の一致性を保つための一致
処理制御手段とを有する情報処理装置におけるキャッシ
ュ一致処理制御システムであって、前記命令キャッシュ
及びオペランドキャッシュの両アドレスを一括して保持
するアドレスアレイを設け、一致処理要求に応答して、
前記アドレスアレイに要求されているアドレスが格納さ
れているか否かを検出して、格納されていれば一致処理
を行う一致処理制御手段を、前記命令キャッシュ及び前
記オペランドキャッシュに共通に設けたことを特徴とす
るキャッシュ一致処理制御システム。(1) Check the consistency of information between the main storage device, the instruction cache and operand cache that store copies of part of the memory contents of this main storage device, and the main storage device and the instruction cache and operand cache. A cache matching processing control system for an information processing device, the cache matching processing control system for an information processing device having a matching processing control means for maintaining a matching process, wherein an address array is provided for collectively holding addresses of both the instruction cache and the operand cache, and ,
The instruction cache and the operand cache are provided with a match processing control means that detects whether or not a requested address is stored in the address array and performs match processing if the address is stored. Cache matching processing control system.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1055625A JPH02234246A (en) | 1989-03-08 | 1989-03-08 | Controlling system for cache coincidence process |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1055625A JPH02234246A (en) | 1989-03-08 | 1989-03-08 | Controlling system for cache coincidence process |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02234246A true JPH02234246A (en) | 1990-09-17 |
Family
ID=13003962
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1055625A Pending JPH02234246A (en) | 1989-03-08 | 1989-03-08 | Controlling system for cache coincidence process |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02234246A (en) |
-
1989
- 1989-03-08 JP JP1055625A patent/JPH02234246A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA1124888A (en) | Integrated multilevel storage hierarchy for a data processing system with improved channel to memory write capability | |
| JP3289661B2 (en) | Cache memory system | |
| EP0533427A1 (en) | Computer memory control system | |
| JPH04336641A (en) | Data cache and method for use in processing system | |
| US6405233B1 (en) | Unaligned semaphore adder | |
| JPH02234246A (en) | Controlling system for cache coincidence process | |
| EP0400851A2 (en) | Efficient cache utilizing a store buffer | |
| JPS6131495B2 (en) | ||
| JPH08166905A (en) | Cache memory control method | |
| JPH04181343A (en) | Cache memory system | |
| JPS6385949A (en) | Cache memory storing system | |
| JPS6349257B2 (en) | ||
| JPS6135583B2 (en) | ||
| JPH086853A (en) | Memory control method | |
| JPH05289940A (en) | Cache memory control system | |
| JPH0526216B2 (en) | ||
| JPH02150939A (en) | Processing system for page history memory | |
| JPH02224158A (en) | Cache memory device, data processing device, data access method, and data storage method in cache memory | |
| JPS6266348A (en) | Store check system for cache memory controller | |
| JPS61211752A (en) | Page hysteresis memory device | |
| JPH01156849A (en) | Memory access processor | |
| JPH0877067A (en) | Cache memory controller | |
| JPS62127943A (en) | Instruction buffer control system | |
| JPH0588969A (en) | Partial write processing system | |
| JPH0769861B2 (en) | Control method of bypass buffer in cache memory controller |