JPH03100843A - Information processor - Google Patents

Information processor

Info

Publication number
JPH03100843A
JPH03100843A JP1238516A JP23851689A JPH03100843A JP H03100843 A JPH03100843 A JP H03100843A JP 1238516 A JP1238516 A JP 1238516A JP 23851689 A JP23851689 A JP 23851689A JP H03100843 A JPH03100843 A JP H03100843A
Authority
JP
Japan
Prior art keywords
store
instruction
address
register
data
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
JP1238516A
Other languages
Japanese (ja)
Other versions
JP3013996B2 (en
Inventor
Fumihiko Miyazawa
文彦 宮沢
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 Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP1238516A priority Critical patent/JP3013996B2/en
Publication of JPH03100843A publication Critical patent/JPH03100843A/en
Application granted granted Critical
Publication of JP3013996B2 publication Critical patent/JP3013996B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)
  • Advance Control (AREA)

Abstract

PURPOSE:To increase the processing speed of a store instruction by transferring the data which are validated by the mask information on the continuous store instructions to main storage device when these continuous store instructions are equal to the same store instructions to the same addresses. CONSTITUTION:A coincidence detecting comparator 12 detects whether the address of a preceding store instruction held in a wait stage address register 8 is equal to the address of a subsequent store instruction or not. A coincidence detecting comparator 13 detects whether the request of a preceding store instruc tion held in a wait stage request register 9 is equal to the request of a subse quent store instruction or not. A mask control part 14 transfers the valid one of the store data on a preceding store instruction and that of a subsequent store instruction received from a store data buffer 7 to a main storage device 21 based on the store mask information. As a result, the processing speed of a store instruction is increased when two continuous store instructions are equal to the same store instructions to the same address of the storage 21.

Description

【発明の詳細な説明】 技術分野 本発明は情報処理装置に関し、特にパイプライン処理型
情報処理装置におけるストア命令の高速処理方式に関す
る。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to an information processing apparatus, and more particularly to a high-speed processing method for store instructions in a pipeline processing type information processing apparatus.

従来技術 従来、パイプライン処理型情報処理装置においては、ス
トアバッファから主記憶装置への掃出しがストアバッフ
ァのワード単位に行われていた。
BACKGROUND ART Conventionally, in pipeline processing type information processing apparatuses, flushing from a store buffer to a main memory device has been performed in word units of the store buffer.

よって、ストアバッファ内に主記憶装置の同一アドレス
に対する2つのストア命令が連続して登録されていた場
合、ストアバッファから主記憶装置への掃出しを行うた
めに主記憶装置1!の同一アドレスに対して2回のアク
セスが必要であった。
Therefore, if two store commands for the same address in the main memory are registered in the store buffer consecutively, the main memory 1! It was necessary to access the same address twice.

このような従来のパイプライン処理型情報処理装置では
、ストアバッファ内の連続する2つのストア命令が主記
憶装置の同一アドレスに対する同一のストア命令である
場合でも、主記憶装置とのアクセスが2回必要であり、
中央処理装置と主記憶装置との間の信号アクセス時間が
中央処理装置内における信号アクセス時間よりも遅いた
め、ストア命令処理を高速化することができないという
欠点がある。
In such conventional pipeline processing type information processing devices, even if two consecutive store instructions in the store buffer are the same store instructions to the same address in the main memory, the main memory is accessed twice. is necessary,
Since the signal access time between the central processing unit and the main memory is slower than the signal access time within the central processing unit, there is a drawback that store instruction processing cannot be accelerated.

発明の目的 本発明は上記のような従来のものの欠点を除去すべくな
されたもので、連続する2つのストア命令が主記憶装置
の同一アドレスに対する同一のストア命令であるときに
ストア命令処理の高速化を図ることができる情報処理装
置の提供を1−1的とする。
OBJECTS OF THE INVENTION The present invention has been made to eliminate the drawbacks of the conventional ones as described above, and is to improve the speed of store instruction processing when two consecutive store instructions are the same store instruction to the same address in the main memory. The objective is to provide an information processing device that can be used to

