[go: up one dir, main page]

JP2972451B2 - Cache memory control method by hardware control software - Google Patents

Cache memory control method by hardware control software

Info

Publication number
JP2972451B2
JP2972451B2 JP4218864A JP21886492A JP2972451B2 JP 2972451 B2 JP2972451 B2 JP 2972451B2 JP 4218864 A JP4218864 A JP 4218864A JP 21886492 A JP21886492 A JP 21886492A JP 2972451 B2 JP2972451 B2 JP 2972451B2
Authority
JP
Japan
Prior art keywords
instruction
cache memory
control software
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.)
Expired - Fee Related
Application number
JP4218864A
Other languages
Japanese (ja)
Other versions
JPH0667976A (en
Inventor
浩太郎 鮫島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NIPPON DENKI SOFUTOEA KK
Original Assignee
NIPPON DENKI SOFUTOEA KK
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NIPPON DENKI SOFUTOEA KK filed Critical NIPPON DENKI SOFUTOEA KK
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)

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 method using hardware control software, and more particularly to controlling the number of block loads occurring when a block is loaded into a cache memory and updating a cache directory when reading a command from a main memory device. The present invention relates to a cache memory control method by hardware control software in the control of the block memory and the control of the operation of suppressing the block load to the cache memory.

【0002】[0002]

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

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

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

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

【0006】また、ミスヒット時に実行されるメインメ
モリ装置からのブロックロード回数は、ハードウェアの
構成によって決定された固定値となっている。以上の動
作は、命令語キャッシュメモリの場合も全く同様に行わ
れる。
[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) for hardware / firmware functions has been implemented in order to reduce the control storage capacity and the firmware design amount. HC
SW is a machine language instruction group coded by a software instruction group selected from all instructions released to general software and an HCSW support instruction group, and is stored in a hardware area of the main memory.

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

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

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

【0011】また、キャッシュメモリ制御方式として
は、一般ソフトウェアとHCSWとの間に区別はなく、
メインメモリ上のアドレスを基に制御されるのみで、一
般ソフトウェア命令群もHCSW命令群も同様の制御を
受け命令語キャッシュメモリへ書込まれる。
In 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 similarly controlled and written into the instruction word cache memory only by being controlled based on the address on the main memory.

【0012】[0012]

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

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

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

【0015】[0015]

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

【0016】[0016]

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

【0017】図1は本発明のハードウェア制御ソフトウ
ェアによるキャッシュメモリ制御方式の一実施例を示す
ブロック図である。
FIG. 1 is a block diagram showing an embodiment of a cache memory control method using hardware control software according to 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 cache memory device adopting a cache memory control method by hardware control software according to the present embodiment has an address register 1 and an instruction word including block groups 3, 4, 5, and 6. A cache memory 2, an instruction word cache directory 7 including LRU replacement information 8 and block groups 9, 10, 11, 12, and hit detection circuits 13, 14, 15,
16, an instruction cache memory control circuit 18, a data selection circuit 19, an address update circuit 20, an instruction cache memory buffer device 17, a buffer device control circuit 21, and an instruction cache memory write control circuit 2.
2 and an 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 processor (not shown), a command 101 and an address signal 102 are sent from the main processor to the instruction word cache memory device. Address signal 102
Are input to the address register 1 and held. The middle address signal 104 of the address signal 102 is
A column number is designated in the instruction word cache memory 2, the instruction word cache directory 7, and the instruction word cache memory write inhibit circuit 22, 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 address signal 1
From the column number designated by 04, the load content is read out to the hit detection circuits 13, 14, 15, and 16, respectively. In the LRU replacement information 8, the column number portion designated by the middle address signal 104 is also updated. At this time, the LRU replacement update inhibit signal 12 specified by the HCSW instruction group
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, and 6 of the instruction word cache memory 2, the middle address signal 1
The content of the load is read out to the data selection circuit 19 from the column number designated by 04.

【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 blocks 9, 10, 11, and 12 indicate valid display, the data bits to be read and the data bits are sent from the address register 1. Hit signals 110, 111, 112, 113 indicating a hit or mishit condition are compared 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 to the instruction word cache memory control circuit 18 from 14, 15, 16 respectively.
When all of 1, 1, 112 and 113 indicate a mishit state, the data read from the block groups 3, 4, 5, and 6 of the instruction cache memory 2 are discarded, and the instruction cache memory control circuit 18 Indicates a read request signal 1 to a main memory device (not shown).
17 is sent out. At this time, a read request to the main memory device is transmitted by the block load request signal 126 sent from the main processing unit for the number of block loads specified by the HCSW instruction group.

