JPH0281269A - Serialization controlling system for instruction execution - Google Patents

Serialization controlling system for instruction execution

Info

Publication number
JPH0281269A
JPH0281269A JP23454388A JP23454388A JPH0281269A JP H0281269 A JPH0281269 A JP H0281269A JP 23454388 A JP23454388 A JP 23454388A JP 23454388 A JP23454388 A JP 23454388A JP H0281269 A JPH0281269 A JP H0281269A
Authority
JP
Japan
Prior art keywords
instruction
vector
wait
unit
scalar
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP23454388A
Other languages
Japanese (ja)
Inventor
Kenichi Sakai
坂井 賢一
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP23454388A priority Critical patent/JPH0281269A/en
Publication of JPH0281269A publication Critical patent/JPH0281269A/en
Pending legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)
  • Complex Calculations (AREA)

Abstract

PURPOSE:To raise the possibility of parallel execution of a vector instruction and a scalar instruction by a returning a signal, which indicates transmission of an instruction WAIT to a scalar unit, without waiting for transmission of the instruction WAIT when recognizing transmission of all preceding instructions POST at the time of input of the instruction WAIT. CONSTITUTION:When all preceding instructions POST are already transmitted at the time of inputting of the instruction WAIT to a fetch stage 15, WAIT- ACK is immediately returned to a scalar unit SU. Consequently, since the timing when the scalar unit SU received WAIT-ACK is accelerated, interlock of a succeeding main storage reference scalar instruction is released in the early stage. Thus, the vector instruction and the scalar instruction can be executed in parallel in a vector unit UV.

Description

【発明の詳細な説明】 〔概要〕 スカラユニットとスカラユニットから送られるベクトル
命令を処理するベクトルユニットとを備えた科学技術用
計夏機などの情報処理システムにおける命令実行のシリ
アライズ制御方式に関し。
DETAILED DESCRIPTION OF THE INVENTION [Summary] This invention relates to a serialization control method for instruction execution in an information processing system such as a science and technology computer equipped with a scalar unit and a vector unit that processes vector instructions sent from the scalar unit.

POST命令/WAIT命令を用いたベクトル命令から
スカラ命令へのシリアライズにおいて。
In serializing vector instructions to scalar instructions using POST/WAIT instructions.

スカラユニットにおいてインタロックされているスカラ
命令の実行開始を早めてベクトル命令とスカラ命令の並
列実行の可能性を高めることを目的とし。
The purpose is to accelerate the start of execution of interlocked scalar instructions in the scalar unit and increase the possibility of parallel execution of vector instructions and scalar instructions.

ベクトルユニットのベクトル命令管理部内に。In the vector instruction management section of the vector unit.

入口のステージでWAIT命令を検出する手段と。means for detecting a WAIT command at an entry stage;

各ステージで有効なPOST命令を検出する手段とを設
け、WAIT命令が入力された時点で先行するすべての
POST命令が発信したことを認識したなら、WAIT
命令の発信を待たずにスカラユニットにWAIT命令が
発信したことを示す信号を返すように構成した。
A means for detecting a valid POST command is provided at each stage, and if it is recognized that all preceding POST commands have been issued at the time the WAIT command is input, the WAIT
The configuration is such that a signal indicating that a WAIT command has been issued is returned to the SCARA unit without waiting for the command to be issued.

〔産業上の利用分野〕[Industrial application field]

本発明は、スカラユニットとスカラユニットから送られ
るベクトル命令を処理するベクトルユニットとを備えた
科学技術用計算機などの情報処理システムにおける命令
実行のシリアライズ制御方式に関する。
The present invention relates to a serialization control method for instruction execution in an information processing system such as a scientific computer that includes a scalar unit and a vector unit that processes vector instructions sent from the scalar unit.

このような科学技術用計算機システムでは、スカラ命令
とベクトル命令、あるいはベクトル命令とベクトル命令
間で命令の先行制御や並列実行が行われることがあるた
め、主記憶参照順序が保証されないことがある。従って
主記憶参照順序を保証するためにはベクトルオペレーシ
ョンのシリアライズを行う必要がある。
In such scientific and technological computer systems, instruction advance control or parallel execution may be performed between scalar instructions and vector instructions, or between vector instructions, so the main memory reference order may not be guaranteed. Therefore, in order to guarantee the main memory reference order, it is necessary to serialize vector operations.

ベクトルオペレーションのシリアライズとは。What is vector operation serialization?

それ以前に実行中である命令が生じる主記憶オペランド
アクセスをそれよりも後に実行すべき命令の主記憶オペ
ランドアクセスが生じる前に終了させることである。
The objective is to terminate main memory operand access caused by an instruction currently being executed before the main memory operand access caused by an instruction to be executed later.

このベクトルオペレーションのシリアライズは。Serialization of this vector operation.

ベクトル命令同士及びベクトル命令とスカラ命令の主記
憶オペランドアクセス間において意味をもち、スカシ命
令間ではもともと順序関係が保証されているため意味を
もたない。
It has meaning between vector instructions and between main memory operand accesses between vector instructions and scalar instructions, but it has no meaning between squash instructions because the order relationship is originally guaranteed.