発明の構成 本発明による情報処理装置は、ストア命令により主記憶
装置に格納されるデータをストアバッファに一時保持す
る情報処理装置であって、前記ストアバッファに一時保
持された連続するストア命令が同一アドレスに対する同
一のストア命令か否かを検出する検出手段と、前記検出
手段により前記同一アドレスに対する前記同一ストア命
令であることが検出されたとき、前記連続するストアデ
ータ々のマスク情報により有効とされるデータを前記主
記憶装置に転送する転送手段とを有することを特徴とす
る。
Composition of the Invention An information processing device according to the present invention is an information processing device that temporarily holds data stored in a main storage device in response to a store instruction in a store buffer, wherein consecutive store instructions temporarily held in the store buffer are the same. a detection means for detecting whether or not the store instruction is the same for the address; and when the detection means detects that the store instruction is the same for the same address, it is determined that the store data is valid based on the mask information of the consecutive store data. and transfer means for transferring the data to the main storage device.

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

第1図は本発明の一実施例の構成を示すブロック図であ
る。図において、ストアバッファ掃出しポインタ(RA
)(以下掃出しポインタとする)1はストアアドレスバ
ッファ4と、ストアリクエストバッファ5と、ストアマ
スクバッファ6と、ストアデータバッファ7とに夫々掃
出しアドレスを供給する。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In the figure, the store buffer flush pointer (RA
) (hereinafter referred to as a sweep pointer) 1 supplies a sweep address to the store address buffer 4, store request buffer 5, store mask buffer 6, and store data buffer 7, respectively.

これにより、ストアアドレスバッファ4の掃出しポイン
タ1により指定されるアドレスからはストアアドレスが
掃出されてウェイトステージアドレスレジスタ(WA)
8および一致検出コンパレータ12に送出され、ストア
リクエストバッファ5の掃出しポインタ1により指定さ
れるアドレスからはストアリクエストが掃出されてウェ
イトステージリクエストレジスタ(WQ)9および一致
検出コンパレータ13に送出される。
As a result, the store address is flushed from the address specified by the flush pointer 1 of the store address buffer 4, and the wait stage address register (WA) is flushed.
The store request is sent to the wait stage request register (WQ) 9 and the match detection comparator 12, and the store request is swept out from the address specified by the sweep pointer 1 of the store request buffer 5 and sent to the wait stage request register (WQ) 9 and the match detection comparator 13.

また、ストアマスクバッファ6の掃出しポインタ1によ
り指定されるアドレスからはストアマスク情報が掃出さ
れてウェイトステージマスクレジスタ(WM)10およ
びマスク制御部14に送出され、ストアデータバッファ
7の掃出しポインタ1により指定されるアドレスからは
ストアデータが1.11出されてウェイトステージデー
タレジスタ(VVD)11およびセレクタ(WDX)1
9に送出される。
Further, the store mask information is flushed from the address specified by the sweep pointer 1 of the store mask buffer 6 and sent to the wait stage mask register (WM) 10 and the mask control unit 14, and the store mask information is flushed out from the address specified by the sweep pointer 1 of the store data buffer 7. Store data 1.11 is output from the address specified by wait stage data register (VVD) 11 and selector (WDX) 1.
Sent on 9th.

ストアアドレス/リクエスト登録ポインタ(WAO)(
以下登録ポインタとする)2はストアアドレスバッファ
4およびストアリクエストバッファ5にアドレスを供給
する。
Store address/request registration pointer (WAO) (
(hereinafter referred to as a registration pointer) 2 supplies an address to the store address buffer 4 and the store request buffer 5.

よって、ストアアドレスバッファ4およびストアリクエ
ストバッファ5では登録ボ・インタ2により指定される
アドレスにストアアドレスおよびストアリクエストが登
録される。
Therefore, in the store address buffer 4 and the store request buffer 5, a store address and a store request are registered at the address specified by the registration button interface 2.

ストアマスク/データ登録ポインタ(WAl)(以下登
録ポインタとする)3はストアマスクバッフ76および
ストアデータバッファ7にアドレスを供給する。
A store mask/data registration pointer (WAl) (hereinafter referred to as a registration pointer) 3 supplies addresses to a store mask buffer 76 and a store data buffer 7.

よって、ストアマスクバッファ6およびストアデータバ
ッファ7では登録ポインタ3により指定されるアドレス
にストアマスク情報およびストアデータが登録される。
Therefore, store mask information and store data are registered in the store mask buffer 6 and store data buffer 7 at the address specified by the registration pointer 3.

ウェイトステージアドレスレジスタ8にはストアアドレ
スバッファ4から掃出されたストアアドレスが一時保持
され、該ストアアドレスを一致検出コンパレータ12お
よびストアステージアドレスレジスタ(SA)16に送
出する。
The wait stage address register 8 temporarily holds the store address flushed from the store address buffer 4, and sends the store address to the match detection comparator 12 and the store stage address register (SA) 16.

ウェイトステージリクエストレジスタ9にはストアリク
エストバッファ5から掃出されたストアリクエストが一
時保持され、該ストアリクエストを一致検出コンパレー
タ13およびストアステージリクエストレジスタ(SQ
)17に送出する。
The wait stage request register 9 temporarily holds the store request flushed from the store request buffer 5, and passes the store request to the match detection comparator 13 and the store stage request register (SQ).
)17.