【0024】この読み出し要求信号117に対して、メ
インメモリ装置からは、所定のカラム番号のブロックか
らデータブロック108が送出され、命令語キャッシュ
メモリバッファ装置17へ送られる。
In response to the read request signal 117, the main memory device sends a data block 108 from a block having a predetermined column number and sends it 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 cache memory buffer output data block 109 is assigned to a block group indicated by the LRU replacement information 8, in this case, a block having the predetermined column number in the block group 3 of the instruction 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 into a block having a predetermined column number. Also, the block having a predetermined column number in the LRU replacement information 8
Output signal 107 of U replacement information updating circuit 23
Is loaded. At this time, if the LRU replacement information update inhibition signal 125 specified by the above-mentioned HCSW instruction group has been sent from the main processing unit, the operation of the LRU replacement information updating circuit 23 is stopped, and the LRU replacement information updating circuit 23 is stopped.
The replacement information 8 is not updated, the state of the old value is maintained, and the block group 3 loaded this time is replaced.
Are replacement target blocks at the next block loading.

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

【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 specified by the HCSW instruction group, the data blocks corresponding to the number of block load requests are held in the instruction word cache memory buffer device 17. Furthermore, HCSW
A buffer control signal 124 is output from the buffer device control circuit 21 in response to the block load request signal 123 specified by the instruction group a plurality of times, and a predetermined data block is stored in the instruction word cache memory buffer output data block 1.
09, the instruction word cache memory buffer device 17
Sent out. In synchronization with this, an address update signal 121 is sent from the main processor to the address update circuit 21 to generate the middle address 120 indicating the address of the above-mentioned predetermined data block, and the address register 1 is updated. . Hereinafter, the above-described operation is repeated until the number of block load requests is reached.

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

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

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

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

【0033】[0033]

【表1】 [Table 1]

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

【0035】また、性能上重要度の中位なHCSW命令
群222では、ブロックロードは複数回実行され、命令
語キャッシュメモリへのブロックロードも実行される
が、LRUリプレースメント情報は更新されないため、
他のより重要度の高位な一般ソフトウェアおよびHCS
W命令群を次のブロックロード時に命令語キャッシュメ
モリから追い出さずに済み、効率的に命令語キャッシュ
メモリが使用される。
Further, in the HCSW instruction group 222 of medium importance in performance, the block load is executed a plurality of times and the block load to the instruction 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 need to be evicted 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 having a lower degree of importance in performance, since the block load to the instruction cache memory is suppressed, the instruction word is read from the main memory device every time. There is no change in the instruction cache memory, and other general software and HCSW instructions of higher importance in performance remain held in the instruction cache memory.

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

【0038】図3は、本発明のHCSWの指示により命
令語キャッシュメモリのブロックロード時の動作を変更
する場合のHCSW動作の一実施例を示す図である。
FIG. 3 is a diagram showing one embodiment of the HCSW operation when the operation at the time of block loading of the instruction word cache memory is changed according to 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 the HCSW instruction groups 310 and 320,
Each of the HCSW instruction groups has a high, medium, and low importance. In addition, each HC
The SW instruction group includes 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 exiting the CSW mode is arranged. HCSW support instructions 341, 342,
As shown in the execution content table of the HCSW support instruction in Table 2, the contents of the change in the operation at the time of block loading of the instruction word cache memory executed in 343 are as follows.

【0040】[0040]

【表2】 [Table 2]

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

【0042】今、HCSW命令群310が動作中である
とすると性能上の重要度が高位であるため、命令語キャ
ッシュメモリのブロックロード時の動作は、ブロックロ
ードは複数回実行され、LRUリプレースメント情報の
更新も実行され、命令語キャッシュメモリへのブロック
ロードも実行され、命令語キャッシュメモリを十分に使
用している状態となっている。
If the HCSW instruction group 310 is in operation, the degree of importance in performance is high. Therefore, in the operation at the time of block loading of the instruction word cache memory, the block loading is executed a plurality of times and the LRU replacement information is Is also executed, and a block load to the instruction word cache memory is also executed, so that the instruction word cache memory is 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
In step 10, the HCSW support instruction 342 is executed, the operation at the time of block loading of the instruction cache memory is executed a plurality of times, the update operation of the LRU replacement information is suppressed, and the block loading to the instruction cache memory is executed. It is set to a content suitable for a group of HCSW instructions having a medium importance in performance. Thereafter, the branch instruction 340 is executed, and the operation of the HCSW shifts to the HCSW instruction group 320. At this time, the instruction word of the HCSW instruction group 320 is fetched, and a mishit occurs in the instruction word cache memory. A block load is performed. The operation at the time of block loading executed at this time is an operation suitable for the HCSW instruction group of medium importance in performance set by the above-described HCSW support instruction 342, and thereafter the HCSW instruction group 320 operates in this state. to continue. Further, when the operation of the HCSW is further transferred from the HCSW instruction group 320 to the HCSW instruction group 330, the HCSW support instruction 343 is executed. When the HCSW instruction group 330 operates, the operation at the time of loading the block of the instruction word cache memory has a high performance. The operation is suitable for a group of HCSW instructions of lower importance. Further, the HCSW instruction group 33
When the operation of the HCSW is shifted 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 higher importance in 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 block loading of the instruction word cache memory is performed by the
When the operation of the HCSW is transferred to the instruction group, the operation is changed to an operation suitable for the HCSW instruction group with higher performance importance by executing the HCSW support instruction 341, and the HCSW with medium performance importance is executed. When the operation of the HCSW is transferred 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 middle importance in performance, and the HCSW having the lower importance in performance is performed. When the operation of the HCSW is transferred to the instruction group, by executing the HCSW support instruction 343, the H of lower importance in performance is executed.
The operation has been changed to be suitable for the CSW instruction group.