近年の科学技術用計算機システムにおける高速化要求に
応えるため1本発明はベクトルオペレーションのシリア
ライズに伴うオーバヘッドの削減を図ることを意図して
いる。
In order to meet the recent demand for increased speed in scientific and technical computer systems, the present invention is intended to reduce the overhead associated with serialization of vector operations.

〔従来の技術〕[Conventional technology]

第7図に1本発明が適用される従来の科学技術用計算機
システムの構成例を示す。
FIG. 7 shows an example of the configuration of a conventional scientific and technical computer system to which the present invention is applied.

第7図において、1はスカラユニッ)SU  2はベク
トルユニットVU、3はベクトル実行部■XU、4およ
び5は乗算・加算パイプラインMA。
In FIG. 7, 1 is a scalar unit SU, 2 is a vector unit VU, 3 is a vector execution unit XU, and 4 and 5 are multiplication/addition pipelines MA.

6は除算パイプラインDiV、7はベクトルレジスタV
R,8および9はロード・ストアパイプラインLOAD
/5TORE、10は主記憶装置Msu、ttはベクト
ル制御部VCU  12はベクトル命令管理部Vl、1
3はベクトル記憶管理部VS、14は記憶制御部MCU
である。
6 is the division pipeline DiV, 7 is the vector register V
R, 8 and 9 are load/store pipelines LOAD
/5TORE, 10 is the main storage Msu, tt is the vector control unit VCU, 12 is the vector instruction management unit Vl, 1
3 is a vector storage management unit VS, 14 is a storage control unit MCU
It is.

スカラユニットSUはプログラム中の命令を順次フェッ
チし、スカラ命令は自身で実行し、ベクトル命令はベク
トルユニットVUへ送って実行させる。
The scalar unit SU sequentially fetches instructions in the program, executes the scalar instructions itself, and sends vector instructions to the vector unit VU for execution.

ベクトルデータ)VUのベクトル制御部VCUにおいて
、ベクトル命令管理部VlはスカラユニットStJから
送られたベクトル命令を受は取り。
Vector data) In the vector control unit VCU of the VU, the vector command management unit Vl receives and receives vector commands sent from the scalar unit StJ.

実行を管理する。ベクトルLOAD命令、ベクトル5T
ORE命令の場合は、ベクトル記憶管理部VSが起動さ
れ、記憶制御部MCUを介して主記憶装置MSUへのア
クセスが行われる。
Manage execution. Vector LOAD command, vector 5T
In the case of the ORE instruction, the vector storage management unit VS is activated and access to the main storage unit MSU is performed via the storage control unit MCU.

主記憶装置MSUからベクトルレジスタVRへのベクト
ルデータのLOAD、およびベクトルレジスタVRから
主記憶装置MSUへのベクトルデータの5TORE処理
では、LOAD/5TOREパイプラインを用いて行わ
れる。
LOAD of vector data from main storage device MSU to vector register VR and 5TORE processing of vector data from vector register VR to main storage device MSU are performed using a LOAD/5TORE pipeline.

一方、スカラユニットSUがら主記憶装置MSUへのア
クセスは、ベクトルユニット■υ内の記憶制御部MCU
を介して行われる。
On the other hand, access to the main storage device MSU from the scalar unit SU is performed by the storage control unit MCU in the vector unit ■υ.
It is done through.

スカラユニットSUとベクトルユニットVUとは、可能
な限り並列に動作することがシステムの処理性能を高め
るうえで望ましい、しがし1プログラム中のベクトル命
令あるいはスカラ命令が。
It is desirable for the scalar unit SU and vector unit VU to operate in parallel as much as possible in order to improve the processing performance of the system.

先行するベクトル命令あるいはスカラ命令の実行結果の
データをオペランドとして使用する場合。
When using the data resulting from the execution of a preceding vector or scalar instruction as an operand.

それらの命令間での実行順序を保証することが必要とな
る。この制御が、ベクトルオペレーションのシリアライ
ス制御である。
It is necessary to guarantee the order of execution among these instructions. This control is vector operation serial rice control.

従来の多くのシステムでは、ベクトルオペレーションの
シリアライズ制御を、POSTO3上びWAIT命令を
利用して行っている。この方法は。
In many conventional systems, vector operation serialization control is performed using the POSTO3 and WAIT instructions. This method is.

POSTO3上り前に実行されるべき命令の主記憶オペ
ランドの参照が、WAIT命令より後で実行されるべき
命令の主記憶オペランドの参照よりも早く行われるよう
に制御するものである。このため、POSTO3上WA
IT命令にはさまれた命令の主記憶オペランドは、ベク
トルオペレーシッンのシリアライズの対象から除外され
る。
This control is performed so that the reference to the main memory operand of an instruction to be executed before the rising of POSTO3 is performed earlier than the reference to the main memory operand of an instruction to be executed after the WAIT instruction. For this reason, WA on POSTO3
Main memory operands of instructions sandwiched between IT instructions are excluded from serialization of vector operations.

従来ベクトル命令とスカシ命令の各組み合わせでのシリ
アライズの保証は次のように行われている。
Conventionally, serialization is guaranteed for each combination of vector instructions and scan instructions as follows.