ウェイトステージマスクレジスタ10にはストアマスク
バッファ6から掃出されたストアマスク情報が一時保持
され、該ストアマスク情報をマスク制御部14に送出す
る。
The wait stage mask register 10 temporarily holds the store mask information flushed from the store mask buffer 6, and sends the store mask information to the mask control section 14.

ウェイトステージデータレジスタ11にはストアデータ
バッファ7から掃出されたストアデータが一時保持され
、該ストアデータをセレクタ19に送出する。
The wait stage data register 11 temporarily holds the store data flushed from the store data buffer 7 and sends the store data to the selector 19.

一致検出コンパレータ12はウニ・イトステージアドレ
スレジスタ8に保持された先行するストア命令のストア
アドレスと、ストアアドレスバッファ4からの後続する
ストア命令のストアアドレスとを比較し、その比較結果
をアンドゲート】5に出力する。
The match detection comparator 12 compares the store address of the preceding store instruction held in the unique stage address register 8 with the store address of the subsequent store instruction from the store address buffer 4, and applies the comparison result to an AND gate.] Output to 5.

ずなわち、一致検出コンパレータ12は先行するストア
命令のアドレスと後続するストア命令のアドレスとが同
一アドレスか否かを検出している。
That is, the coincidence detection comparator 12 detects whether the address of the preceding store instruction and the address of the subsequent store instruction are the same address.

一致検出コンパレータ13はウニ・イトステージリクエ
ストレジスタ9に保持された先行するストア命令のスト
アリクエストと、ストアリクエストバッファ5からの後
続するストア命令のストアリクエストとを比較し、その
比較結果をアンドゲート15に出力する。
The match detection comparator 13 compares the store request of the preceding store instruction held in the store request register 9 with the store request of the subsequent store instruction from the store request buffer 5, and sends the comparison result to the AND gate 15. Output to.

すなわち、一致検出コンバレータ13は先行するストア
命令のリクエストと後続するストア命令のリクエストと
が同一リクエストか否かを検出している。
That is, the coincidence detection comparator 13 detects whether the preceding store instruction request and the subsequent store instruction request are the same request.

マスク制御部14はアントゲ−1・15からのマージ指
示に応じて、ウェイトステージマスクレジスタ10に保
持された先行するストア命令のストアマスク情報と、ス
トアマスクバッファ6からの後続するストア命令のスト
アマスク情報とにより、ウェイトステージデータレジス
タ11に保持された先行するストア命令のストアデータ
と、ストアデータバッファ7からの後続するストア命令
のストアデータとのうちどちらをストアステージデータ
レジスタ(SD)20に登録するかを各バイト毎に決定
する。
The mask control unit 14 stores the store mask information of the preceding store instruction held in the wait stage mask register 10 and the store mask of the subsequent store instruction from the store mask buffer 6 in response to the merge instruction from the anime game 1/15. Depending on the information, either the store data of the preceding store instruction held in the wait stage data register 11 or the store data of the subsequent store instruction from the store data buffer 7 is registered in the store stage data register (SD) 20. for each byte.

ずなわち、アンドゲート15からのマージ指示によりマ
ージが指示されたとき、マスク制御部14は先行するス
トア命令のストアマスク情報と後続するストア命令のス
トアマスク情報との論理和演算を行い、その演算結果を
ストアステージマスクレジスタ(SNl)18に登録す
る。ヒともに、その演算結果によりセレクタ19を制御
して先行するストア命令のストアデータと後続するスト
ア命令のストアデータとのうちストアステージデータレ
ジスタ20に登録するストアデータを選択する。
That is, when a merge is instructed by a merge instruction from the AND gate 15, the mask control unit 14 performs a logical OR operation on the store mask information of the preceding store instruction and the store mask information of the subsequent store instruction, and The calculation result is registered in the store stage mask register (SNl) 18. Both controllers control the selector 19 based on the calculation results to select store data to be registered in the store stage data register 20 from among the store data of the preceding store instruction and the store data of the subsequent store instruction.

