JPH0667976A - Cache memory control system by hardware control software - Google Patents

Cache memory control system by hardware control software

Info

Publication number
JPH0667976A
JPH0667976A JP4218864A JP21886492A JPH0667976A JP H0667976 A JPH0667976 A JP H0667976A JP 4218864 A JP4218864 A JP 4218864A JP 21886492 A JP21886492 A JP 21886492A JP H0667976 A JPH0667976 A JP H0667976A
Authority
JP
Japan
Prior art keywords
cache memory
control software
instruction
hardware control
hcsw
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.)
Granted
Application number
JP4218864A
Other languages
Japanese (ja)
Other versions
JP2972451B2 (en
Inventor
Kotaro Samejima
浩太郎 鮫島
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.)
NEC Solution Innovators Ltd
Original Assignee
NEC Solution Innovators Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Solution Innovators Ltd filed Critical NEC Solution Innovators Ltd
Priority to JP4218864A priority Critical patent/JP2972451B2/en
Publication of JPH0667976A publication Critical patent/JPH0667976A/en
Application granted granted Critical
Publication of JP2972451B2 publication Critical patent/JP2972451B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To improve the efficiency deterioration owing to the erroneous hit of an instruction word cache memory at the time of executing hardware control software and the using method of the instruction word cache memory which becomes to be inefficiently used owing to the execution of hardware control software CONSTITUTION:In the groups of hardware control software instructions 310, 320 and 330 of which efficiency importance are respectively a high-order, a middle-order and a low order, hardware control software support instructions 341, 342 and 343 updating the number of block loading times at the time of the block loading of the instruction word cache memory and LRU replacement information and changing block loading suppressing operation to the instruction word cache memory and a hardware control software support instruction 344 for leaving a hardware control software mode are arranged at proper positions so that the instruction word cache memory is controlled by changing to the operation at the time of the block loading of the instruction word cache memory in accordance with the efficiency importance of the group of hardware control software instructions by hardware control software.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はハードウェア制御ソフト
ウェアによるキャッシュメモリ制御方式に関し、特にメ
インメモリ装置から命令語を読み出す際の、キャッシュ
メモリに対するブロックロード時に生起するブロックロ
ード回数の制御及びキャッシュディレクトリ更新の制御
及びキャッシュメモリへのブロックロード抑止動作の制
御におけるハードウェア制御ソフトウェアによるキャッ
シュメモリ制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a cache memory control system using hardware control software, and more particularly to controlling the number of block loads that occur when a block is loaded into a cache memory and reading a cache directory when reading a command from a main memory device. And a cache memory control method by hardware control software in the control of the cache memory and the control of the block load suppression operation to the cache memory.

【0002】[0002]

【従来の技術】主処理装置とメインメモリ装置との動作
スピードギャップを埋めるために、通常、両者の間に高
速・小容量のメモリで構成されるキャッシュメモリ装置
を設ける方策がよく採用される。更に、パイプライン処
理の様な命令語を先取りして実行する方式では、キャッ
シュメモリを命令語用とオペランド用にそれぞれ分離
し、命令語キャッシュメモリとオペランドキャッシュメ
モリとを設けている。
2. Description of the Related Art In order to close the operation speed gap between a main processing unit and a main memory unit, it is often adopted to provide a cache memory unit composed of a high speed and small capacity memory between them. Furthermore, in the method of prefetching and executing instruction words such as pipeline processing, the cache memory is separated for instruction words and operands, and an instruction word cache memory and an operand cache memory are provided.

【0003】メインメモリ装置は、予め一定の容量にブ
ロック化され、これらのブロック内の一部のブロックに
格納されているデータが、キャッシュメモリ装置内のキ
ャッシュメモリに書込まれている(ブロックロードとい
う)。
The main memory device is divided into blocks of a certain capacity in advance, and the data stored in some of these blocks is written in the cache memory of the cache memory device (block load). That).

【0004】上記メインメモリ装置のブロック内の、ど
のブロックがキャッシュメモリに書込まれているかの情
報は、キャッシュメモリ装置内のキャッシュディレクト
リに書込まれる。
Information about which of the blocks in the main memory device is written in the cache memory is written in the cache directory in the cache memory device.

【0005】主処理装置からのデータ読み出し要求に対
して、キャッシュディレクトリとキャッシュメモリとが
読み出され、先ずキャッシュディレクトリからの読み出
しデータによって、読み出し要求されているデータがキ
ャッシュメモリに存在するか否かが調べられる。もし存
在(ヒット)していれば、キャッシュメモリからの読み
出しデータ内の該当するデータが主処理装置に送られ
る。また、存在しない(ミスヒット)事が分ると、キャ
ッシュメモリからの読み出しデータは放棄され、メイン
メモリ装置における該当するアドレスを読んで主処理装
置に送出するとともに、前記読み出しデータが含まれる
メインメモリ装置内のデータブロックが、キャッシュメ
モリの空きブロック又は最も不使用時間の長いブロック
にブロックロードされる(LRUリプレースメント)。
また同時にキャッシュディレクトリ及びLRUリプレー
スメント情報も更新される。
In response to a data read request from the main processing unit, the cache directory and the cache memory are read. First, the read data from the cache directory determines whether or not the requested data exists in the cache memory. Can be examined. If it exists (hits), the corresponding data in the read data from the cache memory is sent to the main processing unit. When it is found that the data does not exist (miss hit), the read data from the cache memory is discarded, the corresponding address in the main memory device is read and sent to the main processing device, and the main memory containing the read data is read. A data block in the device is block-loaded to a free block of the cache memory or a block having the longest unused time (LRU replacement).
At the same time, the cache directory and LRU replacement information are also updated.

【0006】また、ミスヒット時に実行されるメインメ
モリ装置からのブロックロード回数は、ハードウェアの
構成によって決定された固定値となっている。以上の動
作は、命令語キャッシュメモリの場合も全く同様に行わ
れる。
The number of block loads from the main memory device executed at the time of a mishit is a fixed value determined by the hardware configuration. The above operation is performed in the same manner in the case of the instruction word cache memory.

【0007】一方、主処理装置では、制御記憶容量削
減、ファームウェア設計量削減のために、ハードウェア
/ファームウェア機能のハードウェア制御ソフトウェア
(以下、HCSWと記す)化がなされてきている。HC
SWは、一般ソフトウェアに開放された全命令から選択
したソフトウェア命令群と、HCSWサポート命令群と
でコーディングされた機械語命令群であり、メインメモ
リのハードウェア領域に格納されている。
On the other hand, in the main processing unit, hardware control software (hereinafter referred to as HCSW) having a hardware / firmware function has been implemented in order to reduce a control storage capacity and a firmware design amount. HC
The SW is a machine language instruction group coded by a software instruction group selected from all the instructions released to general software and an HCSW support instruction group, and is stored in the hardware area of the main memory.