【0045】また、各HCSW命令群の動作終了時には
HCSWモードからソフトウェアモードに移るために、
HCSWモード退出用のHCSWサポート命令344が
実行され、命令語キャッシュメモリのブロックロード時
の動作を、ハードウェア所定の動作、すなわちブロック
ロードの回数を1回とし、LRUリプレースメント情報
の更新抑止を解除し、命令語キャッシュメモリへのブロ
ックロード抑止を解除している。
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 operation of hardware, that is, the number of times of block loading is set to one, and the update inhibition of the LRU replacement information is released. In this case, the block load suppression to the instruction cache memory is released.

【0046】以上の様に、HCSWサポート命令により
命令語キャッシュメモリのブロックロード時の動作をダ
イナミックに変更する事により、各々のHCSW命令群
の性能上の重要度に適した形で命令語キャッシュメモリ
を制御することができる。
As described above, the operation at the time of block loading of the instruction cache memory is dynamically changed by the HCSW support instruction, so that the instruction cache memory can be adapted to the performance importance 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 in terms of performance by changing the operation at the time of block loading of the instruction word cache memory by the HCSW as necessary. In a high-order HCSW, the number of miss hits in the instruction word cache memory can be reduced by executing the block load multiple times, and the performance is improved. In the case of the HCSW with low performance importance, the update of the LRU replacement information and the block load to the instruction cache memory are suppressed, so that general software and HCSW with higher performance importance are erased from the instruction cache memory. Therefore, the instruction cache memory can be used effectively.

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

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

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