!f12図は第1図のマスク制御部14の詳細を示す図
である。図において、ストアマスク制御部14はアンド
ゲート15からのマージ指示が“0”のとき、すなわち
マージを行わない、とき、先行するストア命令のストア
マスク情報および後続するストア命令のストアマスク情
報の“l)’、”1”に関係なく、先行するストア命令
のストアデータをストアステージデータレジスタ2 +
)に登録するように決定する。
! FIG. f12 is a diagram showing details of the mask control section 14 in FIG. 1. In the figure, when the merge instruction from the AND gate 15 is "0", that is, when no merging is performed, the store mask control unit 14 controls the store mask information of the preceding store instruction and the store mask information of the subsequent store instruction. l)', regardless of "1", the store data of the preceding store instruction is stored in the store stage data register 2 +
).

また、マスク制御部14はアンドゲート15からのマー
ジ指示が“1“のとき、すなわちマージを行−)とき、
先行するストア命令のストアマスク情報が“0”で、後
続するストア命令のストアマスク情報が“0”ならば、
先行するストア命令のストアデータをストアステージデ
ータレジスタ20に登録するように決定する。
Further, when the merge instruction from the AND gate 15 is "1", that is, when the mask control unit 14 performs the merge (row -),
If the store mask information of the preceding store instruction is “0” and the store mask information of the following store instruction is “0”,
It is determined that the store data of the preceding store instruction is to be registered in the store stage data register 20.

先行するストア命令のストアマスク情報が“0”で、後
続するストア命令のストアマスク情報が“1”ならば、
後続するストア命令のストアデータをストアステージデ
ータレジスタ20に登録するように決定する。
If the store mask information of the preceding store instruction is “0” and the store mask information of the following store instruction is “1”, then
It is determined that the store data of the subsequent store instruction is to be registered in the store stage data register 20.

先行するストア命令のストアマスク情報が“1”で、後
続するストア命令のストアマスク情報が“1〕°ならば
、先行するストア命令のストアデータをストアステージ
データレジスタ20に登録するように決定する。
If the store mask information of the preceding store instruction is “1” and the store mask information of the following store instruction is “1]°, it is determined to register the store data of the preceding store instruction in the store stage data register 20. .

先行するストア命令のストアマスク情報が“1”で、後
続するストア命令のストアマスク情報が“11ならば、
後続するストア命令のストアデータをストアステージデ
ータレジスタ2oに登録するように決定する。
If the store mask information of the preceding store instruction is “1” and the store mask information of the following store instruction is “11”, then
It is determined that the store data of the subsequent store instruction is to be registered in the store stage data register 2o.

第3図は本発明の一実施例の動作を示すタイムチャート
であり、第4図は本発明の一実施例によるパイプライン
処理の一例を示す図°Cある。第4図において、本発明
の一実施例によるパイプライン処理では、アドレスレジ
スタ(AIC)がらのアドレスにより命令キャッシュか
ら命令を取出す命令取出しくIF)ステージと、このス
テージで取出された命令を命令レジスタ(!R)に格納
した後にこの命令のオペランドに基づきアドレス加算器
で論理アドレスを生成するオペランドアドレス(AC)
ステージと、このステージで生成された論理アドレスを
論理アドレスレジスタ(LAR)に格納した後にアドレ
ス変換バッファ(TLB)で論理アドレスを物理アドレ
スに変換するアドレス代換(A T)ステージと、この
ステージで変換された物理アドレスを物理アドレスレジ
スタ(PAR)に格納した後にこの物理アドレスでオペ
ランドキャッシュをアクセスしてオペランドを読出すオ
ペランドキャッシュアクセス(CA)ステージと、この
ステージで読出されたオペランドを実行レジスタ(EX
R)に格納した後に演算器で演算する演算実行(EX)
ステニジと、このステージで演算された結果を読出しデ
ータレジスタ(RDR)に格納した後にストアバッファ
に格納する結果格納(ST)ステージの6ステージに分
割されている。
FIG. 3 is a time chart showing the operation of one embodiment of the present invention, and FIG. 4 is a diagram showing an example of pipeline processing according to one embodiment of the present invention. In FIG. 4, in pipeline processing according to an embodiment of the present invention, there is an instruction fetch IF stage in which an instruction is fetched from the instruction cache according to an address from an address register (AIC), and an instruction fetch IF stage in which an instruction fetched in this stage is stored in an instruction register. Operand address (AC) that generates a logical address in the address adder based on the operand of this instruction after storing it in (!R)
an address substitution (AT) stage in which the logical address generated in this stage is stored in a logical address register (LAR) and then translated into a physical address in an address translation buffer (TLB); The operand cache access (CA) stage stores the translated physical address in the physical address register (PAR) and then accesses the operand cache using this physical address to read the operand, and the operand read in this stage is stored in the execution register (PAR). EX
Arithmetic execution (EX) to perform calculations on the arithmetic unit after storing in R)
It is divided into six stages: a ST stage and a result storage (ST) stage in which the result calculated in this stage is stored in a read data register (RDR) and then stored in a store buffer.