【0008】主処理装置の動作モードとしては、ソフト
ウェアモードと、HCSWモードが存在する。ソフトウ
ェアモードの場合は、ソフトウェアが命令カウンタ、ベ
ースレジスタ、汎用レジスタ等の内容を管理し、主処理
装置はソフトウェアの指示に基づいて動作する。また、
HCSWモードの場合は、ソフトウェアが管理していた
命令カウンタ、ベースレジスタ、汎用レジスタ等の内容
は退避し、主処理装置はHCSWの指示に基づいて動作
する。
As the operation mode of the main processing unit, there are a software mode and an HCSW mode. In the software mode, the software manages the contents of the instruction counter, base register, general-purpose register, etc., and the main processing unit operates based on the instructions of the software. Also,
In the HCSW mode, the contents of the instruction counter, base register, general-purpose register, etc. managed by the software are saved, and the main processing unit operates based on the instructions of the HCSW.

【0009】HCSWは必要に応じてハードウェアある
いはファームウェアが起動しHCSWモードに移入し、
処理終了後ソフトウェアモードに移行する。
The hardware or firmware of the HCSW is activated as necessary, and the HCSW is moved to the HCSW mode.
After the processing is completed, the software mode is entered.

【0010】また、HCSWは、ハードウェア/ファー
ムウェア機能の一部を実現するためのものであるため、
ある機能単位にHCSW命令群としてまとまった形でメ
インメモリ上に存在している。HCSWにより実現され
る機能としては、いわゆるプロセス管理/スタック処理
/構成制御命令等の制御機能が主であり、従ってHCS
Wの動作としてはループ処理等の繰返し処理は少なく、
シーケンシャルに順次縦方向に実行して行く場合が多
い。このため、HCSW命令群の命令語のメインメモリ
上の配置としては、一般ソフトウェアで言われている様
なループ処理に代表されるメインメモリ上の局所的配置
とはならず、一つの機能を実現するため広範囲にアドレ
ス上連続して配置することが特徴となっている。
Further, since the HCSW is for realizing a part of the hardware / firmware function,
It exists in the main memory in a form of a group of HCSW instructions in a certain functional unit. The main functions implemented by the HCSW are control functions such as so-called process management / stack processing / configuration control commands, and therefore the HCS.
As for the operation of W, there are few repeated processes such as loop processing,
In many cases, it is executed sequentially sequentially in the vertical direction. Therefore, the arrangement of the instruction words of the HCSW instruction group on the main memory does not have to be the local arrangement on the main memory represented by the loop processing as is said in general software, but realizes one function. Therefore, the feature is that the addresses are arranged continuously over a wide range.

【0011】また、キャッシュメモリ制御方式として
は、一般ソフトウェアとHCSWとの間に区別はなく、
メインメモリ上のアドレスを基に制御されるのみで、一
般ソフトウェア命令群もHCSW命令群も同様の制御を
受け命令語キャッシュメモリへ書込まれる。
As for the cache memory control method, there is no distinction between general software and HCSW.
The general software instruction group and the HCSW instruction group are written to the instruction word cache memory under the same control as they are only controlled based on the address on the main memory.

【0012】[0012]

【発明が解決しようとする課題】上述した従来のキャッ
シュメモリ制御方式では、上述のHCSWを実行しよう
とする際、命令語キャッシュメモリにミスヒットし、所
定のメインメモリ装置から命令語キャッシュメモリに対
して行われるブロックロード時の読み出しデータ量が、
ある機能を実現するためのHCSW命令群のプログラム
量よりはるかに小さいため、また、ブロックロードの回
数も固定であるため、ブロックロードされた命令語キャ
ッシュメモリ内にあるHCSW命令分の実行が終了する
と、命令語キャッシュメモリがミスヒットとなり、また
ブロックロードを行う必要が生じる。以後、この状態の
繰返しとなり、HCSWで一つの機能を実現する間に、
何度も命令語キャッシュメモリがミスヒットとなり、こ
のため性能が著しく低下するという欠点がある。
In the above-mentioned conventional cache memory control method, when the above-mentioned HCSW is executed, the instruction word cache memory is miss-hit, and a predetermined main memory device sends the instruction word cache memory to the instruction word cache memory. The amount of read data during block load
When the execution of the HCSW instructions in the block-loaded instruction word cache memory ends because the program amount of the HCSW instruction group for realizing a certain function is much smaller and the number of block loads is fixed. , The instruction word cache memory becomes a mishit and it becomes necessary to perform block loading. After that, this state is repeated, and while realizing one function in HCSW,
There is a drawback in that the instruction word cache memory becomes a mishit many times, resulting in a significant decrease in performance.

【0013】また、命令語キャッシュメモリの使用方法
においても、一般ソフトウェア命令とHCSW命令との
間に区別を持たず制御し、メインメモリ上のアドレスを
基に、一般ソフトウェア命令群もHCSW命令群も同様
に、一括して命令語キャッシュメモリへ書込んでいるた
め、性能上重要度の低いHCSW命令群であると分って
いる場合でも、命令語キャッシュメモリへ書込んでしま
い、命令語キャッシュメモリ内の空ブロックが減少、ま
たは、より性能上重要度の高い一般ソフトウェア命令群
及びHCSW命令群の存在するブロックが、命令語キャ
ッシュメモリ内より消失してしまうという欠点がある。
Also in the method of using the instruction word cache memory, the general software instruction and the HCSW instruction are controlled without distinction, and both the general software instruction group and the HCSW instruction group are controlled based on the address on the main memory. Similarly, since the instruction word cache memory is collectively written, even if it is known that the HCSW instruction group has low performance importance, the instruction word cache memory is written and the instruction word cache memory is written. There is a drawback that the number of empty blocks in the memory is reduced, or the blocks in which the general software instruction group and the HCSW instruction group, which are more important in terms of performance, exist, disappear from the instruction word cache memory.

【0014】更に、この性能上重要度の低いHCSW命
令群が書込まれた事により、本来命令語キャッシュメモ
リ内に格納され続けているべき性能上重要度の高い他の
一般ソフトウェア命令群及びHCSW命令群の存在して
いるブロックが、最も不使用時間の長いブロックにブロ
ックロードされる(LRUリプレースメント)という論
理により、次のブロックロードで置き換えられる対象ブ
ロックとなってしまい、このため、有効に使用されるべ
き命令語キャッシュメモリが有効に使用されないという
欠点がある。
Furthermore, since the HCSW instruction group of low performance importance is written, another general software instruction group of high performance importance and HCSW which should originally be stored in the instruction word cache memory. Due to the logic that the block in which the instruction group exists is loaded into the block with the longest unused time (LRU replacement), it becomes the target block to be replaced by the next block load. Therefore, it is effectively used. There is a drawback that the instruction word cache memory to be executed is not used effectively.

【0015】[0015]