【図3】本実施例のハードウェア制御ソフトウェアによ
るキャッシュメモリ制御方式におけるHCSWの指示に
より命令語キャッシュメモリのブロックロード時の動作
を変更する場合のHCSW動作の一実施例を示す図であ
る。
FIG. 3 is a diagram showing an embodiment of an HCSW operation in a case where an operation at the time of block loading of an instruction cache memory is changed according to an instruction of the HCSW in a cache memory control method by hardware control software of the 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サーポト
命令
DESCRIPTION OF SYMBOLS 1 Address register 2 Instruction cache memory 3, 4, 5, 6, 9, 10, 11, 12 Block group 7 Instruction cache directory 8 LRU replacement information 13, 14, 15, 16 Hit detection circuit 17 Instruction cache memory buffer Device 18 Command cache memory control circuit 19 Data selection circuit 20 Address update circuit 21 Buffer device control circuit 22 Command cache memory write control circuit 23 LRU replacement information update circuit 200 Start address storage table pointer 210 Start address storage table 211 Control information field 212 boot address information field 220, 221, 222, 223, 310, 320, 3
30 HCSW instruction group 340 Branch instruction 341, 342, 343, 344 HCSW support instruction

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06F 12/08 G06F 12/12 G06F 9/26 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) G06F 12/08 G06F 12/12 G06F 9/26

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 メインメモリ装置のハードウェア領域に
格納された機械語命令形式のルーチンであるハードウェ
ア制御ソフトウェアをマイクロプログラムにより呼出
し、前記ハードウェア制御ソフトウェアをマイクロプロ
グラムで逐一実行する事によりハードウェアを制御する
機能を備え、前記ハードウェア制御ソフトウェア命令と
一般ソフトウェァ命令を区別せず同一のキャッシュメモ
リに格納する方式のデータ処理装置において、 メインメモリ装置からの前記キャッシュメモリに対する
ブロックロード時のブロックロード回数を、前記ハード
ウェア制御ソフトウェアの起動前に変更する手段と、前
記ハードウェア制御ソフトウェアにより任意に変更する
手段と、前記ハードウェア制御ソフトウェアの終了を契
機として、ハードウェア所定のブロックロード回数に変
更する手段とを備える事を特徴とするハードウェア制御
ソフトウェアによるキャッシュメモリ制御方式。
1. A hardware control software which is a routine in 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 by the microprogram one by one. A data processing device having a function of controlling the hardware control software instruction and the general software instruction and storing the same in the same cache memory without distinguishing between the hardware control software instruction and the general software instruction. Means for changing the number of times before the start of the hardware control software; means for arbitrarily changing the number of times by 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. The hardware control software which is a routine in 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 by the microprogram one by one. A data processing device having a function of controlling the hardware control software instruction and the general software instruction and storing the same in the same cache memory without distinguishing between the hardware control software instruction and the general software instruction. Means for suppressing an update operation of the LRU replacement information by an instruction before activation of the hardware control software, means for inhibiting the update operation of the LRU replacement information by an instruction of the hardware control software, In the wake of the completion, the LRU
Means for canceling suppression of update operation of replacement information. A cache memory control method using hardware control software.
【請求項3】 メインメモリ装置のハードウェア領域に
格納された機械語命令形式のルーチンであるハードウェ
ア制御ソフトウェアをマイクロプログラムにより呼出
し、前記ハードウェア制御ソフトウェアをマイクロプロ
グラムで逐一実行する事によりハードウェアを制御する
機能を備え、前記ハードウェア制御ソフトウェア命令と
一般ソフトウェァ命令を区別せず同一のキャッシュメモ
リに格納する方式のデータ処理装置において、 キャッシュブロックロードを抑止してキャッシュメモリ
を経由せずに命令語を読み出せるように構成し、前記ハ
ードウェア制御ソフトウェアの起動前にブロックロード
の抑止を指示する手段と、前記ハードウェア制御ソフト
ウェアによりブロックロードの抑止を指示する手段と、
前記ハードウェア制御ソフトウェアの終了を契機に、前
記ブロックロードの抑止を解除する手段とを備える事を
特徴とするハードウェア制御ソフトウェアによるキャッ
シュメモリ制御方式。
3. A hardware control software, which is a routine in 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 by the microprogram one by one. In the data processing device having a function of controlling the hardware control software instruction and the general software instruction and storing the same in the same cache memory without discriminating, the cache block load is suppressed and the instruction is executed without passing through the cache memory. Means to read words, means for instructing block load suppression before the hardware control software is activated, and means for instructing block load suppression by the hardware control software,
Means for releasing the block load inhibition upon termination of the hardware control software. A cache memory control method using 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 JPH0667976A (en) 1994-03-11
JP2972451B2 true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001092745A (en) * 1999-09-17 2001-04-06 Internet Research Institute Inc Communication system and method for performing multicast data distribution of web content data of internet to plurality of server computers by utilizing geostationary satellite

Also Published As

Publication number Publication date
JPH0667976A (en) 1994-03-11

Similar Documents

Publication Publication Date Title
CA1124888A (en) Integrated multilevel storage hierarchy for a data processing system with improved channel to memory write capability
JP3239218B2 (en) Cache management system
JP3289661B2 (en) Cache memory system
JP4298800B2 (en) Prefetch management in cache memory
KR930022222A (en) Apparatus and method for providing multiple outstanding operations in a multiprocessor computer system with a consistent cache
JPS6219947A (en) Initialization time reducing apparatus for peripheral memorysubsystem
US20100217937A1 (en) Data processing apparatus and method
JPH06348595A (en) Cache device
JP3236287B2 (en) Multiprocessor system
US5471602A (en) System and method of scoreboarding individual cache line segments
JP2972451B2 (en) Cache memory control method by hardware control software
JPH0756808A (en) Data cache buffer and storage method
JPH05282208A (en) Cache memory control system
JP3130591B2 (en) Computer with cache memory
US5933856A (en) System and method for processing of memory data and communication system comprising such system
JP2002041358A (en) Processor system
JP3284508B2 (en) Data prefetch control device
US6904500B2 (en) Cache controller
JP2850340B2 (en) Cache memory control circuit
JPS6032220B2 (en) information processing equipment
CA1315004C (en) Instruction cache flush-on-rei control
JPH06266623A (en) Cache memory and cache memory control method
JP3039391B2 (en) Memory system
JPH05257807A (en) Cache memory controller
JPH0612331A (en) Cache memory controller

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