ストアバッファに格納された演算結果はウェイトステー
ジレジスタ(WD)およびストアステージレジスタ(S
D)に格納された後に、主記憶装置に転送される。
The calculation results stored in the store buffer are stored in the wait stage register (WD) and store stage register (S).
D) and then transferred to the main storage.

これら第1図〜第4図を用いて本発明の一実施例の動作
について説明する。
The operation of one embodiment of the present invention will be explained using these FIGS. 1 to 4.

タイミングtlにおいてストア命令である5TAI命令
の処理が開始され、タイミングt2においてストア命令
である5TA2命令の処理が開始される。
At timing tl, processing of the 5TAI instruction, which is a store instruction, is started, and at timing t2, processing of the 5TA2 instruction, which is a store instruction, is started.

この5TA2命令は命令取出しステージから結果格納ス
テージまでSTA l命令のIT(タイミング)遅れで
処理が行われる。
This 5TA2 instruction is processed with an IT (timing) delay of the STA1 instruction from the instruction fetch stage to the result storage stage.

通常、ストア命令処理においてはアドレスおよびリクエ
ストをストアバッファに登録するタイミングと、データ
およびマスク情報を登録するタイミングとが異なってい
る。
Normally, in store command processing, the timing at which addresses and requests are registered in the store buffer is different from the timing at which data and mask information are registered.

タイミングt4においてSTA l命令のストアアドレ
スおよびストアリクエストが登録ポインタ2によって示
されるストアアドレスバッファ4およびストアリクエス
トバッファ5のワード位置に夫々登録され、タイミング
t7において5TAI命令のストアマスク情報およびス
トアデータがストアマスクバッファ6およびストアデー
タバッファ7の登録ボ、fンタ3によって示されるワー
ド位置に夫々登f?される。
At timing t4, the store address and store request of the STA l instruction are registered in the word positions of the store address buffer 4 and store request buffer 5 indicated by registration pointer 2, respectively, and at timing t7, the store mask information and store data of the 5TAI instruction are stored. The registration buttons of the mask buffer 6 and the store data buffer 7 register f? at the word positions indicated by the f counter 3, respectively. be done.

ST^2命令のストアアドレス、ストアリクエスト、ス
トアマスク情報、ストアデータもSTA l命令の処理
のIT遅れで夫々ストアアドレスバッファ4、ストアリ
クエストバッフア5、ストアマスクバッファら、ストア
データバッファ7に登録される。
The store address, store request, store mask information, and store data of the ST^2 instruction are also registered in the store address buffer 4, store request buffer 5, store mask buffer, etc., and store data buffer 7, respectively, due to the IT delay in processing the STA l instruction. be done.

タイミングt7において5TAI命令のストアデータの
ストアデータバッファ7への登録が完了したことで、ス
トアバッファ内にはSTA l命令のストアアドレスお
よびストアデータが共に存在することとなP〕、タイミ
ングt8においてS1’AI命令のストアアドレスおよ
びストアデータのストアバッファの掃出しポインタ1に
よって示されるワード位置からWD (ウェー(トデー
タ)ステージ(ウェイトステージアドレスレジスタ8.
ウニ・fトスデージリクエストレジスタ9.ウェイトス
・デージマスクレジスタ10.ウエイトステージデータ
レジスタ11)への掃出しが実施される。
At timing t7, registration of the store data of the 5TAI instruction in the store data buffer 7 is completed, so that both the store address and the store data of the STA1 instruction exist in the store buffer. 'From the word position indicated by the store address of the AI instruction and the store buffer flush pointer 1 of the store data to the WD (wait data) stage (wait stage address register 8.
Uni/f tossage request register 9. Waits Dage Mask Register 10. A flush to the wait stage data register 11) is performed.