(1)ベクトル命令→ベクトル命令間のシリアライズ POST命令に先行するベクトルLOAD命令の保証 一プライオリティがとれるまで。(1) Serialization between vector instructions and vector instructions Guarantee of vector LOAD instruction preceding POST instruction Until I can get one priority.

・POST命令に先行するベクトル5TORE命令の保
証 一プライオリティがとれるまで。
- Guarantee of vector 5 TORE instruction preceding POST instruction - until priority is taken.

(2)スカラ命令→ベクトル命令間のシリアライズ・P
OST命令に先行するスカシLOAD命令の保証 −もともと保証されている。
(2) Serialization/P between scalar instructions and vector instructions
Guarantees for the LOAD instruction that precedes the OST instruction - originally guaranteed.

・POST命令に先行するスカシ5TOPE命令の保証 一プライオリティがとれるまで (SU−3TORE−PEND ING)。・Guarantee of Squash5TOPE command preceding POST command Until you get a priority (SU-3TORE-PENDING).

(3)ベクトル命令→スカラ命令間のシリアライズ・P
OST命令に先行するベクトルLOAD命令の保証 一プライオリティがとれるまで。
(3) Serialization/P between vector instructions and scalar instructions
Guaranteed vector LOAD instruction precedes OST instruction until priority is taken.

・POST命令に先行するベクトル5TORE命令の保
証 一スカラユニットSUへのバッファ・ インバリデーションが全てスカシユ ニットSUに反映されるまで。
- Guaranteed vector 5 TORE instruction preceding the POST instruction - until all buffer invalidations to the scalar unit SU are reflected in the scalar unit SU.

次に上記(3)の具体例を、第8図および第9図を用い
て説明する。
Next, a specific example of the above (3) will be explained using FIGS. 8 and 9.

第8図は、POST命令とWAIT命令とを用いてシリ
アライズ制御を行う命令シーケンスの例を示したもので
、VSTはベクトル5TORE命令、LDはスカシのL
OAD命令を表す。
Figure 8 shows an example of an instruction sequence that performs serialization control using the POST instruction and WAIT instruction, where VST is the vector 5 TORE instruction, and LD is the vector 5 TORE instruction.
Represents an OAD instruction.

第8図において、POSTの前にある■のVSTが実行
完了するまでは、WAITの後にある■のLDは実行さ
れず、これらVSTとLDとの間の主記憶参照順序は保
証される。しかし、 POSTとWAITの間にある■
ないし■のVSTについては、シリアライズ制御は行わ
れず、主記憶の参照順序は保証されない。
In FIG. 8, until the VST (■) before POST completes execution, the LD (■) after WAIT is not executed, and the main memory reference order between these VSTs and LDs is guaranteed. However, between POST and WAIT ■
Serialization control is not performed for the VSTs marked 1 to 2, and the reference order of the main memory is not guaranteed.

第9図は、第8図に示されている命令シーケンス(従来
のシリアライズ制御方式による)の処理フローを例示し
たものである。
FIG. 9 illustrates a processing flow of the instruction sequence shown in FIG. 8 (based on the conventional serialization control method).

この例では第7図のベクトルユニットVUにおいて、ベ
クトル命令管理部Viにより、第8図中の■ないし■の
ベクトル命令VSTは、2本のパイプラインを用いて第
9図に示すように順次2命令ずつ並列実行される。
In this example, in the vector unit VU of FIG. 7, the vector instructions VST shown in FIG. Instructions are executed in parallel.

■のVSTが実行完了するまで、ベクトル命令管理部V
lは、POST命令に先行する命令が未完了であること
を示す信号POST−PEND INGを出力し、■の
VSTの実行が完了すると。
The vector instruction management unit V
1 outputs a signal POST-PEND ING indicating that the instruction preceding the POST instruction has not been completed, and when the execution of VST in ① is completed.

POST  PEND I NC;をOFFにする。Turn off POST PEND I NC.

ベクトル命令管理部Viは、続いて■のVSTまでの各
ベクトル命令が発信した後、WAIT命令を発信し、ス
カシユニットSUに対してWAIT命令の発信を示すイ
ンタロツタ解除可能信号WAIIACKを返す。
After the vector commands up to VST (2) are transmitted, the vector command management unit Vi transmits a WAIT command, and returns an interlock release enable signal WAIIACK indicating the transmission of the WAIT command to the scanning unit SU.

スカシユニットSUは、ベクトルユニットVUからのW
AIT−ACKを検出すると、POSTPENDING
がOFFであることを確認して続く■のLOAD命令L
命令光Dする。
The search unit SU is the W from the vector unit VU.
When AIT-ACK is detected, POSTPENDING
Confirm that is OFF, and then proceed with ■LOAD command L
Command light D.