【課題を解決するための手段】本発明のハードウェア制
御ソフトウェアによるキャッシュメモリ制御方式は、メ
インメモリ装置のハードウェア領域に格納された機械語
命令形式のルーチンであるハードウェア制御ソフトウェ
アをマイクロプログラムにより呼出し、前記ハードウェ
ア制御ソフトウェアをマイクロプログラムで逐一実行す
る事によりハードウェアを制御する機能を備え、前記ハ
ードウェア制御ソフトウェア命令と一般ソフトウェァ命
令を区別せず同一のキャッシュメモリに格納する手段を
備え、メインメモリ装置から前記キャッシュメモリに対
するブロックロード時のブロックロード回数を、前記ハ
ードウェア制御ソフトウェアの起動前に変更する手段
と、前記ハードウェア制御ソフトウェアにより任意に変
更する手段と、前記ハードウェア制御ソフトウェアの終
了を契機として、ハードウェア所定のブロックロード回
数に変更する手段とを備え、 前記ブロックロード時に
実行されるLRUリプレースメント情報の更新動作を、
前記ハードウェア制御ソフトウェアの起動前の指示で抑
止する手段と、前記ハードウェア制御ソフトウェアの指
示により抑止する手段と、前記ハードウェア制御ソフト
ウェアの終了を契機に、前記LRUリプレースメント情
報の更新動作抑止を解除する手段とを備え、キャッシュ
ブロックロードを抑止してキャッシュメモリを経由せず
に命令語を読み出せるように構成し、前記ハードウェア
制御ソフトウェアの起動前にブロックロードの抑止を指
示する手段と、前記ハードウェア制御ソフトウェアによ
りブロックロードの抑止を指示する手段と、前記ハード
ウェア制御ソフトウェアの終了を契機に、前記ブロック
ロードの抑止を解除する手段とを備えて構成される。
A cache memory control method using hardware control software according to the present invention uses a microprogram to execute hardware control software, which is a machine language instruction format routine stored in a hardware area of a main memory device. And a function for controlling hardware by executing the hardware control software one by one with a microprogram, and a means for storing the hardware control software instruction and the general software instruction in the same cache memory without distinguishing each other, Means for changing the number of times of block loading from the main memory device to the cache memory before starting the hardware control software, means for arbitrarily changing the number of times by the hardware control software, Triggered by the completion of Dowea control software, and means for changing the hardware predetermined block loading number, the updating operation of the LRU replacement information is executed when the block load,
A means for suppressing by the instruction before the activation of the hardware control software, a means for suppressing by the instruction of the hardware control software, and the inhibition of the update operation of the LRU replacement information triggered by the termination of the hardware control software Means for inhibiting the cache block load and reading the instruction word without going through the cache memory, and instructing the inhibition of the block load before starting the hardware control software, The hardware control software is provided with a means for instructing the inhibition of the block load, and a means for releasing the inhibition of the block load upon the termination of the hardware control software.

【0016】[0016]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0017】図1は本発明のハードウェア制御ソフトウ
ェアによるキャッシュメモリ制御方式の一実施例を示す
ブロック図である。
FIG. 1 is a block diagram showing an embodiment of a cache memory control system by the hardware control software of the present invention.

【0018】本実施例のハードウェア制御ソフトウェア
によるキャッシュメモリ制御方式をとる命令語キャッシ
ュメモリ装置は、図1に示すように、アドレスレジスタ
1と、ブロック群3、4、5、6を含む命令語キャッシ
ュメモリ2と、LRUリプレースメント情報8及びブロ
ック群9、10、11、12を含む、命令語キャッシュ
ディレクトリ7と、ヒット検出回路13、14、15、
16と、命令語キャッシュメモリ制御回路18と、デー
タ選択回路19と、アドレス更新回路20と、命令語キ
ャッシュメモリバッファ装置17と、バッファ装置制御
回路21と、命令語キャッシュメモリ書込み制御回路2
2と、LRUリプレースメント情報更新回路23とを備
えている。
As shown in FIG. 1, an instruction word cache memory device adopting a cache memory control method by hardware control software of the present embodiment includes an instruction word including an address register 1 and block groups 3, 4, 5, and 6. The cache memory 2, the instruction word cache directory 7 including the LRU replacement information 8 and the block groups 9, 10, 11, 12 and the hit detection circuits 13, 14, 15,
16, instruction word cache memory control circuit 18, data selection circuit 19, address update circuit 20, instruction word cache memory buffer device 17, buffer device control circuit 21, instruction word cache memory write control circuit 2
2 and the LRU replacement information updating circuit 23.

【0019】図1において、主処理装置(図示されてな
い)によるデータ読み出し要求に対して、主処理装置か
らコマンド101及びアドレス信号102が命令語キャ
ッシュメモリ装置に送られてくる。アドレス信号102
は、アドレスレジスタ1に入力されて保持される。この
アドレス信号102の内の中位アドレス信号104は、
命令語キャッシュメモリ2と命令語キャッシュディレク
トリ7と命令語キャッシュメモリ書込み抑止回路22と
におけるカラム番号を指定し、アクセスアドレス信号と
なる。
In FIG. 1, in response to a data read request from a main processing unit (not shown), a command 101 and an address signal 102 are sent from the main processing unit to an instruction word cache memory device. Address signal 102
Is input to and held in the address register 1. The middle-order address signal 104 of this address signal 102 is
A column number in the instruction word cache memory 2, the instruction word cache directory 7, and the instruction word cache memory write inhibition circuit 22 is designated and becomes an access address signal.

【0020】命令語キャッシュディレクトリ7のブロッ
ク群9、10、11、12からは、中位アドレス信号1
04によって指定されるカラム番号から、そのロード内
容がそれぞれヒット検出回路13、14、15、16に
対して読み出される。またLRUリプレースメント情報
8も、中位アドレス信号104によって指定されるカラ
ム番号部分が更新される。この時、HCSW命令群によ
り指定されたLRUリプレースメント更新抑止信号12
5が主処理装置より送られていれば、LRUリプレース
メント情報更新回路23の動作が中止され、LRUリプ
レースメント情報8は更新されず、旧値の状態を保持し
たままとなる。
From the block groups 9, 10, 11 and 12 of the instruction word cache directory 7, the middle level address signal 1
From the column number designated by 04, the loaded contents are read out to the hit detection circuits 13, 14, 15 and 16, respectively. Also, in the LRU replacement information 8, the column number portion designated by the middle address signal 104 is updated. At this time, the LRU replacement update inhibit signal 12 designated by the HCSW instruction group 12
If 5 is sent from the main processing unit, the operation of the LRU replacement information updating circuit 23 is stopped, the LRU replacement information 8 is not updated, and the state of the old value is maintained.

【0021】また、命令語キャッシュメモリ2のブロッ
ク群3、4、5、6からは、同様に中位アドレス信号1
04によって指定されるカラム番号から、そのロード内
容がデータ選択回路19に対して読み出される。
Similarly, from the block groups 3, 4, 5, 6 of the instruction word cache memory 2, the medium address signal 1 is also sent.
The load content is read from the column number designated by 04 to the data selection circuit 19.