また、タイミングt9においては、ST^2命令のスト
アアドレスおよびストアデータのストアバッファの掃出
しボ・「ンタ]によって示されるワード位置からの掃出
しが実施されようとしている。
Also, at timing t9, sweeping is about to be performed from the word position indicated by the store address of the ST^2 instruction and the store buffer sweep button of the store data.

このタイミングにおいて一致検出コンバレータ12でス
トアアドレスバッファ4からの掃出しアドレスとウェイ
トステージアドレスレジスタ8からの出力アドレスとの
一致がチエツクされる。
At this timing, the match detection comparator 12 checks whether the flush address from the store address buffer 4 and the output address from the wait stage address register 8 match.

また、一致検出コンパレータ13でストアリクエストバ
ッファ5から掃出されたリクエストとウェイトステージ
リクエストレジスタ9から出力されたリクエストとの一
致がチエツクされる。
Further, a match detection comparator 13 checks whether the request flushed from the store request buffer 5 matches the request output from the wait stage request register 9.

これにより、一致検出コンパレータ12.13から夫々
“1”が出力されると、5TAl命令および5TA2命
令は主記憶装置21の同一アドレスに対する同一ストア
リクエストであると判断され、ストアデータバッファ7
から掃出されたデータと、ウェイトスーテージデータレ
ジスタ11からの出力データとが各バイト毎にマスク制
御部14に示されるマスクの値にしたがってストアステ
ージデータレジスタ20に登録される。
As a result, when "1" is output from each of the match detection comparators 12 and 13, it is determined that the 5TA1 instruction and the 5TA2 instruction are the same store request for the same address in the main memory 21, and the store data buffer 7
The data swept out from the storage stage data register 11 and the output data from the weight stage data register 11 are registered in the store stage data register 20 according to the mask value indicated by the mask control unit 14 for each byte.

すなわち、マスク制御部14はセレクタ19を制御し、
ウェイトステージデータレジスタ11からのストアデー
タ(STAI命令のストアデータ)と、ストアデータバ
ッファ7からのストアデータ(ST^2命令のストアデ
ータ)とのうちどちらのストアデータをストアステージ
データレジスタ20に登録すればよいかを各バイト毎に
決定1−でいる。
That is, the mask control unit 14 controls the selector 19,
Which of the store data from the wait stage data register 11 (STAI instruction store data) and the store data from the store data buffer 7 (ST^2 instruction store data) is registered in the store stage data register 20. For each byte, it is determined whether it should be done or not.

このとき、マスク制御部14ではウェイトステージマス
クレジスタ10からのストアマスク情報(STAI命令
のストアマスク情報)と、ストアマスクバッファ6から
のストアマスク情報(8丁A2命令のストアマスク情報
)との論理和が、とられるので、Sステージデータレジ
スタ20にはウェイトステージマスクレジスタ10から
のストアマスク情報とストアマスクバッファ6からのス
トアマスク情報との論理和がとられた値によってマスク
されたストアデータが5TAR命令のストアデータとし
て登録される。
At this time, the mask control unit 14 uses the logic between the store mask information from the wait stage mask register 10 (store mask information for the STAI instruction) and the store mask information from the store mask buffer 6 (store mask information for the 8th A2 instruction). Since the sum is calculated, the S stage data register 20 contains the store data masked by the logical sum of the store mask information from the wait stage mask register 10 and the store mask information from the store mask buffer 6. 5 Registered as store data of TAR instruction.

また、マスク制御部]4てウェイトステージマスクレジ
スタ10からのストアマスク情報とストアマスクバッフ
ァ6からのストアマスク情報との論理和がとられた値が
、5TAB命令のストアマスク情fllとしてストアス
テージマスクレジスタ181;登録される。
In addition, the value obtained by logically ORing the store mask information from the wait stage mask register 10 and the store mask information from the store mask buffer 6 in the mask control unit] 4 is used as the store mask information full of the 5TAB instruction as the store stage mask. Register 181: Registered.

さらに、ストアステージアドレスレジスタ16にはウェ
イトステージアドレスレジスタ8の値が登ハ1され、ス
トアステージリクエストレジスタ17にはウェイトステ
ージリクエストレジスタ9の値が登録される。
Furthermore, the value of the wait stage address register 8 is registered in the store stage address register 16, and the value of the wait stage request register 9 is registered in the store stage request register 17.