(発明が解決しようとする課題〕 従来のシリアライズ制御方式では、ベクトル命令からス
カシ命令へのシリアライズに着目すると。
(Problems to be Solved by the Invention) In the conventional serialization control method, we focus on serialization from vector instructions to squash instructions.

スカシユニットSUでは、ベクトルユニットVUからの
POST命令に先行するベクトル5TORE命令が未完
了であることを示すPOST  PENDrNG信号が
OFFになっても、さらにベクトルユニットvUからW
AIT命令によるインタロック解除可能信号WAIT 
 ACKが送られてくるまでは、後続命令を発信するこ
とができなかった。
In the search unit SU, even if the POST PENDrNG signal indicating that the vector 5 TORE instruction preceding the POST instruction from the vector unit VU is not completed, the W
Interlock release enable signal WAIT by AIT command
No subsequent commands could be sent until the ACK was sent.

このため、POST命令とWAIT命令との間にシリア
ライズとは関係のない命令を挿入してシリアライズにか
かるオーバヘッドの軽減を図ろうとしても、結局WAI
T命令が発信されるまではPOST命令に後続する主記
憶アクセス命令のスタートが待たされるため、有効なも
のとはならなかった。
Therefore, even if you try to reduce the overhead of serialization by inserting an instruction unrelated to serialization between the POST instruction and the WAIT instruction, the WAIT
Since the start of the main memory access command following the POST command has to wait until the T command is issued, it is not effective.

本発明は、POST命令/WAIT命令を用いたベクト
ル命令からスカラ命令へのシリアライズにおいて、スカ
ラユニットSUにおいてインタロックされているスカラ
命令の実行開始を早めてベクトル命令とスカラ命令の並
列実行の可能性を高めることを目的とする。
The present invention enables the possibility of parallel execution of vector instructions and scalar instructions by accelerating the start of execution of interlocked scalar instructions in the scalar unit SU when serializing vector instructions to scalar instructions using POST/WAIT instructions. The purpose is to increase

〔!18を解決するための手段〕 本発明は、ベクトルユニットVUからスカラユニットS
Uへ返されるインタロック解除可能信号WAIT  A
CKを、ベクトルユニットVUにおけるWAIT命令発
信時にではなく、ベクトルユニットVUがスカラユニッ
トSUからWAIT命令を受は取ったときとし、ただし
その時点で先行するPOST命令が全て発信済であるこ
とを条件に、WAIT  ACKをスカラユニットSU
に早期に戻せるようにしたものである。
[! Means for Solving Problem 18] The present invention provides a means for solving problem 18 from the vector unit VU to the scalar unit S.
Interlock release enable signal WAIT A returned to U
CK is not set when the vector unit VU issues the WAIT command, but when the vector unit VU receives the WAIT command from the scalar unit SU, provided that all the preceding POST commands have been sent at that point. , wait ACK to scalar unit SU
This allows for an early return to.

このため、ベクトルユニットVU内のベクトル命令管理
部に、入口でWAIT命令を検出する手段と、命令未発
信でベクトル命令管理部内に滞留している全てのベクト
ル命令を対象に、有効なPOST命令を迅速に検出する
手段が設けられる。
For this reason, the vector instruction management section in the vector unit VU has a means for detecting the WAIT instruction at the entrance, and a valid POST instruction for all vector instructions that have not yet been issued and remain in the vector instruction management section. Means for rapid detection is provided.

第1図は第7図の従来例システムを改良したものとして
示してあり1両図に共通な要素には同一参照番号が用い
られている。第1図中、1はスカラユニットSU、2は
ベクトルユニットVU、3はベクトル実行部VXU、1
0は主記憶装置MSU、12はベクトル命令管理部Vi
、14は記憶制御部MCU、15ないし17はベクトル
命令管理部Vi内でベクトル命令を発信制御するための
フェッチ、プリデコード、スタートの各ステージ。
FIG. 1 is shown as an improved version of the prior art system of FIG. 7, and the same reference numerals are used for elements common to both figures. In FIG. 1, 1 is a scalar unit SU, 2 is a vector unit VU, 3 is a vector execution unit VXU, 1
0 is the main storage unit MSU, 12 is the vector instruction management unit Vi
, 14 is a storage control unit MCU, and 15 to 17 are fetch, predecode, and start stages for controlling transmission of vector instructions within the vector instruction management unit Vi.

1Bないし20はPOSTフラグPFであって各ステー
ジのベクトル命令が有効なPOST命令であるときON
が設定され他の場合はOFFにされているもの、21は
フェッチステージ15へ入力されたベクトル命令がWA
IT命令であるとき“1”を出力するWAIT命令検出
手段、22は各ステージのPOSTフラグ18ないし2
0が全てOFFのとき1″を出力するPOST命令検出
手段であって、各ステージのいずれにも有効なPOST
命令が存在しないことを検出するもの、23はAND回
路であってWAIT命令検出手段21およびPOST命
令検出手段22がともに11”を出力したとき、WAI
T命令に先行する全てのPOST命令が発信済であるこ
とを示すインタロック解除可能を示す信号WAIT  
ACKをスカラユニットSUへ出力するものである。
1B to 20 are POST flags PF, which are ON when the vector instruction at each stage is a valid POST instruction.
is set and otherwise turned OFF, and 21 indicates that the vector instruction input to the fetch stage 15 is WA
WAIT instruction detection means that outputs "1" when it is an IT instruction; 22 is a POST flag 18 to 2 of each stage;
A POST command detection means that outputs 1'' when all 0's are OFF, and is effective for any POST stage.
23 is an AND circuit that detects the absence of an instruction, and when both the WAIT instruction detection means 21 and the POST instruction detection means 22 output 11'', the WAI
A signal WAIT indicating that all POST commands preceding the T command have been issued and indicating that the interlock can be released.
It outputs ACK to the scalar unit SU.

〔作用〕[Effect]

第1図に示されている本発明の原理的構成による動作を
説明する。
The operation of the basic configuration of the present invention shown in FIG. 1 will be explained.

スカラユニットSUは、プログラム中の順次の命令をフ
ェッチし、スカラ命令を実行するとともに、ベクトル命
令はベクトル実行部)VUへ送出し処理を依鯨する。
The scalar unit SU fetches sequential instructions in the program, executes the scalar instructions, and sends vector instructions to the vector execution unit (VU) for processing.

POST命令およびWAIT命令を用いたシリアライズ
は、スカラユニットSUとベクトルユニッ)VUの双方
で制御される。POST命令とWAIT命令は、スカラ
ユニットSUで熾別された後、ベクトルユニット■Uへ
送出される。
Serialization using the POST and WAIT instructions is controlled by both the scalar unit SU and vector unit VU. After the POST command and the WAIT command are separated by the scalar unit SU, they are sent to the vector unit ■U.

ここでスカラユニットSUは、ベクトルユニッ)VUか
らWAIT命令の発信を通知されると以後・の主記憶参
照スカラ命令にインタロックをかけ、そしてベクトルユ
ニットVUからインタロック解除可能信号WAIT  
ACKが返されるのを待つ。
Here, when the scalar unit SU is notified of the transmission of the WAIT command from the vector unit VU, it interlocks the subsequent main memory reference scalar commands, and then receives an interlock release enable signal WAIT from the vector unit VU.
Wait for ACK to be returned.

ベクトルユニットVUのベクトル命令管理部v目よ、ス
カラユニットSUから送られたベクトル命令やPOST
命令、WAIT命令などをフェッチステージ15で受は
取り、命令の発信制御にしたがって、順次プリデコード
ステージ16.スタートステージ17へ転送する。ここ
でPOST命令がフェッチステージ15に入力されたと
きには、そのステージのPOSTフラグPFをONに設
定する。以後PFの値は命令とともに順次のステージへ
転送される。
Vector command management unit V of vector unit VU, vector commands and POST sent from scalar unit SU
Instructions, WAIT instructions, etc. are received at the fetch stage 15, and are sequentially sent to the pre-decode stage 16 according to the command transmission control. Transfer to start stage 17. Here, when a POST command is input to the fetch stage 15, the POST flag PF of that stage is set to ON. Thereafter, the value of PF is transferred to successive stages along with the instruction.

フェッチステージ15に接続されているWAIT命令検
出手段21は、フェッチステージ15にWAIT命令が
入力されたことを検出すると、AND回路23の一方の
入力に“l”を出力する。
When the WAIT instruction detecting means 21 connected to the fetch stage 15 detects that a WAIT instruction is input to the fetch stage 15, it outputs "1" to one input of the AND circuit 23.

またPOST命令検出手段22は、各ステージの全ての
POSTフラグPFがOFFであるときAND回路23
の他方の入力に“1”を出力する。
Further, the POST command detection means 22 detects the AND circuit 23 when all the POST flags PF of each stage are OFF.
Outputs “1” to the other input.

AND回路23は、2つの入力が1”であるとき出力が
“l”となり、スカラユニットSUにインタロツタ解除
可能信号WAIT−ACKを通知する。またPOSTフ
ラグが1つでもONであれば、WAIT命令がスタート
ステージ17から発信される時点でWAIT  ACK
を通知する。
The AND circuit 23 outputs "L" when the two inputs are "1", and notifies the scalar unit SU of the interlock release enable signal WAIT-ACK.Also, if even one POST flag is ON, the WAIT command is issued. WAIT ACK is sent from start stage 17.
Notify.

つまり、ステージ15にWA I T命令が入力された
段階で先行するPOST命令が全て発信済となっていれ
ば直ちにWAIT  ACKがスカラユニットSUに返
される。しかし先行するPOST命令に未発信(PF−
ON)のものがあった場合には、従来方式と同様にWA
IT命令も発信された時点で、WAIT  ACKがス
カラユニットSUに返される。
That is, if all the preceding POST commands have been transmitted when the WAIT command is input to stage 15, the WAIT ACK is immediately returned to the scalar unit SU. However, the preceding POST command was not sent (PF-
ON), the WA
Once the IT command has also been issued, a WAIT ACK is returned to the scalar unit SU.

このように、従来はベクトル命令管理部VtがWAIT
命令を発信した時点でWAIT  ACKをスカラユニ
ットSUに返していたのにくらべると1本発明ではスカ
ラユニッ)SUがWAIT−ACKを受は取るタイミン
グが早まるので、スカラユニットSUにおける後続の主
記憶参照スカラ命令のインクロックを早期に解除して、
ベクトルユニット■Uにおけるベクトル命令と並列実行
化させることが可能となる。
In this way, conventionally, the vector instruction management unit Vt
Compared to the case where a WAIT ACK is returned to the scalar unit SU at the time the command is issued, in the present invention, the timing at which the scalar unit (SU) receives the WAIT-ACK is earlier, so the subsequent main memory reference scalar in the scalar unit SU Release the instruction ink lock early,
It becomes possible to execute the vector instruction in parallel with the vector instruction in the vector unit ■U.

第2図は、第8図の命令シーケンスを本発明方式で実行
した場合の処理フローを示す、第9図の従来方式による
処理フローとくらべると判るように、WAIT  AC
Kの生成とスカラユニットSUにおける命令LDの実行
のタイミングは大幅に早期化される。
FIG. 2 shows the processing flow when the instruction sequence shown in FIG. 8 is executed by the method of the present invention.
The timing of generation of K and execution of instruction LD in scalar unit SU is significantly accelerated.

〔実施例〕〔Example〕

第3図は本発明の1実施例システムの要部構成図である
FIG. 3 is a diagram showing the main parts of a system according to an embodiment of the present invention.

第3図において、1はスカラユニットSU、2はベクト
ルユニットVU、12はベクトル命令管理部Vi、14
は記憶制御部MCUであり、第1図に示されている構成
と同じである。
In FIG. 3, 1 is a scalar unit SU, 2 is a vector unit VU, 12 is a vector instruction management unit Vi, 14
is a storage control unit MCU, which has the same configuration as shown in FIG.

そしてスカラユニットSU内のBufferは、主記憶
アクセスデータのバッファであり、WAITB usy
およびW A I T + P endingはそれぞ
れラッチである。また記憶制御部MCU14内のBiA
Sは、ベクトル5TORE命令が更新した主記憶アドレ
スをパンファインバリデーションのために保持しておく
スタックであり、このアドレスは後にSUのBuffe
rに反映され、該当するアドレスのデータが無効化され
る。
Buffer in the scalar unit SU is a buffer for main memory access data, and WAITB usy
and W A I T + P ending are each latches. In addition, BiA in the storage control unit MCU14
S is a stack that holds the main memory address updated by the vector 5TORE instruction for bread fine validation, and this address is later stored in the SU Buffe.
r, and the data at the corresponding address is invalidated.

次に第3図のブロック間に矢線で示される信号■ないし
■について説明する。
Next, the signals (1) to (2) indicated by arrows between the blocks in FIG. 3 will be explained.

■ニジリアライズ起動信号(Vi−4MCU)−P O
S T命令に先行するすべての5TORE命令が、すべ
てBiASに入ったことが保証できるタイミングで、v
iからMCUに送る。
■Niji Realize Start Signal (Vi-4MCU) - P O
At the timing when it is guaranteed that all 5TORE instructions preceding the ST instruction have entered BiAS,
Send from i to MCU.

■:BiAS  ACK信号(MCU→Vi)−シリア
ライズ起動信号によりシリアライズを起動されてから、
BIASが空になるまでONとなる。
■: BiAS ACK signal (MCU→Vi) - After serialization is started by the serialization start signal,
It remains ON until BIAS is empty.

■: P OS T  Pending信号(Vl−,
5U)−POST命令の発信でONとなる。POST命
令に先行するすべての5TORE命令にょるBIASが
空になり、がっPOST命令に先行するすべての5TO
RE命令のプライオリティがとれるとOFFになる。
■: POST Pending signal (Vl-,
5U) - Turns ON when a POST command is issued. The BIAS for all 5TORE instructions preceding the POST instruction is empty, and the BIAS for all 5TORE instructions preceding the POST instruction is empty.
It turns OFF when the priority of the RE command is taken.

■ニジリアライズ終了信号(MCU→5U)−BIAS
が空になったところで、MCUからSUに送る。SUで
は、この信号により、バッファインバリデーションBi
(バッファ無効化)を行う、またその期間、CPUAC
KをINHIBITする(図示省略)。
■Niji Realization End Signal (MCU→5U) - BIAS
When it becomes empty, it is sent from the MCU to the SU. In SU, this signal causes buffer invalidation Bi
(buffer invalidation), and during that period, CPUAC
INHIBIT K (not shown).

■:WAIT  ACK信号(Vl−+5U)−WAI
T命令の発信でONとなる。SUでは。
■: WAIT ACK signal (Vl-+5U) - WAI
It turns ON when the T command is issued. At SU.

この信号の後POST  Pending信号がOFF
になるまで、命令をインタロックとする。
After this signal, POST Pending signal turns OFF
The instructions are interlocked until .

第4図にベクトル命令管理部Viの1実施例構成を示す
FIG. 4 shows the configuration of one embodiment of the vector instruction management section Vi.

第4図において、24はフェッチステージVFSR,2
5はプリデコードステージVPSR。
In FIG. 4, 24 is a fetch stage VFSR, 2
5 is a pre-decode stage VPSR.

26はスタートステージVQSR,27および28は先
行ステージが詰まっているとき命令を一時保持するキュ
ースタック、29はアクセスパイプラインを制御する命
令実行管理ステージ、30はWAIT命令を検出するデ
コーダ、31は各ステージおよびキュースタックのPO
STフラグ(PFで表されている)が全てOFFである
とき′1”を出力するNOR回路、32はデコーダ30
からのWAIT命令検出信号とNOR回路31からの全
POSTフラグがOFFであることを示す信号との一致
をとりWAIT  ACK信号を出力するAND回路で
ある。
26 is a start stage VQSR, 27 and 28 are queue stacks that temporarily hold instructions when the preceding stage is jammed, 29 is an instruction execution management stage that controls the access pipeline, 30 is a decoder that detects a WAIT instruction, and 31 is each Stage and cue stack POs
A NOR circuit that outputs '1' when all ST flags (represented by PF) are OFF, 32 is a decoder 30
This is an AND circuit that matches the WAIT command detection signal from the NOR circuit 31 with a signal indicating that all POST flags are OFF and outputs a WAIT ACK signal.

次に第5図および第6図を用いて、シリアライズ制御n
の具体例を説明する。
Next, using FIGS. 5 and 6, serialization control n
A specific example will be explained.

第5図および第6図の各々において、中央に示す一点鎖
線を境にして1上段はスカラユニットSUの制御シーケ
ンス、下段はベクトルユニットvUの制御シーケンスを
表している。
In each of FIGS. 5 and 6, the upper row represents the control sequence of the scalar unit SU, and the lower row represents the control sequence of the vector unit vU, with the dashed line shown in the center as the boundary.

第5図において、SU内のパイプラインでは。In FIG. 5, the pipeline within the SU.

WAIT命令が4フローを使用して処理される。A WAIT instruction is processed using 4 flows.

WAIT命令に続いて主記憶参照スカラ命令が処理され
る。
Following the WAIT instruction, a main memory reference scalar instruction is processed.

なおフロー中のり、A、T、B、E、Wはパイプライン
のサイクル(あるいはステージ)を表し。
Note that the letters A, T, B, E, and W in the flow represent pipeline cycles (or stages).

Dはデコード、Aはオペランドアドレスの生成。D is decoding, A is generating operand address.

Tはアドレス変換、Bはオペランドのバッファアクセス
、Eは演算、Wは結果の書き込みである。
T is address translation, B is operand buffer access, E is operation, and W is writing of results.

SUでは、WAIT命令の第4フロー中のAリリース信
号ArelのタイミングでWAIT  BusyをON
にセットし、VUから(7)WAIT  ACKにより
リセットする。
In SU, WAIT Busy is turned on at the timing of the A release signal Arel during the fourth flow of the WAIT command.
and reset by (7) WAIT ACK from VU.

VUからWAIT−ACKが出力されたとき同時にP 
OS T  P endingも出力されていれば、第
6図に示すようにSU内のW A I T  P en
dingをONにセットする。このW A I T  
P endingは。
When WAIT-ACK is output from VU, P
If OS T P ending is also output, W A I T P en in SU is output as shown in Figure 6.
Set ding to ON. This W A I T
The ending is.

VUからのP OS T  PendingがOFFに
なったときリセットする。
Reset when POST Pending from VU turns OFF.

SUの主記憶参照スカラ命令は、WAIT−B usy
あるいはW A I T  P endingがONの
とき第1フローのAステートでインタロックされる。
The main memory reference scalar instruction of SU is WAIT-B usy
Alternatively, when W A I T P ending is ON, the A state of the first flow is interlocked.

そしてVtJからWAIT  ACKが送られ、POS
T  P endingがOFFとなればインタロ・ン
クを解除できる。
Then, WAIT ACK is sent from VtJ and POS
If T P ending turns OFF, the interlock can be canceled.

VUでは、WAIT命令に先行するPOST命令による
P OS T  PendingがSLIに反映される
タイミングになってから、SUにWAIIACKを送る
。VU内(F)VFSR,VPSR,VQSRは、第4
図中に示されている該当ステージのタイミングを示して
いる。
The VU sends WAIIACK to the SU after the POST Pending by the POST command that precedes the WAIT command is reflected in the SLI. VU (F) VFSR, VPSR, VQSR are the 4th
It shows the timing of the corresponding stage shown in the figure.

(発明の効果) 本発明によれば、スカラユニットSUは、WAIT命令
による後続の主記憶参照スカラ命令のインタロックを、
ベクトルユニットVUにおけるWAIT命令の発信を待
たずに解除可能となるため。
(Effects of the Invention) According to the present invention, the scalar unit SU interlocks the subsequent main memory reference scalar instruction by the WAIT instruction.
This is because it can be canceled without waiting for the WAIT command to be issued in the vector unit VU.

その後続スカラ命令の実行を早めることができシステム
の並列処理性能を向上させることができ
The execution of subsequent scalar instructions can be accelerated and the parallel processing performance of the system can be improved.

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

第1図は本発明の原理的構成図、第2図は本発明のシリ
アライズ制御方式の処理フロー図、第3図は本発明の1
実施例システムの構成図、第4図は第3図中のベクトル
命令管理部の実施例構成図第5図および第6図は本発明
実施例によるシリアライズ制御′Bの処理フロー図、第
7図は従来の科学技術用計算機システムの構成図、第8
図はPo5T/WA I Tを用いてシリアライズを行
った命令シーケンス例の説明図、第9図は従来のシリア
ライズ制御方式の処理フロー図である。 第1図中。 1ニスカラユニツトSU 2:ベクトルユニットVU 10:主記憶装置MSU 12:ベクトル命令管理部V1 14:記憶制御部MCU 15:フェッチステージ 16:プリデコードステージ 17:スタートステージ 18〜20:Po5TフラグPF 21:WAIT命令検出手段 22 : POST命令検出手段 23:AND回路
FIG. 1 is a basic configuration diagram of the present invention, FIG. 2 is a processing flow diagram of the serialization control method of the present invention, and FIG.
FIG. 4 is a block diagram of an embodiment of the system; FIG. 4 is a block diagram of an embodiment of the vector instruction management section in FIG. 3; FIGS. is a configuration diagram of a conventional scientific and technological computer system, No. 8
The figure is an explanatory diagram of an example of an instruction sequence serialized using Po5T/WAIT, and FIG. 9 is a processing flow diagram of a conventional serialization control method. In Figure 1. 1 Niscalar unit SU 2: Vector unit VU 10: Main storage unit MSU 12: Vector instruction management unit V1 14: Storage control unit MCU 15: Fetch stage 16: Pre-decode stage 17: Start stage 18-20: Po5T flag PF 21 : WAIT command detection means 22 : POST command detection means 23 : AND circuit

Claims (1)

【特許請求の範囲】 スカラ命令を処理する1つないし複数のスカラユニット
(1)と、これらのスカラユニット(1)から送られる
ベクトル命令を処理するベクトルユニット(2)と、主
記憶装置(10)とを備え、POST命令とWAIT命
令によりシリアライズ制御を行う情報処理システムにお
いて、 ベクトルユニット(2)のベクトル命令管理部(12)
内に、入口のステージ(15)でWAIT命令を検出す
る手段(21)と、各ステージ(15〜17)で有効な
POST命令を検出する(18〜20)手段とを設け、
WAIT命令が入力された時点で先行するすべてのPO
ST命令が発信したことを認識したなら、WAIT命令
の発信を待たずにスカラユニットにWAIT命令が発信
したことを示す信号を返すことを特徴とする命令実行の
シリアライズ制御方式。
[Claims] One or more scalar units (1) that process scalar instructions, a vector unit (2) that processes vector instructions sent from these scalar units (1), and a main memory (10). ), in an information processing system that performs serialization control using POST and WAIT instructions, a vector instruction management section (12) of a vector unit (2).
means (21) for detecting a WAIT command at the entrance stage (15) and means (18-20) for detecting a valid POST command at each stage (15-17);
All preceding POs at the time the WAIT instruction was entered
A serialization control method for instruction execution, characterized in that when it is recognized that an ST command has been issued, a signal indicating that a WAIT command has been issued is returned to a scalar unit without waiting for the WAIT command to be issued.
JP23454388A 1988-09-19 1988-09-19 Serialization controlling system for instruction execution Pending JPH0281269A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23454388A JPH0281269A (en) 1988-09-19 1988-09-19 Serialization controlling system for instruction execution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23454388A JPH0281269A (en) 1988-09-19 1988-09-19 Serialization controlling system for instruction execution

Publications (1)

Publication Number Publication Date
JPH0281269A true JPH0281269A (en) 1990-03-22

Family

ID=16972675

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23454388A Pending JPH0281269A (en) 1988-09-19 1988-09-19 Serialization controlling system for instruction execution

Country Status (1)

Country Link
JP (1) JPH0281269A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5187934A (en) * 1990-09-28 1993-02-23 Jidosha Kiki Co., Ltd. Tandem type master cylinder

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5187934A (en) * 1990-09-28 1993-02-23 Jidosha Kiki Co., Ltd. Tandem type master cylinder

Similar Documents

Publication Publication Date Title
EP0353819B1 (en) Method and apparatus for synchronizing parallel processors using a fuzzy barrier
US5499350A (en) Vector data processing system with instruction synchronization
US3728692A (en) Instruction selection in a two-program counter instruction unit
US5537561A (en) Processor
EP0272705B1 (en) Loosely coupled pipeline processor
JPH02300852A (en) Serialization control system for instruction execution
WO1996027833A1 (en) Information processor
US5907693A (en) Autonomously cycling data processing architecture
JPS63317828A (en) Reading control system for microcode
EP0223150B1 (en) Information processing apparatus
JPH08221273A (en) Controlling method for parallel processing of instruction level and processor
JPH0281269A (en) Serialization controlling system for instruction execution
EP0292188B1 (en) Cache system
US5574924A (en) Vector processing device that utilizes post marks to ensure serialization of access requests of vector store instructions
JP2504536B2 (en) Instruction execution serialization control method
US5276853A (en) Cache system
US5819081A (en) Method of executing a branch instruction of jumping to a subroutine in a pipeline control system
JP2555427B2 (en) Instruction execution serialization control method
JPS6116112B2 (en)
JPS60178539A (en) By-pass control system of information processor
US5123093A (en) Operational processor for performing a memory access and an operational process in parallel
JPS6116111B2 (en)
JP2545594B2 (en) Operand data prefetching method
JP2806690B2 (en) Microprocessor
JPS61100845A (en) Controlling system of memory access synchronism