【0022】ヒット検出回路13、14、15、16に
おいては、ブロック群9、10、11、12の有効ビッ
トが有効表示を示している場合、読み出されるデータビ
ットとアドレスレジスタ1から送られてくる上位アドレ
ス103とが比較照合され、ヒットまたはミスヒットの
状態を示すヒット信号110、111、112、113
が、それぞれ命令語キャッシュメモリ制御回路18に送
られる。
In the hit detection circuits 13, 14, 15, and 16, when the valid bits of the block groups 9, 10, 11, and 12 indicate valid display, the data bits to be read and the address register 1 are sent. The hit signals 110, 111, 112, 113 indicating the state of hit or miss hit are compared and collated with the upper address 103.
Are sent to the instruction word cache memory control circuit 18, respectively.

【0023】この過程において、ヒット検出回路13、
14、15、16からそれぞれ命令語キャッシュメモリ
制御回路18に送られてくるヒット信号110、11
1、112、113が全てミスヒットの状態を示す場合
には、前述の命令語キャッシュメモリ2のブロック群
3、4、5、6から読み出されるデータは放棄され、命
令語キャッシュメモリ制御回路18からは、メインメモ
リ装置(図示されてない)に対して読み出し要求信号1
17が送出される。この時、HCSW命令群により指定
されたブロックロード回数分、主処理装置より送られて
くるブロックロード要求信号126によりメインメモリ
装置に対する読み出し要求が送出される。
In this process, the hit detection circuit 13,
Hit signals 110, 11 sent from the instruction word cache memory control circuit 18 from the reference signals 14, 15, 16 respectively
When all 1, 112, 113 indicate a mishit state, the data read from the block groups 3, 4, 5, 6 of the instruction word cache memory 2 are discarded and the instruction word cache memory control circuit 18 Is a read request signal 1 to the main memory device (not shown).
17 is sent out. At this time, a read request to the main memory device is sent by the block load request signal 126 sent from the main processing unit for the number of block loads designated by the HCSW instruction group.

【0024】この読み出し要求信号117に対して、メ
インメモリ装置からは、所定のカラム番号のブロックか
らデータブロック108が送出され、命令語キャッシュ
メモリバッファ装置17へ送られる。
In response to this read request signal 117, the data block 108 is sent from the block having a predetermined column number from the main memory device and sent to the instruction word cache memory buffer device 17.

【0025】命令語キャッシュメモリバッファ出力デー
タブロック109は、LRUリプレースメント情報8に
よって示されるブロック群、本例の場合においては、命
令語キャッシュメモリ2のブロック群3における、前記
所定のカラム番号のブロックにロードされ、同時に、命
令語キャッシュメモリディレクトリ7のブロック群9に
おいても、所定のカラム番号のブロックに、所定のデー
タビットがロードされる。また、LRUリプレースメン
ト情報8における所定のカラム番号のブロックも、LR
Uリプレースメント情報更新回路23の出力信号107
がロードされる。この時も、前述のHCSW命令群によ
り指定されたLRUリプレースメント情報更新抑止信号
125が主処理装置より送られていれば、LRUリプレ
ースメント情報更新回路23の動作が中止され、LRU
リプレースメント情報8は、更新されず、旧値の状態を
保持したままとなり、今回ロードされたブロック群3
が、次回のブロックロード時のリプレースメント対象ブ
ロック群となる。
The instruction word cache memory buffer output data block 109 is a block group indicated by the LRU replacement information 8, in the case of this example, a block having the predetermined column number in the block group 3 of the instruction word cache memory 2. At the same time, in the block group 9 of the instruction word cache memory directory 7, a predetermined data bit is loaded in a block having a predetermined column number. In addition, the block of the predetermined column number in the LRU replacement information 8 is also LR
Output signal 107 of U replacement information updating circuit 23
Is loaded. Also at this time, if the LRU replacement information update inhibit signal 125 specified by the above-mentioned HCSW instruction group is sent from the main processing unit, the operation of the LRU replacement information update circuit 23 is stopped and the LRU is updated.
The replacement information 8 is not updated and remains in the state of the old value, and the block group 3 loaded this time
Will be the replacement target block group at the next block load.

【0026】また、一方においてデータ選択回路19に
入力される命令語キャッシュメモリバッファ出力データ
ブロック109は、アドレスレジスタ1から命令語キャ
ッシュメモリ制御回路18に入力される低位アドレス信
号105を介して生成されデータ選択回路19に入力さ
れる制御信号127により制御されて、主処理装置から
の読み出し対象ワードのみが選択されて、読み出しデー
タ119として主処理装置は送出される。言うまでもな
く命令語キャッシュメモリ制御回路18からは、読み出
しデータ119とともにリプライ信号118も主処理装
置へ送出される。
On the other hand, the instruction word cache memory buffer output data block 109 input to the data selection circuit 19 is generated via the low-order address signal 105 input from the address register 1 to the instruction word cache memory control circuit 18. Controlled by the control signal 127 input to the data selection circuit 19, only the read target word from the main processing device is selected, and the main processing device is sent as the read data 119. Needless to say, the instruction word cache memory control circuit 18 sends the read signal 119 as well as the reply signal 118 to the main processing unit.

【0027】また、この時、複数回のブロックロード要
求がHCSW命令群により指示されていれば、ブロック
ロード要求回数分のデータブロックが命令語キャッシュ
メモリバッファ装置17に保持される。更に、HCSW
命令群により指示された複数回ブロックロード要求信号
123により、バッファ装置制御回路21から、バッフ
ァ制御信号124が出力され、所定のデータブロックが
命令語キャッシュメモリバッファ出力データブロック1
09として、命令語キャッシュメモリバッファ装置17
より送出される。また、これと同期して、主処理装置よ
りアドレス更新信号121がアドレス更新回路21に送
出され、前述の所定のデータブロックのアドレスを示す
中位アドレス120が生成され、アドレスレジスタ1が
更新される。以下、前述の動作が、ブロックロード要求
回数がつきるまで繰返される。
At this time, if a plurality of block load requests are instructed by the HCSW instruction group, data blocks corresponding to the number of block load requests are held in the instruction word cache memory buffer device 17. Furthermore, HCSW
The buffer device control circuit 21 outputs a buffer control signal 124 in response to a plurality of block load request signals 123 instructed by an instruction group, and a predetermined data block is an instruction word cache memory buffer output data block 1
09, the instruction word cache memory buffer device 17
Sent by. Further, in synchronization with this, an address update signal 121 is sent from the main processing unit to the address update circuit 21, a middle address 120 indicating the address of the above-mentioned predetermined data block is generated, and the address register 1 is updated. . Hereinafter, the above operation is repeated until the block load request count is reached.