上述のようにして、タイミングt9において5TA1命
令のストアデータと5TA2命令のストアデータとがマ
ージされた結果がストアステージデータレジスタ20に
登録され、タイミング110においてSD(ストアデー
タ)ステージから主記憶装置21への掃出しが実施され
る。
As described above, at timing t9, the result of merging the store data of the 5TA1 instruction and the store data of the 5TA2 instruction is registered in the store stage data register 20, and at timing 110, it is transferred from the SD (store data) stage to the main storage device 21. Cleaning will be carried out.

つまり、ストアステージアドレスレジスタ16とストア
ステージリクエストレジス717とストアステージマス
クレジスタ18とストアステージデータレジスタ20と
から、5TA3命令のストアアドレスとストアリクエス
トとストアマスク情報とストアデータとが夫々主記憶装
置21に掃出される。
That is, from the store stage address register 16, store stage request register 717, store stage mask register 18, and store stage data register 20, the store address, store request, store mask information, and store data of the 5TA3 instruction are stored in the main memory 21, respectively. is swept away.

このように、ストアバッファ内に連続して登録された2
つのストア命令、すなわち5TAI命令およびST^2
命令が主記憶装置21の同一°rアドレス対する同一ス
トアリクエストであるこ、とか、一致検出コンバレータ
12.13およびアンドゲート15により検出されたと
き、5TAI命令のストアマスク情報およびST^2命
令のストアマスク情報によりSTA l命令のストアデ
ータと5TA2命令のストアデータとのマージを行って
から主記憶装置21に転送するようにすることによって
、ストアバ・ソファからの掃出し時に主記憶装置21と
のアクセスを1回に削減することができる。
In this way, two
2 store instructions, i.e. 5 TAI instructions and ST^2
When it is detected by the match detection comparator 12.13 and the AND gate 15 that the instructions are the same store request for the same address of the main memory 21, the store mask information of the 5TAI instruction and the store mask of the ST^2 instruction By merging the store data of the STA1 instruction with the store data of the 5TA2 instruction based on the information and then transferring it to the main memory 21, access to the main memory 21 is reduced by one time when cleaning from the store server couch. can be reduced to times.

よって、連続する2つのストア命令が主記憶装置21の
同一アドレスに対する同一のストア命令であるときにス
トア命令処理の高速化を図ることができる。
Therefore, when two consecutive store instructions are the same store instruction to the same address in the main storage device 21, it is possible to speed up the store instruction processing.

発明の詳細 な説明・したように本発明によれば、連続するストア命
令が同一アドレスに対する同一のストア命令であること
が検出されたとき、この連続するストア命令名々のマス
ク情報により有効とされるデータを主記憶装置に転送す
るようにすることによって、連続する2・つのストア命
令が主記憶装置の同一アドレスに対する同一のストr命
令であるときにストア命令処理の高速化を図ることがで
きるという効果がある。
DETAILED DESCRIPTION OF THE INVENTION According to the present invention, when consecutive store instructions are detected to be the same store instruction to the same address, the successive store instructions are determined to be valid based on the mask information of each name. By transferring the data to the main memory, it is possible to speed up the store instruction processing when two consecutive store instructions are the same Str instruction to the same address in the main memory. There is an effect.

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

it図は本発明の一実施例の構成を示すブロック図、第
2図は!01図のストアマスク制御部の詳細を示す図、
第3図は本発明の一実施例の動作を示ずタイムチャート
、第4図は本発明の一実施例によるパイプライン処理の
一例を示す図である。 主要部分の符号の説明 4・・・・・・ストアアドレスバッファ5・・・・・・
ストアリクエストバッファ6・・・・・・ストアマスク
バッファ 7・・・・・・ストアデータバッファ 8・・・・・・ウェイトステージ 12゜ アドレスレジスタ 9・・・・・・ウェイトステージ リクエストレジスタ 10・・・・・・ウェイトステージ マスクレジスタ 11・・・・・・ウェイトステージ データレジスタ 13・・・・・・一致検出コンパレータ14・・・・・
・マスク制御部 15・・・・・・アンドゲータ 16・・・・・・ストアステージ アドレスレジスタ 17・・・・・・ストアステージ リクエストレジスタ 18・・・・・・ストアステージマスクレジスタ19・
・・・・・セレクタ 20・・・・・・ストアステージデータレジスタ21・
・・・・・主記憶装置
The IT diagram is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is! A diagram showing details of the store mask control section in Figure 01,
FIG. 3 is a time chart showing the operation of an embodiment of the present invention, and FIG. 4 is a diagram showing an example of pipeline processing according to an embodiment of the present invention. Explanation of symbols of main parts 4...Store address buffer 5...
Store request buffer 6... Store mask buffer 7... Store data buffer 8... Wait stage 12° Address register 9... Wait stage request register 10... ... Wait stage mask register 11 ... Wait stage data register 13 ... Match detection comparator 14 ...
-Mask control unit 15...AND gater 16...Store stage address register 17...Store stage request register 18...Store stage mask register 19.
...Selector 20...Store stage data register 21.
...Main memory

