JPH0887453A - Cache memory device, method for controlling resistration of cache memory device, and computer - Google Patents
Cache memory device, method for controlling resistration of cache memory device, and computerInfo
- Publication number
- JPH0887453A JPH0887453A JP6225310A JP22531094A JPH0887453A JP H0887453 A JPH0887453 A JP H0887453A JP 6225310 A JP6225310 A JP 6225310A JP 22531094 A JP22531094 A JP 22531094A JP H0887453 A JPH0887453 A JP H0887453A
- Authority
- JP
- Japan
- Prior art keywords
- data
- read
- registered
- cache memory
- memory device
- 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
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、コンピュータにおい
て、CPU及びメインメモリ間でのデータ転送を行うた
めに、CPU及びメインメモリ間に介在して、データを
登録しておくキャッシュメモリ装置の改良に関するもの
である。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an improvement of a cache memory device for registering data between a CPU and a main memory in order to transfer data between the CPU and the main memory in a computer. It is a thing.
【0002】[0002]
【従来の技術】図8は、従来のキャッシュメモリ装置の
1例の構成を示すブロック図である。このキャッシュメ
モリ装置は、登録するデータのアドレスバス1からのア
ドレスの一部分(例えば、32ビットあるアドレスの2
0〜29ビットの10ビット分)であるインデックスを
デコードするデコーダ20と、インデックスをデコーダ
20がデコードしたコードに応じて、アドレスの残りの
部分(例えば、0〜19ビットの20ビット分)である
タグ21aを記憶するタグ部21と、タグ21aに対応
して、データバス3から与えられる登録するデータ(例
えば32ビット幅を持つものとする)を1ワード(32
ビット)宛のデータ22a,22b,22c,22dに
分けて記憶するデータ部22と、読出すデータのタグと
読出すデータに等しいインデックスを持つ既登録データ
のタグ21aとを比較するコンパレータ24と、コンパ
レータ24の比較結果及びデータバス3とアドレスバス
1とからの入力を受けて、キャッシュメモリ2を制御す
るキャッシュ制御回路27とを備えている。2. Description of the Related Art FIG. 8 is a block diagram showing a configuration of an example of a conventional cache memory device. In this cache memory device, a part of the address from the address bus 1 of the data to be registered (for example, 2 of the address having 32 bits is used).
A decoder 20 that decodes an index that is 0 to 29 bits (for 10 bits) and the rest of the address (for example, 20 bits for 0 to 19 bits) according to the code that the decoder 20 decodes the index. A tag unit 21 that stores a tag 21a and one word (32 bits) of data to be registered (for example, having a 32-bit width) given from the data bus 3 corresponding to the tag 21a.
(Bit) data 22a, 22b, 22c, 22d which are stored separately, and a comparator 24 which compares the tag of the data to be read with the tag 21a of the registered data having an index equal to the data to be read, The cache control circuit 27 receives the comparison result of the comparator 24 and inputs from the data bus 3 and the address bus 1 and controls the cache memory 2.
【0003】キャッシュメモリ2は、コンパレータ24
と、デコーダ20と、タグ21a及びデータ22a,2
2b,22c,22dからなる例えば1024個のエン
トリとを有しており(従って、キャッシュメモリ2の記
憶容量は4kワードである)、データバス3とアドレス
バス1とを介して、CPU28及びメインメモリ29と
接続されている。図9は、32ビットのアドレスの構成
例を示すフォーマットである。0〜19ビットが20ビ
ットのタグ13に、20〜29ビットが10ビットのイ
ンデックス12にそれぞれ相当し、30,31ビット
は、32ビットのデータ22a,22b,22c,22
dの何れかを指定するワードコントロール11である。The cache memory 2 includes a comparator 24.
, The decoder 20, the tag 21a and the data 22a, 2
The cache memory 2 has, for example, 1024 entries including 2b, 22c, and 22d (therefore, the storage capacity of the cache memory 2 is 4 kwords), and the CPU 28 and the main memory are connected via the data bus 3 and the address bus 1. It is connected to 29. FIG. 9 is a format showing a configuration example of a 32-bit address. 0 to 19 bits correspond to a 20-bit tag 13, 20 to 29 bits correspond to a 10-bit index 12, and 30, 31 bits correspond to 32-bit data 22a, 22b, 22c, 22.
It is a word control 11 for designating any one of d.
【0004】このような構成のキャッシュメモリ装置の
動作を以下に説明する。登録が行われるときは、CPU
28からの読出しにより、メインメモリ29内の登録対
象の4ワードのデータ及びそれに対応するアドレスが、
それぞれデータバス3及びアドレスバス1を介してキャ
ッシュメモリ2へ入力される。キャッシュメモリ2で
は、アドレスの20〜29ビットの10ビットのインデ
ックスがデコーダ20で、キャッシュメモリのエントリ
に対応するコードにデコードされ、デコードされたコー
ドに対応するエントリのタグ部21のタグ21aに、登
録するデータのアドレスのタグ13が、データ部22の
1ワード宛の22a,22b,22c,22dに、登録
する4ワードのデータが1ワード宛それぞれ登録され
る。ところで、このようにアドレスの一部分であるイン
デックスを使用してデータを登録する場合、キャッシュ
メモリ2内でインデックスが等しくなるデータは複数存
在することになるが、この複数のデータの内で、キャッ
シュメモリ2に同時に登録できるデータは1つに限られ
る。The operation of the cache memory device having such a configuration will be described below. When registration is done, the CPU
By reading from 28, the data of 4 words to be registered in the main memory 29 and the address corresponding thereto are
The data is input to the cache memory 2 via the data bus 3 and the address bus 1, respectively. In the cache memory 2, the 10-bit index of 20 to 29 bits of the address is decoded by the decoder 20 into the code corresponding to the entry of the cache memory, and the tag 21a of the tag section 21 of the entry corresponding to the decoded code is The tag 13 of the address of the data to be registered is registered in the words 22a, 22b, 22c and 22d addressed to 1 word of the data part 22, and the data of 4 words to be registered are respectively addressed to 1 word. By the way, when data is registered using an index which is a part of an address in this way, there are a plurality of data having the same index in the cache memory 2, but among the plurality of data, the cache memory Only one data can be registered in 2 at the same time.
【0005】読出しが行われるときは、CPU28から
読出し対象データのアドレスが、アドレスバス1を介し
てキャッシュメモリ2へ入力される。キャッシュメモリ
2では、このアドレスの20〜29ビットの10ビット
のインデックスをデコーダ20でデコードする。次に、
このデコードされたコードに対応するキャッシュメモリ
2内のエントリのタグ21aと、読出し対象データのア
ドレスのタグ13とが、コンパレータ24で比較され、
一致しているときは、キャッシュヒットとなり、データ
部22の1ワード宛の22a,22b,22c,22d
の内、ワードコントロール11で指示された1ワード分
のデータが読出され、データバス3を介して、CPUへ
送られる。このときは、アクセス速度が遅いメインメモ
リ29からの読出しを行わないので、効率良く読出しが
行われる。When data is read, the address of the data to be read is input from the CPU 28 to the cache memory 2 via the address bus 1. In the cache memory 2, the decoder 20 decodes the 10-bit index of 20 to 29 bits of this address. next,
The tag 21a of the entry in the cache memory 2 corresponding to this decoded code and the tag 13 of the address of the read target data are compared by the comparator 24,
If they match, a cache hit occurs and 22a, 22b, 22c, 22d addressed to one word of the data section 22.
Of the data, one word of data designated by the word control 11 is read out and sent to the CPU via the data bus 3. At this time, since reading from the main memory 29 having a slow access speed is not performed, the reading is efficiently performed.
【0006】デコードされたコードに対応するキャッシ
ュメモリ2内のエントリのタグ21aと、読出し対象デ
ータのアドレスのタグ13とが、コンパレータ24で比
較され、一致しなかったときは、キャッシュミスとな
り、読出し対象データは、メインメモリ29から読出さ
れ、データバス3を介して、CPUへ送られると共に、
キャッシュメモリ2へも入力される。キャッシュメモリ
2では、上述した登録動作に従って、読出し対象データ
を登録する。つまり、インデックスが等しい既登録のデ
ータに代わって、読出し対象データが登録し直される
(リプレースされる)。インデックスの等しいデータが
既登録でないときも、読出し対象データは登録される。
但し、このときは、アクセス速度が遅いメインメモリ2
9からの読出しを行うので、効率が悪くなる。The tag 21a of the entry in the cache memory 2 corresponding to the decoded code and the tag 13 of the address of the data to be read are compared by the comparator 24. If they do not match, a cache miss occurs and the reading is performed. The target data is read from the main memory 29, sent to the CPU via the data bus 3, and
It is also input to the cache memory 2. In the cache memory 2, the read target data is registered according to the above-described registration operation. That is, the read target data is re-registered (replaced) in place of the registered data having the same index. Even if the data having the same index is not already registered, the read target data is registered.
However, at this time, the main memory 2 with a slow access speed
Since the reading from 9 is performed, the efficiency becomes poor.
【0007】[0007]
【発明が解決しようとする課題】ところで、等しいイン
デックスを持つメインメモリ29内のデータの内、よく
参照されるデータをキャッシュメモリ2に登録し、キャ
ッシュミスしてもリプレースを行わない方が、キャッシ
ュのヒット率は高くなり、効率的なデータ転送が可能に
なる。ところが、従来のキャッシュメモリでは、等しい
インデックスを持つメインメモリ内のデータの内、一方
がよく参照されるにも係わらず、キャッシュミスが起き
る都度、リプレースされるため、キャッシュのヒット率
が低下すると言う問題があった。By the way, among the data in the main memory 29 having the same index, frequently referenced data is registered in the cache memory 2 and it is better not to replace the cache even if a cache miss occurs. The hit rate is high and efficient data transfer is possible. However, in the conventional cache memory, even though one of the data in the main memory having the same index is often referred to, it is replaced every time a cache miss occurs, so that the cache hit rate decreases. There was a problem.
【0008】本発明は、上述のような事情に鑑みてなさ
れたものであり、第1発明では、リプレースが禁止され
るデータ群のアドレス領域を記憶する記憶手段と、読出
すデータのアドレス又は登録するデータのアドレスが、
このアドレス領域に含まれるか否かを判定する判定回路
と、登録するデータについての判定回路の判定結果を記
憶するデータ毎のリプレース禁止ビットとを設けること
により、キャッシュのヒット率が向上するキャッシュメ
モリ装置を提供することを目的とする。The present invention has been made in view of the above circumstances, and in the first invention, a storage means for storing an address area of a data group for which replacement is prohibited and an address or registration of data to be read. The address of the data to be
A cache memory that improves the hit rate of the cache by providing a determination circuit that determines whether or not the address area is included and a replace prohibition bit for each data that stores the determination result of the determination circuit for the data to be registered The purpose is to provide a device.
【0009】第2発明では、リプレースが禁止されるデ
ータ群のアドレス領域を設定しておき、登録するデータ
については、アドレスが前記アドレス領域に含まれるか
否かの判定結果をデータ毎に記憶すると共に、読出す場
合は、読出すデータのアドレスが前記アドレス領域に含
まれるか否かを判定し、その判定結果と既登録のデータ
についての判定結果とに従って、リプレースを実行又は
抑止する方法を採用することにより、キャッシュのヒッ
ト率が向上するキャッシュメモリ装置の登録制御方法を
提供することを目的とする。第3発明では、キャッシュ
メモリ装置への登録の可否を示すビットを有する命令
と、前記ビットを判定する命令判定回路とを設けること
により、キャッシュのヒット率が向上するキャッシュメ
モリ装置を備えたコンピュータを提供することを目的と
する。In the second invention, the address area of the data group in which replacement is prohibited is set, and for the data to be registered, the determination result as to whether or not the address is included in the address area is stored for each data. At the same time, when reading, a method is adopted that determines whether or not the address of the data to be read is included in the address area, and executes or suppresses replacement according to the determination result and the determination result for already registered data. By doing so, it is an object of the present invention to provide a registration control method for a cache memory device in which the cache hit rate is improved. According to a third aspect of the present invention, there is provided a computer including a cache memory device in which a cache hit rate is improved by providing an instruction having a bit indicating whether or not it can be registered in the cache memory device and an instruction determination circuit for determining the bit. The purpose is to provide.
【0010】第4発明では、リプレースが禁止されるデ
ータ群のアドレス領域を記憶する記憶手段と、読出すデ
ータのアドレス又は登録するデータのアドレスが、前記
アドレス領域に含まれるか否かを判定する判定回路と、
登録するデータについての判定回路の判定結果を記憶す
るデータ毎のリプレース禁止ビットとを設けることによ
り、キャッシュのヒット率が向上するキャッシュメモリ
装置を備えたコンピュータを提供することを目的とす
る。According to the fourth aspect of the present invention, it is determined whether or not the storage means for storing the address area of the data group whose replacement is prohibited and the address of the data to be read or the address of the data to be registered are included in the address area. A decision circuit,
An object of the present invention is to provide a computer provided with a cache memory device in which a cache hit ratio is improved by providing a replace prohibition bit for each data that stores the determination result of the determination circuit for data to be registered.
【0011】第5発明では、命令にキャッシュメモリ装
置への登録の可否を示すビットを設定しておき、キャッ
シュメモリ装置は、前記ビットを判定した判定結果に従
って、命令の登録を実行又は抑止する方法を採用するこ
とにより、キャッシュのヒット率が向上するキャッシュ
メモリ装置の登録制御方法を提供することを目的とす
る。According to the fifth aspect of the invention, a bit is set in the instruction to indicate whether the instruction can be registered in the cache memory device, and the cache memory device executes or suppresses the instruction registration according to the result of the determination of the bit. It is an object of the present invention to provide a registration control method for a cache memory device in which the cache hit rate is improved by adopting
【0012】第6発明では、命令にキャッシュメモリ装
置への登録の可否を示すビットを設定しておくと共に、
キャッシュメモリ装置にリプレースが禁止されるデータ
群のアドレス領域を設定しておき、登録するデータのア
ドレスが前記アドレス領域に含まれるか否かを判定し、
その判定結果をデータ毎に記憶する一方、読出す場合
は、前記キャッシュメモリ装置が、前記ビットを判定し
た判定結果と、読出すデータのアドレスが前記アドレス
領域に含まれるか否かの判定結果と、既登録のデータに
ついての判定結果とに従って、リプレースを実行又は抑
止する方法を採用することにより、キャッシュのヒット
率が向上するキャッシュメモリ装置の登録制御方法を提
供することを目的とする。According to the sixth aspect of the invention, a bit indicating whether or not the instruction can be registered in the cache memory device is set in the instruction, and
An address area of a data group whose replacement is prohibited is set in the cache memory device, and it is determined whether the address of the data to be registered is included in the address area,
While storing the determination result for each data, when reading the data, the cache memory device determines the determination result of the bit and the determination result of whether the address of the data to be read is included in the address area. An object of the present invention is to provide a registration control method for a cache memory device that improves the hit rate of a cache by adopting a method of executing or suppressing replacement according to the determination result of already registered data.
【0013】[0013]
【課題を解決するための手段】第1発明に係るキャッシ
ュメモリ装置は、リプレースが禁止されるデータ群のア
ドレス領域を記憶する記憶手段と、読出すデータのアド
レス又は登録するデータのアドレスが、このアドレス領
域に含まれるか否かを判定する判定回路と、登録するデ
ータについての判定回路の判定結果を記憶するデータ毎
のリプレース禁止ビットとを備え、読出す場合は、読出
すデータについての前記判定回路の判定結果と、前記リ
プレース禁止ビットの記憶内容とに従って、リプレース
を実行又は抑止すべくなしてあることを特徴とする。In a cache memory device according to a first aspect of the present invention, a storage means for storing an address area of a data group for which replacement is prohibited and an address of data to be read or an address of data to be registered are: A judgment circuit for judging whether or not the data is included in the address area and a replace prohibition bit for each data storing the judgment result of the judgment circuit for the data to be registered are provided. The replacement is executed or suppressed according to the determination result of the circuit and the stored content of the replacement prohibition bit.
【0014】第2発明に係るキャッシュメモリ装置の登
録制御方法は、リプレースが禁止されるデータ群のアド
レス領域を設定しておき、登録するデータについては、
アドレスが前記アドレス領域に含まれるか否かの判定結
果をデータ毎に記憶すると共に、読出す場合は、読出す
データが前記アドレス領域に含まれるか否かを判定し、
その判定結果と既登録のデータについての判定結果とに
従って、リプレースを実行又は抑止することを特徴とす
る。In the cache memory device registration control method according to the second aspect of the present invention, the address area of the data group for which replacement is prohibited is set in advance, and the data to be registered is
The determination result as to whether or not the address is included in the address area is stored for each data, and when reading, it is determined whether or not the data to be read is included in the address area,
The replacement is executed or suppressed according to the determination result and the determination result of the registered data.
【0015】第3発明に係るコンピュータは、キャッシ
ュメモリ装置への登録の可否を示すビットを有する命令
と、前記ビットを判定する命令判定回路と備え、前記キ
ャッシュメモリ装置が、前記命令判定回路の判定結果に
従って、前記命令の対象データの登録を実行又は抑止す
べくなしてあることを特徴とする。A computer according to a third aspect of the present invention includes an instruction having a bit indicating whether or not it can be registered in a cache memory device, and an instruction determination circuit for determining the bit, and the cache memory device determines the instruction determination circuit. According to the result, the registration of the target data of the command is executed or suppressed.
【0016】第4発明に係るコンピュータは、リプレー
スが禁止されるデータ群のアドレス領域を記憶する記憶
手段と、読出すデータのアドレス又は登録するデータの
アドレスが、前記アドレス領域に含まれるか否かを判定
する判定回路と、登録するデータについての判定回路の
判定結果を記憶するデータ毎のリプレース禁止ビットと
を備え、読出す場合は、命令判定回路の判定結果と、読
出すデータについての前記判定回路の判定結果と、前記
リプレース禁止ビットの記憶内容とに従って、リプレー
スを実行又は抑止すべくなしてあることを特徴とする。In the computer according to the fourth aspect of the present invention, the storage means for storing the address area of the data group for which replacement is prohibited and the address of the data to be read or the address of the data to be registered are included in the address area. And a replace prohibition bit for each data that stores the judgment result of the judgment circuit for the data to be registered. When reading, the judgment result of the instruction judgment circuit and the judgment for the data to be read are provided. The replacement is executed or suppressed according to the determination result of the circuit and the stored content of the replacement prohibition bit.
【0017】第5発明に係るキャッシュメモリ装置の登
録制御方法は、命令にキャッシュメモリ装置への登録の
可否を示すビットを設定しておき、キャッシュメモリ装
置は、前記ビットを判定した判定結果に従って、命令の
登録を実行又は抑止することを特徴とする。In the cache memory device registration control method according to the fifth aspect of the present invention, a bit indicating whether registration to the cache memory device is permitted or not is set in the instruction, and the cache memory device determines the bit according to the determination result. It is characterized by executing or suppressing the registration of instructions.
【0018】第6発明に係るキャッシュメモリ装置の登
録制御方法は、命令にキャッシュメモリ装置への登録の
可否を示すビットを設定しておくと共に、キャッシュメ
モリ装置にリプレースが禁止されるデータ群のアドレス
領域を設定しておき、登録するデータのアドレスが前記
アドレス領域に含まれるか否かを判定し、その判定結果
をデータ毎に記憶する一方、読出す場合は、前記キャッ
シュメモリ装置が、前記ビットを判定した判定結果と、
読出すデータが前記アドレス領域に含まれるか否かの判
定結果と、既登録のデータについての判定結果とに従っ
て、リプレースを実行又は抑止することを特徴とする。In the cache memory device registration control method according to the sixth aspect of the present invention, a bit indicating whether registration to the cache memory device is permitted or not is set in the instruction and the address of the data group whose replacement is prohibited in the cache memory device. An area is set, it is determined whether the address of the data to be registered is included in the address area, and the determination result is stored for each data. On the other hand, when reading, the cache memory device uses the bit And the judgment result of
It is characterized in that the replacement is executed or suppressed in accordance with the result of the determination as to whether or not the data to be read is included in the address area and the result of the determination regarding the registered data.
【0019】[0019]
【作用】第1発明に係るキャッシュメモリ装置では、記
憶手段がリプレースが禁止されるデータ群のアドレス領
域を記憶している。判定回路は、読出すデータのアドレ
ス又は登録するデータのアドレスが、記憶手段に記憶さ
れたアドレス領域に含まれるか否かを判定し、データ毎
のリプレース禁止ビットが、登録するデータについての
判定回路の判定結果を記憶する。CPUから読出しが行
われた場合は、読出すデータについての判定回路の判定
結果と、リプレース禁止ビットの記憶内容とに従って、
リプレースを実行又は抑止する。In the cache memory device according to the first aspect of the present invention, the storage means stores the address area of the data group whose replacement is prohibited. The determination circuit determines whether the address of the data to be read or the address of the data to be registered is included in the address area stored in the storage means, and the replacement prohibition bit for each data is the determination circuit for the data to be registered. The determination result of is stored. When data is read from the CPU, according to the determination result of the determination circuit regarding the data to be read and the stored content of the replace prohibition bit,
Execute or suppress replacement.
【0020】第2発明に係るキャッシュメモリ装置の登
録制御方法では、リプレースが禁止されるデータ群のア
ドレス領域を設定しておき、登録するデータのアドレス
が前記アドレス領域に含まれるか否かを判定し、その判
定結果をデータ毎に記憶する。そして、CPUから読出
しが行われた場合は、読出すデータのアドレスが前記ア
ドレス領域に含まれるか否かを判定し、読出すデータの
アドレスが前記アドレス領域に含まれるときは、リプレ
ース又は登録を実行し、読出すデータのアドレスが前記
アドレス領域に含まれず、既登録のデータのリプレース
禁止ビットが有効のときは、リプレースを抑止し、読出
すデータのアドレスが前記アドレス領域に含まれず、既
登録のデータのリプレース禁止ビットが無効であるとき
は、リプレースを実行する。In the registration control method of the cache memory device according to the second aspect of the present invention, the address area of the data group for which replacement is prohibited is set and it is determined whether the address of the data to be registered is included in the address area. Then, the determination result is stored for each data. Then, when the data is read from the CPU, it is determined whether or not the address of the data to be read is included in the address area. When the address of the data to be read is included in the address area, replacement or registration is performed. If the address of the data to be executed and read is not included in the address area, and the replace prohibition bit of the registered data is valid, replacement is suppressed and the address of the data to be read is not included in the address area, and the registered If the replace prohibition bit of the data is invalid, the replace is executed.
【0021】第3発明に係るコンピュータでは、命令
は、キャッシュメモリ装置への登録の可否を示すビット
を有し、キャッシュメモリ装置は、前記ビットを判定す
る命令判定回路を備えている。キャッシュメモリ装置
は、命令がある都度、命令判定回路が判定する判定結果
に従って、命令の登録(リプレースも含む)を実行又は
抑止する。In the computer according to the third aspect of the present invention, the instruction has a bit indicating whether or not it can be registered in the cache memory device, and the cache memory device includes an instruction determination circuit that determines the bit. Whenever there is an instruction, the cache memory device executes or suppresses the registration (including replacement) of the instruction according to the determination result determined by the instruction determination circuit.
【0022】第4発明に係るコンピュータでは、記憶手
段がリプレースが禁止されるデータ群のアドレス領域を
記憶している。判定回路は、読出すデータのアドレス又
は登録するデータのアドレスが、記憶手段に記憶された
アドレス領域に含まれるか否かを判定し、データ毎のリ
プレース禁止ビットが、登録するデータについての判定
回路の判定結果を記憶する。CPUから読出しが行われ
た場合は、命令判定回路の判定結果と、読出すデータに
ついての判定回路の判定結果と、リプレース禁止ビット
の記憶内容とに従って、リプレースを実行又は抑止す
る。In the computer according to the fourth aspect of the present invention, the storage means stores the address area of the data group whose replacement is prohibited. The determination circuit determines whether the address of the data to be read or the address of the data to be registered is included in the address area stored in the storage means, and the replacement prohibition bit for each data is the determination circuit for the data to be registered. The determination result of is stored. When data is read from the CPU, replacement is executed or suppressed according to the determination result of the instruction determination circuit, the determination result of the determination circuit for the data to be read, and the stored contents of the replace prohibition bit.
【0023】第5発明に係るキャッシュメモリ装置の登
録制御方法では、命令にキャッシュメモリ装置への登録
の可否を示すビットを設定しておき、キャッシュメモリ
装置は、前記ビットを判定した判定結果に従って、命令
の対象データの登録(リプレースも含む)を実行又は抑
止する。In the cache memory device registration control method according to the fifth aspect of the present invention, a bit indicating whether registration to the cache memory device is possible or not is set in the instruction, and the cache memory device determines the bit according to the determination result. Executes or suppresses registration (including replacement) of instruction target data.
【0024】第6発明に係るキャッシュメモリ装置の登
録制御方法では、命令にキャッシュメモリ装置への登録
の可否を示すビットを設定しておき、キャッシュメモリ
装置にリプレースが禁止されるデータ群のアドレス領域
を設定しておき、登録するデータのアドレスが前記アド
レス領域に含まれるか否かを判定し、その判定結果をデ
ータ毎に記憶する。そして、CPUから読出しが行われ
た場合は、キャッシュメモリ装置が、前記ビットが登録
可を示し、読出すデータのアドレスが前記アドレス領域
に含まれるときは、リプレース又は登録を実行し、前記
ビットが登録可を示し、読出すデータのアドレスが前記
アドレス領域に含まれず、既登録のデータのリプレース
禁止ビットが有効のときは、リプレースを抑止し、前記
ビットが登録可を示し、読出すデータのアドレスが前記
アドレス領域に含まれず、既登録のデータのリプレース
禁止ビットが無効であるときは、リプレースを実行し、
前記ビットが登録不可を示すときは、リプレースを抑止
する。In the cache memory device registration control method according to the sixth aspect of the present invention, a bit indicating whether registration to the cache memory device is permitted or not is set in the instruction and the address area of the data group in which replacement is prohibited is set in the cache memory device. Is set, it is determined whether the address of the data to be registered is included in the address area, and the determination result is stored for each data. Then, when the data is read from the CPU, the cache memory device indicates that the bit is registerable, and when the address of the data to be read is included in the address area, the replace or register is executed, and the bit is stored. If the address of data to be read is not included in the address area and the replace prohibition bit of the registered data is valid, the replacement is suppressed, the bit indicates that the register is possible, and the address of the data to be read. Is not included in the address area and the replace prohibition bit of the registered data is invalid, the replace is executed,
If the bit indicates that registration is not possible, replacement is suppressed.
【0025】[0025]
【実施例】以下に、本発明をその実施例を示す図面に基
づき説明する。 実施例1.図1は、第1発明に係るキャッシュメモリ装
置及び第2発明に係るキャッシュメモリ装置の登録制御
方法の1実施例の構成を示すブロック図である。このキ
ャッシュメモリ装置は、登録するデータのアドレスバス
1からのアドレスの一部分(例えば、32ビットあるア
ドレスの20〜29ビットの10ビット分)であるイン
デックスをデコードするデコーダ20と、インデックス
をデコーダ20がデコードしたコードに応じて、アドレ
スの残りの部分(例えば、0〜19ビットの20ビット
分)であるタグ21aを記憶するタグ部21と、タグ2
1aに対応して、データバス3から与えられる登録する
データ(例えば32ビット幅を持つものとする)を1ワ
ード宛のデータ22a,22b,22c,22dを記憶
するデータ部22とを備えている。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings showing its embodiments. Example 1. FIG. 1 is a block diagram showing the configuration of an embodiment of a cache memory device according to the first invention and a registration control method of the cache memory device according to the second invention. In this cache memory device, a decoder 20 for decoding an index which is a part of an address (for example, 10 bits of 20 to 29 bits of an address having 32 bits) of data to be registered is provided with a decoder 20. A tag unit 21 that stores a tag 21a that is the remaining part of the address (for example, 20 bits of 0 to 19 bits) according to the decoded code, and a tag 2
A data section 22 for storing data 22a, 22b, 22c, 22d addressed to 1 word for data to be registered (for example, having a 32-bit width) given from the data bus 3 is provided corresponding to 1a. .
【0026】また、読出すデータのタグと読出すデータ
に等しいインデックスを持つ既登録データのタグ21a
とを比較するコンパレータ24と、コンパレータ24の
比較結果及びデータバス3とアドレスバス1とからの入
力を受けて、キャッシュメモリ2aを制御するキャッシ
ュ制御回路27aとを備えている。キャッシュメモリ2
aは、コンパレータ24と、デコーダ20と、タグ21
a及びデータ22a,22b,22c,22dからなる
例えば1024個のエントリとを有しており(従って、
キャッシュメモリ2aの記憶容量は4kワードであ
る)、データバス3とアドレスバス1とを介して、CP
U28及びメインメモリ29と接続されている。Further, the tag of the registered data 21a having an index equal to the tag of the data to be read and the data to be read.
And a cache control circuit 27a which receives the comparison result of the comparator 24 and inputs from the data bus 3 and the address bus 1 and controls the cache memory 2a. Cache memory 2
a is a comparator 24, a decoder 20, and a tag 21.
a and the data 22a, 22b, 22c, 22d, for example, 1024 entries (therefore,
The storage capacity of the cache memory 2a is 4 kwords), and the CP via the data bus 3 and the address bus 1
It is connected to the U 28 and the main memory 29.
【0027】また、アドレスバス1に接続され、リプレ
ースが禁止されるデータ群の下限アドレス及び上限アド
レスをそれぞれ記憶する下限レジスタ4及び上限レジス
タ5と、読出すデータのアドレス又は登録するデータの
アドレスが、下限レジスタ4及び上限レジスタ5に記憶
されたアドレス領域に含まれるか否かを判定し、その判
定結果をキャッシュ制御回路27aへ送る判定回路6
と、登録するデータについての判定回路6の判定結果を
記憶するタグ21a毎のリプレース禁止ビット23aと
を備えている。このリプレース禁止ビット23aの初期
値は、無効を示す。Further, the lower limit register 4 and the upper limit register 5 which are connected to the address bus 1 and respectively store the lower limit address and the upper limit address of the data group whose replacement is prohibited, and the address of the data to be read or the address of the data to be registered. , The lower limit register 4 and the upper limit register 5, it is determined whether or not it is included in the address area, and the determination circuit 6 for sending the determination result to the cache control circuit 27a.
And a replace prohibition bit 23a for each tag 21a that stores the determination result of the determination circuit 6 for the data to be registered. The initial value of the replacement prohibition bit 23a indicates invalidity.
【0028】図9は、32ビットのアドレスの構成例を
示すフォーマットである。0〜19ビットが20ビット
のタグ13に、20〜29ビットが10ビットのインデ
ックス12にそれぞれ相当し、30,31ビットは、3
2ビットのデータ22a,22b,22c,22dの何
れかを指定するワードコントロール11である。FIG. 9 is a format showing a configuration example of a 32-bit address. 0 to 19 bits correspond to a 20-bit tag 13, 20 to 29 bits correspond to a 10-bit index 12, and 30 and 31 bits correspond to 3, respectively.
The word control 11 designates any of the 2-bit data 22a, 22b, 22c, 22d.
【0029】このような構成のキャッシュメモリ装置の
動作を、その動作を示す図2のフローチャートを参照し
ながら説明する。登録が行われるときは、CPU28か
らの命令により、メインメモリ29内の登録対象の4ワ
ードのデータ及びそれに対応するアドレスが、それぞれ
データバス3及びアドレスバス1を介してキャッシュメ
モリ装置へ入力される。キャッシュメモリ装置では、ア
ドレスの20〜29ビットの10ビットのインデックス
がデコーダ20で、エントリに対応するコードにデコー
ドされ、デコードされたコードに対応するエントリのタ
グ部21のタグ21aに、登録するデータのアドレスの
タグ13が、データ部22の1ワード宛の22a,22
b,22c,22dに、登録する4ワードのデータが1
ワード宛それぞれ登録される。このとき、判定回路6
は、登録対象データのアドレスが、下限レジスタ4及び
上限レジスタ5に記憶されたアドレス領域(リプレース
禁止領域)に含まれるか否かを判定し、その判定結果は
リプレース禁止ビット23aに記憶される。The operation of the cache memory device having such a configuration will be described with reference to the flowchart of FIG. 2 showing the operation. When the registration is performed, the instruction from the CPU 28 inputs the 4-word data to be registered in the main memory 29 and the corresponding address to the cache memory device via the data bus 3 and the address bus 1, respectively. . In the cache memory device, the 10-bit index of 20 to 29 bits of the address is decoded by the decoder 20 into the code corresponding to the entry, and the data to be registered in the tag 21a of the tag section 21 of the entry corresponding to the decoded code. 13 of the address of the data part 22 is addressed to one word of the data part 22a, 22a.
The data of 4 words to be registered in b, 22c and 22d is 1
Each ward is registered. At this time, the determination circuit 6
Determines whether or not the address of the registration target data is included in the address area (replacement prohibition area) stored in the lower limit register 4 and the upper limit register 5, and the determination result is stored in the replacement prohibition bit 23a.
【0030】読出しが行われるときは、CPU28から
読出し対象データのアドレスが、アドレスバス1を介し
てキャッシュメモリ装置へ入力される。キャッシュメモ
リ装置では、このアドレスの20〜29ビットの10ビ
ットのインデックスをデコーダ20でデコードする。次
に、このデコードされたコードに対応するキャッシュメ
モリ2a内のエントリのタグ21aと、読出し対象デー
タのアドレスのタグ13とが、コンパレータ24で比較
され(図2S10)、一致しているときは、キャッシュ
ヒットとなり、データ部22の1ワード宛の4つの22
a,22b,22c,22dの内、ワードコントロール
11で指示された1ワード分のデータが読出され(図2
S20)、データバス3を介して、CPUへ送られる。When data is read, the address of the data to be read is input from the CPU 28 to the cache memory device via the address bus 1. In the cache memory device, the decoder 20 decodes the 10-bit index of 20 to 29 bits of this address. Next, the tag 21a of the entry in the cache memory 2a corresponding to this decoded code and the tag 13 of the address of the read target data are compared by the comparator 24 (FIG. 2S10), and when they match, It becomes a cache hit, and four 22s addressed to 1 word of the data part 22
Of a, 22b, 22c, and 22d, the data for one word designated by the word control 11 is read (see FIG. 2).
S20), and sent to the CPU via the data bus 3.
【0031】デコードされたコードに対応するキャッシ
ュメモリ2a内のエントリのタグ21aと、読出し対象
データのアドレスのタグ13とが、コンパレータ24で
比較され(図2S10)、一致しなかったときは、キャ
ッシュミスとなり、読出し対象データは、メインメモリ
29から読出され、データバス3を介して、CPUへ送
られると共に、キャッシュメモリ装置へも入力される。
キャッシュメモリ装置では、判定回路6が、読出し対象
データのアドレスが下限レジスタ4及び上限レジスタ5
に記憶されたリプレース禁止領域に含まれるか否かを判
定する(図2S11)。The tag 21a of the entry in the cache memory 2a corresponding to the decoded code and the tag 13 of the address of the data to be read are compared by the comparator 24 (S10 of FIG. 2). As a result of a miss, the data to be read is read from the main memory 29, sent to the CPU via the data bus 3 and also input to the cache memory device.
In the cache memory device, the determination circuit 6 determines that the address of the read target data is the lower limit register 4 and the upper limit register 5.
It is determined whether or not it is included in the replacement prohibition area stored in (1) in FIG. 2 (S11).
【0032】判定回路6が、リプレース禁止領域に含ま
れると判定したとき(図2S11)、上述の登録動作に
従って、読出し対象データを、等しいインデックスのデ
ータが既に登録されているエントリに登録し直す(リプ
レースする。既登録データは消去される)(図2S1
2,13)。等しいインデックスのデータが既登録でな
いときも(図2S12)、読出し対象データは登録され
る(図2S14)。そして、リプレース禁止ビット23
aはセットされ有効とされる(図2S15)。When the judgment circuit 6 judges that the data is included in the replacement prohibited area (S11 in FIG. 2), the read target data is re-registered in the entry in which the data of the same index is already registered according to the above-mentioned registration operation ( Replace the existing data will be deleted) (Fig. 2 S1)
2, 13). Even when the data having the same index is not already registered (S12 in FIG. 2), the read target data is registered (S14 in FIG. 2). And the replace prohibition bit 23
a is set and validated (S15 in FIG. 2).
【0033】判定回路6が、リプレース禁止領域に含ま
れないと判定したとき(図2S11)、読出し対象デー
タと等しいインデックスを持つ既登録データ(図2S1
6)のリプレース禁止ビット23aが無効ならば(図2
S17)、上述の登録動作に従って、読出し対象データ
を、等しいインデックスのデータが既に登録されている
エントリに登録し直す(リプレースする。既登録データ
は消去される)(図2S18)。リプレース禁止ビット
23aが有効ならば(図2S17)、読出し対象データ
を登録しない(リプレースしない)。等しいインデック
スのデータが既登録でないときは(図2S16)、読出
し対象データは登録される(図2S19)。When the determination circuit 6 determines that the data is not included in the replacement prohibited area (FIG. 2S11), the registered data (FIG. 2S1) having the same index as the read target data is stored.
If the replace prohibition bit 23a of 6) is invalid (see FIG. 2).
S17), according to the above-described registration operation, the read target data is re-registered (replaced; the already-registered data is erased) in the entry in which the data of the same index is already registered (S18 in FIG. 2). If the replacement prohibition bit 23a is valid (S17 in FIG. 2), the read target data is not registered (not replaced). If the data with the same index is not already registered (FIG. 2S16), the read target data is registered (FIG. 2S19).
【0034】このようにすれば、アドレスの一部分であ
るインデックスが等しいメインメモリ29内のデータの
内、よく参照するデータのアドレスの範囲をリプレース
禁止領域に設定することにより、キャッシュのヒット率
を向上させることができる。尚、本実施例では、リプレ
ースが禁止されるデータ群のアドレス領域を、下限レジ
スタ4及び上限レジスタ5に記憶させているが、アドレ
ス領域の下限を下限レジスタ4に、アドレス領域のサイ
ズを別のレジスタに記憶させるようにしても良い。In this way, the cache hit rate is improved by setting the address range of frequently referenced data among the data in the main memory 29 having the same index, which is a part of the address, in the replacement prohibited area. Can be made. In this embodiment, the address area of the data group whose replacement is prohibited is stored in the lower limit register 4 and the upper limit register 5, but the lower limit of the address area is set in the lower limit register 4 and the size of the address area is set differently. You may make it memorize | store in a register.
【0035】実施例2.図3は、第3発明に係るコンピ
ュータ及び第5発明に係るキャッシュメモリ装置の登録
制御方法の1実施例の構成を示すブロック図である。こ
のコンピュータは、登録するデータのアドレスバス1か
らのアドレスの一部分(例えば、32ビットあるアドレ
スの20〜29ビットの10ビット分)であるインデッ
クスをデコードするデコーダ20と、インデックスをデ
コーダ20がデコードしたコードに応じて、アドレスの
残りの部分(例えば、0〜19ビットの20ビット分)
であるタグ21aを記憶するタグ部21と、タグ21a
に対応して、データバス3から与えられる登録するデー
タ(例えば32ビット幅を持つものとする)を1ワード
宛のデータ22a,22b,22c,22dを記憶する
データ部22とを備えている。Example 2. FIG. 3 is a block diagram showing the configuration of an embodiment of a computer according to the third invention and a registration control method for a cache memory device according to the fifth invention. In this computer, a decoder 20 that decodes an index, which is a part of an address (for example, 10 bits of 20 to 29 bits of an address having 32 bits) of data to be registered, and a decoder 20 decodes the index. Depending on the code, the rest of the address (for example, 20 bits from 0 to 19 bits)
And a tag portion 21 for storing the tag 21a that is
Corresponding to the above, there is provided a data section 22 for storing data 22a, 22b, 22c, 22d addressed to 1 word for data to be registered (for example, having a 32-bit width) given from the data bus 3.
【0036】また、読出すデータのタグと読出すデータ
に等しいインデックスを持つ既登録データのタグ21a
とを比較するコンパレータ24と、コンパレータ24の
比較結果及びデータバス3とアドレスバス1とからの入
力を受けて、キャッシュメモリ2bを制御するキャッシ
ュ制御回路27bとを備えている。キャッシュメモリ2
bは、コンパレータ24と、デコーダ20と、タグ21
a及びデータ22a,22b,22c,22dからなる
例えば1024個のエントリとを有しており(従って、
キャッシュメモリ2bの記憶容量は4kワードであ
る)、データバス3とアドレスバス1とを介して、CP
U28及びメインメモリ29と接続されている。 ま
た、データバス3に接続され、命令に含まれるキャッシ
ュメモリ装置への登録の可否を示すビットを判定する命
令判定回路26を備え、この判定結果はキャッシュ制御
回路27bへ送られる。Further, the tag of the registered data 21a having an index equal to the tag of the data to be read and the data to be read.
And a cache control circuit 27b which receives the comparison result of the comparator 24 and the inputs from the data bus 3 and the address bus 1 and controls the cache memory 2b. Cache memory 2
b is a comparator 24, a decoder 20, and a tag 21.
a and the data 22a, 22b, 22c, 22d, for example, 1024 entries (therefore,
The storage capacity of the cache memory 2b is 4 kwords), and the CP via the data bus 3 and the address bus 1
It is connected to the U 28 and the main memory 29. Further, it is provided with an instruction determination circuit 26 which is connected to the data bus 3 and determines a bit included in the instruction, which indicates whether or not the instruction can be registered in the cache memory device, and the determination result is sent to the cache control circuit 27b.
【0037】図4は、32ビットの転送命令の構成例を
示すフォーマットである。この転送命令では、例えば、
10ビット目がキャッシュメモリ装置への登録の可否を
示すビットになっており、例えば、10ビット目が
“1”のとき(図4(a))は、キャッシュメモリ装置
への登録可を示し、10ビット目が“0”のとき(図4
(b))は、キャッシュメモリ装置への登録不可を示し
ている。このように、他の命令も同様のビットを有して
いる。アドレスの構成例は、実施例1で説明したものと
同様なので、説明を省略する。FIG. 4 is a format showing a configuration example of a 32-bit transfer instruction. In this transfer command, for example,
The 10th bit is a bit indicating whether registration to the cache memory device is possible or not. For example, when the 10th bit is “1” (FIG. 4A), it indicates registration possible to the cache memory device. When the 10th bit is "0" (Fig. 4
(B)) indicates that registration in the cache memory device is impossible. Thus, the other instructions have similar bits. Since the configuration example of the address is the same as that described in the first embodiment, the description will be omitted.
【0038】このような構成のコンピュータの動作を、
その動作を示す図5のフローチャートを参照しながら説
明する。命令判定回路26が、命令の10ビット目が
“1”で、キャッシュ登録可と判定し、登録が行われる
ときは、メインメモリ29内の登録対象の4ワードの命
令及びそれに対応するアドレスが、それぞれデータバス
3及びアドレスバス1を介してキャッシュメモリ2bへ
入力される。キャッシュメモリ2bでは、アドレスの2
0〜29ビットの10ビットのインデックスがデコーダ
20で、エントリに対応するコードにデコードされ、デ
コードされたコードに対応するエントリのタグ部21の
タグ21aに、登録する命令のアドレスのタグ13が、
データ部22の1ワード宛の22a,22b,22c,
22dに、登録する4ワードのデータが1ワード宛それ
ぞれ登録される。The operation of the computer having such a configuration is
The operation will be described with reference to the flowchart of FIG. When the instruction determination circuit 26 determines that the 10th bit of the instruction is “1” and cache registration is possible, and the registration is performed, the 4-word instruction to be registered in the main memory 29 and the address corresponding thereto are The data is input to the cache memory 2b via the data bus 3 and the address bus 1, respectively. In the cache memory 2b, the address 2
The 10-bit index of 0 to 29 bits is decoded by the decoder 20 into the code corresponding to the entry, and the tag 13a of the address of the instruction to be registered is added to the tag 21a of the tag unit 21 of the entry corresponding to the decoded code.
22a, 22b, 22c addressed to one word of the data section 22,
Data of 4 words to be registered is respectively registered in 22d for 1 word.
【0039】読出しが行われるときは、命令のアドレス
が、データバス3及びアドレスバス1を介してキャッシ
ュメモリ2へ入力される。キャッシュメモリ2bでは、
このアドレスの20〜29ビットの10ビットのインデ
ックスをデコーダ20でデコードする。次に、このデコ
ードされたコードに対応するキャッシュメモリ2b内の
エントリのタグ21aと、読出し対象命令のアドレスの
タグ13とが、コンパレータ24で比較され(図5S3
0)、一致しているときは、キャッシュヒットとなり、
データ部22の1ワード宛の22a,22b,22c,
22dの内、ワードコントロール11で指示された1ワ
ード分の命令が読出され(図5S35)、データバス3
を介して、CPUへ送られる。When reading is performed, the address of the instruction is input to the cache memory 2 via the data bus 3 and the address bus 1. In the cache memory 2b,
The decoder 20 decodes the 10-bit index of 20 to 29 bits of this address. Then, the tag 21a of the entry in the cache memory 2b corresponding to this decoded code and the tag 13 of the address of the instruction to be read are compared by the comparator 24 (FIG. 5S3).
0), when they match, it is a cache hit,
22a, 22b, 22c addressed to one word of the data section 22,
An instruction for one word designated by the word control 11 out of 22d is read (S35 in FIG. 5), and the data bus 3
To the CPU.
【0040】デコードされたコードに対応するキャッシ
ュメモリ2b内のエントリのタグ21aと、命令のアド
レスのタグ13とが、コンパレータ24で比較され(図
5S30)、一致しなかったときは、キャッシュミスと
なり、命令は、メインメモリ29から読出され、データ
バス3を介して、CPUへ送られると共に、キャッシュ
メモリ装置へも入力される。キャッシュメモリ装置で
は、命令判定回路26が、命令の10ビット目のキャッ
シュメモリ装置への登録の可否を示すビットを判定す
る。The tag 21a of the entry in the cache memory 2b corresponding to the decoded code and the tag 13 of the address of the instruction are compared by the comparator 24 (S30 in FIG. 5). If they do not match, a cache miss occurs. , Instructions are read from the main memory 29, sent to the CPU via the data bus 3, and input to the cache memory device. In the cache memory device, the instruction determination circuit 26 determines the 10th bit of the instruction, which indicates whether the instruction can be registered in the cache memory device.
【0041】命令判定回路26が、命令の10ビット目
が“1”で、キャッシュ登録可と判定したとき(図5S
31)、上述の登録動作に従って、命令を等しいインデ
ックスのデータが既に登録されているエントリに登録し
直す(リプレースする。既登録データは消去される)
(図5S32,33)。等しいインデックスの命令が既
登録でないときも(図5S32)、この命令は登録され
る(図5S34)。When the instruction determination circuit 26 determines that the 10th bit of the instruction is "1" and the cache can be registered (FIG. 5S).
31), according to the above-mentioned registration operation, the instruction is re-registered in the entry in which the data of the same index is already registered (replaced. The already-registered data is erased).
(FIG. 5 S32, 33). Even when the command with the same index is not already registered (S32 in FIG. 5), this command is registered (S34 in FIG. 5).
【0042】命令判定回路26が、命令の10ビット目
が“0”で、キャッシュ登録不可と判定したとき(図5
S31)、読出し対象データを登録しない(リプレース
しない)。このように、命令にキャッシュ登録の可否を
設定することにより、アドレスの一部のインデックスが
等しいメインメモリ29内の命令の内、プログラム中で
よく参照する命令はキャッシュメモリ装置に登録し、あ
まり参照しない命令は登録しないようにして、キャッシ
ュのヒット率を向上させることができる。尚、本実施例
では、命令に関してキャッシュ登録の可否を設定してい
るが、データについてキャッシュ登録の可否を設定する
ようにしても良い。また、命令及びデータの両方につい
てキャッシュ登録の可否を設定するようにしても良い。When the instruction determination circuit 26 determines that the 10th bit of the instruction is "0" and the cache cannot be registered (FIG. 5).
S31), the read target data is not registered (not replaced). In this way, by setting whether or not cache registration is possible for an instruction, among the instructions in the main memory 29 in which a part of the addresses have the same index, the instruction that is often referred to in the program is registered in the cache memory device and is referred to less often. It is possible to improve the hit rate of the cache by not registering the instruction not to register. In this embodiment, the cache registration permission / inhibition is set for the instruction, but the cache registration permission / prohibition may be set for the data. In addition, whether or not cache registration is possible may be set for both instructions and data.
【0043】実施例3.図6は、第4発明に係るコンピ
ュータ及び第6発明に係るキャッシュメモリ装置の登録
制御方法の1実施例の構成を示すブロック図である。こ
のコンピュータは、アドレスバス1に接続され、リプレ
ースが禁止されるデータ群の下限アドレス及び上限アド
レスをそれぞれ記憶する下限レジスタ4及び上限レジス
タ5と、読出すデータのアドレス又は登録するデータの
アドレスが、下限レジスタ4及び上限レジスタ5に記憶
されたアドレス領域に含まれるか否かを判定し、その判
定結果をキャッシュ制御回路27cへ送る判定回路6
と、登録するデータについての判定回路6の判定結果を
記憶するタグ21a毎のリプレース禁止ビット23aと
を備えている。その他の構成は、実施例2で説明した構
成と同様なので、説明を省略する。Example 3. FIG. 6 is a block diagram showing the configuration of an embodiment of a computer according to the fourth invention and a registration control method for a cache memory device according to the sixth invention. This computer has a lower limit register 4 and an upper limit register 5 which store the lower limit address and the upper limit address of a data group prohibited to be replaced, respectively, and an address of data to be read or an address of data to be registered. A determination circuit 6 that determines whether the address area stored in the lower limit register 4 and the upper limit register 5 is included and sends the determination result to the cache control circuit 27c.
And a replace prohibition bit 23a for each tag 21a that stores the determination result of the determination circuit 6 for the data to be registered. Other configurations are the same as the configurations described in the second embodiment, and thus the description will be omitted.
【0044】図4は、32ビットの転送命令の構成例を
示すフォーマットである。この転送命令では、例えば、
10ビット目がキャッシュメモリ装置への登録の可否を
示すビットになっており、例えば、10ビット目が
“1”のとき(図4(a))は、キャッシュメモリ装置
への登録可(キャッシュ登録命令有り)を示し、10ビ
ット目が“0”のとき(図4(b))は、キャッシュメ
モリ装置への登録不可(キャッシュ登録命令無し)を示
している。このように、他の命令も同様のビットを有し
ている。アドレスの構成例は、実施例1で説明した構成
と同様なので、説明を省略する。FIG. 4 is a format showing a configuration example of a 32-bit transfer instruction. In this transfer command, for example,
The 10th bit is a bit indicating whether registration to the cache memory device is possible. For example, when the 10th bit is “1” (FIG. 4A), registration to the cache memory device is possible (cache registration). When the 10th bit is “0” (FIG. 4B), it indicates that registration in the cache memory device is impossible (no cache registration command). Thus, the other instructions have similar bits. Since the configuration example of the address is the same as the configuration described in the first embodiment, the description will be omitted.
【0045】このような構成のコンピュータの動作を、
その動作を示す図7のフローチャートを参照しながら説
明する。命令判定回路26が、命令の10ビット目が
“1”で、キャッシュ登録可と判定し、登録が行われる
ときは、メインメモリ29内の登録対象の4ワードのデ
ータ及びそれに対応するアドレスが、それぞれデータバ
ス3及びアドレスバス1を介してキャッシュメモリ2a
へ入力される。キャッシュメモリ2aでは、アドレスの
20〜29ビットの10ビットのインデックスがデコー
ダ20で、エントリに対応するコードにデコードされ、
デコードされたコードに対応するエントリのタグ部21
のタグ21aに、登録するデータのアドレスのタグ13
が、データ部22の1ワード宛の22a,22b,22
c,22dに、登録する4ワードのデータが1ワード宛
それぞれ登録される。このとき、判定回路6は、登録対
象データのアドレスが、下限レジスタ4及び上限レジス
タ5に記憶されたアドレス領域(リプレース禁止領域)
に含まれるか否かを判定し、その判定結果はリプレース
禁止ビット23aに記憶される。The operation of the computer having such a configuration is
The operation will be described with reference to the flowchart of FIG. When the 10th bit of the instruction is "1" and the cache registration is possible and the registration is performed by the instruction determination circuit 26, the data of 4 words to be registered in the main memory 29 and the corresponding address are Cache memory 2a via data bus 3 and address bus 1, respectively
Is input to. In the cache memory 2a, the 10-bit index of 20 to 29 bits of the address is decoded by the decoder 20 into the code corresponding to the entry,
Tag part 21 of the entry corresponding to the decoded code
The tag 13a of the address of the data to be registered in the tag 21a of
22a, 22b, 22 addressed to one word of the data part 22
The data of 4 words to be registered are respectively registered in c and 22d for 1 word. At this time, the determination circuit 6 determines that the address of the data to be registered is the address area (replacement prohibited area) stored in the lower limit register 4 and the upper limit register 5.
Is included in the replacement prohibition bit 23a.
【0046】読出しが行われるときは、CPU28から
読出し対象データのアドレスが、アドレスバス1を介し
てキャッシュメモリ2aへ入力される。キャッシュメモ
リ2aでは、このアドレスの20〜29ビットの10ビ
ットのインデックスをデコーダ20でデコードする。次
に、このデコードされたコードに対応するキャッシュメ
モリ2a内のエントリのタグ21aと、読出し対象デー
タのアドレスのタグ13とが、コンパレータ24で比較
され(図7S40)、一致しているときは、キャッシュ
ヒットとなり、データ部22の1ワード宛の4つの部分
22a,22b,22c,22dの内、ワードコントロ
ール11で指示された1ワード分のデータが読出され
(図7S51)、データバス3を介して、CPUへ送ら
れる。When reading is performed, the address of the data to be read is input from the CPU 28 to the cache memory 2a via the address bus 1. In the cache memory 2a, the decoder 20 decodes the 10-bit index of 20 to 29 bits of this address. Next, the tag 21a of the entry in the cache memory 2a corresponding to this decoded code and the tag 13 of the address of the read target data are compared by the comparator 24 (S40 in FIG. 7), and if they match, A cache hit occurs, and one word data designated by the word control 11 is read out from the four parts 22a, 22b, 22c, 22d addressed to one word of the data part 22 (S51 in FIG. 7) and is transferred via the data bus 3. Sent to the CPU.
【0047】デコードされたコードに対応するキャッシ
ュメモリ2a内のエントリのタグ21aと、読出し対象
データのアドレスのタグ13とが、コンパレータ24で
比較され(図7S40)、一致しなかったときは、キャ
ッシュミスとなり、読出し対象データは、メインメモリ
29から読出され、データバス3を介して、CPUへ送
られると共に、キャッシュメモリ装置へも入力される。
キャッシュメモリ装置では、命令判定回路26が、命令
の10ビット目のキャッシュメモリ装置への登録の可否
を示すビットを判定すると共に、判定回路6が、読出し
対象データのアドレスが下限レジスタ4及び上限レジス
タ5に記憶されたリプレース禁止領域に含まれるか否か
を判定する。The tag 21a of the entry in the cache memory 2a corresponding to the decoded code and the tag 13 of the address of the data to be read are compared by the comparator 24 (S40 in FIG. 7). If they do not match, the cache is found. As a result of a miss, the data to be read is read from the main memory 29, sent to the CPU via the data bus 3 and also input to the cache memory device.
In the cache memory device, the instruction determination circuit 26 determines the 10th bit indicating whether the instruction can be registered in the cache memory device, and the determination circuit 6 determines that the address of the data to be read is the lower limit register 4 and the upper limit register. It is determined whether or not it is included in the replacement prohibited area stored in No. 5.
【0048】命令判定回路26が、命令の10ビット目
が“0”で、キャッシュ登録不可と判定したとき(図7
S41)、読出し対象データを登録しない(リプレース
しない)。命令判定回路26が、命令の10ビット目が
“1”で、キャッシュ登録可と判定し(図7S41)、
判定回路6が、リプレース禁止領域に含まれると判定し
たとき(図7S42)、上述の登録動作に従って、読出
し対象データを、等しいインデックスのデータが既に登
録されているエントリに登録し直す(リプレースする。
既登録データは消去される)(図7S43,44)。等
しいインデックスのデータが既登録でないときも(図7
S43)、読出し対象データは登録される(図7S4
5)。そして、リプレース禁止ビット23aがセットさ
れ有効とされる(図7S46)。When the instruction determination circuit 26 determines that the 10th bit of the instruction is "0" and the cache cannot be registered (FIG. 7).
S41), the read target data is not registered (not replaced). The instruction determination circuit 26 determines that the 10th bit of the instruction is "1" and the cache can be registered (S41 in FIG. 7).
When the determination circuit 6 determines that the read target data is included in the replacement prohibited area (S42 in FIG. 7), the read target data is reregistered (replaced) in the entry in which the data of the same index is already registered according to the above-described registration operation.
The registered data is erased) (S43, 44 in FIG. 7). Even when data with the same index is not already registered (see FIG. 7).
S43), the data to be read is registered (S4 in FIG. 7).
5). Then, the replace prohibition bit 23a is set and made valid (S46 in FIG. 7).
【0049】命令判定回路26が、命令の10ビット目
が“1”で、キャッシュ登録可と判定し(図7S4
1)、判定回路6が、リプレース禁止領域に含まれない
と判定したとき(図7S42)、読出し対象データと等
しいインデックスを持つ既登録データ(図7S47)の
リプレース禁止ビット23aが無効ならば(図7S4
8)、上述の登録動作に従って、読出し対象データを、
等しいインデックスのデータが既に登録されているエン
トリに登録し直す(リプレースする。既登録データは消
去される)(図7S49)。リプレース禁止ビット23
aが有効ならば(図7S48)、読出し対象データを登
録しない(リプレースしない)。等しいインデックスの
データが既登録でないときは(図7S47)、読出し対
象データは登録される(図7S50)。The instruction judging circuit 26 judges that cache registration is possible when the 10th bit of the instruction is "1" (S4 in FIG. 7).
1) If the determination circuit 6 determines that the replacement prohibition area is not included in the replacement prohibition area (S42 of FIG. 7), the replacement prohibition bit 23a of the registered data (FIG. 7S47) having the same index as the read target data is invalid (FIG. 7S42). 7S4
8), according to the above registration operation,
The data of the same index is re-registered (replaced. The already-registered data is erased) in the already-registered entry (S49 in FIG. 7). Replace prohibition bit 23
If a is valid (S48 in FIG. 7), the read target data is not registered (not replaced). If the data with the same index is not already registered (FIG. 7S47), the read target data is registered (FIG. 7S50).
【0050】このように、アドレスの一部分であるイン
デックスが等しいメインメモリ29内のデータの内、よ
く参照するデータのアドレスの範囲をリプレース禁止領
域に設定すると共に、命令にキャッシュ登録の可否を設
定し、よく参照するデータはキャッシュメモリ装置に登
録し、あまり参照しないデータは登録しないようにする
ことにより、キャッシュのヒット率を向上させることが
できる。As described above, of the data in the main memory 29 having the same index which is a part of the address, the range of the address of the data that is often referred to is set in the replace prohibition area, and the cache registerability is set in the instruction. By registering frequently-referenced data in the cache memory device and not registering infrequently-referenced data, the cache hit rate can be improved.
【0051】[0051]
【発明の効果】第1発明に係るキャッシュメモリ装置に
よれば、キャッシュのヒット率が向上するキャッシュメ
モリ装置を実現することができる。According to the cache memory device of the first aspect of the present invention, it is possible to realize a cache memory device having an improved cache hit rate.
【0052】第2,5,6発明に係るキャッシュメモリ
装置の登録制御方法によれば、キャッシュのヒット率を
向上させることができる。According to the cache memory device registration control method of the second, fifth, and sixth inventions, the cache hit rate can be improved.
【0053】第3,4発明に係るコンピュータによれ
ば、キャッシュのヒット率が向上するキャッシュメモリ
装置を備えたコンピュータを実現することができる。According to the computers of the third and fourth aspects of the invention, it is possible to realize a computer equipped with a cache memory device in which the cache hit rate is improved.
【図1】 第1発明に係るキャッシュメモリ装置及び第
2発明に係るキャッシュメモリ装置の登録制御方法の1
実施例の構成を示すブロック図である。FIG. 1 is a cache memory device according to a first aspect of the invention and a registration control method 1 for a cache memory device according to the second aspect of the invention.
It is a block diagram which shows the structure of an Example.
【図2】 第1発明に係るキャッシュメモリ装置及び第
2発明に係るキャッシュメモリ装置の登録制御方法の1
実施例の動作を示すフローチャートである。FIG. 2 is a cache memory device according to a first invention and a registration control method 1 for a cache memory device according to the second invention.
It is a flow chart which shows operation of an example.
【図3】 第3発明に係るコンピュータ及び第5発明に
係るキャッシュメモリ装置の登録制御方法の1実施例の
構成を示すブロック図である。FIG. 3 is a block diagram showing a configuration of an embodiment of a registration control method of a computer according to a third invention and a cache memory device according to the fifth invention.
【図4】 命令の構成例を示すフォーマットである。FIG. 4 is a format showing a configuration example of an instruction.
【図5】 第3発明に係るコンピュータ及び第5発明に
係るキャッシュメモリ装置の登録制御方法の1実施例の
動作を示すフローチャートである。FIG. 5 is a flowchart showing an operation of a computer according to a third aspect of the invention and an embodiment of a registration control method for a cache memory device according to the fifth aspect of the invention.
【図6】 第4発明に係るコンピュータ及び第6発明に
係るキャッシュメモリ装置の登録制御方法の1実施例の
構成を示すブロック図である。FIG. 6 is a block diagram showing a configuration of an embodiment of a computer according to a fourth invention and a registration control method of a cache memory device according to the sixth invention.
【図7】 第4発明に係るコンピュータ及び第6発明に
係るキャッシュメモリ装置の登録制御方法の1実施例の
動作を示すフローチャートである。FIG. 7 is a flowchart showing the operation of a computer according to a fourth invention and an embodiment of a registration control method for a cache memory device according to the sixth invention.
【図8】 従来のキャッシュメモリ装置の1例の構成を
示すブロック図である。FIG. 8 is a block diagram showing a configuration of an example of a conventional cache memory device.
【図9】 アドレスの構成例を示すフォーマットであ
る。FIG. 9 is a format showing a configuration example of an address.
1 アドレスバス、2a,2b キャッシュメモリ、3
データバス、4 下限レジスタ、5 上限レジスタ、
6 判定回路、12 インデックス、13,21a タ
グ、22a〜22d データ、23a リプレース禁止
ビット、24 コンパレータ、26 命令判定回路、2
8 CPU、29 メインメモリ。1 address bus, 2a, 2b cache memory, 3
Data bus, 4 lower limit register, 5 upper limit register,
6 decision circuit, 12 index, 13, 21a tag, 22a to 22d data, 23a replacement prohibition bit, 24 comparator, 26 instruction decision circuit, 2
8 CPU, 29 main memory.
Claims (6)
送を行うために、CPU及びメインメモリ間に介在して
データを登録し、CPUから読出しが行われた場合は、
読出すデータが既登録のときは、既登録のデータを読出
す一方、読出すデータが未登録のときは、メインメモリ
から読出したデータを取り込み、他の既登録のデータに
代えて登録し直すリプレースを実行するキャッシュメモ
リ装置において、 リプレースの可否を判定する判定回路と、登録するデー
タについての該判定回路の判定結果を記憶するデータ毎
のリプレース禁止ビットとを備え、CPUから読出しが
行われた場合は、読出すデータについての前記判定回路
の判定結果と、前記リプレース禁止ビットの記憶内容と
に従って、リプレースを実行又は抑止すべくなしてある
ことを特徴とするキャッシュメモリ装置。1. In order to transfer data between the CPU and the main memory, when data is registered via the CPU and the main memory and read from the CPU,
If the data to be read is already registered, the already registered data is read, while if the data to be read is not registered, the data read from the main memory is fetched and reregistered instead of other already registered data. In a cache memory device that executes replacement, a determination circuit that determines whether replacement is possible and a replacement prohibition bit for each data that stores the determination result of the determination circuit for the data to be registered are provided and read from the CPU. In this case, the cache memory device is characterized in that the replacement is executed or suppressed according to the judgment result of the judgment circuit for the data to be read and the stored content of the replacement prohibition bit.
送を行うために、CPU及びメインメモリ間に介在して
データを登録し、CPUから読出しが行われた場合は、
読出すデータが既登録のときは、既登録のデータを読出
す一方、読出すデータが未登録のときは、メインメモリ
から読出したデータを取り込み、他の既登録のデータに
代えて登録し直すリプレースを実行するキャッシュメモ
リ装置の登録制御方法において、 リプレースの可否を判定し、その判定結果をデータ毎に
記憶するとともに、CPUから読出しが行われた場合
は、読出すデータのアドレスが前記アドレス領域に含ま
れるか否かを判定し、その判定結果と既登録のデータに
ついての判定結果とに従って、リプレースを実行又は抑
止するキャッシュメモリ装置の登録制御方法。2. In order to transfer data between the CPU and the main memory, when data is registered via the CPU and the main memory and read from the CPU,
If the data to be read is already registered, the already registered data is read, while if the data to be read is not registered, the data read from the main memory is fetched and reregistered instead of other already registered data. In the method for controlling registration of a cache memory device that executes replacement, whether replacement is possible is determined, the determination result is stored for each data, and when read from the CPU, the address of the read data is the address area. The method for controlling registration of a cache memory device, which determines whether or not a replacement is included in the cache memory device, and executes or suppresses replacement according to the determination result and the determination result for already registered data.
送を行うために、CPU及びメインメモリ間に介在して
データを登録し、CPUから読出しが行われた場合は、
読出すデータが既登録のときは、既登録のデータを読出
す一方、読出すデータが未登録のときは、メインメモリ
から読出したデータを取り込み、他の既登録のデータに
代えて登録し直すリプレースを実行するキャッシュメモ
リ装置を備えたコンピュータにおいて、 命令は、前記キャッシュメモリ装置への登録の可否を示
すビットを有し、前記キャッシュメモリ装置は、前記ビ
ットを判定する命令判定回路を備えて、前記キャッシュ
メモリ装置が、前記命令判定回路の判定結果に従って、
前記命令の登録を実行又は抑止すべくなしてあることを
特徴とするコンピュータ。3. In order to transfer data between the CPU and the main memory, when data is registered via the CPU and the main memory and read from the CPU,
If the data to be read is already registered, the already registered data is read, while if the data to be read is not registered, the data read from the main memory is fetched and reregistered instead of other already registered data. In a computer including a cache memory device that executes replacement, an instruction has a bit indicating whether or not registration in the cache memory device is possible, and the cache memory device includes an instruction determination circuit that determines the bit, The cache memory device, according to the determination result of the instruction determination circuit,
A computer characterized by being adapted to execute or inhibit registration of the instruction.
可否を判定する判定回路と、登録するデータについての
該判定回路の判定結果を記憶するデータ毎のリプレース
禁止ビットとを備え、CPUから読出しが行われた場合
は、命令判定回路の判定結果と、読出すデータについて
の前記判定回路の判定結果と、前記リプレース禁止ビッ
トの記憶内容とに従って、リプレースを実行又は抑止す
べくなしてあることを特徴とする請求項3記載のコンピ
ュータ。4. The cache memory device comprises a determination circuit for determining whether or not replacement is possible, and a replacement prohibition bit for each data that stores the determination result of the determination circuit for the data to be registered, and is read from the CPU. In this case, the replacement is executed or suppressed according to the judgment result of the instruction judgment circuit, the judgment result of the judgment circuit for the data to be read, and the stored content of the replacement prohibition bit. The computer according to claim 3.
送を行うために、CPU及びメインメモリ間に介在して
データを登録し、CPUから読出しが行われた場合は、
読出すデータが既登録のときは、既登録のデータを読出
す一方、読出すデータが未登録のときは、メインメモリ
から読出したデータを取り込み、他の既登録のデータに
代えて登録し直すキャッシュメモリ装置の登録制御方法
において、 命令に前記キャッシュメモリ装置への登録の可否を示す
ビットを設定しておき、前記キャッシュメモリ装置は、
前記ビットを判定した判定結果に従って、前記命令の登
録を実行又は抑止することを特徴とするキャッシュメモ
リ装置の登録制御方法。5. When data is registered between the CPU and the main memory and data is read from the CPU in order to transfer the data between the CPU and the main memory,
If the data to be read is already registered, the already registered data is read, while if the data to be read is not registered, the data read from the main memory is fetched and reregistered instead of other already registered data. In the method of controlling registration of a cache memory device, a bit indicating whether registration to the cache memory device is possible is set in an instruction, and the cache memory device is
A method for controlling registration of a cache memory device, wherein registration of the instruction is executed or suppressed according to a determination result of determining the bit.
送を行うために、CPU及びメインメモリ間に介在して
データを登録し、CPUから読出しが行われた場合は、
読出すデータが既登録のときは、既登録のデータを読出
す一方、読出すデータが未登録のときは、メインメモリ
から読出したデータを取り込み、他の既登録のデータに
代えて登録し直すリプレースを実行するキャッシュメモ
リ装置の登録制御方法において、 命令は、前記キャッシュメモリ装置への登録の可否を示
すビットを有すると共に、前記キャッシュメモリ装置
は、リプレースの可否を判定し、その判定結果をデータ
毎に記憶する一方、CPUから読出しが行われた場合
は、前記キャッシュメモリ装置が、前記ビットを判定し
た判定結果と、読出すデータがリプレース可否の判定結
果と、既登録のデータについての判定結果とに従って、
リプレースを実行又は抑止するキャッシュメモリ装置の
登録制御方法。6. In order to transfer data between the CPU and the main memory, when data is registered via the CPU and the main memory and read from the CPU,
If the data to be read is already registered, the already registered data is read, while if the data to be read is not registered, the data read from the main memory is fetched and reregistered instead of other already registered data. In a cache memory device registration control method for executing replacement, an instruction has a bit indicating whether registration to the cache memory device is possible, and the cache memory device determines whether replacement is possible, and the determination result is a data. Each time the data is stored, the cache memory device, when read from the CPU, determines the result of the determination of the bit, the result of whether the read data is replaceable, and the result of the registered data. And according to
A cache memory device registration control method for executing or suppressing replacement.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6225310A JPH0887453A (en) | 1994-09-20 | 1994-09-20 | Cache memory device, method for controlling resistration of cache memory device, and computer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6225310A JPH0887453A (en) | 1994-09-20 | 1994-09-20 | Cache memory device, method for controlling resistration of cache memory device, and computer |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0887453A true JPH0887453A (en) | 1996-04-02 |
Family
ID=16827352
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP6225310A Pending JPH0887453A (en) | 1994-09-20 | 1994-09-20 | Cache memory device, method for controlling resistration of cache memory device, and computer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0887453A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012522290A (en) * | 2009-03-27 | 2012-09-20 | アドバンスト・マイクロ・ディバイシズ・インコーポレイテッド | Method for Way Assignment and Way Lock in Cache |
-
1994
- 1994-09-20 JP JP6225310A patent/JPH0887453A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012522290A (en) * | 2009-03-27 | 2012-09-20 | アドバンスト・マイクロ・ディバイシズ・インコーポレイテッド | Method for Way Assignment and Way Lock in Cache |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7971018B2 (en) | Method and apparatus for secure context switching in a system including a processor and cached virtual memory | |
EP0701211B1 (en) | Data processor with address translation mechanism | |
KR101861544B1 (en) | Memory access control | |
US20180157601A1 (en) | Apparatus and method for avoiding conflicting entries in a storage structure | |
US20080177952A1 (en) | Method and Apparatus for Setting Cache Policies in a Processor | |
KR102346255B1 (en) | Admission control for conditional memory access program instructions | |
US20080307173A1 (en) | Efficient Encoding for Detecting Load Dependency on Store with Misalignment | |
JP3227707B2 (en) | Cache memory control method for each driving mode | |
JP4008947B2 (en) | Cache memory and control method thereof | |
JP2005512228A (en) | System and method for controlling device access to memory providing enhanced memory access security | |
US7100018B2 (en) | System and method for encoding page size information | |
JP3936672B2 (en) | Microprocessor | |
JPH0887453A (en) | Cache memory device, method for controlling resistration of cache memory device, and computer | |
US20110179227A1 (en) | Cache memory and method for cache entry replacement based on modified access order | |
WO2006108618A1 (en) | Generic low cost hardware mechanism for memory protection | |
JPH01133162A (en) | Cache memory control system | |
JPH04369061A (en) | Control system for cache memory | |
JP2006185284A (en) | Data processor | |
JP4057699B2 (en) | Storage system | |
JPH0659977A (en) | Cache memory capable of executing indicative line substituting operation and its control method | |
JP2613258B2 (en) | Information processing method and apparatus | |
JP2002024088A (en) | Data processor | |
JPH10254782A (en) | Data processing device | |
EP0557077A1 (en) | Method for switching between memory management modes | |
JPH04239944A (en) | Cache lock system |