【0028】また、この時、HCSW命令群により、命
令語キャッシュメモリブロックロード抑止要求が出てい
れば、主処理装置より命令語キャッシュメモリ書込み動
作抑止要求信号122が、命令語キャッシュメモリ書込
み制御回路22に送出され、命令語キャッシュメモリ書
込み制御回路22より、書込み抑止信号128が出力さ
れ、命令語キャッシュメモリ2への書込みが抑止され
る。言うまでもなく命令語キャッシュメモリディレクト
リ7の更新も抑止される。また、この時の命令語キャッ
シュメモリバッファ出力データブロック109は、デー
タ選択回路19へ送出され、制御信号127により、所
定のワードが読み出しデータ119として主処理装置へ
送出される。命令語キャッシュメモリ制御回路18から
も、前述の説明と同様に、主処理装置へリプライ信号1
18が送出される。
At this time, if an instruction word cache memory block load inhibition request is issued by the HCSW instruction group, the instruction word cache memory write operation inhibition request signal 122 from the main processing unit is sent to the instruction word cache memory write control circuit. 22 and the instruction word cache memory write control circuit 22 outputs a write inhibition signal 128 to inhibit writing to the instruction word cache memory 2. Needless to say, the update of the instruction word cache memory directory 7 is also suppressed. Further, the instruction word cache memory buffer output data block 109 at this time is sent to the data selection circuit 19, and a predetermined word is sent to the main processing unit as the read data 119 by the control signal 127. The instruction word cache memory control circuit 18 also sends a reply signal 1 to the main processing unit as in the above description.
18 is sent out.

【0029】図2は、本発明のHCSW起動前に命令語
キャッシュメモリ2のブロックロード時の動作を変更す
るためのHCSW起動方法の一実施例を示す図である。
FIG. 2 is a diagram showing an embodiment of the HCSW starting method for changing the operation at the time of block loading of the instruction word cache memory 2 before starting the HCSW of the present invention.

【0030】本実施例では、各テーブルのポインタをた
どる事により、一つの処理を実現するHCSW命令群に
たどりつく様になっている。今、起動アドレス格納テー
ブルポインタ200は、起動アドレス格納テーブル21
0の先頭を指している。起動アドレス格納テーブル21
0は、複数のエントリーを順次配列することにより構成
される。HCSWが実現する一つの処理に対応して一つ
のエントリーが存在する。各エントリーは制御情報フィ
ールド211と起動アドレス情報フィールド212を含
む。制御情報フィールド211は、HCSWへの移入に
先立ち処理する内容に関する情報を格納しており、本発
明での命令語キャッシュメモリに関する制御情報のブロ
ックロード回数、LRUリプレースメント情報の更新抑
止情報、命令語キャッシュメモリへのブロックロード抑
止情報等を含んでいる。起動アドレス情報フィールド2
12は、実行されるHCSW命令群220の先頭アドレ
スを格納している。
In this embodiment, the pointer of each table is traced to reach the HCSW instruction group for realizing one processing. Now, the activation address storage table pointer 200 is set to the activation address storage table 21.
It points to the beginning of 0. Boot address storage table 21
0 is formed by sequentially arranging a plurality of entries. There is one entry corresponding to one process realized by HCSW. Each entry includes a control information field 211 and an activation address information field 212. The control information field 211 stores information related to the contents to be processed prior to the transfer to the HCSW. The control information field 211 stores the number of block loads of the control information regarding the instruction word cache memory in the present invention, the update inhibition information of the LRU replacement information, and the instruction word cache. It contains block load suppression information to the memory. Activation address information field 2
12 stores the start address of the HCSW instruction group 220 to be executed.

【0031】HCSWへの移入は、ハードウェア及びフ
ァームウェアにより行う。HCSW命令群への移入ルー
チンはまず、共通の前処理としてHCSWモードへの移
行を表示し、命令カウンタ、ベースレジスタ、汎用レジ
スタ等の退避あるいはHCSW専用レジスタ群への切り
替えを行う。その後、起動アドレス格納テーブルポイン
タ200をもとに、これから実行する処理に対応したエ
ントリーを該テーブル210から読み出し、エントリー
の制御情報フィールド211を調べる事により移入に先
立って実行すべき個別処理を行い、該エントリーのアド
レス情報フィールド212から起動アドレスを判断す
る。
The transfer to the HCSW is performed by hardware and firmware. The HCSW instruction group transfer routine first displays the transition to the HCSW mode as common preprocessing, saves the instruction counter, base register, general-purpose register, or switches to the HCSW dedicated register group. After that, based on the boot address storage table pointer 200, the entry corresponding to the process to be executed is read from the table 210, and the control information field 211 of the entry is checked to perform the individual process to be executed before the import, The activation address is determined from the address information field 212 of the entry.

【0032】図2の場合、HCSW命令群221、22
2、223の性能上の重要度を各々高位、中位、低位と
設定すると、起動アドレス格納テーブル210中の制御
情報フィールド211は、各々表1のHCSW制御情報
フィールドの設定表に示すように設定できる。
In the case of FIG. 2, HCSW instruction groups 221 and 22
When the performance importance levels of 2 and 223 are set to high, medium, and low, respectively, the control information field 211 in the boot address storage table 210 is set as shown in the HCSW control information field setting table of Table 1, respectively. it can.

【0033】[0033]

【表1】 [Table 1]

【0034】すなわち、性能上重要度の高位なHCSW
命令群221では、ブロックロードが複数回実行され、
LRUリプレースメント情報の更新及び命令語キャッシ
ュメモリへのブロックロードが実施される。これにより
HCSW命令群221は、命令語キャッシュメモリを十
分に活用して動作する事になり、HCSW命令群221
実行中は命令語キャッシュメモリのミスヒットの回数が
減少し性能向上が期待できる。
That is, HCSW of high importance in terms of performance
In the instruction group 221, block load is executed multiple times,
The LRU replacement information is updated and the block cache memory is loaded with the block. As a result, the HCSW instruction group 221 operates by fully utilizing the instruction word cache memory, and the HCSW instruction group 221
During execution, the number of instruction word cache memory mishits decreases, and performance improvement can be expected.

【0035】また、性能上重要度の中位なHCSW命令
群222では、ブロックロードは複数回実行され、命令
語キャッシュメモリへのブロックロードも実行される
が、LRUリプレースメント情報は更新されないため、
他のより重要度の高位な一般ソフトウェアおよびHCS
W命令群を次のブロックロード時に命令語キャッシュメ
モリから追い出さずに済み、効率的に命令語キャッシュ
メモリが使用される。
Further, in the HCSW instruction group 222 having a medium level of performance importance, the block load is executed a plurality of times and the block load to the instruction word cache memory is also executed, but the LRU replacement information is not updated.
Other more important general software and HCS
The W instruction group does not have to be expelled from the instruction word cache memory when the next block is loaded, and the instruction word cache memory is used efficiently.

【0036】また、性能上重要度の低位なHCSW命令
群223では、命令語キャッシュメモリへのブロックロ
ードが抑止されているため、命令語の読み出しは、毎回
メインメモリ装置から読み出してくる事になり、命令語
キャッシュメモリ上変化はなく、他のより性能上重要度
の高位な一般ソフトウェアおよびHCSW命令群が命令
語キャッシュメモリ上に保持されたままとなる。
Further, in the HCSW instruction group 223, which is of low importance in terms of performance, the block load to the instruction word cache memory is suppressed, so that the instruction word is read from the main memory device every time. There is no change in the instruction word cache memory, and other general software of higher importance in terms of performance and the HCSW instruction group remain held in the instruction word cache memory.