Claims (1)

【特許請求の範囲】[Claims] (1)ストア命令により主記憶装置に格納されるデータ
をストアバッファに一時保持する情報処理装置であって
、前記ストアバッファに一時保持された連続するストア
命令が同一アドレスに対する同一のストア命令か否かを
検出する検出手段と、前記検出手段により前記同一アド
レスに対する前記同一ストア命令であることが検出され
たとき、前記連続するストア命令各々のマスク情報によ
り有効とされるデータを前記主記憶装置に転送する転送
手段とを有することを特徴とする情報処理装置。
(1) An information processing device that temporarily holds data stored in the main memory by a store instruction in a store buffer, and whether consecutive store instructions temporarily held in the store buffer are the same store instruction for the same address. a detection means for detecting whether the store instruction is the same for the same address, and a detection means for detecting whether the store instruction is the same for the same address; An information processing device comprising: a transfer means for transferring information.
JP1238516A 1989-09-14 1989-09-14 Information processing device Expired - Fee Related JP3013996B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1238516A JP3013996B2 (en) 1989-09-14 1989-09-14 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1238516A JP3013996B2 (en) 1989-09-14 1989-09-14 Information processing device

Publications (2)

Publication Number Publication Date
JPH03100843A true JPH03100843A (en) 1991-04-25
JP3013996B2 JP3013996B2 (en) 2000-02-28

Family

ID=17031417

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1238516A Expired - Fee Related JP3013996B2 (en) 1989-09-14 1989-09-14 Information processing device

Country Status (1)

Country Link
JP (1) JP3013996B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012203544A (en) * 2011-03-24 2012-10-22 Nec Corp Vector processor, vector processing method, and program

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6431238A (en) * 1987-07-27 1989-02-01 Fujitsu Ltd System for controlling store buffer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6431238A (en) * 1987-07-27 1989-02-01 Fujitsu Ltd System for controlling store buffer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012203544A (en) * 2011-03-24 2012-10-22 Nec Corp Vector processor, vector processing method, and program

Also Published As

Publication number Publication date
JP3013996B2 (en) 2000-02-28

Similar Documents

Publication Publication Date Title
EP0381470B1 (en) Processing of memory access exceptions along with prefetched instructions within the instruction pipeline of a virtual memory system-based digital computer
JP2565648B2 (en) Method and system for maintaining coherence of translation lookaside buffer
EP0381447B1 (en) Method and apparatus for controlling the conversion of virtual to physical memory addresses in a digital computer system
JP2002297379A (en) Hardware prefetch system
JPS6341100B2 (en)
JP2510605B2 (en) Virtual computer system
JP2001222470A (en) Translation look aside buffer circuit
JP4131789B2 (en) Cache control apparatus and method
JPH03100843A (en) Information processor
JP2845754B2 (en) Multiprocessor system
JPH03100842A (en) Information processor
JPH05342101A (en) Hierarchical cache memory
JP2818562B2 (en) Address translation circuit
JPH05225063A (en) Buffer memory clear system
JP2555461B2 (en) Cache memory system
JPH04340145A (en) Cache memory device
JPH0432415B2 (en)
JPH11345169A (en) False exception for canceled delay request
JPS61289464A (en) Scalar arithmetic processor
JPH03271859A (en) Information processor
JPH01307849A (en) Data access device
JPS62177645A (en) Control system for cache memory
JPH11249959A (en) Method and device for cache memory control
JPS61221845A (en) Producing system for invalidated address of buffer memory
JPH05298185A (en) Virtual storage system and device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees