JPH0156429B2 - - Google Patents
Info
- Publication number
- JPH0156429B2 JPH0156429B2 JP58188207A JP18820783A JPH0156429B2 JP H0156429 B2 JPH0156429 B2 JP H0156429B2 JP 58188207 A JP58188207 A JP 58188207A JP 18820783 A JP18820783 A JP 18820783A JP H0156429 B2 JPH0156429 B2 JP H0156429B2
- Authority
- JP
- Japan
- Prior art keywords
- vector
- address
- store
- tag
- command
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/76—Architectures of general purpose stored program computers
- G06F15/80—Architectures of general purpose stored program computers comprising an array of processing units with common control, e.g. single instruction multiple data processors
- G06F15/8053—Vector processors
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Complex Calculations (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Description
【発明の詳細な説明】
本発明はベクトルデータストア処理中のスカラ
ーデータロード処理の追越制御を行なう情報処理
システムに関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an information processing system that performs overtaking control of scalar data load processing during vector data store processing.
従来技術
バツフアメモリ回路を持つスカラー演算処理装
置と主記憶装置に対して複数個のインターフエー
スを持ち、複数のベクトル要素データを同時にア
クセスすることのできる並列ベクトル演算処理装
置とを有する情報処理システムにおいて、ベクト
ル演算処理装置が行なうベクトル要素の主記憶装
置に対するストア動作に対応して、スカラー演算
処理装置で持つているバツフアメモリ回路の内容
を保証するために、ベクトルストアアドレスをバ
ツフアメモリ回路、タグ記憶回路に送りバツフア
メモリにベクトルストアアドレスに対応したデー
タが登録されているか否かチエツクし登録されて
いればタグ記憶回路に登録されている該当アドレ
スを無効化する無効化回路を持たせる方式は従来
から知られている。一般にはこの無効化動作は、
実際の主記憶装置へのベクトル要素ストア動作と
は独立に行なわれ、かつ、無効化動作の処理効率
を向上させる為複数個の無効化回路を持たせる方
法等も知られている。Prior Art In an information processing system having a scalar arithmetic processing device having a buffer memory circuit and a parallel vector arithmetic processing device having a plurality of interfaces to a main memory and capable of accessing a plurality of vector element data simultaneously, In response to the store operation of vector elements to the main memory performed by the vector arithmetic processing unit, a vector store address is sent to the buffer memory circuit and the tag storage circuit in order to guarantee the contents of the buffer memory circuit possessed by the scalar arithmetic processing unit. A method has been known in the past that includes an invalidation circuit that checks whether data corresponding to a vector store address is registered in the buffer memory and invalidates the corresponding address registered in the tag storage circuit if it is registered. There is. Generally, this invalidation behavior is
A method is also known in which a plurality of invalidation circuits are provided in order to improve the processing efficiency of the invalidation operation, which is performed independently of the actual vector element store operation to the main memory.
しかしながら、ベクトルストア命令に対応して
無効化動作の処理効率を向上させるだけでは、ベ
クトルストア命令の後続命令、特にスカラロード
命令の高速化は行なえない。すなわち、ベクトル
ストア処理中(ベクトルストア動作および無効化
処理動作中)には後続のスカラロード命令はたと
え、バツフアメモリ回路に要求しているスカラー
データが存在する場合もバツフアメモリ回路のデ
ータ保証が終了するまで実行を中断しているた
め、スカラー命令の高速化が行えないという欠点
がある。 However, simply improving the processing efficiency of the invalidation operation in response to the vector store instruction does not make it possible to speed up instructions subsequent to the vector store instruction, especially scalar load instructions. In other words, during vector store processing (vector store operation and invalidation processing operation), subsequent scalar load instructions will not be processed until the data guarantee of the buffer memory circuit ends, even if the requested scalar data exists in the buffer memory circuit. The drawback is that the speed of scalar instructions cannot be increased because execution is interrupted.
発明の目的
ベクトル演算命令におけるベクトル要素のスト
ア動作は、連続番地へのストア動作、一定距
離番地毎へのストア動作、ランダムな番地への
ストア動作に大別されるのがとのストア動作
が殆んどである。本発明の目的は連続番地へのス
トア動作および一定距離番地毎へのストア動作中
はストアアドレスの開始アドレスと終了アドレス
を前もつて計算しベクターストアアドレス領域レ
ジスターに保持し後続のスカラロード命令のロー
ドアドレスがベクタストアアドレス領域内に入つ
ていなければベクトルストア処理の追い越し処理
を可能にした情報処理システムを提供することに
ある。Purpose of the Invention The store operations of vector elements in vector operation instructions are generally divided into store operations to consecutive addresses, store operations at fixed distance addresses, and store operations to random addresses. It is. An object of the present invention is to calculate the start address and end address of the store address in advance and store them in a vector store address area register during store operations to consecutive addresses and store operations to addresses of a fixed distance. An object of the present invention is to provide an information processing system that enables overtaking processing of vector store processing if the load address does not fall within the vector store address area.
発明の構成
本発明のシステムは、主記憶装置とこの主記憶
装置との間でデータ送受信パスを持ちこの主記憶
装置のデータの一部の写しを記憶するバツフアメ
モリ手段と、該バツフアメモリ手段の格納データ
に対応する前記主記憶装置のブロツクアドレス情
報を登録するタグ記憶手段と、このタグ記憶手段
にブロツクアドレス情報の新規登録または登録ア
ドレスの無効化を制御するタグ制御手段と、プロ
グラム命令に従つてベクトルデータまたはスカラ
ーデータのロード、ストア動作指令を出す指令主
段と、該指令手段からのベクトルストア動作指令
に応答し、該指令に伴つて発生さる複数のベクト
ル要素データに対する夫々のストアアドレスが前
記タグ記憶手段に登録されているか否かをチエツ
クし、登録さている場合には、前記タグ制御手段
に登録アドレスの無効化を指令するタグ登録無効
化指令手段と、前記ベクトルストア動作指令およ
び該指令に伴なつて発生されるベクトルストアの
開始アドレス、ベクトル要素データ間の距離およ
びベクトルストアの要素数に基づきベクトルスト
アが実行さる主記憶上のストア開始アドレスおよ
びストア終了アドレスを領域として記憶するベク
トルストア領域格納手段と、前記ベクトルデータ
ストア指令に応答して前記タグ登録無効化指示手
段の動作完了前に前記指令手段から後続のスカラ
ーデータロード指令を受けとると該指令に伴なつ
て受けとるスカラーデータロードアドレスが前記
ベクトルストア領域格納手段で示されるアドレス
領域内にあるか否かをチエツクし領域内にあれば
領域内検出信号を出力する領域検出手段と、前記
指令手段、バツフアメモリ手段、タグ記憶手段と
それぞれ接続され、前記領域検出手段から領域内
検出信号を受けると、スカラーロード指令処理を
中継するよう制御するスカラー制御手段とを含
む。Structure of the Invention The system of the present invention comprises a main storage device and a buffer memory means that has a data transmission/reception path between the main storage device and stores a copy of a part of the data in the main storage device, and a buffer memory device that stores data stored in the buffer memory device. a tag storage means for registering block address information in the main storage device corresponding to the tag storage means; a tag control means for controlling new registration of block address information in the tag storage means or invalidation of the registered address; A command main stage that issues data or scalar data load and store operation commands, and a vector store operation command from the command means, in which each store address for a plurality of vector element data generated in response to the command is set to the tag. tag registration invalidation command means for checking whether the registered address is registered in the storage means, and instructing the tag control means to invalidate the registered address if it is registered; A vector store area that stores the store start address and store end address on the main memory where the vector store is executed based on the vector store start address, the distance between vector element data, and the number of vector store elements that are generated accordingly. and storage means, and when a subsequent scalar data load command is received from the command means before the operation of the tag registration invalidation instructing means is completed in response to the vector data store command, the scalar data load address received in conjunction with the command is Area detection means for checking whether or not the address area is within the address area indicated by the vector store area storage means and outputting an in-area detection signal if it is within the area, and connected to the command means, buffer memory means, and tag storage means, respectively. and scalar control means for controlling to relay scalar load command processing upon receiving an in-area detection signal from the area detection means.
発明の実施例
次に本発明について、図面を参照しながら説明
する。Embodiments of the Invention Next, the present invention will be described with reference to the drawings.
第1図を参照すると、本発明の一実施例は、指
令回路1,複数のベクトル演算処理装置2,3お
よび4,主記憶装置5,スカラーロード制御回路
6,ベクトルストアアドレス領域レジスタ7,タ
グ回路8,タグ制御回路9,バツフアメモリ回路
10,タグ登録無効化指示回路11,領域検出回
路12,およびスカラー演算回路13から構成さ
れている。 Referring to FIG. 1, one embodiment of the present invention includes a command circuit 1, a plurality of vector processing units 2, 3, and 4, a main memory 5, a scalar load control circuit 6, a vector store address area register 7, a tag It is composed of a circuit 8, a tag control circuit 9, a buffer memory circuit 10, a tag registration invalidation instruction circuit 11, an area detection circuit 12, and a scalar calculation circuit 13.
第2図を参照すると、前記タグ登録無効化指示
回路11は、開始アドレスレジスタ201,ベク
トル要素間距離レジスタ202,要素数レジスタ
203,切替回路204,加算器入力レジスタ2
05,加算器206,ベクトルアドレスレジスタ
207,切替回路208,減算器209,減算結
果レジスタ210,ベクトルストアアドレス制御
回路211,切替回路300の一部、およびタグ
検出アドレスレジスタ301から構成さている。 Referring to FIG. 2, the tag registration invalidation instruction circuit 11 includes a start address register 201, a vector element distance register 202, an element number register 203, a switching circuit 204, and an adder input register 2.
05, an adder 206, a vector address register 207, a switching circuit 208, a subtracter 209, a subtraction result register 210, a vector store address control circuit 211, a part of the switching circuit 300, and a tag detection address register 301.
前記タグ記憶回路8は切替回路300の一部、
タグ検出アドレスレジスタ301の一部、タグメ
モリ302、“1”レベル信号303、“0”レベ
ル信号304、切替回路305、およびタグVビ
ツトメモリ306から構成されている。 The tag storage circuit 8 is a part of the switching circuit 300,
It consists of a part of the tag detection address register 301, a tag memory 302, a "1" level signal 303, a "0" level signal 304, a switching circuit 305, and a tag V bit memory 306.
前記タグ制御回路9は書込アドレスレジスタ4
06、およびANDゲート401および402か
ら構成されている。 The tag control circuit 9 is a write address register 4.
06, and AND gates 401 and 402.
前記ベクトルストアアドレス領域レジスタ7
は、開始アドレスレジスタ600、ベクトル要素
間距離レジスタ601、要素数レジスタ602、
乗算器603、加算器604、ベクトル終了アド
レスレジスタ605およびベクトルストア開始ア
ドレスレジスタ606から構成されている。前記
領域検出回路12は減算器700および701お
よびANDゲート702から構成されている。 The vector store address area register 7
are a start address register 600, a vector element distance register 601, an element number register 602,
It consists of a multiplier 603, an adder 604, a vector end address register 605, and a vector store start address register 606. The area detection circuit 12 is composed of subtracters 700 and 701 and an AND gate 702.
次にこの実施例の動作を詳細に説明する。 Next, the operation of this embodiment will be explained in detail.
指令回路1からベクトルデータストア指令がパ
ス101を介してベクトル演算処理装置2,3,
4およびベクトルストアアドレス領域レジスタ
7、およびタグ登録無効化回路11に転送される
とベクトル演算処理装置2,3および4は、パス
102,103および104を介して主記憶装置
5に対してベクトルストア動作を実行する。ベク
トルストアアドレス領域レジスタ7では、パス1
01を介して送れてくるベクトルストアの開始ア
ドレスB,ベクトル要素間距離Dおよびベクトル
ストアの要素数Eの情報からベクトルストア開始
アドレスBと終了アドレス=開始アドレスB+ベ
クトル要素間距離D×ベクトルストアの要素数E
を計算し結果を保持する。また、タグ登録無効化
回路1では、パス101を介して送られてくるベ
クトルストア情報からベクトルストアアドレス
B,(B+D),(B+2D),……(B+E×D)
を作成し、タグ記憶回路8のタグアドレス情報1
08と比較する。比滑一致がとれると、ベクトル
ストアアドレスがタグ記憶回路8に登録されてい
ることを示すのでベクトルストア動作が実行され
る主記憶装置5に対してベクトルストア動作が行
われないバツフアメモリ回路10の内容を保証す
るためにはバツフアメモリ回路10に保持さてい
るデータの主記憶上のブロツクアドレスを登録し
ているタグ記憶回路8のブロツクアドレスを無効
化するようタグ制御回路9に無効化すべきタグア
ドレスと無効化指示がパス109を介して転送さ
れる。 A vector data store command is sent from the command circuit 1 via a path 101 to the vector arithmetic processing units 2, 3,
4, vector store address area register 7, and tag registration invalidation circuit 11, vector arithmetic processing units 2, 3, and 4 transfer vector store data to main memory 5 via paths 102, 103, and 104. perform an action. In vector store address area register 7, path 1
From the information of the vector store start address B, vector element distance D, and vector store element number E sent via 01, vector store start address B and end address = start address B + vector element distance D x vector store Number of elements E
Calculate and store the results. In addition, in the tag registration invalidation circuit 1, vector store addresses B, (B+D), (B+2D), ... (B+E×D) are determined from the vector store information sent via the path 101.
Create the tag address information 1 of the tag storage circuit 8.
Compare with 08. If ratio matching is achieved, it indicates that the vector store address is registered in the tag storage circuit 8, so the vector store operation is not performed on the main memory 5 where the vector store operation is performed.The contents of the buffer memory circuit 10 In order to guarantee this, the tag control circuit 9 is instructed to invalidate the block address of the tag memory circuit 8 which registers the block address on the main memory of the data held in the buffer memory circuit 10. The conversion instruction is transferred via path 109.
このようにベクトルストア指令に対するタグ登
録無効化処理を実行中に後続のスカラーデータロ
ード指令を指回路1から、パス106を介してス
カラーロード制御回路6が受けるとスカラーロー
ドアドレス情報がパス116を介して領域検出回
路12に、またパス115を介してタグ記憶回路
8と、タグ登録無効化指示回路11に、またパス
112を介してバツフアメモリ回路10にそれぞ
れスカラーロード指令信号とともに転送される。
スカラーロード指令を受けとると領域検出回路1
2では一緒に送られて来るスカラーロードアドレ
スをベクトルストアアドレス領域レジスタ7の出
力105と比較し、スカラーロードアドレスがベ
クトルストアアドレス領域内に入つているか否か
が比較され領域内に入つていると領域内検出信号
がパス107を介してスカラーロード制御回路6
に送られスカラーロード動作が中断させられる。 When the scalar load control circuit 6 receives a subsequent scalar data load command from the finger circuit 1 via the path 106 while executing the tag registration invalidation process for the vector store command, the scalar load address information is transferred via the path 116. The signal is then transferred to the area detection circuit 12, via the path 115 to the tag storage circuit 8 and the tag registration invalidation instruction circuit 11, and via the path 112 to the buffer memory circuit 10 together with the scalar load command signal.
When receiving a scalar load command, area detection circuit 1
In step 2, the scalar load address sent together is compared with the output 105 of the vector store address area register 7, and it is compared whether the scalar load address is within the vector store address area. The in-area detection signal is sent to the scalar load control circuit 6 via a path 107.
is sent to interrupt the scalar load operation.
領域内検出信号が出なければまずスカラーロー
ドアドレスがタグ記憶回路8に登録されているか
否かが調べられ、登録されていればバツフアメモ
リ回路10から読み出されたスカラーデータがパ
ス113を介してスカラー演算回路13に送られ
る。また、タグ記憶回路8にスカラーロードアド
レスが登録さていなければパス11を介して主記
憶装置5からスカラーロードアドレスデータを含
むブロツクデータがバツフアメモリ回路10に登
録される。タグ記憶回路8にもスカラーロードア
ドレスを含むブロツクアドレスがタグ制御回路9
の指示により登録され、バツフアメモリ回路10
から再びスカラーロードデータを読み出しスカラ
ー演算回路13にロードデータが送られる。 If the in-area detection signal is not output, it is first checked whether or not the scalar load address is registered in the tag storage circuit 8. If it is registered, the scalar data read from the buffer memory circuit 10 is transferred to the scalar load address via the path 113. The signal is sent to the arithmetic circuit 13. If the scalar load address is not registered in the tag storage circuit 8, block data including the scalar load address data is registered in the buffer memory circuit 10 from the main memory 5 via the path 11. The block address including the scalar load address in the tag storage circuit 8 is also stored in the tag control circuit 9.
is registered according to the instructions of the buffer memory circuit 10.
The scalar load data is read out again from the scalar calculation circuit 13, and the load data is sent to the scalar calculation circuit 13.
次に、第2図を使用して、さらにタグ記憶回路
8およびタグ登録無効化指示回路11について一
実施列を説明する。 Next, one implementation of the tag storage circuit 8 and the tag registration invalidation instruction circuit 11 will be further explained using FIG.
指令回路1からベクトルストア指令がパス10
1を介してタグ登録無効化回路11に送出される
と一緒に送られるベクトルストアの開始アドレス
B、ベクトル要素間距離Dおよびベクトルストア
の要素数Eがそれぞれ開始アドレスレジスタ20
1、ベクトル要素間距離レジスタ202、および
要素数ジスタ203にセツトされる。 Vector store command passes from command circuit 1 to pass 10
1 to the tag registration invalidation circuit 11, the start address B of the vector store, the distance D between vector elements, and the number of elements E of the vector store, which are sent together, are respectively sent to the start address register 20.
1, vector element distance register 202, and element number register 203 are set.
開始アドレスレジスタ201の出力は、切替回
路204を介して加算器入力レジスタ205に送
られ、ベクトル要素間距離レジスタ202の出力
は加算器206に送られる。加算器206は加算
器入力レジスタ205の出力とベクトル要素間距
離レジスタ202の出力とを加算し結果は、切替
回路204と、ベクトルストアアドレスレジスタ
207に送られる。ベクトルアドレスレジスタ2
07の出力は、加算器206の結果がセツトされ
る毎に、タグ記憶回路8内のタグ検索アドレスレ
ジスタ301に切替回路300を介してセツトさ
れる。またベクトルアドレスジスタ207にはベ
クトルストアアドレスが要素数E回数だけセツト
され、前記タグ記憶回路8にE回、ベクトルスト
アアドレスとして転送される。ベクトルストアア
ドレスの作成および転送は、要素数レジスタ20
3の出力をベクトルストアアドレスの作成および
転送の都度、減算器209で―1し減算結果レジ
スタ210の出力がベクトルストアアドレス制御
回路211で零が検出されるまで行われる。前記
切替回路204,208および300は、ベクト
ルストアアドレス制御回路211で制御する。詳
細な動作説明は、本発明とあまり関係ないので省
略する。 The output of the start address register 201 is sent to the adder input register 205 via the switching circuit 204, and the output of the vector element distance register 202 is sent to the adder 206. Adder 206 adds the output of adder input register 205 and the output of vector element distance register 202, and the result is sent to switching circuit 204 and vector store address register 207. Vector address register 2
The output of 07 is set to the tag search address register 301 in the tag storage circuit 8 via the switching circuit 300 every time the result of the adder 206 is set. Further, a vector store address is set in the vector address register 207 E times, the number of elements, and transferred to the tag storage circuit 8 E times as a vector store address. Creation and transfer of vector store addresses are performed using the number of elements register 20.
Each time a vector store address is created and transferred, the subtracter 209 increments the output of 3 by 1, and the output of the subtraction result register 210 continues until the vector store address control circuit 211 detects zero. The switching circuits 204, 208 and 300 are controlled by a vector store address control circuit 211. A detailed explanation of the operation will be omitted since it has little to do with the present invention.
前記タグ検索アドレスレジスタ301にベクト
ルストアアドレスがセツトされると、該アドレス
の下位ブロツク内のアドレスがパス307を介し
てタグメモリ302と、タグVセツトメモリ30
6に送られ、該当するブロツクアドレスおよびV
ビツトが読み出され、比較回路212,213お
よびANDゲート214,215に送られる。本
実施例でではバツフアメモリ2はコンパーメント
(レベル)を考えている
前記比較回路212および213では、タグメ
モリ302の出力とタグ検索アドレスレジスタ3
01の上位ブロツクアドレス情報とが比較され比
較結果がANDゲート214および215でタグ
Vビツトメモリ306の出力とレベル毎にAND
条件がそれぞれとられる。比較回路212または
213で比較一致がとれ、かつ該当ブロツクアド
レスの有効性を表示するタグVビツトメモリ30
6の出力が“1”であればレベル“0”一致フラ
グレジスタ218またはレベル1一致フラグレジ
スタ219がセツトされ、両レベルの一致信号の
論理和がORゲート220でとられビツト信号が
ビツト表示フラグレジススタ217にセツトされ
る。 When a vector store address is set in the tag search address register 301, the address in the lower block of the address is sent to the tag memory 302 and the tag V set memory 30 via a path 307.
6, the corresponding block address and V
The bits are read and sent to comparison circuits 212, 213 and AND gates 214, 215. In this embodiment, the buffer memory 2 is considered to be a compartment (level).The comparison circuits 212 and 213 use the output of the tag memory 302 and the tag search address register 3.
01 is compared with the upper block address information, and the comparison result is ANDed with the output of the tag V bit memory 306 for each level by AND gates 214 and 215.
Each condition is taken. A tag V-bit memory 30 that displays a comparison match in the comparison circuit 212 or 213 and the validity of the corresponding block address.
If the output of 6 is "1", the level "0" match flag register 218 or the level 1 match flag register 219 is set, the OR gate 220 takes the logical sum of the match signals of both levels, and the bit signal becomes the bit display flag. It is set in register 217.
ヒツト表示フラグレジスタ217がセツトされ
ると前記タグ検索アドレスレジスタ301の下位
ブロツク内アドレス情報が無効化アドレスレジス
タ216にセツトされタグ制御回路9にパス10
9を介して転送される。タグ制御回路9では、ヒ
ツト表示フラグレジスタ217の出力をANDゲ
ート401でタイミング信号と論理積をとりタグ
記憶回路8の中のタグVビツトメモリ306に
ANDゲート402の出力で示される。レベルの
Vビツトを“0”にセツトするように指示信号が
パス114を介して無効化書込アドレスレジスタ
400の出力とともに送られる。ここでタグVビ
ツトメモリ306のVビツトを“0”にセツトす
るための書込入力は“0”レベル信号304の出
力が切替回路305で選択される。以上がタグ記
憶回路8のベクトルストアアドレスに対する無効
化処理方法の説明である。 When the hit display flag register 217 is set, the address information in the lower block of the tag search address register 301 is set in the invalidation address register 216, and the tag control circuit 9 receives the pass 10.
Transferred via 9. In the tag control circuit 9, the output of the hit display flag register 217 is ANDed with the timing signal by an AND gate 401, and is stored in the tag V bit memory 306 in the tag storage circuit 8.
It is indicated by the output of AND gate 402. An instruction signal is sent along path 114 with the output of invalidate write address register 400 to set the level V bit to "0". Here, the output of the "0" level signal 304 is selected by the switching circuit 305 as the write input for setting the V bit of the tag V bit memory 306 to "0". The above is the explanation of the invalidation processing method for the vector store address of the tag storage circuit 8.
次に本発明の特徴でもあるベクトルストアアド
レス領域レジスタ7および領域検出回路12につ
いて第3図の実施例ブロツク図を用いて説明す
る。 Next, the vector store address area register 7 and area detection circuit 12, which are features of the present invention, will be explained using the embodiment block diagram of FIG.
指令回路1からベクトルデータストア指令がパ
ス101を介してベクトルストアアドレス領域レ
ジスタ7に出されると一緒に送られるベクトルス
トアの開始アドレスB、ベクトル要素間距離Dお
よびベクトルストアの要素数Eがそれぞれ開始ア
ドレスレジスタ600、ベクトル要素間距離レジ
スタ601および要素数レジスタ602にセツト
される。 When a vector data store command is issued from the command circuit 1 to the vector store address area register 7 via the path 101, the start address B of the vector store, the distance D between vector elements, and the number of elements E of the vector store, which are sent together, are respectively started. The address register 600, vector element distance register 601, and number of elements register 602 are set.
開始アドレスレジスタ600の出力は加算器6
04とベクトルストア開始アドレスレジスタ60
6に送られる。要素間距離レジスタ601と要素
数レジスタ602の出力は乗算器603に入力さ
れベクトル要素間距離D×ベクトルストアの要素
数Eの出力が加算器604に入力され、加算器6
04からは開始アドレスB+ベクトル要素間距離
D×ベクトルストアの要素数Eの演算結果がベク
トルストア終了アドレスレジスタ605にセツト
される。これら2つのレジスタ605および60
6の内容が有効なのは、前記ベクトルストアアド
レス制御回路211でベクトル残要素数が零を検
出するまでの間である。すなわち、ベクトルデー
タストア指令に対するタグ登録無効化処理実行中
だけ前記ベクトルストア開始アドレスレジスタ6
06とベクトルストア終了アドレスレジスタ60
5の内容は有効であり、それ以外の期間は、例え
ばクリアされていて全て“0”の値がセツトされ
ていて無効な内容を持つている。 The output of the start address register 600 is sent to the adder 6
04 and vector store start address register 60
Sent to 6. The outputs of the inter-element distance register 601 and the number of elements register 602 are input to the multiplier 603, and the output of the vector element distance D x the number of elements of the vector store E is input to the adder 604.
From 04 onwards, the calculation result of start address B+distance between vector elements D×number of vector store elements E is set in vector store end address register 605. These two registers 605 and 60
The contents of 6 are valid until the vector store address control circuit 211 detects that the number of remaining vector elements is zero. In other words, the vector store start address register 6 is used only while tag registration invalidation processing is being executed in response to a vector data store command.
06 and vector store end address register 60
The contents of 5 are valid, and during other periods, for example, they are cleared and all values of "0" are set, and have invalid contents.
上記レジスタ605および606にある値がセ
ツトされタグ登録無効化処理を実行中に後続のス
カラーデータロード指令が指令回路1からスカラ
ーロード制御回路6に出されると一緒に転送され
てくる。スカラーデータロードアドレス情報とと
もに、領域検出回路12タグ記憶回路8およびバ
ツフアメモリ回路10等へのアクセス制御信号を
発生する。スカラーロード制御回路801が起動
され、スカラーロードアドレス情報が領域検出回
路12、タグ記憶回路8、バツフアメモリ回路1
0に送られる。 When the values in the registers 605 and 606 are set and the subsequent scalar data load command is issued from the command circuit 1 to the scalar load control circuit 6 while tag registration invalidation processing is being executed, the commands are transferred together. Along with scalar data load address information, an access control signal to the area detection circuit 12, tag storage circuit 8, buffer memory circuit 10, etc. is generated. The scalar load control circuit 801 is activated, and the scalar load address information is transmitted to the area detection circuit 12, the tag storage circuit 8, and the buffer memory circuit 1.
Sent to 0.
領域検出回路12では減算器700でベクトル
ストア終了アドレス605の出力からスカラロー
ドアドレス情報116が減算され結果符号が正値
であれば減算可能(キヤリーアウト)信号703
が出される。一方、減算器701では逆にスカラ
ーロードアドレス情報116からベクトルストア
開始アドレスレジスタ606の出力を減算し同様
に結果が正値であれば減算可能(キヤリーアウ
ト)信号704が出される。 In the area detection circuit 12, a subtracter 700 subtracts the scalar load address information 116 from the output of the vector store end address 605, and if the result sign is a positive value, a subtraction possible (carry out) signal 703 is generated.
is served. On the other hand, the subtracter 701 conversely subtracts the output of the vector store start address register 606 from the scalar load address information 116, and similarly, if the result is a positive value, a subtraction possible (carry out) signal 704 is output.
すなわち信号703と信号704が、ANDゲ
ート702でAND条件がとられれば、スカラー
ロードアドレスがベクトルストア開始アドレスと
ベクトルストア終了アドレスの間に入つているこ
とを意味する。このケースではスカラーデータロ
ードアドレスと、ベクトルデータアドレスが一致
する可能性があり、タグ登録無効化処理が終了す
る前にスカラーデータロードを実行するとベクト
ルストアで主記憶装置5の内容が変更されようと
しているのにその変更前のバツフアメモリ回路1
0の内容をロードしてしまう結果となる。そこで
上記ANDゲート702でAND条件がとられれば
スカラーロード制御回路6にスカラーロード処理
を中断するようスカラーロード抑止信号107を
出す。 That is, if the signal 703 and the signal 704 are ANDed by the AND gate 702, it means that the scalar load address is between the vector store start address and the vector store end address. In this case, there is a possibility that the scalar data load address and the vector data address match, and if the scalar data load is executed before the tag registration invalidation process is completed, the contents of the main memory 5 will be changed in the vector store. Buffer memory circuit 1 before the change
This results in loading the contents of 0. Therefore, if the AND gate 702 meets the AND condition, a scalar load inhibit signal 107 is sent to the scalar load control circuit 6 to interrupt the scalar load process.
発明の効果
本発明には、ベクトルストア指令動作処理中に
後続のスカラーロード指令を実行できるという効
果がある。Advantages of the Invention The present invention has the advantage that a subsequent scalar load command can be executed during vector store command operation processing.
第1図は本発明の一実施例を示す図、第2図は
第1図のタグ登録無効化指示回路とタグ記憶回路
との詳細な構成を示す図、第3図は第1図のベク
トルストアアドレス領域レジスタと領域検出回路
の詳細な構成を示す図である。
第1図から第3図において、1……指令回路、
2,3,4……ベクトル演算処理装置、5……主
記憶装置、6……スカラーロード制御回路、7…
…ベクトルストアアドレス領域レジスタ、8……
タグ記憶回路、9……タグ制御回路、10……バ
ツフアメモリ回路、1……タグ登録無効化指示回
路、12……領域検出回路、113……スカラー
演算回路、14……スカラ演算処理装置、201
……開始アドレスレジスタ、202……ベクトル
要素間距離レジスタ、203……要素数レジス
タ、204……切替回路、205……加算器入力
レジスタ、206……加算器、207……ベクト
ルストアアドレスレジスタ、208……切替回
路、209……減算器、210……減算結果レジ
スタ、211……ベクトルストアアドレス制御回
路、212,213……比較回路、214,21
5……ANDゲート、216……無効化アドレス
レジスタ、217……ヒツト表示フラグレジス
タ、218……レベル0一致フラグレジスタ、2
19……レベル1一致フラグレジスタ、220…
…ORゲート、300……切替回路、301……
タグ検索アドレスレジスタ、302……タグメモ
リ、303……“1”レベル信号、304……
“0”レベル信号、305……切替回路、306
……タグVビツトメモリ、400……無効化書込
アドレスレジスタ、401……ANDゲート、4
02……ANDゲート、600……開始アドレス
レジスタ、601……ベクトル要素間距離レジス
タ、602……要素数レジスタ、603……乗算
器、604……加算器、605……ベクトルスト
ア終了アドレスレジスタ、606……ベクトルス
トア開始アドレスレジスタ、700……減算器、
701……減算器、702……ANDゲート、7
03,704……減算可能信号、801……スカ
ラロード制御回路、107……スカラロロード抑
止信号。
FIG. 1 is a diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing a detailed configuration of the tag registration invalidation instruction circuit and tag storage circuit in FIG. 1, and FIG. 3 is a diagram showing the vectors in FIG. 1. FIG. 3 is a diagram showing a detailed configuration of a store address area register and an area detection circuit. In FIGS. 1 to 3, 1...command circuit;
2, 3, 4...vector arithmetic processing unit, 5...main storage device, 6...scalar load control circuit, 7...
...Vector store address area register, 8...
Tag storage circuit, 9... Tag control circuit, 10... Buffer memory circuit, 1... Tag registration invalidation instruction circuit, 12... Area detection circuit, 113... Scalar arithmetic circuit, 14... Scalar arithmetic processing device, 201
...Start address register, 202...Vector element distance register, 203...Element number register, 204...Switching circuit, 205...Adder input register, 206...Adder, 207...Vector store address register, 208...Switching circuit, 209...Subtractor, 210...Subtraction result register, 211...Vector store address control circuit, 212, 213...Comparison circuit, 214, 21
5...AND gate, 216...Invalidation address register, 217...Hit display flag register, 218...Level 0 match flag register, 2
19...Level 1 match flag register, 220...
...OR gate, 300...switching circuit, 301...
Tag search address register, 302...Tag memory, 303..."1" level signal, 304...
"0" level signal, 305...Switching circuit, 306
...tag V bit memory, 400 ... invalidation write address register, 401 ... AND gate, 4
02...AND gate, 600...start address register, 601...vector element distance register, 602...element number register, 603...multiplier, 604...adder, 605...vector store end address register, 606...Vector store start address register, 700...Subtractor,
701...Subtractor, 702...AND gate, 7
03,704...Subtractable signal, 801...Scalar load control circuit, 107...Scalar load inhibition signal.
Claims (1)
タ送受信パスを持ち前記主記憶装置の複数のベク
トル要素データを同時にアクセスすることのでき
る少なくとも1つのベクトル演算処理装置と、 前記主記憶装置との間でデータの送受信パスを
持つスカラー演算処理装置と、 プログラム命令に従つて前記ベクトル演算処理
装置または、スカラー演算処理装置に対してベク
トルデータまたはスロラーデータのロード、スト
ア動作指令を出す指令手段とを有する情報処理シ
ステムにおいて、 前記主記憶装置との間でデータ送受信パスを持
ち、前記主記憶装置のデータの一部の写しを記憶
するバツフアメモリ手段と、 このバツフアメモリ手段の格納データに対応す
る前記主記憶装置のブロツクアドレス情報を登録
するタグ記憶手段と、 このタグ記憶手段にブロツクアドレス情報の新
規登録または登録アドレスの無効化処理を制御す
るタグ制御手段と、 前記指令手段からのベクトルデータストア動作
指令に応答し該指令に伴なつて発生される複数の
ベクトル要素データに対するそれぞれのストアア
ドレスが、前記タグ記憶手段に登録されているか
否かをチエツクし登録されている場合には前記タ
グ制御手段に登録アドレスの無効化を指示するタ
グ登録無効化指示手段と、 前記ベクトルストア動作指令および該指令に伴
なつて発生されるベクトルストアの開始アドレ
ス、ベクトル要素データ間の距離、およびベクト
ルストアの要素数に基づき、ベクトルストアが実
行される主記憶上のストア開始アドレスおよびス
トア終了アドレスを領域として記憶するベクトル
ストア領域格納手段と、 前記ベクトルデータストア指令に応答して前記
タグ登録無効化指示手段の動作完了前に前記指令
手段からの後続のスカラーデータロード指令を受
けとると、該指令に伴なつて受けとられるスカラ
ーデータロードアドレスが前記ベクトルストア領
域格納手段で示されるアドレス領域内にあるか否
かをチエツクし、領域内にあれば領域内検出信号
を出力する領域検出手段と、 前記指令手段、バツフアメモリ手段、タグ記憶
手段とそれぞれ接続され、前記領域検出手段から
領域内検出信号を受けると、スカラーロード指令
処理を中断するよう制御するスカラーロード制御
手段とを含むことを特徴とする情報処理システ
ム。[Scope of Claims] 1. A main storage device; and at least one vector operation having at least one data transmission/reception path between the main storage device and capable of simultaneously accessing a plurality of vector element data in the main storage device. a processing unit; a scalar arithmetic processing unit having a data transmission/reception path between the main storage device; and a scalar arithmetic processing unit that transmits vector data or slower data to the vector arithmetic processing unit or the scalar arithmetic processing unit according to program instructions. an information processing system having command means for issuing load and store operation commands, buffer memory means having a data transmission/reception path with the main memory and storing a copy of a part of the data in the main memory; a tag storage means for registering block address information of the main storage device corresponding to data stored in the buffer memory means; a tag control means for controlling new registration of block address information in the tag storage means or invalidation processing of the registered address; In response to a vector data store operation command from the command means, each store address for a plurality of vector element data generated in response to the command is checked to see if it is registered in the tag storage means. tag registration invalidation instructing means for instructing the tag control means to invalidate the registered address if the registered address is invalidated; and the vector store operation command and the vector store start address and vector element data generated in accordance with the command. a vector store area storage means for storing a store start address and a store end address in main memory where the vector store is executed based on the distance between the vector stores and the number of elements of the vector store; When a subsequent scalar data load command is received from the command means before the operation of the tag registration invalidation instruction means is completed, the scalar data load address received in conjunction with the command is indicated in the vector store area storage means. an area detecting means for checking whether or not the address is within an address area and outputting an in-area detection signal if it is within the area; An information processing system comprising: scalar load control means for controlling scalar load command processing to be interrupted when an in-area detection signal is received.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58188207A JPS6079467A (en) | 1983-10-07 | 1983-10-07 | Information processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58188207A JPS6079467A (en) | 1983-10-07 | 1983-10-07 | Information processing system |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS6079467A JPS6079467A (en) | 1985-05-07 |
JPH0156429B2 true JPH0156429B2 (en) | 1989-11-30 |
Family
ID=16219639
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP58188207A Granted JPS6079467A (en) | 1983-10-07 | 1983-10-07 | Information processing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6079467A (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0778786B2 (en) * | 1989-05-10 | 1995-08-23 | 株式会社日立製作所 | Memory control method |
-
1983
- 1983-10-07 JP JP58188207A patent/JPS6079467A/en active Granted
Also Published As
Publication number | Publication date |
---|---|
JPS6079467A (en) | 1985-05-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3205989B2 (en) | Information processing system | |
US4095269A (en) | Data processing system having a high speed buffer memory | |
US4149244A (en) | Data processing system including a program-executing secondary system controlling a program-executing primary system | |
US4244019A (en) | Data processing system including a program-executing secondary system controlling a program-executing primary system | |
JPS6215896B2 (en) | ||
US5598574A (en) | Vector processing device | |
US4658356A (en) | Control system for updating a change bit | |
KR900007135B1 (en) | Buffer storage control system having a priority circuit | |
JPH0156429B2 (en) | ||
JPH01255035A (en) | Processor | |
JPH04369773A (en) | Information processor | |
JPH0353667B2 (en) | ||
JPS615357A (en) | Data processor | |
JP2511063B2 (en) | Pipeline control method | |
JPH0679296B2 (en) | Multiple virtual address space access method and data processing device | |
JPH08272608A (en) | Pipeline processing equipment | |
JP2588547B2 (en) | Multi CPU system | |
JP2656558B2 (en) | Cache memory control circuit | |
JPH01133170A (en) | Information processing system | |
JPH03168860A (en) | Buffer storage control device for parallel processor | |
JPH059818B2 (en) | ||
JPH03119424A (en) | Information processing system and its device | |
JPH0234059B2 (en) | ||
JPH04245333A (en) | Information processor | |
JPH05233229A (en) | Information processor and information processing method |