JPH01142846A - Cache memory control system for information processor - Google Patents

Cache memory control system for information processor

Info

Publication number
JPH01142846A
JPH01142846A JP62300987A JP30098787A JPH01142846A JP H01142846 A JPH01142846 A JP H01142846A JP 62300987 A JP62300987 A JP 62300987A JP 30098787 A JP30098787 A JP 30098787A JP H01142846 A JPH01142846 A JP H01142846A
Authority
JP
Japan
Prior art keywords
information
processor
external
cache memory
instruction execution
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
JP62300987A
Other languages
Japanese (ja)
Inventor
Masanori Hirano
平野 正則
Seijiro Tajima
多嶋 清次郎
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP62300987A priority Critical patent/JPH01142846A/en
Publication of JPH01142846A publication Critical patent/JPH01142846A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To make it unnecessary to include a storage instruction information forming part in an external cache memory by allowing a control part in the external cache memory to receive storage instruction information outputted from an instruction execution part in a processor. CONSTITUTION:When the instruction execution part in the processor 1 requests the 2nd external information positioned on a specific address, the control part 5B in the external cache memory CB receives the storage instruction information outputted from the instruction execution part of the processor 1 similarly to the reception of the information by a control part 5A of an internal cache memory CA in the processor 1. Thus, an information storage part 3B in the external cache memory CB is controlled so that the 2nd external information from an external information source S is outputted to the instruction execution part in the processor 1 without being stored in the storage part 3B in the cache memory CB. Consequently, it is unnecessary to form the storage instruction information forming part in the external cache memory CB.

Description

【発明の詳細な説明】 り呈ユ!立夏 本発明は、情報処理装置のキャッシュメモリ制御方式に
関する。
[Detailed Description of the Invention] Representation! TECHNICAL FIELD The present invention relates to a cache memory control method for an information processing device.

従来の技術 従来、第2図を伴って次に述べる情報処理装置が提案さ
れている。
2. Description of the Related Art Conventionally, an information processing apparatus described below with reference to FIG. 2 has been proposed.

づなわち、複数例えば2個の電子削算槻U1及びU2と
、それら電子計算mui及びU2に対して共通な、例え
ば主記憶装置11、タイマ12、入出力制御装置13な
どからなる外部情報源Sとを有する。
That is, a plurality of, for example, two electronic calculators U1 and U2, and an external information source common to these electronic calculators mui and U2, such as a main storage device 11, a timer 12, an input/output control device 13, etc. It has S.

電子計C’[t!ILJ1及びU2のそれぞれは、命令
実行部2と内部キャッシュメモリCAとを右するプロセ
ッサ1と、そのプロセッサ1に対して外付に設けられた
外部キャッシュメモリCI3とを有する。
Electronic meter C'[t! Each of ILJ1 and U2 includes a processor 1 that includes an instruction execution unit 2 and an internal cache memory CA, and an external cache memory CI3 provided externally to the processor 1.

また、プロセッサ1の内部キャッシュメモリCAは、外
部情報源Sからの外部情報を格納する情報格納部3Aと
、その情報格納部3Aからの外部情報と外部情報源Sか
らの外部情報とを選択的に命令実行部2に出ツノさせる
セレクタ4Aと、情報格納部3A及びセレクタ4Δに対
する制御部5Aとを有する。
The internal cache memory CA of the processor 1 also has an information storage section 3A that stores external information from an external information source S, and selectively stores external information from the information storage section 3A and external information from the external information source S. It has a selector 4A that causes the instruction execution section 2 to output the command, and a control section 5A for the information storage section 3A and the selector 4Δ.

この場合、制御部5Aは、命令実行部2からのアドレス
情報と、命令実行rA2からの格納指示情報とにもとず
き、情報格納部3A及びセレクタ4Aを、外部情報源S
からの外部情報が情報格納部3Aに格納され、また、情
報格納部3Aに格納される外部情報源Sからの外部情報
が情報格納部3A及びセレクタ4Aを通じて命令実行部
2に出力されまたは情報格納部3Aに格納されている外
部情報がその情報格納部3Δからセレクタ4Aを通じて
命令実行部2に出力されるように、制御するとともに、
外部情報が情報格納部3Aに格納されずにセレクタ4A
を通じて命令実行部2に出力されるように、flilJ
御する。
In this case, the control unit 5A selects the information storage unit 3A and the selector 4A based on the address information from the instruction execution unit 2 and the storage instruction information from the instruction execution unit rA2.
External information from the external information source S is stored in the information storage section 3A, and external information from the external information source S stored in the information storage section 3A is output to the instruction execution section 2 through the information storage section 3A and the selector 4A. Controls so that the external information stored in the section 3A is output from the information storage section 3Δ to the instruction execution section 2 through the selector 4A,
External information is not stored in the information storage unit 3A and the selector 4A
flilJ so that it is output to the instruction execution unit 2 through
control

また、外部キャッシュメモリCBは、内部キャッシュメ
モリCAの情報格納部3Aと同様の情報格納部3B及び
セレクタ4Bと、プロセッサ1の命令実行部2からのア
ドレス情報にもとずぎ上述した命令実行部2からの格納
指示情報と同様の格納指示情報を生成する格納指示情報
生成部6Bと、情報格納部3B及びセレクタ4Bに対す
る制御部5Bとを有する。
The external cache memory CB also includes an information storage section 3B similar to the information storage section 3A of the internal cache memory CA, a selector 4B, and an instruction execution section described above based on the address information from the instruction execution section 2 of the processor 1. 2, and a control section 5B for the information storage section 3B and selector 4B.

この場合、制御部5Bは、プロセッサ1の命令実行部2
からのアドレス情報と、プロセッサ1の命令実行部2か
らの格納指示情報とにもとずぎ、情報格納部3B及びセ
レクタ4Bを、外部情報源Sからの外部情報が情報格納
部3Bに格納され、また、情報格納部3Bに格納される
外部情報源Sからの外部情報が情報格納部3B及びセレ
クタ4Bを通じてブロセツ1す1の命令実行部2に出力
されまたは情報格納部3Bに格納されている外部情報が
その情報格納部3Bからセレクタ4Bを通じてプロセッ
サ1の命令実行部2に出力されるように、制御するとと
もに、外部情報が情報格納部3Bに格納されずにセレク
タ4Bを通じてプロセッサ1の命令実行部2に出力され
るように、制御する。
In this case, the control unit 5B controls the instruction execution unit 2 of the processor 1.
Based on the address information from the external information source S and the storage instruction information from the instruction execution unit 2 of the processor 1, the information storage unit 3B and the selector 4B are configured so that the external information from the external information source S is stored in the information storage unit 3B. Also, external information from an external information source S stored in the information storage section 3B is output to the instruction execution section 2 of the processor 1-1 through the information storage section 3B and the selector 4B, or is stored in the information storage section 3B. Control is performed so that the external information is output from the information storage section 3B to the instruction execution section 2 of the processor 1 through the selector 4B, and the instruction execution of the processor 1 is performed through the selector 4B without the external information being stored in the information storage section 3B. control so that the output signal is output to section 2.

しかして、例えば電子計算機U1のプロセッサ1の命令
実行部2が、外部情報源Sのあるアドレス(これをAと
する)(主記憶装置11、タイマ12、入出力制tIl
装買13など自体も、アドレスを右するものとする)に
おけるある情報(これを外部情報xAとする)を要求す
る場合、内部キャッシュメモリC△の制御部5Aが、命
令実行部2からの、アドレスAを表しているアドレス情
報AAと格納指示情報Bとを受けることによって、その
制御部5Aが、情報格納部3A及びセレクタ4Aを、も
し、情報格納部3Aに、外部情報XAが予め格納されて
いれば、その外部情報XAが情報格納部3Aから、セレ
クタ4Aを通じて、命令実行部2に出力されるように、
制御する。
For example, the instruction execution unit 2 of the processor 1 of the computer U1 receives an address (this is designated as A) at an external information source S (the main memory 11, the timer 12, the input/output controller tIl)
When requesting certain information (this is assumed to be external information xA) in the device 13 itself (assuming that the address is also the same), the control unit 5A of the internal cache memory C△ requests the By receiving the address information AA representing the address A and the storage instruction information B, the control section 5A controls the information storage section 3A and the selector 4A if the external information XA is stored in advance in the information storage section 3A. If so, the external information XA is outputted from the information storage section 3A to the instruction execution section 2 through the selector 4A.
Control.

しかしながら、情報格納部3Aに外部情報X八が格納さ
れていなければ、外部キ1/ツシュメモリCOが、プロ
セッサ1の命令実行部2からのアドレス情報AAを、プ
ロセッサ1の内部キャッシュメモリC△の制御部5Aを
通じて受け、そのアドレス情報XAにもとずぎ、格納指
示情報生成部6Bが、命令実行部2からの格納指示fi
711fi Bと同様の格納1打示情報8′を生成し、
そして、その格納指示情報B′とプロセッサ1からのア
ドレス情報xAとを制御部5Bが受けることによって、
その$制御部5Bが、情報格納部3B及びセレクタ4B
を、もし、情報格納部3Bに、外部情報XAが格納され
ていれば、その外部情報XAが情報格納部3Bから、セ
レクタ4Bを通じ、次でプロセッサ7の内部キャッシュ
メモリCAの情報格納部3A及びセレクタ4Δを通じて
命令実行部2に出力されるように、制御する。
However, if the external information Based on the address information XA received through the instruction execution section 5A, the storage instruction information generation section 6B generates the storage instruction fi from the instruction execution section 2.
711fi B generates stored 1 stroke information 8',
Then, when the control unit 5B receives the storage instruction information B' and the address information xA from the processor 1,
The $ control unit 5B controls the information storage unit 3B and the selector 4B.
If external information XA is stored in the information storage section 3B, the external information XA is transferred from the information storage section 3B to the information storage section 3A and the internal cache memory CA of the processor 7 through the selector 4B. It is controlled so that it is output to the instruction execution unit 2 through the selector 4Δ.

しかしながら、プロセッサ1の内部キA?ン7ユメモリ
CAの情報格納部3Aにも、また外部キャッシュメモリ
CBの情報格納部3Bにも、外δII情報XAが格納さ
れていなければ、外部情報源Sが、プロセッサ1の命令
実行部2からのアドレス情報Axを、プロセッサ1の内
部キ11ッシュメモリCAの制御部5A1外部キャッシ
ュメモリCBの制御部5B及びアドレスバス8を通じて
受け、これに応じて、外部情報源Sからの外部情報XA
が、データバス9に出力され、そして、その外部情報X
八が、■外部キ11ツシュメモリCBの情報格納?!A
3B及びセレクタ4Bを通じて、プロセッサ1の内部キ
ャッシュメモリCΔの情報格納部3Aに格納され、また
、その情報格納部3Aから、セレクタ4Aを通じて、命
令実行部2に出力されるか、■外部キVツシュメモリC
Bの情報格納部3Bに格納され、また、その情報格納部
3Bから、セレクタ4Bを通じ、次でプロセッサ1の内
部キャッシュメモリC△の情報格納部3八及びセレクタ
4Aを通じて、命令実行部2に出力されるように、υ制
御する。
However, the internal key A of processor 1? If external δII information XA is not stored in the information storage unit 3A of external memory CA or the information storage unit 3B of external cache memory CB, external information source S The address information Ax from the external information source S is received through the controller 5A of the internal cache memory CA of the processor 1, the controller 5B of the external cache memory CB, and the address bus 8.
is output to the data bus 9, and the external information
8. ■ Information storage of external key 11 memory CB? ! A
3B and the selector 4B, the information is stored in the information storage section 3A of the internal cache memory CΔ of the processor 1, and is output from the information storage section 3A to the instruction execution section 2 through the selector 4A, or C
It is stored in the information storage section 3B of the processor 1, and is output from the information storage section 3B to the instruction execution section 2 through the selector 4B, and then through the information storage section 38 of the internal cache memory C of the processor 1 and the selector 4A. control υ so that

以上が、従来提案されている情報処理¥A置の構成であ
る。
The above is the configuration of the information processing unit that has been proposed so far.

このような構成を有する情報処理装置によれば、電子計
11LJ1及びU2のそれぞれにおいて、そのプロセッ
サ1の命令実行部2が要求する外部情報源Sにおける外
部情報XAが、プロセッサ1の内部キャッシュメモリC
Aの情報格納部3Aまたは外部キャッシュメモリCBの
情報格納部3Bのいずれかに格納されていれば、プロセ
ッサ1の命令実行部2が、外部情報源Sに、上述したよ
うにアクセスしなくてもすむので、プロセッナ1におけ
る外部情報XAを用いた情報処理を、プロセッサ1の命
令実行部2が外部情報源Sにアクセスする場合に比し高
速で実行させることができる。
According to the information processing device having such a configuration, in each of the electronic meters 11LJ1 and U2, the external information XA in the external information source S requested by the instruction execution unit 2 of the processor 1 is stored in the internal cache memory C of the processor 1.
If the information is stored in either the information storage section 3A of A or the information storage section 3B of external cache memory CB, the instruction execution section 2 of the processor 1 does not have to access the external information source S as described above. Therefore, information processing using the external information XA in the processor 1 can be executed at a higher speed than when the instruction execution unit 2 of the processor 1 accesses the external information source S.

なお、このような情報処理装置においては、いま、例え
ば電子計算機U1のプロセッサ1の内部キャッシュメモ
リCAの情報格納部3A。
In addition, in such an information processing apparatus, for example, the information storage section 3A of the internal cache memory CA of the processor 1 of the electronic computer U1.

または外部キせツシュメモリCBの情報格納部3Bに、
外部情報源SにおけるアドレスΔの外部情報XAが格納
されている状態において、外部情報源Sにおけるアドレ
スへの外部情報XAが、電子計3FjsU2からの情報
などによって、外部情報XAとは異なる新たな内容を有
するアドレスAの外部情報YAに変化した場合は、電子
計算機U1のプロセッサ1の内部キャッシュメモリCA
の情報格納部3A、または外部キャッシュメモリCBの
情報格納部3Bに格納されている外部情報XAを、無効
化し、次で、プロセッサ1の内部キャッシュメモリCA
の情報格納部3A、または外部キャッシュメモリCBの
情報格納部3Bに、新たな内容を有する外部fi’i報
YAを格納し直す必要がある。
Or in the information storage section 3B of the external password memory CB,
In a state where the external information XA of the address Δ in the external information source S is stored, the external information XA to the address in the external information source S has new content different from the external information XA due to information from the electronic total 3FjsU2, etc. , the internal cache memory CA of the processor 1 of the computer U1
The external information XA stored in the information storage section 3A of the processor 1 or the information storage section 3B of the external cache memory CB is invalidated, and then the internal cache memory CA of the processor 1 is invalidated.
It is necessary to re-store the external fi'i information YA having new contents into the information storage section 3A of the external cache memory CB or the information storage section 3B of the external cache memory CB.

このため、従来、上述した情報処理装置において、電子
hl算機U1またはU2のプロセッサ1の内部キせツシ
ュメモリCAの情報格納部3△、または外部キャッシュ
メモリCBの情報格納部3Bに格納している外部情報に
対応している外部情報源Sにおける外部情報の全てまた
は一部(以下、これを、鈴111のため、上述した外部
情報xAとする)が、新たな内容を有する外部情報(以
下、これを、同様に簡単のため、上述した外部情報YA
とする)に変化したことにもとずき、少なくともその新
たな内容を有する外部情報YAを、プロセッサ1の内部
キトツシュメモリOAの情報格納部3A、または外部キ
ャッシュメモリCBの情報格納部3Bに格納するのに先
立ち、プロセッサ1の内部キャッシュメモリC△の情報
格納部3A1または外部キャッシュメモリCBの情報格
納部3Bを、それに格納している外部情報の、少なくと
も新たな内容に変化した内容を有する外部情報YAに対
応している外部情報X、につぃて、それが無効化するよ
うに、制御する、という情報処理装置のキャッシュメモ
リ制御方式が提案されている。
For this reason, conventionally, in the above-mentioned information processing apparatus, information is stored in the information storage section 3Δ of the internal cache memory CA of the processor 1 of the electronic HL computer U1 or U2, or in the information storage section 3B of the external cache memory CB. All or part of the external information in the external information source S corresponding to the external information (hereinafter, this will be referred to as the above-mentioned external information xA for Suzu 111) is external information with new content (hereinafter, Similarly, for simplicity, the external information YA mentioned above
), at least the external information YA having the new content is stored in the information storage section 3A of the internal kitotsch memory OA of the processor 1 or the information storage section 3B of the external cache memory CB. Prior to the process, the information storage unit 3A1 of the internal cache memory CΔ of the processor 1 or the information storage unit 3B of the external cache memory CB is transferred to an external device having at least new contents of the external information stored therein. A cache memory control method for an information processing device has been proposed in which external information X corresponding to information YA is controlled to be invalidated.

ところで、その従来提案されている情報処理装置のキせ
ツシュメモリ制御方式は、電極U1及びU2のそれぞれ
のプロセッサ1においては、その内部キャッシュメモリ
CAの制御部5Aが、命令実行部2からのアドレス情報
AAと無効化指示情報りとを受けることによって、制御
部5Aが、情報格納部3Aを、それに新たな内容を右す
る外部情報YAに対応していう外部情報X八が格納され
ている場合、少なくともその外部情報XAを無効化する
ように制御する。
By the way, in the conventional memory control method of the information processing device proposed in the past, in each processor 1 of the electrodes U1 and U2, the control unit 5A of the internal cache memory CA receives address information from the instruction execution unit 2. By receiving AA and the invalidation instruction information, the control unit 5A controls the information storage unit 3A to at least update the information storage unit 3A when external information X8 corresponding to the external information YA indicating new content is stored therein. The external information XA is controlled to be invalidated.

また、電子計算aui及びU2のそれぞれにおける外部
キャッシュメモリCBにおいては、上述した情報格納部
4Bと、セレクタ4Bと、格納指示情報生成部6日と、
制御部5Bとを有する外、外部情報源Sからの外部情報
YAと、プロセッサ1の命令実行部2がらの、内部キト
ッシュメモリCAの制御部5Aを通じ、次で、外部キレ
ッシュメモリCBの制御部5Bを通じて得られるアドレ
ス情報AAとにもとずき、プロセッサー1の命令実行部
2からの無効化指示情報りと同様の無効化指示情報D′
を生成する無効化指示情報生成部7Bを有し、そして、
制御部5Bが、プロセッサ1の命令実行部2からの内部
キャッシュメ[すCAの制御部5△を通じて1!7られ
るアドレス情報AAと、)!!(効化指示情報生成部7
Bからの無効化指示情報D′とを受けることによって、
制御部5Bが、情報格納部3Bを、それに新たな内容を
有する外部情報Y4に対応している外部情報XAが格納
されている場合、少なくともその外部情報XAを無効化
するように制御する。
In addition, in the external cache memory CB in each of the electronic calculation aui and U2, the above-mentioned information storage section 4B, selector 4B, storage instruction information generation section 6,
In addition, the external information YA from the external information source S and the control unit 5A of the internal kitosh memory CA of the instruction execution unit 2 of the processor 1 are used to control the external kitosh memory CB. Based on the address information AA obtained through the section 5B, invalidation instruction information D' similar to the invalidation instruction information from the instruction execution section 2 of the processor 1 is generated.
It has an invalidation instruction information generation section 7B that generates, and
The control unit 5B receives address information AA from the internal cache memory from the instruction execution unit 2 of the processor 1 through the control unit 5Δ of the CA, and)! ! (Effectiveness instruction information generation unit 7
By receiving the invalidation instruction information D' from B,
The control unit 5B controls the information storage unit 3B to invalidate at least the external information XA when the external information XA corresponding to the external information Y4 having new contents is stored therein.

以上で、従来提案されている情報処理装置が明らかとな
ったが、上述した従来の情報処し!I!装置において、
プロセッサ1の命令実行部2が、外部情報源Sにおける
特定のアドレス(これをPとする)以外に位置する外部
情報(これを、以下、簡単のため、上述した外部情報x
Aとする)を要求し、且つその外部情報xAがプロセッ
サ1の内部キャッシュメモリCAの情報格納部3A及び
外部キャッシュメモリC[3の情報格納部3Bのいずれ
にも格納されていないために、その外部情報XAをプロ
セッサ1の内部キャッシュメモリOAの情報格納部3A
に格納する場合、上述したように、プロセッサ1の内部
キ11ッシュメモリC△において、その制御部5Aが、
プロセッサ1の命令実行部2からのアドレス情報AA及
び格納指示情報Bを受tプることによって、その情報格
納部3Aを、外部情報giSからの外部情報XAが、情
報格納部3Aに格納され、且つプロセッサ1の命令実行
部2に出力するように制御し、また、プロセッサ1の命
令実行部2が外部情報源Sにおける上述した外部情報X
、を要求し、且つIAtgI情報xAが、プロセッサ1
の内部キャッシュメモリCAの情報格納部3Aに格納さ
れている場合、上述したJ:うに、プロセッサ1におい
て、その制御部5Aが、命令実行部2からのアドレス情
報AA及び格納指示情報Bを受けることによって、情報
格納部3Aを、それから外部情報XAがブロセッ!J−
1の命令実行部2に出力するように、ルリ御するが、プ
ロセッサ1が外部情報源Sにおける上述した特定のアド
レスPに位置する外部情報(これを外部情報X、とする
)を要求し、nつその外部情報XPがプロセッサ1の内
部キャッシュメモリCAの情報格納部3A及び外部4:
11ツシユメモリCBの情報格納部3Bのいずれにも格
納されていない場合、プロセッサ1の内部キャッシュメ
モリCAの制御部5A、及び外部キャッシュメモリCB
の制御部5Bがそれぞれプロセッサ1の内部キャッシュ
メモリCAの情報格納部3A、及び外部キt!ツシュメ
モリCBの情報格納部3Bを、外部情報8sからの外部
情報X、がブロセツ1ノづの内部キャッシュメモリCA
の情報格納部3A及び外部キャッシュメモリCBの情報
格納部3Bのいずれにも格納されずにプロセッサ1の命
令実行部2に出力させるように、制御することが要求さ
れている。
The information processing devices that have been proposed in the past have been clarified above, but the conventional information processing described above! I! In the device,
The instruction execution unit 2 of the processor 1 uses external information located at a location other than a specific address (hereinafter referred to as P) in the external information source S (hereinafter, for the sake of simplicity, this will be referred to as the above-mentioned external information
A), and the external information xA is not stored in either the information storage unit 3A of the internal cache memory CA of the processor 1 or the information storage unit 3B of the external cache memory C The external information XA is stored in the information storage section 3A of the internal cache memory OA of the processor 1.
As described above, in the internal cache memory C△ of the processor 1, the control unit 5A
By receiving the address information AA and storage instruction information B from the instruction execution unit 2 of the processor 1, the information storage unit 3A is stored in the information storage unit 3A, and the external information XA from the external information giS is stored in the information storage unit 3A. The instruction execution unit 2 of the processor 1 also outputs the external information X from the external information source S to the instruction execution unit 2 of the processor 1.
, and IAtgI information xA is processor 1
When the information is stored in the information storage section 3A of the internal cache memory CA of the processor 1, the control section 5A of the processor 1 receives the address information AA and the storage instruction information B from the instruction execution section 2. Accordingly, the information storage section 3A is transferred to the external information XA! J-
1, the processor 1 requests external information (this is referred to as external information X) located at the above-mentioned specific address P in the external information source S, The external information XP is stored in the information storage section 3A of the internal cache memory CA of the processor 1 and the external information 4:
11 If the information is not stored in any of the information storage sections 3B of the storage memory CB, the control section 5A of the internal cache memory CA of the processor 1 and the external cache memory CB
The control unit 5B of the processor 1 controls the information storage unit 3A of the internal cache memory CA of the processor 1, and the external kit t! The information storage section 3B of the storage memory CB is transferred to the internal cache memory CA in which the external information X from the external information 8s is stored in the internal cache memory CA.
It is required to control the information so that it is output to the instruction execution unit 2 of the processor 1 without being stored in either the information storage unit 3A of the external cache memory CB or the information storage unit 3B of the external cache memory CB.

このため、従来、上述した情報処理装置において、電子
計C’[LllまたはU2の命令実行部2が、外部情報
源Sにおける上述した特定のアドレスPに位置する外部
情報X、を要求する場合、電子計RIU1またはU2の
プロセッサ1の内部キVツシュメモリCAの制御部5Δ
、及び外部キャッシュメモリCBの制御部5Bが、それ
ぞれプロセッサ1の内部キャッシュメモリCAの情報格
納部3A、及び外部キ9ツシュメモリC△の情報格納部
3Bを、外部情報×、が、プロセッサ1の内部キャッシ
ュメモリCAの情報格納部3A、及び外部キャッシュメ
モリCAの情報格納部3Bのいずれにも格納されずに、
プロセッサ1の命令実行部2に出力するように、制御す
る情報処理装置のキャッシュメモリ制御方式が提案され
ている。
For this reason, conventionally, in the above-mentioned information processing apparatus, when the instruction execution unit 2 of the electronic meter C' [Lll or U2 requests external information X located at the above-mentioned specific address P in the external information source S, Control unit 5Δ of the internal memory CA of the processor 1 of the electronic meter RIU1 or U2
, and the control unit 5B of the external cache memory CB respectively control the information storage unit 3A of the internal cache memory CA of the processor 1 and the information storage unit 3B of the external cache memory C without being stored in either the information storage section 3A of the cache memory CA or the information storage section 3B of the external cache memory CA,
A cache memory control method for an information processing device has been proposed so as to output information to the instruction execution unit 2 of the processor 1.

ところで、その情報処理装置のキャッシュメモリ制御方
式は、プロセッサ1の命令実行部2が、上述した外部情
報X、を要求する場合、プロセッサ7の内部キレッシュ
メモリCAにおいては、制御部5Aが、プロセッサ1の
命令実行部2からの格納指示情報Bを必要に応じて外部
情報X、のアドレス情?[A、とともに受けることによ
って、情報格納部3Δを、外部情報源Sからの外部情報
X、が情報格納部3Aに格納されずにプロセッサ1の命
令実行部2に出力するように制御し、外部キャッシュメ
モリCBにおいては、制御部5Bが、格納指示情報生成
部6Bからの格納指示情報B′を必要に応じてプロセッ
サ1の命令実行部2からのアドレス情報A、とともに受
けることによって、情報格納部3Bを、外部情報源Sか
らの外部情報X、が情報格納部3Bに格納されずにプロ
セッサ1の命令実行部2に出力するように、制御する。
By the way, in the cache memory control method of the information processing device, when the instruction execution unit 2 of the processor 1 requests the above-mentioned external information X, the control unit 5A in the internal cache memory CA of the processor 7 Store instruction information B from the instruction execution unit 2 of the instruction execution unit 1 is stored as required, and the address information of the external information X? [A], the information storage unit 3Δ is controlled so that the external information X from the external information source S is not stored in the information storage unit 3A but is output to the instruction execution unit 2 of the processor 1, In the cache memory CB, the control section 5B receives the storage instruction information B' from the storage instruction information generation section 6B together with the address information A from the instruction execution section 2 of the processor 1 as needed, thereby generating the information storage section. 3B is controlled so that the external information X from the external information source S is not stored in the information storage section 3B but is output to the instruction execution section 2 of the processor 1.

発明が解決しようとする問題、 しかしながら、上述した情報処理装置のキャッシュメモ
リ制御方式の場合、外部キャッシュメモリCBに、格納
指示情報生成部6Bを設ける必要があるとともに、その
格納指示情報生成部6Bにおいて格納指示情報B′を生
成さ往るためのプログラムなどを、プロセッサ1の命令
実行部2、外部情報源Sなどに、別途必要とする、など
の欠点を有していた。
Problems to be Solved by the Invention However, in the case of the cache memory control method of the information processing device described above, it is necessary to provide the storage instruction information generation section 6B in the external cache memory CB, and in the case of the storage instruction information generation section 6B. This method has a disadvantage in that a program for generating the storage instruction information B' and the like is separately required in the instruction execution unit 2 of the processor 1, the external information source S, and the like.

問題点を解決するための手 よって、上述した欠点のない、新規な情報処理装置の4
;11ツシュメモリ制御方式を提案せんとするものであ
る。
In order to solve the problem, we developed four new information processing devices that do not have the above-mentioned drawbacks.
This paper aims to propose an 11-touch memory control system.

本発明による情報処理装置のキャッシュメモリ制御方式
は、第2図を伴って上述した従来の情報処理装置のキャ
ッシュメモリ制御方式の場合と同様に、命令実行部と、
内部キャッシュメモリとを右するプロセッサと、そのプ
ロセッサに対して外付の外部キャッシュメモリとを有し
、また、上記プロセッサの内部キャッシュメモリ、及び
上記外部キャッシュメモリのそれぞれが、外部情報源か
らの外部情報を格納する情報格納部と、上記情報格納部
を制御する制御部とを有し、そして、上記プロセッサの
命令実行部が上記外部情報源における特定のアドレス以
外に位置する第1の外部情報を要求し、且つその第1の
外部情報が上記プロセッサの内部キャッシュメモリの情
報格納部及び上記外部キャッシュメモリの情報格納部の
いずれにも格納されていないために、その第1の外部情
報を上記プロセッサの内部キャッシュメモリの情報格納
部に格納する場合、上記ブロレッVの内部キャッシュメ
モリにおいて、その制御部が、上記プロセッサの命令実
行部からのアドレス情報及び格納指示情報を受けること
によって、上記情報格納部を、上記外部情報源からの第
1の外部情報が、上記情報格納部に格納され、且つ上記
プロセッサの命令実行部に出力するように、制御し、ま
た、上記プロセッサの命令実行部が上記外部情報源にお
ける上記第1の外部情報を要求し、且つその第1の外部
情報が、上記プロセッサの内部キャッシュメモリの情報
格納部に格納されている場合、上記プロセッサにおいて
、その制御部が、命令実行部からのアドレス情報及び格
納指示情報を受けることによって、それから、上記第1
の外部情報が上記プロセッサの命令実行部に出力するよ
うに、制御し、さらに、上記プロセッサの命令実行部が
上記外部情報源における特定のアドレスに位置する第2
の外部情報を要求する場合、上記プロセッサの内部主1
メツシュメモリの制御部が、上記プロセッサの命令実行
部からの格納指示情報を受けることによって、上記プロ
セッサの内部キャッシュメモリの情報格納部を、上記外
部情報源からの第2の外部情報がプロセッサの内部キャ
ッシュメモリの情報格納部に格納されずに上記プロセッ
サ゛の命令実行部に出力するように、制御する。
The cache memory control method for an information processing device according to the present invention is similar to the cache memory control method for the conventional information processing device described above with reference to FIG.
a processor having an internal cache memory, and an external cache memory external to the processor, and each of the internal cache memory of the processor and the external cache memory has an external cache memory external to the processor; an information storage section for storing information; and a control section for controlling the information storage section; and the first external information is not stored in either the information storage section of the internal cache memory of the processor or the information storage section of the external cache memory, the first external information is sent to the processor. When storing information in the information storage section of the internal cache memory of the Brolet V, the control section of the internal cache memory of the Brolet V receives address information and storage instruction information from the instruction execution section of the processor, thereby storing the information in the information storage section. controls such that first external information from the external information source is stored in the information storage unit and output to the instruction execution unit of the processor, and the instruction execution unit of the processor When the first external information in the information source is requested and the first external information is stored in the information storage section of the internal cache memory of the processor, the control section in the processor executes the instruction. By receiving the address information and storage instruction information from the
outputs external information to the instruction execution unit of the processor, and further controls the instruction execution unit of the processor to output a second external information located at a specific address in the external information source.
When requesting external information of the processor, the internal master 1 of the processor
The mesh memory control unit receives the storage instruction information from the instruction execution unit of the processor, so that the second external information from the external information source is stored in the information storage unit of the internal cache memory of the processor. Control is performed so that the information is not stored in the information storage section of the memory but is output to the instruction execution section of the processor.

しかしながら、本発明による情報処理装置のキャッシュ
メモリ!制御方式は、このような情報処理装置のキャッ
シュメモリ制御方式において、上記プロセッサの命令実
行部が特定のアドレスに位置する第2の外部情報を要求
する場合、上記外部キャッシユメモリの制御部が、上記
プロセッサの内部キャッシュメモリの制御部が受けると
同様に、プロセッサの命令実行部からの格納指示t?i
報を受けることによって、上記外部キャッシュメモリの
情報格納部を、上記外部情報源からの第2の外部情報が
上記外部キャッシュメモリの情報格納部に格納されずに
上記プロセッサの命令実行部に出力するにうに、制御i
tする。
However, the cache memory of the information processing device according to the present invention! In the cache memory control method of such an information processing device, the control method is such that when the instruction execution unit of the processor requests second external information located at a specific address, the control unit of the external cache memory: In the same way as the control unit of the internal cache memory of the processor receives, the storage instruction t? from the instruction execution unit of the processor is received. i
and outputting the second external information from the external information source to the instruction execution unit of the processor without being stored in the information storage section of the external cache memory. Uni, control i
Do t.

L皿二蓋皿 このような本発明による情報処理装置のキャッシュメモ
リ制御方式によれば、第1図で上述した従来の情報処理
装置のキャッシュメモリ制御方式の欠点を伴わないこと
は明らかである。
It is clear that the cache memory control method for an information processing apparatus according to the present invention does not have the drawbacks of the conventional cache memory control method for an information processing apparatus described above in FIG.

実施例 次に、第1図を伴って本発明による情報処理装置のキャ
ッシュメモリ制御方式の実施例を述べよう。
Embodiment Next, an embodiment of a cache memory control method for an information processing apparatus according to the present invention will be described with reference to FIG.

第1図において、第2図との対応部分には、同一符号を
付し、詳細説明は省略する。
In FIG. 1, parts corresponding to those in FIG. 2 are designated by the same reference numerals, and detailed description thereof will be omitted.

第1図に示す本発明による情報処理装置のキャッシュメ
モリ制御方式は、次の事項を除いて、第2図で上述した
従来の情報処理装置と同様である。
The cache memory control method of the information processing apparatus according to the present invention shown in FIG. 1 is the same as that of the conventional information processing apparatus described above in FIG. 2, except for the following points.

すなわち、格納指示情報生成部6Bが省略され、これに
応じて、プロセッサ1の命令実行部2が上述した特定ア
ドレスPの無効化指示情報生成部7Bが省略され、これ
に応じて、プロセッサ1の命令実行部2が上述した特定
のアドレスPの外部情tIFiX、を要求した場合、外
部キャッシュメモリCBの制御部5Bが、プロセッサ1
のii制御1!5△が受けると同様に、プロセッサ1の
命令実行部2からのアドレス情報A、と格納指示情1[
3とを受けることによって、情報格納部3Bを、外部情
報X、が情報格納部3Bに格納されずに、セレクタ4B
を通じて、プロセッサ1の命令実行部2に出力されるよ
うに、制御する。
That is, the storage instruction information generation section 6B is omitted, and accordingly, the invalidation instruction information generation section 7B of the specific address P mentioned above by the instruction execution section 2 of the processor 1 is omitted. When the instruction execution unit 2 requests the external information tIFiX of the above-mentioned specific address P, the control unit 5B of the external cache memory CB requests the processor 1
ii control 1!5△ receives the address information A from the instruction execution unit 2 of the processor 1 and the storage instruction information 1 [
3, the information storage section 3B is set to the selector 4B without the external information X being stored in the information storage section 3B
The instruction execution section 2 of the processor 1 is controlled to output the instruction through the instruction execution section 2 of the processor 1.

なお、第2図においては、無効化指示情報生成部も省略
され、そして、外部キャッシュメモリの情報格納部3B
が格納している外部情報に対応している外部情報源Sに
おける外部情報の全てまたは一部(それを外部情報XA
とする)が、新たな内容を有する外部情報YAに変化し
た場合、それにもとずぎ、少なくともその新たな内容を
有する外部情報YΔをプロはツサ1の内部キ1Fツシュ
メモリCAの情報格納部3Δ、または外部キャッシュメ
モリCBの情報格納部3Bに格納するのに先立ち、外部
キ1!ツシュメモリCBの制御部5Bが、プロセッサ1
の内部キャッシュメモリCΔの制御部5Aが受けると同
様に、プロセッサ1の命令実行部2からの無効化指示情
報りを受けることによって、外部キャッシュメモリの情
報格納部を、それに格納している外部情報の、少なくと
も上)ホした新たな内容を右する外部情報YAに対応し
ている外部情報XAについて、それが無効化するように
、制御するようになされている。
In addition, in FIG. 2, the invalidation instruction information generation section is also omitted, and the information storage section 3B of the external cache memory is omitted.
All or part of the external information in external information source S that corresponds to the external information stored in
) changes to external information YA with new content, based on this, at least the external information YΔ with the new content is stored in the information storage section 3Δ of the internal key 1F thread memory CA of the thread 1. , or before storing it in the information storage section 3B of the external cache memory CB, the external key 1! The controller 5B of the memory CB controls the processor 1
By receiving the invalidation instruction information from the instruction execution unit 2 of the processor 1 in the same manner as the control unit 5A of the internal cache memory CΔ of The external information XA corresponding to the external information YA that corresponds to the new content (at least above) is controlled so as to be invalidated.

以上が、本発明による情報処理装置のキャッシュメモリ
制御方式の実施例である。
The above is an embodiment of the cache memory control method for an information processing apparatus according to the present invention.

このような本発明による情報処理装置のキャッシュメモ
リ制御方式によれば、作用・効果の欄で上述したと同様
の作用効果が(ηられることは明らかである。
According to such a cache memory control method for an information processing device according to the present invention, it is clear that the same effects as described above in the section of operations and effects can be obtained.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は、本発明による情報処理装置のキャッシュメモ
リ制御方式の実施例を示す系統図である。 第2図は、従来の情報処理装置のキャッシュメモリ制御
方式を示す系統図である。 1・・・・・・・・・・・・・・・プロセッサ2・・・
・・・・・・・・・・・・命令実行部3A、3B・・・
情報格納部 4△、4B・・・セレクタ 5A、5B・・・制御部 6B・・・・・・・・・・・・格納指示情報生成部7B
・・・・・・・・・・・・無効化情報生成部8・・・・
・・・・・・・・・・・アドレスバス9・・・・・・・
・・・・・・・・データバス11・・・・・・・・・・
・・・・・主記憶装置12・・・・・・・・・・・・・
・・タイマ13・・・・・・・・・・・・・・・入出力
制御装置CA・・・・・・・・・・・・・・・内部キャ
ッシュメモリCB・・・・・・・・・・・・・・・外部
キャッシュメモリS・・・・・・・・・・・・・・・・
・・外部情報源U1、U2・・・・・・電子計算機 A・・・・・・・・・・・・・・・・・・アドレスAA
・・・・・・・・・・・・・・・アドレス情報B、B’
・・・・・・・・・格納指示情報り、D’・・・・・・
・・・無効化指示情報×A1YA・・・・・・外部情報 出願人  日本電信電話株式会社
FIG. 1 is a system diagram showing an embodiment of a cache memory control method for an information processing apparatus according to the present invention. FIG. 2 is a system diagram showing a cache memory control method of a conventional information processing device. 1... Processor 2...
......Instruction execution section 3A, 3B...
Information storage section 4△, 4B... Selector 5A, 5B... Control section 6B... Storage instruction information generation section 7B
......... Invalidation information generation section 8...
・・・・・・・・・・・・Address bus 9・・・・・・・・・
・・・・・・・・・Data bus 11・・・・・・・・・・
・・・・・・Main storage device 12・・・・・・・・・・・・
・・Timer 13・・・・・・・・・・・・Input/output control device CA・・・Internal cache memory CB・・・・・・・・・・・・・・・・・・・External cache memory S・・・・・・・・・・・・・・・・
...External information sources U1, U2... Computer A... Address AA
・・・・・・・・・・・・Address information B, B'
......Storage instruction information, D'...
...Invalidation instruction information x A1YA ...External information applicant Nippon Telegraph and Telephone Corporation

Claims (1)

【特許請求の範囲】 命令実行部と、内部キャッシュメモリとを有するプロセ
ッサと、そのプロセッサに対して外付の外部キャッシュ
メモリとを有し、 上記プロセッサの内部キャッシユメモリ、及び上記外部
キャッシュメモリのそれぞれが、外部情報源からの外部
情報を格納する情報格納部と、上記情報格納部を制御す
る制御部とを有し上記プロセッサの命令実行部が上記外
部情報源における特定のアドレス以外に位置する第1の
外部情報を要求し、且つその第1の外部情報が上記プロ
セッサの内部キャッシュメモリの情報格納部及び上記外
部キャッシュメモリの情報格納部のいずれにも格納され
ていないために、その第1の外部情報を上記プロセッサ
の内部キャッシュメモリの情報格納部に格納する場合、
上記プロセッサの内部キャッシュメモリにおいて、その
制御部が、上記プロセッサの命令実行部からのアドレス
情報及び格納指示情報を受けることによって、上記情報
格納部を、上記外部情報源からの第1の外部情報が、上
記情報格納部に格納され、且つ上記プロセッサの命令実
行部に出力するように、制御し、 上記プロセッサの命令実行部が上記外部情報源における
上記第1の外部情報を要求し、且つその第1の外部情報
が、上記プロセッサの内部キャッシュメモリの情報格納
部に格納されている場合、上記プロセッサにおいて、そ
の制御部が、命令実行部からのアドレス情報及び格納指
示情報を受けることによって、それから、上記第1の外
部情報が上記プロセッサの命令実行部に出力するように
、制御し、 上記プロセッサの命令実行部が上記外部情報源における
特定のアドレスに位置する第2の外部情報を要求する場
合、上記プロセッサの内部キャッシュメモリの制御部が
、上記プロセッサの命令実行部からの格納指示情報を受
けることによって、上記プロセッサの内部キャッシュメ
モリの情報格納部を、上記外部情報源からの第2の外部
情報がプロセッサの内部キャッシュメモリの情報格納部
に格納されずに上記プロセッサの命令実行部に出力する
ように、制御する情報処理装置のキャッシュメモリ制御
方式において、 上記プロセッサの命令実行部が特定のアドレスに位置す
る第2の外部情報を要求する場合、上記外部キャッシュ
メモリの制御部が、上記プロセッサの内部キャッシュメ
モリの制御部が受けると同様に、プロセッサの命令実行
部からの格納指示情報を受けることによつて、上記外部
キャッシュメモリの情報格納部を、上記外部情報源から
の第2の外部情報が上記外部キャッシュメモリの情報格
納部に格納されずに上記プロセッサの命令実行部に出力
するように、制御することを特徴とする情報処理装置の
キャッシュメモリ制御方式。
[Scope of Claims] A processor having an instruction execution unit and an internal cache memory, and an external cache memory external to the processor, wherein the internal cache memory of the processor and the external cache memory are Each has an information storage section that stores external information from an external information source, and a control section that controls the information storage section, and the instruction execution section of the processor is located at a location other than a specific address in the external information source. Since the first external information is requested and the first external information is not stored in either the information storage section of the internal cache memory of the processor or the information storage section of the external cache memory, the first external information is When storing external information in the information storage section of the internal cache memory of the processor,
In the internal cache memory of the processor, the control unit receives address information and storage instruction information from the instruction execution unit of the processor, thereby causing the information storage unit to receive the first external information from the external information source. , the instruction execution unit of the processor requests the first external information from the external information source, and controls the first external information to be stored in the information storage unit and output to the instruction execution unit of the processor; When external information No. 1 is stored in the information storage section of the internal cache memory of the processor, the control section of the processor receives address information and storage instruction information from the instruction execution section, and then: controlling the first external information to be output to an instruction execution unit of the processor, and when the instruction execution unit of the processor requests second external information located at a specific address in the external information source; The control unit of the internal cache memory of the processor receives storage instruction information from the instruction execution unit of the processor, thereby controlling the information storage unit of the internal cache memory of the processor to store the second external information from the external information source. In a cache memory control method of an information processing device, the instruction execution unit of the processor is configured to output to the instruction execution unit of the processor without being stored in the information storage unit of the internal cache memory of the processor. When requesting the located second external information, the control unit of the external cache memory receives storage instruction information from the instruction execution unit of the processor in the same manner as the control unit of the internal cache memory of the processor receives. Therefore, the information storage section of the external cache memory is configured such that the second external information from the external information source is not stored in the information storage section of the external cache memory, but is output to the instruction execution section of the processor. A cache memory control method for an information processing device, characterized in that:
JP62300987A 1987-11-28 1987-11-28 Cache memory control system for information processor Pending JPH01142846A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62300987A JPH01142846A (en) 1987-11-28 1987-11-28 Cache memory control system for information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62300987A JPH01142846A (en) 1987-11-28 1987-11-28 Cache memory control system for information processor

Publications (1)

Publication Number Publication Date
JPH01142846A true JPH01142846A (en) 1989-06-05

Family

ID=17891464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62300987A Pending JPH01142846A (en) 1987-11-28 1987-11-28 Cache memory control system for information processor

Country Status (1)

Country Link
JP (1) JPH01142846A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01318130A (en) * 1988-06-20 1989-12-22 Pfu Ltd Data processor
JPH07200404A (en) * 1993-12-03 1995-08-04 Internatl Business Mach Corp <Ibm> Cache memory using dram

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5848289A (en) * 1981-09-17 1983-03-22 Fuji Electric Co Ltd Buffer memory controlling system
JPS60153554A (en) * 1984-01-23 1985-08-13 Hitachi Ltd Input/output control circuit
JPS61193245A (en) * 1985-02-21 1986-08-27 Hitachi Ltd Memory control system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5848289A (en) * 1981-09-17 1983-03-22 Fuji Electric Co Ltd Buffer memory controlling system
JPS60153554A (en) * 1984-01-23 1985-08-13 Hitachi Ltd Input/output control circuit
JPS61193245A (en) * 1985-02-21 1986-08-27 Hitachi Ltd Memory control system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01318130A (en) * 1988-06-20 1989-12-22 Pfu Ltd Data processor
JPH07200404A (en) * 1993-12-03 1995-08-04 Internatl Business Mach Corp <Ibm> Cache memory using dram

Similar Documents

Publication Publication Date Title
EP0378399B1 (en) Cache content control in multi-processor networks
JPH03127147A (en) Information processing system
JPH04246745A (en) Memory access system
US5749093A (en) Enhanced information processing system using cache memory indication during DMA accessing
JPH01142846A (en) Cache memory control system for information processor
JPH01169557A (en) Storage control system for computer
US4547848A (en) Access control processing system in computer system
JP2587586B2 (en) Data transfer method
JPH01142847A (en) Cache memory control system for information processor
JP2502406B2 (en) Storage control system and data processing device
JPS6122823B2 (en)
JPH06274415A (en) Shared memory system
JPS62262159A (en) Electronic computer
JPH04291642A (en) Cache control system
JPH0612363A (en) Memory controller and multiprocessor system
JP2612715B2 (en) Address bus controller
JPH0236011B2 (en)
JPS6345669A (en) Multi-processor system
JPH02140847A (en) System for controlling cache memory in multi-processor
JPS61267149A (en) Data processor
JPH0799517B2 (en) Shared resource management method
JPH05189963A (en) Memory access control circuit for dynamic memory
JPH02285441A (en) Cache controller
JPS62279441A (en) Memory system for microcomputer
JPH0212350A (en) Information processor