【0037】以上の様にして、HCSW起動前に命令語
キャッシュメモリのブロックロード時の動作を、各々の
HCSW命令群の性能上の重要度に適した動作に変更す
る事により、命令語キャッシュメモリを有効に使用する
ことができる。
As described above, by changing the block load operation of the instruction word cache memory before starting the HCSW to an operation suitable for the importance of the performance of each HCSW instruction group, the instruction word cache memory Can be used effectively.

【0038】図3は、本発明のHCSWの指示により命
令語キャッシュメモリのブロックロード時の動作を変更
する場合のHCSW動作の一実施例を示す図である。
FIG. 3 is a diagram showing an embodiment of the HCSW operation when the operation at the time of block loading of the instruction word cache memory is changed by the instruction of the HCSW of the present invention.

【0039】図3は、HCSW命令群310、320、
330より構成され、各HCSW命令群の性能上の重要
度は各々高位、中位、低位となっている。また、各HC
SW命令群内には、分岐命令340および命令語キャッ
シュメモリのブロックロード時の動作を変更するための
HCSWサポート命令341、342、343およびH
CSWモード退出用のHCSWサポート命令344が配
置されている。HCSWサポート命令341、342、
343で実行される命令語キャッシュメモリのブロック
ロード時の動作の変更内容は、表2のHCSWサポート
命令の実行内容表に示す様に、
FIG. 3 shows HCSW instruction groups 310, 320,
Each of the HCSW instruction groups has a performance importance of high, medium, or low. Also, each HC
In the SW instruction group, a branch instruction 340 and HCSW support instructions 341, 342, 343, and H for changing the operation at the time of block loading of the instruction word cache memory.
An HCSW support instruction 344 for leaving the CSW mode is arranged. HCSW support instructions 341, 342,
The change contents of the operation at the time of the block load of the instruction word cache memory executed in 343 are as shown in the execution content table of the HCSW support instruction of Table 2 as follows.

【0040】[0040]

【表2】 [Table 2]

【0041】ポート命令341では性能上重要度の高位
なHCSW命令群を実行する時のブロックロード時の動
作内容となっており、またHCSWサポート命令342
では性能上重要度の中位なHCSW命令群を実行する時
のブロックロード時の動作内容となっており、またHC
SWサポート命令343では性能上重要度の低位なHC
SW命令群を実行する時のブロックロード時の動作内容
となっている。
The port instruction 341 has the operation contents at the time of block loading when executing the HCSW instruction group of high performance importance, and the HCSW support instruction 342.
Then, it is the operation contents at the time of block loading when executing the HCSW instruction group of medium importance for performance.
In the SW support instruction 343, the HC of low importance in terms of performance
The operation contents are for block loading when executing the SW instruction group.

【0042】今、HCSW命令群310が動作中である
とすると性能上の重要度が高位であるため、命令語キャ
ッシュメモリのブロックロード時の動作は、ブロックロ
ードは複数回実行され、LRUリプレースメント情報の
更新も実行され、命令語キャッシュメモリへのブロック
ロードも実行され、命令語キャッシュメモリを十分に使
用している状態となっている。
Now, assuming that the HCSW instruction group 310 is in operation, the importance of performance is high. Therefore, in the operation at the time of block load of the instruction word cache memory, the block load is executed a plurality of times, and the LRU replacement information is executed. Is also executed, block loading to the instruction word cache memory is also executed, and the instruction word cache memory is being fully used.

【0043】HCSWの動作がHCSW命令群310よ
りHCSW命令群320へ移る場合、HCSW命令群3
10ではHCSWサポート命令342が実行され、命令
語キャッシュメモリのブロックロード時の動作は、ブロ
ックロード回数は複数回実行、LRUリプレースメント
情報の更新動作は抑止、命令語キャッシュメモリへのブ
ロックロードは実行されるという性能上重要度の中位な
HCSW命令群に適した内容に設定される。この後、分
岐命令340が実行されHCSWの動作がHCSW命令
群320へ移るが、この時HCSW命令群320の命令
語の取り出しで命令語キャッシュメモリのミスヒットが
発生し、命令語キャッシュメモリへのブロックロードが
実行される。この時実行されるブロックロード時の動作
は、前述のHCSWサポート命令342で設定された性
能上重要度の中位なHCSW命令群に適した動作とな
り、以後HCSW命令群320はこの状態で動作し続け
る。また、更にHCSW命令群320よりHCSW命令
群330へHCSWの動作が移る場合は、HCSWサポ
ート命令343が実行され、HCSW命令群330が動
作する時には、命令語キャッシュメモリのブロックロー
ド時の動作は性能上重要度の低位なHCSW命令群に適
した動作となっている。また、更にHCSW命令群33
0よりHCSW命令群310へHCSWの動作が移る場
合は、HCSWサポート命令341が実行され、HCS
W命令群310が動作する時には、命令語キャッシュメ
モリのブロックロード時の動作は性能上重要度の高位な
HCSW命令群に適した動作となっている。
When the operation of the HCSW shifts from the HCSW instruction group 310 to the HCSW instruction group 320, the HCSW instruction group 3
10, the HCSW support instruction 342 is executed, the operation at the time of block loading of the instruction word cache memory is performed a plurality of times of block loading, the update operation of the LRU replacement information is suppressed, and the block loading to the instruction word cache memory is executed. The content is set to be suitable for the HCSW instruction group, which is of a medium importance in terms of performance. After that, the branch instruction 340 is executed and the operation of the HCSW shifts to the HCSW instruction group 320. At this time, a fetch of the instruction word of the HCSW instruction group 320 causes a miss hit of the instruction word cache memory, and the instruction word cache memory Block load is executed. The operation at the time of block loading executed at this time is an operation suitable for the HCSW instruction group of the medium importance of performance set by the above-mentioned HCSW support instruction 342, and thereafter the HCSW instruction group 320 operates in this state. to continue. Further, when the operation of the HCSW moves from the HCSW instruction group 320 to the HCSW instruction group 330, the HCSW support instruction 343 is executed, and when the HCSW instruction group 330 operates, the operation at the time of the block load of the instruction word cache memory is performance. The operation is suitable for the less important HCSW instruction group. Furthermore, the HCSW instruction group 33
When the operation of the HCSW shifts from 0 to the HCSW instruction group 310, the HCSW support instruction 341 is executed and the HCS
When the W instruction group 310 operates, the operation at the time of block loading of the instruction word cache memory is an operation suitable for the HCSW instruction group of high importance in terms of performance.

【0044】すなわち、命令語キャッシュメモリのブロ
ックロード時の動作を、性能上重要度の高位なHCSW
命令群へHCSWの動作が移る場合には、HCSWサポ
ート命令341を実行する事により、性能上重要度の高
位なHCSW命令群に適した動作に変更し、また性能上
重要度の中位なHCSW命令群へHCSWの動作が移る
場合には、HCSWサポート命令342を実行する事に
より、性能上重要度の中位なHCSW命令群に適した動
作に変更し、また性能上重要度の低位なHCSW命令群
へHCSWの動作が移る場合には、HCSWサポート命
令343を実行する事により、性能上重要度の低位なH
CSW命令群に適した動作に変更している。
That is, the operation at the time of the block load of the instruction word cache memory is performed by the HCSW which is of high importance in terms of performance.
When the operation of the HCSW shifts to the instruction group, by executing the HCSW support instruction 341, the operation is changed to an operation suitable for the HCSW instruction group of high performance importance, and the HCSW of medium performance importance is executed. When the operation of the HCSW shifts to the instruction group, by executing the HCSW support instruction 342, the operation is changed to the operation suitable for the HCSW instruction group having the medium performance importance, and the HCSW having the low performance importance is executed. When the operation of the HCSW shifts to the instruction group, the HCSW support instruction 343 is executed so that the H of the lower importance level in terms of performance.
The operation is changed to suit the CSW instruction group.

【0045】また、各HCSW命令群の動作終了時には
HCSWモードからソフトウェアモードに移るために、
HCSWモード退出用のHCSWサポート命令344が
実行され、命令語キャッシュメモリのブロックロード時
の動作を、ハードウェア所定の動作、すなわちブロック
ロードの回数を1回とし、LRUリプレースメント情報
の更新抑止を解除し、命令語キャッシュメモリへのブロ
ックロード抑止を解除している。
Further, in order to shift from the HCSW mode to the software mode at the end of the operation of each HCSW instruction group,
The HCSW support instruction 344 for exiting the HCSW mode is executed, and the operation at the time of block loading of the instruction word cache memory is set to a predetermined hardware operation, that is, the number of times of block loading is set to 1 and the update suppression of the LRU replacement information is released. , The block load suppression to the instruction word cache memory is released.

【0046】以上の様に、HCSWサポート命令により
命令語キャッシュメモリのブロックロード時の動作をダ
イナミックに変更する事により、各々のHCSW命令群
の性能上の重要度に適した形で命令語キャッシュメモリ
を制御することができる。
As described above, by dynamically changing the block load operation of the instruction word cache memory by the HCSW support instruction, the instruction word cache memory can be formed in a form suitable for the importance of the performance of each HCSW instruction group. Can be controlled.

【0047】[0047]

【発明の効果】以上説明したように、本発明のハードウ
ェア制御ソフトウェアによるキャッシュメモリ制御方式
は、必要に応じてHCSWにより命令語キャッシュメモ
リのブロックロード時の動作を変更する事により、性能
上重要度の高位なHCSWでは、ブロックロード回数を
複数回実行することで命令語キャッシュメモリのミスヒ
ットの回数を減少させる事が可能となり、性能が向上す
る。また性能上重要度の低位なHCSWでは、LRUリ
プレースメント情報の更新および命令語キャッシュメモ
リへのブロックロードを抑止することで、より性能上重
要度の高い一般ソフトウェアおよびHCSWを命令語キ
ャッシュメモリ内より消去せずにすみ、命令語キャッシ
ュメモリを有効に使用する事ができる。
As described above, the cache memory control method by the hardware control software of the present invention is important for performance by changing the operation at the time of block loading of the instruction word cache memory by HCSW as necessary. In the high-ranking HCSW, it is possible to reduce the number of miss hits of the instruction word cache memory by executing the block load multiple times, and the performance is improved. Also, in the case of HCSW of low importance for performance, by suppressing the update of LRU replacement information and block loading to the instruction word cache memory, general software and HCSW of higher performance importance are erased from the instruction word cache memory. Therefore, the instruction word cache memory can be used effectively.

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

【図1】本発明のハードウェア制御ソフトウェアによる
キャッシュメモリ制御方式の一実施例を示すブロック図
である。
FIG. 1 is a block diagram showing an embodiment of a cache memory control system by hardware control software of the present invention.

【図2】本実施例のハードウェア制御ソフトウェアによ
るキャッシュメモリ制御方式におけるHCSW起動前に
命令語キャッシュメモリのブロックロード時の動作を変
更するためのHCSW起動方法の一実施例を示す図であ
る。
FIG. 2 is a diagram showing an embodiment of an HCSW activation method for changing the operation at the time of block loading of the instruction word cache memory before the HCSW activation in the cache memory control method by the hardware control software of the present embodiment.

【図3】本実施例のハードウェア制御ソフトウェアによ
るキャッシュメモリ制御方式におけるHCSWの指示に
より命令語キャッシュメモリのブロックロード時の動作
を変更する場合のHCSW動作の一実施例を示す図であ
る。
FIG. 3 is a diagram showing an example of an HCSW operation in the case of changing the operation at the time of block loading of the instruction word cache memory according to the instruction of the HCSW in the cache memory control method by the hardware control software of the present embodiment.

【符号の説明】[Explanation of symbols]

1 アドレスレジスタ 2 命令語キャッシュメモリ 3、4、5、6、9、10、11、12 ブロック群 7 命令語キャッシュディレクトリ 8 LRUリプレースメント情報 13、14、15、16 ヒット検出回路 17 命令語キャッシュメモリバッファ装置 18 命令語キャッシュメモリ制御回路 19 データ選択回路 20 アドレス更新回路 21 バッファ装置制御回路 22 命令語キャッシュメモリ書込み制御回路 23 LRUリプレースメント情報更新回路 200 起動アドレス格納テーブルポインタ 210 起動アドレス格納テーブル 211 制御情報フィールド 212 起動アドレス情報フィールド 220、221、222、223、310、320、3
30 HCSW命令群 340 分岐命令 341、342、343、344 HCSWサーポト
命令
1 address register 2 instruction word cache memory 3, 4, 5, 6, 9, 10, 11, 12 block group 7 instruction word cache directory 8 LRU replacement information 13, 14, 15, 16 hit detection circuit 17 instruction word cache memory buffer Device 18 Command word cache memory control circuit 19 Data selection circuit 20 Address update circuit 21 Buffer device control circuit 22 Command word cache memory write control circuit 23 LRU replacement information update circuit 200 Boot address storage table pointer 210 Boot address storage table 211 Control information field 212 activation address information field 220, 221, 222, 223, 310, 320, 3
30 HCSW instruction group 340 Branch instruction 341, 342, 343, 344 HCSW support instruction

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 メインメモリ装置のハードウェア領域に
格納された機械語命令形式のルーチンであるハードウェ
ア制御ソフトウェアをマイクロプログラムにより呼出
し、前記ハードウェア制御ソフトウェアをマイクロプロ
グラムで逐一実行する事によりハードウェアを制御する
機能を備え、前記ハードウェア制御ソフトウェア命令と
一般ソフトウェァ命令を区別せず同一のキャッシュメモ
リに格納する方式のデータ処理装置において、 メインメモリ装置からの前記キャッシュメモリに対する
ブロックロード時のブロックロード回数を、前記ハード
ウェア制御ソフトウェアの起動前に変更する手段と、前
記ハードウェア制御ソフトウェアにより任意に変更する
手段と、前記ハードウェア制御ソフトウェアの終了を契
機として、ハードウェア所定のブロックロード回数に変
更する手段とを備える事を特徴とするハードウェア制御
ソフトウェアによるキャッシュメモリ制御方式。
1. A hardware by calling a hardware control software, which is a routine in a machine language instruction format stored in a hardware area of a main memory device, by a microprogram and executing the hardware control software step by step by the microprogram. In a data processing device having a function of controlling the above, the hardware control software instruction and the general software instruction are stored in the same cache memory without distinction, a block load at the time of block loading from the main memory device to the cache memory A means for changing the number of times before starting the hardware control software, a means for arbitrarily changing the number by the hardware control software, and a hardware predetermined time triggered by the termination of the hardware control software. The cache memory control method according to the hardware control software, characterized in that and means for changing the block load times.
【請求項2】 メインメモリ装置のハードウェア領域に
格納された機械語命令形式のルーチンであるハードウェ
ア制御ソフトウェアをマイクロプログラムにより呼出
し、前記ハードウェア制御ソフトウェアをマイクロプロ
グラムで逐一実行する事によりハードウェアを制御する
機能を備え、前記ハードウェア制御ソフトウェア命令と
一般ソフトウェァ命令を区別せず同一のキャッシュメモ
リに格納する方式のデータ処理装置において、 メインメモリ装置からの前記キャッシュメモリに対する
ブロックロード時に実行されるLRUリプレースメント
情報の更新動作を、前記ハードウェア制御ソフトウェア
の起動前の指示で抑止する手段と、前記ハードウェア制
御ソフトウェアの指示により抑止する手段と、前記ハー
ドウェア制御ソフトウェアの終了を契機に、前記LRU
リプレースメント情報の更新動作抑止を解除する手段と
を備える事を特徴とするハードウェア制御ソフトウェア
によるキャッシュメモリ制御方式。
2. A hardware control software, which is a routine in the form of machine language instructions stored in a hardware area of a main memory device, is called by a microprogram, and the hardware control software is executed step by step by the microprogram. In a data processing device of a system having a function of controlling the above, and storing the hardware control software instruction and a general software instruction in the same cache memory without distinction, the data processing apparatus is executed when a block is loaded from the main memory device to the cache memory. Means for suppressing the updating operation of the LRU replacement information by an instruction before the activation of the hardware control software; means for suppressing the operation by the instruction of the hardware control software; In the wake of the completion, the LRU
A cache memory control method by hardware control software, characterized in that it comprises means for canceling suppression of replacement operation of replacement information.
【請求項3】 メインメモリ装置のハードウェア領域に
格納された機械語命令形式のルーチンであるハードウェ
ア制御ソフトウェアをマイクロプログラムにより呼出
し、前記ハードウェア制御ソフトウェアをマイクロプロ
グラムで逐一実行する事によりハードウェアを制御する
機能を備え、前記ハードウェア制御ソフトウェア命令と
一般ソフトウェァ命令を区別せず同一のキャッシュメモ
リに格納する方式のデータ処理装置において、 キャッシュブロックロードを抑止してキャッシュメモリ
を経由せずに命令語を読み出せるように構成し、前記ハ
ードウェア制御ソフトウェアの起動前にブロックロード
の抑止を指示する手段と、前記ハードウェア制御ソフト
ウェアによりブロックロードの抑止を指示する手段と、
前記ハードウェア制御ソフトウェアの終了を契機に、前
記ブロックロードの抑止を解除する手段とを備える事を
特徴とするハードウェア制御ソフトウェアによるキャッ
シュメモリ制御方式。
3. A hardware control software routine, which is a machine language instruction format stored in a hardware area of a main memory device, is called by a microprogram, and the hardware control software is executed step by step by the microprogram. In a data processing device of a system having a function of controlling the above, and storing in the same cache memory without distinguishing between the hardware control software instruction and the general software instruction, the instruction is executed without suppressing the cache block load and passing through the cache memory. A unit configured to read a word and instructing to inhibit block loading before starting the hardware control software; and a unit instructing inhibition of block loading by the hardware control software.
A cache memory control method by hardware control software, comprising means for releasing the inhibition of the block load upon termination of the hardware control software.
JP4218864A 1992-08-18 1992-08-18 Cache memory control method by hardware control software Expired - Fee Related JP2972451B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4218864A JP2972451B2 (en) 1992-08-18 1992-08-18 Cache memory control method by hardware control software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4218864A JP2972451B2 (en) 1992-08-18 1992-08-18 Cache memory control method by hardware control software

Publications (2)

Publication Number Publication Date
JPH0667976A true JPH0667976A (en) 1994-03-11
JP2972451B2 JP2972451B2 (en) 1999-11-08

Family

ID=16726512

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4218864A Expired - Fee Related JP2972451B2 (en) 1992-08-18 1992-08-18 Cache memory control method by hardware control software

Country Status (1)

Country Link
JP (1) JP2972451B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001022234A1 (en) * 1999-09-17 2001-03-29 Internet Research Institute, Inc. Method and system for multicast data communication to distribute internet web content data to a plurality of server computers using geostationary satellite

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001022234A1 (en) * 1999-09-17 2001-03-29 Internet Research Institute, Inc. Method and system for multicast data communication to distribute internet web content data to a plurality of server computers using geostationary satellite

Also Published As

Publication number Publication date
JP2972451B2 (en) 1999-11-08

Similar Documents

Publication Publication Date Title
JP2677202B2 (en) Microprocessor
JPH05150981A (en) Data processor
JP2001075866A (en) Method for operating storage device, and storage device
JPH01205228A (en) Instruction buffer system
JP2972451B2 (en) Cache memory control method by hardware control software
JP3481425B2 (en) Cache device
JP2002041358A (en) Processor system
US5933856A (en) System and method for processing of memory data and communication system comprising such system
JPH06266623A (en) Cache memory and cache memory control method
JPS6032220B2 (en) information processing equipment
JP3284508B2 (en) Data prefetch control device
JPS629945B2 (en)
JPH11143774A (en) Cache control mechanism
JPH0628258A (en) Microprocessor
JPH07152650A (en) Cache control unit
JP2864548B2 (en) Instruction cache device
JPH0612331A (en) Cache memory controller
JPS61112260A (en) Swapping controller for multi-hierarchy memory system
JPH05257807A (en) Cache memory controller
JPH1055308A (en) Cache memory
JPH04242431A (en) Information processor
JP2000347934A (en) Cache memory device
JPH05158794A (en) Cache compartment selection controller
JPH05225058A (en) Storage controller
JPH04153850A (en) Move-in buffer control system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990727

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees